Failed to start the admin server after upgrade from pre-mod-wsgi based keystone

Bug #1596555 reported by Alvaro Uria
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Keystone Charm
Won't Fix
Medium
Unassigned
keystone (Juju Charms Collection)
Invalid
Medium
Unassigned

Bug Description

Ubuntu Trusty 14.04.4
Juju 1.25.5
OpenStack Charms 16.04
Mitaka

As described on release notes, for Liberty and above the Keystone interface is now served using the Apache mod_wsgi module (/etc/apache2/sites-enabled/wsgi-keystone.conf) rather than as a standalone service.

However, /etc/keystone/keystone.conf uses templates/kilo/keystone.conf, which configures admin-port on :35347. Such port cannot be bound because Apache2 is already using it.

I think template file should be updated for Liberty and above, to avoid getting "Failed to start the admin server" error on keystone.log.

Cheers,
-Alvaro.

Alvaro Uria (aluria)
description: updated
Revision history for this message
James Page (james-page) wrote :

I think the keystone standalone process should be disabled by the charm to ensure that the required ports can be bound under apache/mod_wsgi

Revision history for this message
Alvaro Uria (aluria) wrote :

Hi James,

You're right. keystone is disabled by creating /etc/init/keystone.override (service_pause). However, when charm and openstack are upgraded from previous versions,
1) keystone service is not stopped (in favor of apache2+mod_wsgi)
2) nrpe alerts are not removed from /var/lib/nagios/export and /etc/nagios/nrpe.d/check_keystone.cfg (a nagios user would expect a malfunction because he would receive an alert on "keystone is not running")

As to bug description, I don't see the need to update templates/kilo/keystone.conf as other logic in the charm would disable keystone service.

Cheers,
-Alvaro.

James Page (james-page)
summary: - Failed to start the admin server
+ Failed to start the admin server after upgrade from pre-mod-wsgi based
+ keystone
Changed in keystone (Juju Charms Collection):
status: New → Triaged
importance: Undecided → Medium
James Page (james-page)
Changed in charm-keystone:
importance: Undecided → Medium
status: New → Triaged
Changed in keystone (Juju Charms Collection):
status: Triaged → Invalid
Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

Liberty is no longer supported by the charm.

Changed in charm-keystone:
status: Triaged → Won't Fix
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.