Merge lp:~ajkavanagh/openstack-mojo-specs/mojo-openstack-specs-fix-novaclient into lp:openstack-mojo-specs
| Status: | Merged |
|---|---|
| Approved by: | Ryan Beisner on 2016-04-13 |
| Approved revision: | 251 |
| Merged at revision: | 252 |
| Proposed branch: | lp:~ajkavanagh/openstack-mojo-specs/mojo-openstack-specs-fix-novaclient |
| Merge into: | lp:openstack-mojo-specs |
| Diff against target: |
28 lines (+4/-4) 1 file modified
helper/utils/mojo_os_utils.py (+4/-4) |
| To merge this branch: | bzr merge lp:~ajkavanagh/openstack-mojo-specs/mojo-openstack-specs-fix-novaclient |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Ryan Beisner | 2016-04-13 | Approve on 2016-04-13 | |
|
Review via email:
|
|||
Description of the Change
On a xenial test running, the xenial package for novaclient no longer includes the novaclient.v1_1 or .v2 modules - they've been deprecated for a while. This change changes the import and uses the newer client - this should be compatible with both trusty and xenial test runners, but may break precise test runners. This does NOT affect precise units under test as the code change only runs on the test runner.
| Ryan Beisner (1chb1n) wrote : | # |
We will need to run this "live" in osci against some edges to make sure the updated client approach works with Precise --> Xenial test targets. Please wait to merge until I confirm here. Thank you.
| Ryan Beisner (1chb1n) wrote : | # |
Looks good in spot checks @ Precise (stable charms) and a few Trusty-* combos. Thanks for the mods!

charm_lint_check #2262 mojo-openstack- specs for ajkavanagh mp291734
LINT OK: passed
Build: http:// 10.245. 162.36: 8080/job/ charm_lint_ check/2262/