Merge lp:~thedac/charms/trusty/neutron-gateway/workgroup-status into lp:~openstack-charmers-archive/charms/trusty/neutron-gateway/next
| Status: | Merged |
|---|---|
| Merged at revision: | 151 |
| Proposed branch: | lp:~thedac/charms/trusty/neutron-gateway/workgroup-status |
| Merge into: | lp:~openstack-charmers-archive/charms/trusty/neutron-gateway/next |
| Diff against target: |
309 lines (+76/-24) 7 files modified
hooks/neutron_contexts.py (+2/-2) hooks/neutron_hooks.py (+21/-3) hooks/neutron_utils.py (+32/-1) tests/basic_deployment.py (+5/-7) unit_tests/test_actions_git_reinstall.py (+6/-5) unit_tests/test_actions_openstack_upgrade.py (+6/-5) unit_tests/test_neutron_hooks.py (+4/-1) |
| To merge this branch: | bzr merge lp:~thedac/charms/trusty/neutron-gateway/workgroup-status |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| James Page | 2015-10-06 | Approve on 2015-10-08 | |
| David Ames | Resubmit on 2015-10-08 | ||
|
Review via email:
|
|||
Description of the Change
Workgroup status
charm_unit_test #10621 neutron-
UNIT OK: passed
charm_amulet_test #7172 neutron-
AMULET FAIL: amulet-test failed
AMULET Results (max last 2 lines):
make: *** [functional_test] Error 1
ERROR:root:Make target returned non-zero.
Full amulet test output: http://
Build: http://
charm_amulet_test #7180 neutron-
AMULET OK: passed
Build: http://
- 151. By David Ames on 2015-10-07
-
Run set_os_
workload_ status after every hook - 152. By David Ames on 2015-10-07
-
Register SharedDBContext
charm_lint_check #11492 neutron-
LINT OK: passed
Build: http://
charm_unit_test #10686 neutron-
UNIT OK: passed
- 153. By David Ames on 2015-10-07
-
Run even on unknown hook
charm_unit_test #10691 neutron-
UNIT OK: passed
charm_lint_check #11501 neutron-
LINT OK: passed
Build: http://
charm_amulet_test #7194 neutron-
AMULET OK: passed
Build: http://
| James Page (james-page) wrote : | # |
A few comments; a database connection is not required for newer openstack versions (this was required for pre-icehouse versions).
neutron-plugin-api is really required and is mapped by the NeutronAPIContext class.
| David Ames (thedac) wrote : | # |
Ok, I'll make these changes.
See my comments about the SharedDBContext inline and let me know the right way to proceed.
| James Page (james-page) wrote : | # |
Lets just drop all the stuff related to shared-db or pgsql - its basically a no-op for any supported version of OpenStack that we have.
We should probably drop code and relations associated with that - but not in this proposed.
- 154. By David Ames on 2015-10-08
-
Remove database relations. Make neutron-api-plugin required
- 155. By David Ames on 2015-10-08
-
Allow teardown of the status_set patch by using with statements for patches
charm_lint_check #11545 neutron-
LINT OK: passed
Build: http://
charm_unit_test #10737 neutron-
UNIT OK: passed
- 156. By David Ames on 2015-10-08
-
Register NeutronAPIContext
| David Ames (thedac) wrote : | # |
Let me know if this is the right approach for NeutronAPIContext. Does it need to be registered elsewhere?
charm_lint_check #11548 neutron-
LINT OK: passed
Build: http://
charm_unit_test #10740 neutron-
UNIT OK: passed
- 157. By David Ames on 2015-10-08
-
NeutronGatewayC
ontext inherits NeutronAPIContext
charm_lint_check #11549 neutron-
LINT OK: passed
Build: http://
charm_unit_test #10741 neutron-
UNIT OK: passed
charm_amulet_test #7246 neutron-
AMULET FAIL: amulet-test failed
AMULET Results (max last 2 lines):
make: *** [functional_test] Error 1
ERROR:root:Make target returned non-zero.
Full amulet test output: http://
Build: http://

charm_lint_check #11430 neutron- gateway- next for thedac mp273623
LINT OK: passed
Build: http:// 10.245. 162.77: 8080/job/ charm_lint_ check/11430/