add option to run a single version of nova-consoleauth when multiple units of nova-cc are configured

Bug #1418597 reported by Felipe Reyes
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nova-cloud-controller (Juju Charms Collection)
Fix Released
Medium
Felipe Reyes

Bug Description

When multiple units of nova-cloud-controller are configured, the nova-consoleauth will be load balanced by haproxy, but the problem with it is that when a user tries to authenticate a token may be hitting an instance that doesn't have the token in memory, so the authentication will fail. OpenStack proposes to use memcache which is currently supported by nova-cc (since 15.01), but for simpler environments is good to have the chance to configure nova-cc to only run a single instance of nova-consoleauth and move it around with pacemaker/corosync capabilities.

Tags: openstack cts

Related branches

Felipe Reyes (freyes)
description: updated
tags: added: cts openstack
Revision history for this message
Ante Karamatić (ivoks) wrote :

I guess the easiest way to do this would be to just add following to pacemaker config:

primitive res_nova_consoleauth upstart:nova-consoleauth op monitor interval="5s"
colocation vip_consoleauth inf: res_nova_consoleauth grp_nova_vips

Felipe Reyes (freyes)
Changed in nova-cloud-controller (Juju Charms Collection):
assignee: nobody → Felipe Reyes (freyes)
Changed in nova-cloud-controller (Juju Charms Collection):
status: New → In Progress
milestone: none → 15.04
importance: Undecided → Low
importance: Low → Medium
James Page (james-page)
Changed in nova-cloud-controller (Juju Charms Collection):
milestone: 15.04 → 15.07
Felipe Reyes (freyes)
description: updated
Changed in nova-cloud-controller (Juju Charms Collection):
status: In Progress → Fix Committed
James Page (james-page)
Changed in nova-cloud-controller (Juju Charms Collection):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.