[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2020-07-15 Thread Paride Legovini
** Changed in: cloud-utils Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1835124 Title: growpart mishandles image filenames that end in a number To mana

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2020-06-09 Thread Robie Basak
** Tags removed: server-next -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1835124 Title: growpart mishandles image filenames that end in a number To manage notifications about this bug go to: http

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-10-21 Thread Launchpad Bug Tracker
This bug was fixed in the package cloud-utils - 0.31-0ubuntu1.2 --- cloud-utils (0.31-0ubuntu1.2) disco; urgency=medium * test-growpart: fix logic error resulting in test failure. [Scott Moser] (LP: #1842682) cloud-utils (0.31-0ubuntu1.1) disco; urgency=medium * fix race con

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-10-16 Thread Rafael David Tinoco
verified: (k)rafaeldtinoco@cloudutils:~$ sudo fdisk /fakedisk.ext4 Welcome to fdisk (util-linux 2.33.1). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): d Selected partition 1 Partition 1 has been deleted

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-09-24 Thread Brian Murray
Hello David, or anyone else affected, Accepted cloud-utils into disco-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud- utils/0.31-0ubuntu1.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See h

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-09-24 Thread Rafael David Tinoco
I confirm version 0.31-0ubuntu1.1 indeed fixes the issue. ** Tags removed: verification-needed verification-needed-disco ** Tags added: verification-done verification-done-disco -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-09-06 Thread Rafael David Tinoco
For whoever interests, the version fixing the issue with autopkgtests (that blocked migration of 0.31-0ubuntu1.1) is 0.31-0ubuntu1.2. So there will be a new fix to be verified in this bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-09-06 Thread Rafael David Tinoco
MR: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/cloud- utils/+git/cloud-utils/+ref/lp1835124 rebases previous merge including your fix. Feel free to sponsor if review is +1. Let me know if there are any issues. Thx Scott! -- You received this bug notification because you are a m

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-09-06 Thread Rafael David Tinoco
Alright, I'll backport LP: #1842682 SRU together with this one and propose it in the existing merge for review. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1835124 Title: growpart mishandles image

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-09-04 Thread Scott Moser
The excuses page linked in comment 15 lists a test failure that is a regression of the change for this bug. I've filed bug 1842682 and put up a pull request to fix that logic error. ** Description changed: [Impact] - * DEP8 race condition for ppc64el (LP: #1836593): intermittent +   * DE

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-09-03 Thread David Krauser
We ran into this bug initially on xenial when doing image builds. Manually installing the cloud-guest-utils 0.31-0ubuntu1.1 deb in that environment resolves the issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launch

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-09-02 Thread Łukasz Zemczak
Hello David, or anyone else affected, Accepted cloud-utils into disco-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud- utils/0.31-0ubuntu1.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See h

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-08-01 Thread Rafael David Tinoco
Sorry Robie, I missed the template. Now its good to go I believe. ** Description changed: + [Impact] + + * DEP8 race condition for ppc64el (LP: #1836593): intermittent + migration regressions. + + * growpart: fix bug when file image ends in a digit (LP: #1835124): + image files can't end i

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-07-31 Thread Robie Basak
SRU information required in this bug please. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1835124 Title: growpart mishandles image filenames that end in a number To manage notifications about this

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-07-16 Thread Rafael David Tinoco
** Changed in: cloud-utils (Ubuntu Disco) Status: New => In Progress ** Changed in: cloud-utils (Ubuntu Disco) Assignee: (unassigned) => Rafael David Tinoco (rafaeldtinoco) ** Changed in: cloud-utils (Ubuntu Disco) Importance: Undecided => Low -- You received this bug notificatio

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-07-16 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/cloud-utils/+git/cloud-utils/+merge/370194 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1835124 Title: growpar

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-07-16 Thread Rafael David Tinoco
** Also affects: cloud-utils (Ubuntu Disco) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1835124 Title: growpart mishandles image filenames that end in a

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-07-13 Thread Launchpad Bug Tracker
This bug was fixed in the package cloud-utils - 0.31-3-gfadd07fe- 0ubuntu1 --- cloud-utils (0.31-3-gfadd07fe-0ubuntu1) eoan; urgency=medium * New upstream snapshot. - growpart: Fix bug when file image ends in a digit. (LP: #1835124) - Fix spelling error in ec2metadata (--re

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-07-12 Thread David Krauser
Thank you both for addressing the issue :-) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1835124 Title: growpart mishandles image filenames that end in a number To manage notifications about this

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-07-10 Thread Rafael David Tinoco
Thanks a lot! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1835124 Title: growpart mishandles image filenames that end in a number To manage notifications about this bug go to: https://bugs.launch

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-07-10 Thread Scott Moser
@Rafael, yes. Fixed upstream now. I'm going to also do an upload to eoan using 'new-upstream-snapshot' [1] https://github.com/CanonicalLtd/uss-tableflip/blob/master/scripts/new-upstream-snapshot In order to make that workflow work, i did have to get tags into git from the old bzr repo and sign t

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-07-10 Thread Scott Moser
** Changed in: cloud-utils Status: Confirmed => Fix Committed ** Changed in: cloud-utils (Ubuntu) Assignee: Scott Moser (smoser) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bu

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-07-10 Thread Rafael David Tinoco
Scott shouldn't this be first merge into upstream first ? Then I can merge eoan with upstream and SRU the fix for other versions as DEP3. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1835124 Title:

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-07-10 Thread Rafael David Tinoco
Yes Scott, I do agree, and that is why I thought this was related to a loopback filesystem only, having a GPT/MSDOS partition table in a file called .ext4 is awkward to me as well. Thank you very much for your path, I'm reviewing it right now. -- You received this bug notification because you are

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-07-10 Thread Rafael David Tinoco
(k)inaddy@kvirtclone:~$ sudo fdisk /fakedisk Welcome to fdisk (util-linux 2.33.1). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): p Disk /fakedisk: 128 MiB, 134217728 bytes, 262144 sectors Units: sectors of 1 *

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-07-10 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~smoser/cloud-utils/+git/cloud-utils/+merge/369959 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1835124 Title: growpart mishandles image file

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-07-10 Thread Scott Moser
I agree that this is a bug (fix proposed), but fwiw, your naming of a *disk* image with an extension 'ext4' is a bit confusing to anyone that might see that file. Probably better '.disk' or '.img'. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-07-09 Thread Rafael David Tinoco
I see what you mean now David, sorry for the wrong assumption, let me re-check this for you. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1835124 Title: growpart mishandles image filenames that end

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-07-09 Thread David Krauser
The error occurs with a gpt formatted image, which is supported by sfdisk. This logic in growpart is broken for image files: if [ -b "${DISK}p${PART}" -a "${DISK%[0-9]}" != "${DISK}" ]; then If an image filename ends with a number, sfdisk identifies each partition like: ${DISK}p${PART_NUMBER}

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-07-08 Thread Rafael David Tinoco
cloud-utils growpart script uses either sgdisk or sfdisk as a resizer... unfortunately it does not expect disk formats other than: resize_sfdisk_gpt() { resize_sfdisk gpt } resize_sfdisk_dos() { resize_sfdisk dos } where $1 is the type of the disk format. that is why you're gett

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-07-08 Thread Rafael David Tinoco
** Changed in: cloud-utils (Ubuntu) Status: New => Confirmed ** Changed in: cloud-utils (Ubuntu) Status: Confirmed => Triaged ** Changed in: cloud-utils Status: Triaged => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subs

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-07-08 Thread Joshua Powers
** Changed in: cloud-utils Status: New => Triaged ** Changed in: cloud-utils Importance: Undecided => High ** Tags added: server-next -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1835124

[Bug 1835124] Re: growpart mishandles image filenames that end in a number

2019-07-03 Thread Bryce Harrington
** Also affects: cloud-utils Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1835124 Title: growpart mishandles image filenames that end in a number To man