I can confirm the behavior, here the relevant log again - a bit
formatted

Running command ['growpart', '--dry-run', '/dev/vda', '1']
Running command ['growpart', '/dev/vda', '1']

util.py[WARNING]: Failed: growpart /dev/vda 1
util.py[DEBUG]: Failed: growpart /dev/vda 1#012
 Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/cloudinit/config/cc_growpart.py", line 
109, in resize
    util.subp(["growpart", diskdev, partnum])
  File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1704, in subp
        cmd=args)
    cloudinit.util.ProcessExecutionError: Unexpected error while running 
command.
    Command: ['growpart', '/dev/vda', '1']
  Exit code: 2
  Reason: -
  Stdout: 'FAILED: pt_resize failed\n'
  Stderr: 'failed [pt_update:1] pt_update /dev/vda 1
           partx: partition and disk name do not match\n'
  util.py[DEBUG]: resize_devices took 0.084 seconds


Although it seems the actual partition growing worked as reported above I can 
also see a grown partition but no grown fs.

** Changed in: cloud-init (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1587188

Title:
  [yakkety regression] does not grow partition any more

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to