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

Created by Scott Moser on 2010-03-29 and last modified on 2019-04-24
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

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

663. By Philip Roche on 2018-08-18

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

662. By Robert C Jennings on 2018-05-11

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

661. By Robert C Jennings on 2018-02-27

Drop use of uefi1 images in Xenial

The use of uefi1 was limited to HVM:instance-store, although the comment
states "HVM" this is incorrect. This results in an unnecessary image
delta on Xenial for one of the four image types published. By reverting
this we have a unified set of images on Xenial. Presently this helps
with a uefi1 base image issue that only affects ability to boot on EC2
and sets the stage for a future migration off ec2-publishing-scripts
entirely where all images are published from a common disk format.
Trusty will still have this single uefi1 image in it's matrix.

[a=rcj][r=philroche,fginther]
MP: https://code.launchpad.net/~rcj/ubuntu-on-ec2/ec2-publishing-scripts/+merge/340039

659. By Robert C Jennings on 2018-01-24

Add retries for common failure paths

[a=rcj][r=fginther,philroche]
MP: https://code.launchpad.net/~rcj/ubuntu-on-ec2/ec2-publishing-scripts/+merge/336555

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.