← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1876139] Re: Groovy cloud-images failing during growpart

 

OK, a binary wasn't relocated, but the dependency from util-linux ->
fdisk was dropped (in https://launchpad.net/ubuntu/+source/util-
linux/2.34-0.1ubuntu3):

util-linux (2.34-0.1ubuntu3) focal; urgency=medium

  * Drop dependency from util-linux to fdisk.  The transition to split-out
    fdisk was done before 18.04 so the transitional dependency is no longer
    needed, and fdisk should not be pulled into the essential package set
    since it's not needed in container environments.  For bootable systems
    which need fdisk, it will be pulled in directly.

 -- Steve Langasek <steve.langasek@xxxxxxxxxx>  Fri, 22 Nov 2019
13:40:12 -0800

** Also affects: cloud-images
   Importance: Undecided
       Status: New

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

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


References