yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #08348
[Bug 1212492] Re: cc_growpart broken if parted resizefs found
** Changed in: cloud-init
Status: Confirmed => Won't Fix
** Changed in: cloud-init (Ubuntu)
Status: Confirmed => Won't Fix
** No longer affects: parted (Ubuntu)
--
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/1212492
Title:
cc_growpart broken if parted resizefs found
Status in Init scripts for use on cloud images:
Won't Fix
Status in “cloud-init” package in Ubuntu:
Won't Fix
Bug description:
As reported in bug 1212444, the partition growing is broken if growpart is found to be usable.
There are 2 things that are broken,
a.) we invoke parted wrong (passing device after 'resizepart' rather than before)
b.) parted seems somewhat broken, and I dont know how to force it to do what we want. See:
$ sudo parted /dev/vda resizepart --script 1 </dev/null; echo $?
Warning: Partition /dev/vda1 is being used. Are you sure you want to continue?
1
Um... yes, parted, i want you to do what I told you to do.
Related bugs:
* bug 1212444: 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/cloud-init/+bug/1212492/+subscriptions