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.
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.