Merge lp:~gnuoy/charms/trusty/nova-cloud-controller/next-haproxy-always into lp:~openstack-charmers-archive/charms/trusty/nova-cloud-controller/next
- Trusty Tahr (14.04)
- next-haproxy-always
- Merge into next
Status: | Merged |
---|---|
Merged at revision: | 132 |
Proposed branch: | lp:~gnuoy/charms/trusty/nova-cloud-controller/next-haproxy-always |
Merge into: | lp:~openstack-charmers-archive/charms/trusty/nova-cloud-controller/next |
Diff against target: |
72 lines (+24/-14) 3 files modified
hooks/nova_cc_context.py (+20/-10) hooks/nova_cc_utils.py (+1/-1) tests/basic_deployment.py (+3/-3) |
To merge this branch: | bzr merge lp:~gnuoy/charms/trusty/nova-cloud-controller/next-haproxy-always |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Page | Approve | ||
Review via email: mp+242898@code.launchpad.net |
Commit message
Description of the change
uosci-testing-bot (uosci-testing-bot) wrote : | # |
uosci-testing-bot (uosci-testing-bot) wrote : | # |
UOSCI bot says:
charm_unit_test #1063 nova-cloud-
UNIT OK: passed
UNIT Results (max last 5 lines):
hooks/
hooks/
TOTAL 1038 366 65%
Ran 96 tests in 8.653s
OK
Full unit test output: http://
Build: http://
uosci-testing-bot (uosci-testing-bot) wrote : | # |
UOSCI bot says:
charm_amulet_test #532 nova-cloud-
AMULET FAIL: amulet-test failed
AMULET Results (max last 5 lines):
juju-
WARNING cannot delete security group "juju-osci-sv09-0". Used by another environment?
juju-test INFO : Results: 1 passed, 2 failed, 0 errored
ERROR subprocess encountered error code 2
make: *** [test] Error 2
Full amulet test output: http://
Build: http://
James Page (james-page) wrote : | # |
Amulet test failures need addressing
- 128. By Liam Young
-
Merged next in
- 129. By Liam Young
-
Sync charmhelpers
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_lint_check #305 nova-cloud-
LINT OK: passed
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_unit_test #333 nova-cloud-
UNIT OK: passed
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_amulet_test #468 nova-cloud-
AMULET FAIL: amulet-test failed
AMULET Results (max last 2 lines):
ERROR subprocess encountered error code 1
make: *** [test] Error 1
Full amulet test output: http://
Build: http://
- 130. By Liam Young
-
charmhelper sync
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_lint_check #523 nova-cloud-
LINT OK: passed
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_unit_test #552 nova-cloud-
UNIT OK: passed
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_amulet_test #679 nova-cloud-
AMULET FAIL: amulet-test failed
AMULET Results (max last 2 lines):
ERROR subprocess encountered error code 1
make: *** [test] Error 1
Full amulet test output: http://
Build: http://
- 131. By Liam Young
-
Fix port in amulet tests
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_lint_check #529 nova-cloud-
LINT OK: passed
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_unit_test #558 nova-cloud-
UNIT OK: passed
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_amulet_test #685 nova-cloud-
AMULET FAIL: amulet-test failed
AMULET Results (max last 2 lines):
ERROR subprocess encountered error code 1
make: *** [test] Error 1
Full amulet test output: http://
Build: http://
- 132. By Liam Young
-
Actually fix amulet tests
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_lint_check #536 nova-cloud-
LINT OK: passed
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_unit_test #565 nova-cloud-
UNIT OK: passed
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_amulet_test #692 nova-cloud-
AMULET OK: passed
James Page (james-page) : | # |
Preview Diff
1 | === modified file 'hooks/nova_cc_context.py' |
2 | --- hooks/nova_cc_context.py 2014-12-17 18:20:59 +0000 |
3 | +++ hooks/nova_cc_context.py 2015-01-05 14:40:35 +0000 |
4 | @@ -135,18 +135,28 @@ |
5 | |
6 | # determine which port api processes should bind to, depending |
7 | # on existence of haproxy + apache frontends |
8 | - compute_api = determine_api_port(api_port('nova-api-os-compute')) |
9 | - ec2_api = determine_api_port(api_port('nova-api-ec2')) |
10 | - s3_api = determine_api_port(api_port('nova-objectstore')) |
11 | - nvol_api = determine_api_port(api_port('nova-api-os-volume')) |
12 | - neutron_api = determine_api_port(api_port('neutron-server')) |
13 | + compute_api = determine_api_port(api_port('nova-api-os-compute'), |
14 | + singlenode_mode=True) |
15 | + ec2_api = determine_api_port(api_port('nova-api-ec2'), |
16 | + singlenode_mode=True) |
17 | + s3_api = determine_api_port(api_port('nova-objectstore'), |
18 | + singlenode_mode=True) |
19 | + nvol_api = determine_api_port(api_port('nova-api-os-volume'), |
20 | + singlenode_mode=True) |
21 | + neutron_api = determine_api_port(api_port('neutron-server'), |
22 | + singlenode_mode=True) |
23 | |
24 | # Apache ports |
25 | - a_compute_api = determine_apache_port(api_port('nova-api-os-compute')) |
26 | - a_ec2_api = determine_apache_port(api_port('nova-api-ec2')) |
27 | - a_s3_api = determine_apache_port(api_port('nova-objectstore')) |
28 | - a_nvol_api = determine_apache_port(api_port('nova-api-os-volume')) |
29 | - a_neutron_api = determine_apache_port(api_port('neutron-server')) |
30 | + a_compute_api = determine_apache_port(api_port('nova-api-os-compute'), |
31 | + singlenode_mode=True) |
32 | + a_ec2_api = determine_apache_port(api_port('nova-api-ec2'), |
33 | + singlenode_mode=True) |
34 | + a_s3_api = determine_apache_port(api_port('nova-objectstore'), |
35 | + singlenode_mode=True) |
36 | + a_nvol_api = determine_apache_port(api_port('nova-api-os-volume'), |
37 | + singlenode_mode=True) |
38 | + a_neutron_api = determine_apache_port(api_port('neutron-server'), |
39 | + singlenode_mode=True) |
40 | |
41 | # to be set in nova.conf accordingly. |
42 | listen_ports = { |
43 | |
44 | === modified file 'hooks/nova_cc_utils.py' |
45 | --- hooks/nova_cc_utils.py 2014-12-17 18:20:59 +0000 |
46 | +++ hooks/nova_cc_utils.py 2015-01-05 14:40:35 +0000 |
47 | @@ -175,7 +175,7 @@ |
48 | 'contexts': [nova_cc_context.NeutronCCContext()], |
49 | }), |
50 | (HAPROXY_CONF, { |
51 | - 'contexts': [context.HAProxyContext(), |
52 | + 'contexts': [context.HAProxyContext(singlenode_mode=True), |
53 | nova_cc_context.HAProxyContext()], |
54 | 'services': ['haproxy'], |
55 | }), |
56 | |
57 | === modified file 'tests/basic_deployment.py' |
58 | --- tests/basic_deployment.py 2014-10-23 18:03:32 +0000 |
59 | +++ tests/basic_deployment.py 2015-01-05 14:40:35 +0000 |
60 | @@ -467,9 +467,9 @@ |
61 | 'rabbit_host': rabbitmq_relation['hostname'], |
62 | 'glance_api_servers': glance_relation['glance-api-server'], |
63 | 'network_manager': 'nova.network.manager.FlatDHCPManager', |
64 | - 's3_listen_port': '3333', |
65 | - 'osapi_compute_listen_port': '8774', |
66 | - 'ec2_listen_port': '8773'} |
67 | + 's3_listen_port': '3323', |
68 | + 'osapi_compute_listen_port': '8764', |
69 | + 'ec2_listen_port': '8763'} |
70 | |
71 | ret = u.validate_config_data(unit, conf, 'DEFAULT', expected) |
72 | if ret: |
UOSCI bot says: controller- next for gnuoy mp242898
charm_lint_check #1229 nova-cloud-
LINT OK: passed
LINT Results (max last 5 lines): client- timeout has no default value
I: config.yaml: option os-admin-network has no default value
I: config.yaml: option haproxy-
I: config.yaml: option ssl_cert has no default value
I: config.yaml: option nvp-l3-uuid has no default value
I: config.yaml: option os-internal-network has no default value
Full lint test output: http:// paste.ubuntu. com/9252825/ 10.98.191. 181:8080/ job/charm_ lint_check/ 1229/
Build: http://