lp://staging/~patviafore/ubuntu-on-ec2/ec2-publishing-scripts-hirsute

Created by Pat Viafore and last modified
Get this branch:
bzr branch lp://staging/~patviafore/ubuntu-on-ec2/ec2-publishing-scripts-hirsute
Only Pat Viafore can upload to this branch. If you are Pat Viafore please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

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

Recent revisions

671. By Pat Viafore

Add hirsute release

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

665. By Francis Ginther

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

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

662. 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=daniel-thewatkins,philroche]

ubuntu-adj2version: Explicit release definition

Since we've looped in the alphabet and are approaching dd-series this
code would have returned 6.06 for our next release rather than 19.04.
The safest way to do this is by explicit suite matching to release
version.

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

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