lp://staging/~paelzer/curtin/curtin-bug-1645680-gpgagent

Created by Christian Ehrhardt and last modified
Get this branch:
bzr branch lp://staging/~paelzer/curtin/curtin-bug-1645680-gpgagent
Only Christian Ehrhardt can upload to this branch. If you are Christian Ehrhardt please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Christian Ehrhardt
Project:
curtin
Status:
Merged

Recent revisions

436. By Christian Ehrhardt

use regexp to have only one killall

435. By Christian Ehrhardt

move cleanup in a finally statement

434. By Christian Ehrhardt

make fix local to the add-apt-repository call

Along that integrate some minor review feedback.

433. By Christian Ehrhardt

Add workaround for bug 1645680 until resolved in apt or gpg

Most of our gpg related calls run in the host and are not affected.
Only add-apt-repository is in the chroot, due to changes in gpg >=Yakkety
we need to get rid of the dirmngr and gpg-agent daemons before we are able
to umount.

This adds the discussed "workaround" as a fast countermeasure.
The intention is to drop it once (hopefully ever) add-apt-repostory and/or gpg
take care of it.

Since it is just a failsafe addition we want to avoid the potential breakage of
a killall. Theregote it is very sensitive when to kill the daemons.
As discussed it uses --younger-than and on top an optional arg to
ChrootableTarget flag that has to be set.

432. By Ryan Harper

block: fix partition kname for raid devices

mdadm RAID1 supports partitioning of the md device and utilizes
the 'p' char to name partitions: md0p1, md0p2 etc.

- Fix by adding 'md' to curtin/block:partition_kname
- Update block unittest to test/check md names
- Introduce a new vmtest to exercise partitioning RAID1 disks
  (test_mdadm_bcache.py:TestMirrorbootPartitions)

431. By Ryan Harper

Fix up tox errors that slipped in and new pycodestyle 2.1.0 complaints.

pycodestyle 2.1.0 is more strict about requiring two newlines after a
block of code.

430. By Ryan Harper

vmtests: adjust vmtest image sync metadata filenames

The current source of vmtest modified files is 'vmtest.json'.
Rename 'centos.json' to 'vmtest-centos.json' to follow the
vmtest-$distro.json format in case of future other distro
products being hosted in the MAAS streams.

429. By Wesley Wiedenmeier

vmtests: Add centos support
  - extend local image cache to store multiple product types
  - separate boot image and tarball to install in vmtests.releases
  - add very basic centos70 vmtest

428. By Wesley Wiedenmeier

Disable WilyTestRaid5Bcache vmtest

Wily is EOL, this test got missed when we disabled all other Wily-based
tests.

427. By Scott Moser

tools/xkvm: fix --netdev=<bridge>

This was incorrectly checking for 'device' in
  /sys/class/net/dev/<name>
rather than
  /sys/class/net/<name>

Additionally, "${connections[*]}" is a single item rather
than individually quoted items: "${connections[@]}".

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://staging/~curtin-dev/curtin/trunk
This branch contains Public information 
Everyone can see this information.