Created by Lee Trager and last modified
Get this branch:
bzr branch lp:~ltrager/maas-images/check_gpg
Only Lee Trager can upload to this branch. If you are Lee Trager please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Lee Trager

Recent revisions

239. By Lee Trager

Check GPG signature

238. By Scott Moser

Parse existing stream data to prevent images from being regenerated

Parse existing simplestream data during the import and merge process.
During the import process this allows us to prevent existing images from
being regenerated. During the merge process this allows us to verify that
existing images have the same SHA256 sum on both the source and target.

Currently this only supports reading simplestream data from the local

237. By Scott Moser

tox: run make 'meph2-util' in minimal python3 environment

The last merge caused meph2-util to fail to run on our build environment.
This adds a very minimal test that would have actually failed there.

We just run meph2-util in the tox env. The imports of yaml and of
requests would have caused this to fail previously.

236. By Scott Moser

use /usr/bin/env for shebang

this means that inside tox, running these will not get
outside dependencies resolved.

235. By Scott Moser

build system now has python3-yaml

Thus revert revno 233:
  only import yaml in 'import' subcommand

  the build system does not currently have python3-yaml
  which causes issues. So for the moment, work around that.

234. By Scott Moser

catch 404 when mining data

when replacing the use of requests, the new code was being more
strict. The requests library would return the 404 document on
non-existent, and then we would end up loading apache dirs from
that. That would result in empty list.

Instead of that mention the 404.

233. By Scott Moser

only import yaml in 'import' subcommand

the build system does not currently have python3-yaml
which causes issues. So for the moment, work around that.

232. By Scott Moser

remove 'requests' dependency for meph2-util, 'import' cleanups.

This removes the requests dependency that was added under meph2-util
and adds 'url_helper' for using urls in meph2.

Also utilizes a cache and temp dirs in maas-qcow2targz.

cleanups in system-setup to do the right thing and be aware of
our new python3-yaml depends.

231. By Scott Moser

support importing centos images

* The import command reads from a specified yaml file which defines
  the source of the images, the content_id of the stream,
  a template for the product_id, and the versions to be downloaded

* This consumes the CentOS generic cloud images which use the
  standard kernel and have cloud-init preinstalled in qcow2 format.
  Since they don't provide a simplestream containing these images
  but do provide a sha256sum.txt in a static location it uses
  that as the source of metadata

* CentOS uses a date stamp as their version so we pull that string out as the
  version-id. Since CentOS published two versions of CentOS 7.0 we
  import two versions.

* CentOS 7.0 has deprecated python-oauth in favor of python-oauth2.
  This is despite the fact that the version of cloud-init that
  they ship with uses python-oauth in
  This forced me to pull a build of python-oauth from EPEL-testing.

* The curtin files pulled from

230. By Scott Moser

kpack-from-image: avoid 'find' errors if no dtb path

Looking at otherwise successful logs, we would see:
   find: `/lib/firmware/4.2.0-7-generic/device-tree': No such file ..

This will avoid those evil looking messages.

Branch metadata

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