lp:~ruslan-lutcenko/curtin/curtin

Created by Ruslan Lutsenko and last modified
Get this branch:
bzr branch lp:~ruslan-lutcenko/curtin/curtin
Only Ruslan Lutsenko can upload to this branch. If you are Ruslan Lutsenko please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Ruslan Lutsenko
Project:
curtin
Status:
Development

Recent revisions

431. By Ruslan Lutsenko

raid devices also use name /dev/md0p1

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[@]}".

426. By Ryan Harper

bytes2human: fix for values larger than 32 bit int on 32 bit python2.

This fixes a bug in bytes2human when running on 32 bit system.
the bytes2human tests would fail because we were not testing for a
type 'long' and integers over 32 bit get converted to long.

    $ uname -m
    i386
    $ python2 -c 'print(type(1024 ** 3 * 10))'
    <type 'long'>

425. By Ryan Harper

unittest,tox.ini: catch and fix issue with trusty-level mock of open

unittest:
  - Mock out open calls via builtin
  - Create unittest/helper.py with mock_open context manager
  - Handle module name difference between python2.7 and 3.0 via try-except
  - Split wipe_zero and wipe_random into separate tests

tox.ini:
  - add a 'trusty-py3' and 'trusty-py2' tox environment with more
    specific versions as to what is on trusty.

424. By Ryan Harper

block/mdadm: add option to ignore mdadm_assemble errors

When wiping disks with mdadm partitions we may encounter unexpected
return codes. In the case of wiping disks, we don't care if we
observe any error so allow wipe to ignore the errors by explicitly
passing in ignore errors.

423. By Ryan Harper

curtin/doc: overhaul curtin documentation for readthedocs.org

Add additional documentation on custom storage and network configuration
Integrate some development documentation in Sphinx format and update
the build scripts for docs to import curtin version from python code.

422. By Ryan Harper

curtin.util: re-add support for RunInChroot

In merge committed to trunk in revno 404, we dropped util.RunInChroot.
That method was being used from curthooks in lp:maas-images project to
run commands in target via util.ChrootableTarget. In order to support
installation of old images that depend on RunInChroot we need to add
the method back.

This merge does that by wrapping ChrootableTarget class. It also adds
a couple unit tests to ensure that this keeps working.

Branch metadata

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

Subscribers