Merge lp:~bac/charms/trusty/openstack-dashboard/dashboard-plugin into lp:~openstack-charmers-archive/charms/trusty/openstack-dashboard/next
| Status: | Merged |
|---|---|
| Merged at revision: | 90 |
| Proposed branch: | lp:~bac/charms/trusty/openstack-dashboard/dashboard-plugin |
| Merge into: | lp:~openstack-charmers-archive/charms/trusty/openstack-dashboard/next |
| Diff against target: |
116 lines (+47/-6) 4 files modified
hooks/horizon_hooks.py (+12/-3) hooks/horizon_utils.py (+1/-0) metadata.yaml (+3/-3) unit_tests/test_horizon_hooks.py (+31/-0) |
| To merge this branch: | bzr merge lp:~bac/charms/trusty/openstack-dashboard/dashboard-plugin |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Liam Young | 2015-09-04 | Approve on 2015-10-06 | |
|
Review via email:
|
|||
Description of the Change
This branch adds a new relation 'dashboard-plugin' for openstack-dashboard to communicate to subordinate plugin charms details about the installation so the plugin can insert itself.
Currently the two pieces of information sent via the relationship are bin_path and openstack_dir.
The bin_path can be different based on how openstack is installed by the charm. If installed via distro or cloud-archive, a debian package is used to install openstack and the system python libraries are modified. If installed via git source then a virtual environment is used. If a subordinate charm needs to install python packages via pip then it needs to know which pip to use. bin_path specifies the correct environment to use, either /usr/bin or the result of git_pip_venv_dir.
openstack_dir provides the path to where openstack is installed. Currently it is always /usr/share/
- 83. By James Page on 2015-09-04
-
[trivial] Resync helpers to pickup liberty version detection
charm_unit_test #8682 openstack-
UNIT OK: passed
charm_lint_check #9389 openstack-
LINT OK: passed
charm_unit_test #8684 openstack-
UNIT OK: passed
charm_amulet_test #6251 openstack-
AMULET OK: passed
Build: http://
charm_amulet_test #6253 openstack-
AMULET OK: passed
Build: http://
- 84. By James Page on 2015-09-09
-
[1chb1n,
r=james- page] Update tests for T-K, V-K, prep for T-L and W-L. Clean up old lint. Resolve bug 1474030 race in svc restart checks.
- 85. By Brad Crittenden on 2015-09-10
-
Add dashboard-plugin relation
charm_lint_check #10965 openstack-
LINT OK: passed
Build: http://
charm_amulet_test #6858 openstack-
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_unit_test #10235 openstack-
UNIT OK: passed
charm_lint_check #11025 openstack-
LINT OK: passed
Build: http://
charm_amulet_test #6874 openstack-
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 #11091 openstack-
LINT OK: passed
Build: http://
charm_unit_test #10299 openstack-
UNIT OK: passed
charm_amulet_test #6897 openstack-
AMULET FAIL: amulet-test failed
AMULET Results (max last 2 lines):
make: *** [functional_test] Error 124
ERROR:root:Make target returned non-zero.
Full amulet test output: http://
Build: http://
charm_lint_check #11097 openstack-
LINT OK: passed
Build: http://
charm_unit_test #10305 openstack-
UNIT OK: passed
charm_amulet_test #6907 openstack-
AMULET FAIL: amulet-test failed
AMULET Results (max last 2 lines):
make: *** [functional_test] Error 124
ERROR:root:Make target returned non-zero.
Full amulet test output: http://
Build: http://
charm_lint_check #11150 openstack-
LINT OK: passed
Build: http://
charm_unit_test #10355 openstack-
UNIT OK: passed
charm_unit_test #10357 openstack-
UNIT OK: passed
charm_lint_check #11155 openstack-
LINT OK: passed
Build: http://
charm_amulet_test #6927 openstack-
AMULET OK: passed
Build: http://
charm_amulet_test #6932 openstack-
AMULET OK: passed
Build: http://
charm_amulet_test #7030 openstack-
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 #11329 openstack-
LINT OK: passed
Build: http://
charm_unit_test #10523 openstack-
UNIT OK: passed
charm_amulet_test #7115 openstack-
AMULET OK: passed
Build: http://
| Brad Crittenden (bac) wrote : | # |
Liam I have made the change you requested and now have all tests passing since the problem with CI was resolved. Please take another look and let me know how we can get this merged.

charm_lint_check #9387 openstack- dashboard- next for bac mp270177
LINT FAIL: lint-test failed
LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.
Full lint test output: http:// paste.ubuntu. com/12273326/ 10.245. 162.77: 8080/job/ charm_lint_ check/9387/
Build: http://