-
Notifications
You must be signed in to change notification settings - Fork 5
When start fails, only stop and delete options available #11
Comments
@jsliacan @praveenkumar Here's all the scenarios and what the menu states should be, please edit/add to it:
there's is no way to set the pull secret from the tray yet, this would be part of #1 but we can mention the requirement |
@anjannath Cool, I'm not sure about your 1. I'd assume if Start fails, Stop and Delete would be disabled. Othewise the user might be confused about the Schrodinger's VM: both stopped and not (since you "can" Stop it but also "Start" it from the current state) :) I'd add:
I'll write again if I recall something else.
Upvote from me! |
Update menu item states after each start/stop/delete operation.
Update menu item states after each start/stop/delete operation.
Update menu item states after each start/stop/delete operation.
Update menu item states after each start/stop/delete operation.
@jsliacan With the latest release this should be fixed now, please give it another try, latest binary can be grabbed from the release page: https://github.com/code-ready/tray-macos/releases/download/v1.0.0-alpha.2/crc-tray-macos.tar.gz |
I hit this issue again, need to look again.. :( |
LOL. What would you suggest it to be? When "failed" only "delete" should be shown? |
@gbraad based on this from Anjan's point 1:
I'd say that only On the other hand, if failed start meant that the VM is not started but might exist, then |
In case of a failure, |
Sure, if some sort of clean-up is needed after a failed start, then probably |
In that case, I think we need to record if the you shouldn't be able issue a new start on the command line etiher if a failure happened. @code-ready/crc-devel WDYT? |
Regarding storing some state about crc, I suspect we'll need to do it sooner or later (for example to record what we changed during preflight/what we did not change) |
This is not a given. It depends on the failure. When the VM is created, but not started, this might fail again. An example is the situation is memory assignment. When memory is not available, the start would fail. A VM would exist, but the start is not possible... unless adjusted. Which at the moment means: |
Daemon is running, and pull secret is not set. Then I clicked
Start
in the tray. Start failed, but the tray only offeredStop
andDelete
options (both of which do nothing, since CRC is not up). Also, tray doesn't offerStart
even after I pressStop
orDelete
.I would expect that it would offer
Start
as well, because the user can runcrc config set pull-secret-file <location>
and continue.Just attaching this remark here too: I couldn't find an instruction telling me how to pass the pull secret file to the tray. Maybe outline this in the README?
Thanks!
The text was updated successfully, but these errors were encountered: