← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1876139] [NEW] Groovy cloud-images failing during growpart

 

Public bug reported:

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

** Affects: cloud-init
     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-init:
  New

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-init/+bug/1876139/+subscriptions


Follow ups