MAAS Rescue mode has no timeout when trying to leave rescue mode

Bug #2065734 reported by Ethan Myers
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Incomplete
Low
Unassigned

Bug Description

There is no timeout for exiting rescue mode (and probably entering rescue mode, although I am not sure). I noticed this because I have a machine that is unable to leave rescue mode (because of missing network connectivity) and it will not time out, and I can't abort this action.

Please add a timeout. In my opinion, after failing the timeout, it should drop back into a failed deployment state.

tags: added: bug-council
Changed in maas:
status: New → Triaged
Revision history for this message
Thorsten Merten (thorsten-merten) wrote :

Hi Ethan,

How can we reproduce the issue? What state was the machine in before entering rescue mode?

Also, what would you like to happen after the timeout or differently, what exactly is is you want to do?

Changed in maas:
importance: Undecided → Low
milestone: none → 3.6.0
tags: removed: bug-council
Changed in maas:
status: Triaged → Incomplete
Revision history for this message
Ethan Myers (ethanmyers) wrote :

Hi Thorsten,

In my case, the networking config didn't match what the switch config was expecting, so the machines never had a valid LAN connection, preventing them from reaching the MAAS server. To reproduce, I expect you could configure the deployed machine with a bad gateway, bad bond, etc to keep the deployed machine from contacting MAAS.

In my case, I was able to successfully commission a node. I tried to deploy that node with a bad networking config, moved it into rescue mode, then was unable to get it to leave rescue mode.

What I want is a timeout on the MAAS side to pickup these kinds of failures. MAAS can't contact the deployed node, so it endlessly tries to leave rescue mode. In my opinion, after 1800 seconds (or whatever timeout you think it appropriate), MAAS gives up trying to leave rescue mode and moves the machine into a FAILED_RELEASING state, or similar.

1. https://discourse-maas-io-uploads.s3.us-east-1.amazonaws.com/original/2X/b/bd9e5e225ffee4b2e88104e5bbd363dd2ef61a88.jpeg

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.