← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1907319] Re: cloud-init-19.4-7.el7.centos.2.x86_64 growpart failed to resize

 

** Changed in: cloud-init
       Status: Incomplete => Invalid

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

Title:
  cloud-init-19.4-7.el7.centos.2.x86_64 growpart failed to resize

Status in cloud-init:
  Invalid

Bug description:
  2020-12-08 06:18:02,524 - util.py[WARNING]: Failed: growpart /dev/vda 9
  2020-12-08 06:18:02,525 - util.py[DEBUG]: Failed: growpart /dev/vda 9
  Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cloudinit/config/cc_growpart.py", line 154, in resize
  util.subp(["growpart", diskdev, partnum])
  File "/usr/lib/python2.7/site-packages/cloudinit/util.py", line 2084, in subp
  cmd=args)
  ProcessExecutionError: Unexpected error while running command.
  Command: ['growpart', '/dev/vda', '9']
  Exit code: 2
  Reason: -
  Stdout: FAILED: failed to resize
  Stderr: attempt to resize /dev/vda failed. sfdisk output below:

  sfdisk: Warning: extended partition does not start at a cylinder boundary.
  DOS and Linux will interpret the contents differently.
  Disk /dev/vda: 208050 cylinders, 16 heads, 63 sectors/track
  Old situation:
  Units: cylinders of 516096 bytes, blocks of 1024 bytes, counting from 0
  Device Boot Start End #cyls #blocks Id System
  /dev/vda1 2+ 609- 608- 306176 83 Linux
  /dev/vda2 609+ 8736- 8127- 4096000 82 Linux swap / Solaris
  /dev/vda3 8736+ 18285- 9550- 4812800 83 Linux
  /dev/vda4 18285+ 41610- 23325- 11755520 f W95 Ext'd (LBA)
  /dev/vda5 18287+ 21739- 3452- 1739776 83 Linux
  /dev/vda6 21741+ 23771- 2030- 1022976 83 Linux
  /dev/vda7 23773+ 25396- 1624- 818176 83 Linux
  /dev/vda8 25398+ 27477- 2079- 1047552 83 Linux
  /dev/vda9 * 27479+ 41610- 14131- 7121903+ 83 Linux
  Warning: given size (182015967) exceeds max allowable size (14243840)
  cannot build surrounding extended partition

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


References