[2.4] may_reboot may not be working as expected

Bug #1770413 reported by Andres Rodriguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Expired
High
Unassigned

Bug Description

I had a firmware upgrade script that required a reboot after upgrading firmware. However, when the script rebooted, the script was marked as failed:

The combined stdout/stderr of the script:
https://pastebin.canonical.com/p/FD4Tfvv388/

The stderr vs stdout

https://pastebin.canonical.com/p/kbFRWWvwXh/

The script:

https://pastebin.canonical.com/p/TyyBJS86Hj/

Changed in maas:
milestone: none → 2.4.0rc2
importance: Undecided → High
status: New → Triaged
Revision history for this message
Lee Trager (ltrager) wrote :

What does hpsetup return when it runs? It may be hpsetup tells the system to reboot and returns a non-zero return code which is getting captured by MAAS as a failure. Can you tell hpsetup to not reboot and adding the command 'reboot' to the end of your script?

Changed in maas:
status: Triaged → Incomplete
Revision history for this message
Adam Collard (adam-collard) wrote :

This bug has not seen any activity in the last 6 months, so it is being automatically closed.

If you are still experiencing this issue, please feel free to re-open.

MAAS Team

Changed in maas:
status: Incomplete → Expired
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.