Merge lp:~raharper/curtin/trunk.test-vlan into lp:~curtin-dev/curtin/trunk
| Status: | Merged |
|---|---|
| Merged at revision: | 378 |
| Proposed branch: | lp:~raharper/curtin/trunk.test-vlan |
| Merge into: | lp:~curtin-dev/curtin/trunk |
| Diff against target: |
236 lines (+167/-11) 4 files modified
curtin/net/__init__.py (+9/-10) examples/tests/vlan_network.yaml (+81/-0) tests/vmtests/__init__.py (+1/-0) tests/vmtests/test_network.py (+76/-1) |
| To merge this branch: | bzr merge lp:~raharper/curtin/trunk.test-vlan |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Server Team CI bot | continuous-integration | Needs Fixing on 2016-04-05 | |
| Scott Moser | 2016-04-05 | Pending | |
|
Review via email:
|
|||
Commit Message
vmtests: add network vlan testing
- Utilize a real vlan configuration used in openstack deployments which on
trusty sometimes triggers a bug/issue with ifupdown (lp:1565711)
- curtin/net now writes: network: {config: disabled} into
/etc/
as in Xenial cloud-init network config device naming causes issues which
prevent cloud-init from finding the data source and then bad things
happen.
- 373. By Ryan Harper on 2016-04-06
-
vmtests: enhance vlan testing on all releases
Enable vlan testing for all distros
Fix testcase logic for multiple vlan interfaces
| Ryan Harper (raharper) wrote : | # |
On Wed, Apr 6, 2016 at 1:53 PM, Scott Moser <email address hidden> wrote:
>
>
> Diff comments:
>
> > === modified file 'curtin/
> > --- curtin/
> > +++ curtin/
> > @@ -444,4 +446,10 @@
> > LOG.info('Writing ' + netrules)
> > f.write(
> >
> > + ccfg = os.path.
>
> why not util.write_file() ?
>
Probably before I knew about it. Will convert them all.
>
> > + util.ensure_
> > + with open(ccfg, 'w+') as f:
> > + LOG.info('Writing ' + ccfg)
> > + f.write('network: {config: disabled}\n')
> > +
> > # vi: ts=4 expandtab syntax=python
>
>
> --
> https:/
> You are the owner of lp:~raharper/curtin/trunk.test-vlan.
>
- 374. By Ryan Harper on 2016-04-07
-
use util.write_file for writing network configuration files

FAILED: Continuous integration, rev:377 /code.launchpad .net/~raharper/ curtin/ trunk.test- vlan/+merge/ 291023/ +edit-commit- message
No commit message was specified in the merge proposal. Click on the following link and set the commit message (if you want a jenkins rebuild you need to trigger it yourself):
https:/
https:/ /server- team-jenkins. canonical. com/job/ curtin- ci/201/ /server- team-jenkins. canonical. com/job/ generic- update- mp/198/ console
Executed test runs:
None: https:/
Click here to trigger a rebuild: /server- team-jenkins. canonical. com/job/ curtin- ci/201/ rebuild
https:/