Merge lp://staging/~freyes/charms/trusty/nova-cloud-controller/single-nova-consoleauth into lp://staging/~openstack-charmers-archive/charms/trusty/nova-cloud-controller/next
Status: | Superseded |
---|---|
Proposed branch: | lp://staging/~freyes/charms/trusty/nova-cloud-controller/single-nova-consoleauth |
Merge into: | lp://staging/~openstack-charmers-archive/charms/trusty/nova-cloud-controller/next |
Diff against target: |
276 lines (+195/-28) 3 files modified
config.yaml (+11/-0) hooks/nova_cc_hooks.py (+60/-2) unit_tests/test_nova_cc_hooks.py (+124/-26) |
To merge this branch: | bzr merge lp://staging/~freyes/charms/trusty/nova-cloud-controller/single-nova-consoleauth |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Edward Hope-Morley | Needs Fixing | ||
OpenStack Charmers | Pending | ||
Jorge Niedbalski | Pending | ||
Billy Olsen | Pending | ||
Review via email: mp+253309@code.staging.launchpad.net |
This proposal supersedes a proposal from 2015-03-06.
This proposal has been superseded by a proposal from 2015-03-25.
Description of the change
Dear OpenStack Charmers,
This patch configures a new pacemaker resource that will allow to run a single instance of nova-consoleauth service when console-
Specifically, nova-consoleauth is configured to run where the vip is allocated, with this patch this will be default behaviour. This is needed for environments where the memcached cannot (or doesn't want to) be related to nova-cloud-
Example output of 'sudo crm_mon -1' with this patch applied:
Last updated: Mon Mar 2 14:46:43 2015
Last change: Mon Mar 2 14:44:53 2015 via crm_resource on juju-freyes-
Stack: corosync
Current DC: juju-freyes-
Version: 1.1.10-42f2063
3 Nodes configured
5 Resources configured
Online: [ juju-freyes-
Resource Group: grp_nova_vips
res_
Clone Set: cl_nova_haproxy [res_nova_haproxy]
Started: [ juju-freyes-
res_nova_
$ python juju_rrun.py --service nova-cloud-
---------- 16 nova-cloud-
---------- stdout ----------
nova 20773 1.2 7.0 312604 71312 ? Ss 14:44 0:02 /usr/bin/python /usr/bin/
ubuntu 21188 0.0 0.6 134316 6836 ? Sl 14:47 0:00 juju-run nova-cloud-
root 21195 0.0 0.0 8860 648 ? S 14:47 0:00 grep nova-consoleauth
---------- 17 nova-cloud-
---------- stdout ----------
ubuntu 20997 0.0 0.6 134316 6840 ? Sl 14:47 0:00 juju-run nova-cloud-
root 21004 0.0 0.0 8860 648 ? S 14:47 0:00 grep nova-consoleauth
---------- 18 nova-cloud-
---------- stdout ----------
ubuntu 21325 0.0 0.8 134316 8888 ? Sl 14:47 0:00 juju-run nova-cloud-
root 21332 0.0 0.0 8860 644 ? S 14:47 0:00 grep nova-consoleauth
Thanks,
charm_lint_check #2119 nova-cloud- controller- next for freyes mp250339
LINT OK: passed
Build: http:// 10.245. 162.77: 8080/job/ charm_lint_ check/2119/