lp:~smoser/cloud-utils

Owned by Scott Moser
Get this repository:
git clone https://git.launchpad.net/~smoser/cloud-utils
Only Scott Moser can upload to this repository. If you are Scott Moser please log in for upload directions.

Branches

Name Last Modified Last Commit
feature/1799953-lvm-support 2020-07-16 15:06:44 UTC
Add test for growpart lvm resize.

Author: Scott Moser
Author Date: 2020-07-16 15:04:37 UTC

Add test for growpart lvm resize.

The new test seems to work on my system with lvm on a partitioned loop
device.

fix/growpart-fixes 2020-05-06 01:36:57 UTC
growpart: Do not fail if only sgdisk is available.

Author: Scott Moser
Author Date: 2020-05-05 15:11:11 UTC

growpart: Do not fail if only sgdisk is available.

Previously growpart would fail if sgdisk was available bug sfdisk
was not. This was mostly just because of the order in which support
was added. We never had a scenario where *only* sgdisk was available.

The change here is:
 * effectively cache the value of 'has_cmd sfdisk' or 'has_cmd sgdisk'
   in global variables SFDISK and SGDISK respectively.
 * set SFDISK_VERSION=0 when sfdisk is not available.

fix/1876139-add-fdisk-dep 2020-05-05 15:56:31 UTC
cloud-image-utils: Add depends on fdisk, drop e2fsprogs

Author: Scott Moser
Author Date: 2020-04-30 19:36:05 UTC

cloud-image-utils: Add depends on fdisk, drop e2fsprogs

growpart needs sfdisk or gdisk to work.
sfdisk got split out of util-linux.

e2fsprogs is not needed for cloud-guest-utils.
It is used by resize-part-image, which is part of cloud-image-utils.

LP: #1876139

feature/growpart-add-sectors 2020-02-24 14:46:28 UTC
Add sector size to growpart output.

Author: Scott Moser
Author Date: 2020-02-24 14:46:28 UTC

Add sector size to growpart output.

This adds the sector size (either 512 or 4096) to output of
growpart, so instead of:

  CHANGED: partition=3 start=731136 old: size=819200 end=1550336
     new: size=3330048 end=4061184

you'll now see:

  CHANGED: partition=3 ssize=512 start=731136 old: size=819200 end=1550336 \
     new: size=3330048 end=4061184

fix/1850257-drop-cloud-utils-ecua 2019-10-29 19:45:45 UTC
Drop the python2 only cloud-utils-euca package and tools.

Author: Scott Moser
Author Date: 2019-10-29 14:19:55 UTC

Drop the python2 only cloud-utils-euca package and tools.

euca2ools is python2 only, so tools that use it are no longer
maintainable. These tools were not specifically dependent on
euca2ools. The user could set EC2PRE='ec2-' and the tools would
then invoke the ec2-api-tool commands rather than their euca-
counterparts.

The same is true of ubuntu-ec2-run, but *it* would default to
ec2- as the prefix by default. However, it has not been maintained
for quite a while. So just remove it also.

LP: #1850257

fix/1836593-growpart-loop-cleanup-race 2019-07-15 14:24:47 UTC
Fix race condition in test-growpart teardown seen on ppc64el.

Author: Scott Moser
Author Date: 2019-07-15 14:24:47 UTC

Fix race condition in test-growpart teardown seen on ppc64el.

The test case 'test-growpart' seemed to have a race condition that
would sometimes be seen on the Ubuntu autopkg builder infrastructure.
The failure was only seen on ppc64el.

The fix here is to use 'udevadm settle' liberally in teardown.
I have admittedly not thought this completely through as to what
*could* cause this scenario, and 'udevadm settle' often has the same
effect as 'sleep 1'. That said, this is just in testcase teardown
so there is no harm in making it work even if this is not the fully
"proper" fix.

Also here is removal of code that was not used in test-growpart-fsimage.
There, MP and LODEV were never set, so the removed cleanup would
never run.

LP: #1836593

master 2019-07-15 14:24:47 UTC
Fix race condition in test-growpart teardown seen on ppc64el.

Author: Scott Moser
Author Date: 2019-07-15 14:24:47 UTC

Fix race condition in test-growpart teardown seen on ppc64el.

The test case 'test-growpart' seemed to have a race condition that
would sometimes be seen on the Ubuntu autopkg builder infrastructure.
The failure was only seen on ppc64el.

The fix here is to use 'udevadm settle' liberally in teardown.
I have admittedly not thought this completely through as to what
*could* cause this scenario, and 'udevadm settle' often has the same
effect as 'sleep 1'. That said, this is just in testcase teardown
so there is no harm in making it work even if this is not the fully
"proper" fix.

Also here is removal of code that was not used in test-growpart-fsimage.
There, MP and LODEV were never set, so the removed cleanup would
never run.

LP: #1836593

ubuntu/devel 2018-12-10 21:02:38 UTC
releasing cloud-utils version 0.31-0ubuntu1

Author: Scott Moser
Author Date: 2018-12-10 21:02:38 UTC

releasing cloud-utils version 0.31-0ubuntu1

18 of 8 results
This repository contains Public information 
Everyone can see this information.

Subscribers