lp:~philroche/ubuntu-on-ec2/ec2-publishing-scripts-cloud-images-rsync-module

Created by Philip Roche and last modified
Get this branch:
bzr branch lp:~philroche/ubuntu-on-ec2/ec2-publishing-scripts-cloud-images-rsync-module
Only Philip Roche can upload to this branch. If you are Philip Roche please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

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

Recent revisions

672. By Philip Roche on 2020-11-16

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.

667. By Robert C Jennings on 2019-01-23

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 on 2019-01-16

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

665. By Francis Ginther on 2018-11-12

Add disco to ubuntu-adj2version [a=fginther] [r=philroche]

MP: https://code.launchpad.net/~fginther/ubuntu-on-ec2/ec2-publishing-scripts-disco/+merge/358636

663. By Philip Roche on 2018-08-18

Temporarily use an previous AMI for publication due to 20180814 Trusty kernel panic

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