lp://qastaging/~raharper/curtin/trunk.delete-eth0-cfg-in-target
- Get this branch:
- bzr branch lp://qastaging/~raharper/curtin/trunk.delete-eth0-cfg-in-target
Branch merges
- Server Team CI bot: Approve (continuous-integration)
- Scott Moser: Pending requested
-
Diff: 576 lines (+129/-56)19 files modifiedcurtin/commands/curthooks.py (+38/-0)
curtin/util.py (+10/-0)
examples/network-iscsiroot.yaml (+3/-3)
examples/tests/basic_network.yaml (+3/-3)
examples/tests/basic_network_static.yaml (+1/-1)
examples/tests/bonding_network.yaml (+5/-5)
examples/tests/network_source.yaml (+4/-4)
examples/tests/vlan_network.yaml (+20/-20)
tests/unittests/test_net.py (+14/-14)
tests/vmtests/__init__.py (+12/-0)
tests/vmtests/test_basic.py (+2/-0)
tests/vmtests/test_bcache_basic.py (+1/-0)
tests/vmtests/test_bonding.py (+1/-0)
tests/vmtests/test_lvm.py (+1/-0)
tests/vmtests/test_mdadm_bcache.py (+2/-0)
tests/vmtests/test_network.py (+8/-6)
tests/vmtests/test_nvme.py (+1/-0)
tests/vmtests/test_raid5_bcache.py (+2/-0)
tests/vmtests/test_uefi_basic.py (+1/-0)
Related bugs
Bug #1582410: precise daily image fails (release works) | Medium | Fix Released |
Related blueprints
Branch information
Recent revisions
- 389. By Ryan Harper
-
Add in cloud-init's maybe_remove_eth0 config function, and prepend target path.
Update vmtest base class to include a test to assert that we've removed the eth0.cfg file from the target. - 388. By Ryan Harper
-
Remove the use of eth for interface names; we want to expose places where fallback/defaults allow tests to pass rather than being explicit.
- 387. By Scott Moser
-
fix timestamp in reporting events.
If no timestamp was passed into a ReportingEvent, then the default was
used. That default was 'time.time()' which was evaluated once only at
import time. - 385. By Scott Moser
-
fix dependencies in packaging
This fixes up dependencies to be more correct.
The net result is that after 'apt-get install curtin', then
curtin --install-deps will not have any work to do.curtin-common changes:
- drop 'python' from curtin-common package as it does not use any python.
- util-linux >= 2.20.1 is in all ubuntu (precise+) so remove this
dependency as util-linux is 'essential'python-curtin, python3-curtin:
- drop 'curl' from dependencies of python-curtin or python3-curtin
this was simply incorrect. wget is used, but curl is never.
- explicitly list the python dependencies on oauthlib and yaml
the attempt to have dh_python resolve these was just simply not
working. so explicitly list them.requirements.txt:
- urllib3 is never used, drop it from here.
- pbr is not needed. (it was probably copied from cloud-init) - 384. By Ryan Harper
-
mdadm: resolve mdadm/bcache and trusty+hwe issues
- mdadm must be installed before kernel update or grub fails
- trusty bcache doesn't support sysfs entries, retry on failure
when looking for an existing cache device
- fix storage configuration where partition 'number' key was missing
causing curtin to use reuse a partition (configuration error).
- add some more debugging information when applying raid configurations
- raid: add in use of homehost to ensure we find the right mdadm devices
- unittests: fix up mdadm tests with introduced hostname -s call - 383. By Ryan Harper
-
block_meta: fix previous partition size, start conversion with 4k sectors
On systems with logical_block_size = 4096, the values for size and start
in sysfs are still in 512b sector size. Handle this by converting the
sysfs values to bytes and then converting to sectors based on the logical
block size value.Add vmtests to test when running with 4k sector sizes.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://qastaging/~curtin-dev/curtin/trunk