← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2089185] Re: Releasing fails with latest cloud-init on image 20241113

 

** Also affects: maas/3.5
   Importance: Undecided
       Status: New

** Also affects: maas/3.4
   Importance: Undecided
       Status: New

** Changed in: maas/3.4
       Status: New => Triaged

** Changed in: maas/3.5
       Status: New => Triaged

** Changed in: maas/3.4
   Importance: Undecided => High

** Changed in: maas/3.5
   Importance: Undecided => High

** Changed in: maas/3.4
    Milestone: None => 3.5.x

** Changed in: maas/3.5
    Milestone: None => 3.4.x

** Changed in: maas
     Assignee: (unassigned) => Jacopo Rota (r00ta)

** Changed in: maas
       Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/2089185

Title:
  Releasing fails with latest cloud-init on image 20241113

Status in cloud-init:
  Fix Released
Status in MAAS:
  In Progress
Status in MAAS 3.4 series:
  Triaged
Status in MAAS 3.5 series:
  Triaged
Status in cloud-init package in Ubuntu:
  Incomplete

Bug description:
  Hello,

  It seems a bug was introduced in the `20241113` Jammy image and now
  when we release a server with disk erasing, after the wipe-disks
  script finishes successfully, cloud-init fails and causes the server
  to go into a release failed state.

  Searching the internet, this issue seems to align with what I'm
  seeing: https://github.com/canonical/cloud-init/issues/5849

  See attached logs, where cloud-init fails with `failed stage modules-
  final`.

  I reviewed the cloud-config the server was getting and noticed the
  following:

  ```
  power_state:
    condition: test ! -e /tmp/block-poweroff
    delay: now
    mode: poweroff
    timeout: 3600
  ```

  If my understanding is correct, basically cloud-init finishes running
  the user script then powers off. After sending the power off signal,
  it starts the modules-final section which then is cancelled by the
  shutdown.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/2089185/+subscriptions