[Bug 1212444] [NEW] cc_growpart failed in auto grow mode with "Error: Could not stat device resizepart - No such file or directory." with parted 2.3-14

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Wed Aug 14 21:22:32 UTC 2013


Public bug reported:

During the provisioning of a local VM with cloud-init and parted 2.3.14, cc_growpart fails in auto grow mode with the following error:
===
2013-08-14 08:07:02,117 - util.py[DEBUG]: Running command ['parted', 'resizepart', '/dev/vda', '1'] with allowed return codes [0] (shell=False, capture=True)
2013-08-14 08:07:02,139 - cc_growpart.py[DEBUG]: '/' FAILED: failed to resize: disk=/dev/vda, ptnum=1: Unexpected error while running command.
Command: ['parted', 'resizepart', '/dev/vda', '1']
Exit code: 1
Reason: -
Stdout: '\r                                                                          \rError: Could not stat device resizepart - No such file or directory.\n'
Stderr: ''
===

/dev/vda1 is not resized to use entire disk space and limited to 2GB. 
Run #90 on the 12th is successful with previous version of parted.

Full log attached and online at [1]

[1] http://10.98.0.1:8080/view/Saucy/view/AutoPkgTest/job/saucy-adt-
setup-testbed/ARCH=amd64,label=albali/91/console

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: cloud-init (not installed)
ProcVersionSignature: Ubuntu 3.11.0-1.4-generic 3.11.0-rc4
Uname: Linux 3.11.0-1-generic x86_64
ApportVersion: 2.12-0ubuntu3
Architecture: amd64
Date: Wed Aug 14 23:09:56 2013
InstallationDate: Installed on 2012-10-25 (293 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MarkForUpload: True
SourcePackage: cloud-init
UpgradeStatus: Upgraded to saucy on 2012-12-02 (255 days ago)

** Affects: cloud-init (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug saucy

** Attachment added: "consoleText"
   https://bugs.launchpad.net/bugs/1212444/+attachment/3773061/+files/consoleText

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1212444

Title:
  cc_growpart failed in auto grow mode with "Error: Could not stat
  device resizepart - No such file or directory." with parted 2.3-14

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



More information about the Ubuntu-server-bugs mailing list