This bug was fixed in the package cloud-utils - 0.31-8-g9619a1ea-
0ubuntu1

---------------
cloud-utils (0.31-8-g9619a1ea-0ubuntu1) groovy; urgency=medium

  * New upstream snapshot.
    - cloud-image-utils: Add depends on fdisk, drop e2fsprogs
      [Scott Moser] (LP: #1876139)

 -- Ryan Harper <ryan.har...@canonical.com>  Tue, 05 May 2020 16:12:40
-0500

** Changed in: cloud-utils (Ubuntu)
       Status: Confirmed => Fix Released

-- 
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/1876139

Title:
  Groovy cloud-images failing during growpart

Status in cloud-images:
  New
Status in cloud-init:
  Incomplete
Status in cloud-utils:
  Fix Committed
Status in cloud-utils package in Ubuntu:
  Fix Released

Bug description:
  Was running on Azure, but I expect this happens on all cloud images.
  We did not see our disk grow as expected on first boot.

  Took a look at /var/log/cloud-init and saw the following:

  2020-04-30 16:04:46,837 - util.py[WARNING]: Failed growpart --dry-run for 
(/dev/sda, 1)
  2020-04-30 16:04:46,837 - util.py[DEBUG]: Failed growpart --dry-run for 
(/dev/sda, 1)
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/cloudinit/config/cc_growpart.py", line 
145, in resize
      util.subp(["growpart", '--dry-run', diskdev, partnum])
    File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 2084, in subp
      raise ProcessExecutionError(stdout=out, stderr=err,
  cloudinit.util.ProcessExecutionError: Unexpected error while running command.
  Command: ['growpart', '--dry-run', '/dev/sda', '1']
  Exit code: 2
  Reason: -
  Stdout: FAILED: sfdisk not found

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to