growpart not working in Fedora 25 cloud base

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From https://kojipkgs.fedoraproject.org//work/tasks/5352/15555352/Fedora-Cloud-Base-25-20160909.n.0.x86_64.qcow2



Sep 10 03:13:17 cloudhost.localdomain cloud-init[645]: 2016-09-10 03:13:17,078 - util.py[WARNING]: Failed: growpart /dev/sda 1
Sep 10 03:13:17 cloudhost.localdomain cloud-init[645]: [CLOUDINIT] util.py[DEBUG]: Failed: growpart /dev/sda 1
                                                       Traceback (most recent call last):
                                                         File "/usr/lib/python3.5/site-packages/cloudinit/config/cc_growpart.py", line 109, in resize
                                                           util.subp(["growpart", diskdev, partnum])
                                                         File "/usr/lib/python3.5/site-packages/cloudinit/util.py", line 1724, in subp
                                                           cmd=args)
                                                       cloudinit.util.ProcessExecutionError: Unexpected error while running command.
                                                       Command: ['growpart', '/dev/sda', '1']
                                                       Exit code: 2
                                                       Reason: -
                                                       Stdout: 'FAILED: failed to resize\n'
                                                       Stderr: "attempt to resize /dev/sda failed. sfdisk output below:\n| Backup files:\n|          MBR (offset     0, size   512): /tmp/growpart.PO8wWI/backup-sda-0x00000000.bak\n| \n| Disk /dev/sda: 10 GiB, 10737418240 bytes, 20971520 sectors\n| Units: sectors of 1 * 512 = 512 bytes\n| Sector size (logical/physical): 512 bytes / 512 bytes\n| I/O size (minimum/optimal): 512 bytes / 512 bytes\n| Disklabel type: dos\n| Disk identifier: 0x1ef30347\n| \n| Old situation:\n| \n| Device     Boot Start     End Sectors Size Id Type\n| /dev/sda1  *     2048 6291455 6289408   3G 83 Linux\n| \n| >>> Script header accepted.\n| >>> Script header accepted.\n| >>> Script header accepted.\n| >>> Script header accepted.\n| >>> Created a new DOS disklabel with disk identifier 0x1ef30347.\n| Created a new partition 1 of type 'Linux' and of size 10 GiB.\n| /dev/sda2: \n| New situation:\n| \n| Device     Boot Start      End  Sectors Size Id Type\n| /dev/sda1  *     2048 20971519 20969472  10G 83 Linux\n| \n| The partition table has been altered.\n| Calling ioctl() to re-read partition table.\n| Re-reading the partition table failed.: Device or resource busy\n| The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).\n***** WARNING: Resize failed, attempting to revert ******\n512+0 records in\n512+0 records out\n512 bytes copied, 0.000400551 s, 1.3 MB/s\n***** Appears to have gone OK ****\n"
Sep 10 03:13:17 cloudhost.localdomain cloud-init[645]: [CLOUDINIT] util.py[DEBUG]: resize_devices took 0.127 seconds
Sep 10 03:13:17 cloudhost.localdomain cloud-init[645]: [CLOUDINIT] cc_growpart.py[DEBUG]: '/' FAILED: failed to resize: disk=/dev/sda, ptnum=1: Unexpected error while running command.
                                                       Command: ['growpart', '/dev/sda', '1']
                                                       Exit code: 2
                                                       Reason: -
                                                       Stdout: 'FAILED: failed to resize\n'
                                                       Stderr: "attempt to resize /dev/sda failed. sfdisk output below:\n| Backup files:\n|          MBR (offset     0, size   512): /tmp/growpart.PO8wWI/backup-sda-0x00000000.bak\n| \n| Disk /dev/sda: 10 GiB, 10737418240 bytes, 20971520 sectors\n| Units: sectors of 1 * 512 = 512 bytes\n| Sector size (logical/physical): 512 bytes / 512 bytes\n| I/O size (minimum/optimal): 512 bytes / 512 bytes\n| Disklabel type: dos\n| Disk identifier: 0x1ef30347\n| \n| Old situation:\n| \n| Device     Boot Start     End Sectors Size Id Type\n| /dev/sda1  *     2048 6291455 6289408   3G 83 Linux\n| \n| >>> Script header accepted.\n| >>> Script header accepted.\n| >>> Script header accepted.\n| >>> Script header accepted.\n| >>> Created a new DOS disklabel with disk identifier 0x1ef30347.\n| Created a new partition 1 of type 'Linux' and of size 10 GiB.\n| /dev/sda2: \n| New situation:\n| \n| Device     Boot Start      End  Sectors Size Id Type\n| /dev/sda1  *     2048 20971519 20969472  10G 83 Linux\n| \n| The partition table has been altered.\n| Calling ioctl() to re-read partition table.\n| Re-reading the partition table failed.: Device or resource busy\n| The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).\n***** WARNING: Resize failed, attempting to revert ******\n512+0 records in\n512+0 records out\n512 bytes copied, 0.000400551 s, 1.3 MB/s\n***** Appears to have gone OK ****\n"



Should I open a bug for this? Can we get someone to look at it/work on it? 

Dusty
_______________________________________________
cloud mailing list
cloud@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/cloud@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux