lp:~ubuntu-on-ec2/ubuntu-on-ec2/ec2-publishing-scripts

Created by Scott Moser and last modified
Get this branch:
bzr branch lp:~ubuntu-on-ec2/ubuntu-on-ec2/ec2-publishing-scripts
Members of Ubuntu on EC2 can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu on EC2
Project:
Ubuntu on EC2
Status:
Development

Recent revisions

675. By Thomas Bechtold

Drop all code & update README with the new url

The code moved to git, so drop all code and
mention in the README the new URL and that
the code from this repo is still there,
just in the 2nd oldest revision.

674. By Thomas Bechtold

Add Ubuntu 22.04 (jammy) release

673. By Joshua Powers

Add Ubuntu 21.10 (impish) release

672. By Philip Roche

Merge lp:~philroche/ubuntu-on-ec2/ec2-publishing-scripts-cloud-images-rsync-module into lp:~ubuntu-on-ec2/ubuntu-on-ec2/ec2-publishing-scripts [a=philroche] [r=codyshepherd,jchittum]

Use cloud-images cloud-images.ubuntu.com rsync module instead of uec-images

uec-images rsync module was not migrated during recent server migration. It has since
been restored but I see no reason to depend on it's existence. We should use the known
and widely used cloud-images module instead.

MP: https://code.launchpad.net/~philroche/ubuntu-on-ec2/ec2-publishing-scripts-cloud-images-rsync-module/+merge/393804

667. By Robert C Jennings

Merge lp:~rcj/ubuntu-on-ec2/ec2-publishing-scripts into lp:~ubuntu-on-ec2/ubuntu-on-ec2/ec2-publishing-scripts [a=rcj] [r=codyshepherd,fginther]

run-instances: Extend associate-ip timeout and correct retry logic

The timeout is proving too short in production. This patch extends the
timeout from 30s to 60s.

Additionally the logic was running the command to retry before
evaluating the loop counter and then the code would evaluate the
retry loop counter after the loop to determine failure. This allows
for one last execution of the command (xc2 associate-address) on the 6th
time through the while loop but the while loop does not continue because
the other condition for the while '[ $n -lt 5]' would be false. It is
possible (and was shown in production) that the command was succeeding
but only on the 6th attempt. The code follow the while loop looked to
see that the loop had been run 6 times and automatically failed this
despite a success. This patch changes the while evaluation to only look
at the counter conditional before the execution of the program in the
body of the while loop where success will break out from the loop early.
This should be much cleaner and easier to spot issues.

MP: https://code.launchpad.net/~rcj/ubuntu-on-ec2/ec2-publishing-scripts/+merge/362149

666. By Philip Roche

Merge lp:~philroche/ubuntu-on-ec2/ec2-publishing-scripts-querydata-arch into lp:~ubuntu-on-ec2/ubuntu-on-ec2/ec2-publishing-scripts [a=philroche] [r=daniel-thewatkins,rcj]

Bugfix: Update querydata merge code to include arch in query data output filenames

This was added in aws publication code in awslib, which is called by cloud-image-manager,
to enable multiple different architectures to output query data, which will be merged
together later, but in this instance we are only interested in amd64 (hvm is amd64 only)
so we can hardcode the arch to amd64.

MP: https://code.launchpad.net/~philroche/ubuntu-on-ec2/ec2-publishing-scripts-querydata-arch/+merge/361829

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.