-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
Description of problem:
After deleting environment variables from an existing workbook I get an error like
[Warning] Error: secret "secret-3luzu9" not found
and am unable to ever restart that workbench.
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
1. Create a datascience project
2. Create a workbench in that project
3. Select any image selection and add environment variables.
Add a variable of type secret
Make the secret a key/value
Enter a key and a value
Click "Add more variables" to add non secret variables
Add a variable of type Config Map
Make the secret a key/value
Enter a key and a value
4. Accept all other defaults and click "Create Workbench"
5. When the notebook starts up open a terminal in the notebook and verify that the variables were created.
6. Edit the workbench and delete both variables.
7. Click "Update workbench". You will get an error claiming "Operation cannot be fulfilled on notebooks.kubeflow.org "myworkbench": the object has been modified; please apply your changes to the latest version and try again"
8. Click "Cancel"
9. Click the radio button under "Status" and change the state to "Stopped"
10. Once the notebook is stopped, change the state back and click on the "Starting" link next to the radio button and select "event log"
11. As the status messages scroll you will see something like '[Warning] Error: secret "secret-3luzu9" not found'
From this point on the progress will stall and never complete. Any subsequent attempts to start the workbench will have the same effect. The notebook is unreachable at this point.
Actual results:
Workbench will never startup fully again.
Expected results:
Workbench should restart without the deleted variables.
Reproducibility (Always/Intermittent/Only Once):
Always