You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe Failed instances can be restarted by PUT /v1/instances/{id}/start, but not rebooted by PUT /v1/instances/{id}/reboot. The "reboot" API doesn't start a stopped/failed instance on a new VMM, but instead instructs the existing VMM to reboot the guest (as though the guest was power-cycled, essentially). That doesn't work when there is no VMM --- the instance will have to be started first.
#2481 looks to be a duplicate of this, though I don't know that I have enough context on the rebooting conversation above to know if it's an exhaustive duplicate or only a partial duplicate.
@charliepark I think #2481 is definitely a duplicate of this. Re: rebooting, we should not allow rebooting a Failed instance, since that will just result in Nexus returning an error anyway. I'd probably keep this issue over #2481 since it has that additional context.
Activity
hawkw commentedon Sep 24, 2024
I believe
Failedinstances can be restarted byPUT /v1/instances/{id}/start, but not rebooted byPUT /v1/instances/{id}/reboot. The "reboot" API doesn't start a stopped/failed instance on a new VMM, but instead instructs the existing VMM to reboot the guest (as though the guest was power-cycled, essentially). That doesn't work when there is no VMM --- the instance will have to be started first.charliepark commentedon Sep 28, 2024
#2481 looks to be a duplicate of this, though I don't know that I have enough context on the rebooting conversation above to know if it's an exhaustive duplicate or only a partial duplicate.
hawkw commentedon Sep 28, 2024
@charliepark I think #2481 is definitely a duplicate of this. Re: rebooting, we should not allow rebooting a
Failedinstance, since that will just result in Nexus returning an error anyway. I'd probably keep this issue over #2481 since it has that additional context.hawkw commentedon Sep 28, 2024
Oh, if #2482 closes #2481, it should definitely also close this --- the rebooting thing is just kinda a red herring.
charliepark commentedon Sep 28, 2024
Solid; will update #2482 and close #2481.
askfongjojo commentedon Sep 28, 2024
Sorry about the dup. I should have checked before filing it. 😓
charliepark commentedon Sep 28, 2024
No worries! It was actually seeing your issue that prompted my working on the fix, so it all worked out. 🙂