lp:~raharper/curtin/trunk.fix-lp1536262
- Get this branch:
- bzr branch lp:~raharper/curtin/trunk.fix-lp1536262
Branch merges
- Scott Moser (community): Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 125 lines (+52/-8)4 files modifiedcurtin/net/__init__.py (+5/-4)
examples/tests/basic_network_static.yaml (+17/-0)
tests/unittests/test_net.py (+5/-4)
tests/vmtests/test_network.py (+25/-0)
Branch information
Recent revisions
- 346. By Ryan Harper
-
vmtests: add base_network_static tests
Add a new network testcase to validate static-only setup and global dns
data showing up under lo interface. - 345. By Ryan Harper
-
curtin/net: move global dns-* options under auto lo in e/n/i
ifupdown expects any dns-* options to be related to an iface stanza
The only iface ensured to be called with ifup is lo; moving the dns-*
parameters under iface lo allows dns options to always be present even
if other interfaces are not ifup'ed. - 344. By Scott Moser
-
mkfs: fix for lack of uuid on precise or trusty
the last merge for mkfs broke vmtest. Precise's version of btrfs
lacks both uuid and force flag. Trusty's lacks uuid. - 343. By Wesley Wiedenmeier
-
Improve mkfs command and move mkfs logic to block.mkfs
The 'mkfs' command now operates as a useful utility for users
who want a consistent interface to 'mkfs'.The mkfs logic is improved and moved to the block.mkfs module
to make it more standalone. - 342. By Ryan Harper
-
vmtests: basic_network.yaml remove static gateway to avoid race with dhcp
The basic network configuration includes a static gateway
which will race with DHCP; last one to write wins and sometimes
means the network validation won't find the static gateway and fail.
Remove the static gateway in the presence of a network configured
for DHCP. - 341. By Scott Moser
-
vmtest sync: fix pruning of dirs
our pruning code is somewhat simplistic at this point.
We really need to have a better mirror, but for now this fixes an issue.At some point on our c-i nodes, a mirror included 'di' data, which
creates files in '<mirror>/<release> /<arch> /di'. That directory was
getting counted as a 'image dir'.This will count image dirs as those that are of format YYYYMMDD[.N]
- 340. By Scott Moser
-
tests/vmtests: fix invalid variable and run pylint on tests/vmtests
This fixes a bad variable in tests/vmtests anad also starts to run
pylint with python3 on tests/vmtests. pylint *would* have caught
my bad variable.Also fix the other complaints from pylint on that code so that
it will successfully run. - 339. By Scott Moser
-
maas2roottar: use --numeric-owner when creating root.tar.gz
We've just been lucky to have not hit issues with this.
Since the image may have different user and group numbers than the host
system, we need to use --numeric-owner with tar. - 338. By Scott Moser
-
Further cleanups on syncing images
This clears up some of the unexpected behavior of syncing images. Much of
the confusion was because sstream-mirror keeps internal information in
.data/ that sstream-query does not read. The result is that:
sstream-mirror <remote> <local> <filters>
and then a
sstream-query <local> <other_filters>would show results as if <other_filters> had been mirrored even though
the files were not present.We clean that up. Now, get_images will ensure that the data you were
after is present.Also, we no longer attempt mirror on every setUpClass. That could result
in one Precise test running with one image and the next Precise test
running with another image. This will only run a mirror once for a given
set of filters during a nosetests run.
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