[2.6, events] The rebooting event on deployment is shown too early

Bug #1828493 reported by Andres Rodriguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Newell Jensen

Bug Description

The rebooting event is shown right after the node disabled boot:

  Fri, 10 May. 2019 01:39:17 Node installation - 'curtin' running 'curtin hook'
  Fri, 10 May. 2019 01:39:17 Rebooting
  Fri, 10 May. 2019 01:39:17 Installation complete - Node disabled netboot

However, there are several other events that happen after that and the machine wont reboot:

  Fri, 10 May. 2019 01:39:17 Node installation - 'curtin' running 'curtin in-target -- sh -c /bin/echo 2.6.0~beta3-7711-gb79157e92-0ubuntu1~18.04.1 > /etc/installed-by-maas'
  Fri, 10 May. 2019 01:39:17 Node installation - 'curtin' running 'wget --no-proxy http://10-193-36-0--23.maas-internal:5248/MAAS/metadata/latest/by-id/qyw7c3/ --post-data op=netboot_off -O /dev/null'
  Fri, 10 May. 2019 01:39:17 Node installation - 'curtin' running 'wget --no-proxy http://10-193-36-0--23.maas-internal:5248/MAAS/metadata/latest/by-id/qyw7c3/ --post-data op=netboot_off -O /dev/null'
  Fri, 10 May. 2019 01:39:17 Node installation - 'curtin' running 'curtin hook'
  Fri, 10 May. 2019 01:39:17 Node installation - 'curtin' curtin command hook
  Fri, 10 May. 2019 01:39:17 Node installation - 'curtin' curtin command hook
  Fri, 10 May. 2019 01:39:17 Node installation - 'curtin' configuring installed system
  Fri, 10 May. 2019 01:39:17 Node installation - 'curtin' running 'curtin curthooks'
  Fri, 10 May. 2019 01:39:17 Node installation - 'curtin' finalizing installation
  Fri, 10 May. 2019 01:39:17 Node installation - 'curtin' running 'curtin hook'
  Fri, 10 May. 2019 01:39:17 Rebooting
  Fri, 10 May. 2019 01:39:17 Installation complete - Node disabled netboot

The event should be shown after the installation log has been gathered instead or when cloud-init is running models for final

  Fri, 10 May. 2019 01:40:40 Node installation - 'cloudinit' running config-keys-to-console with frequency once-per-instance
  Fri, 10 May. 2019 01:40:40 Node installation - 'cloudinit' running modules for final
  Fri, 10 May. 2019 01:40:40 Script result - /tmp/install.log changed status from 'Running' to 'Passed'
  Fri, 10 May. 2019 01:40:40 Node installation - 'curtin' curtin command install

Related branches

Changed in maas:
importance: Undecided → High
status: New → Triaged
milestone: none → 2.6.0rc1
assignee: nobody → Newell Jensen (newell-jensen)
summary: - [2.6] The rebooting event on deployment is shown too early
+ [2.6, events] The rebooting event on deployment is shown too early
Changed in maas:
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
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.