unable to login in fuel dashboard after reboot

Bug #1362207 reported by Daniele Pizzolli
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Matthew Mosesohn

Bug Description

1. get fuel-community-5.1-9-2014-08-26_21-42-16.iso
2. install on a virtual machine
3. create a environment
4. reboot the virtual machine
5. wait for the login panel
6. try to login
7. you will see login failed even if you are using the right username password

Inspecting the http traffic reveals that the api response is 502 bad gateway.

Working workaround suggested in #fuel-dev by Vladimir Kuklin

dockerctl restart keystone
dockerctl restart nailgun

Revision history for this message
Daniele Pizzolli (daniele-pizzolli) wrote :
Changed in fuel:
importance: Undecided → Medium
assignee: nobody → Fuel Library Team (fuel-library)
Revision history for this message
Mike Scherbakov (mihgen) wrote :

Daniele, thanks for the report,
did you try to just wait? I actually saw such issue, but I waited for about 5 min after master node booted back, and then Fuel CI started to work again.

Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

This looks related to a keystone db_sync bug I fixed today. The following error in the logs is exactly the same as this bug: https://bugs.launchpad.net/bugs/1362139

2014-08-27 11:00:33.431 547 TRACE keystone.common.wsgi ProgrammingError: (ProgrammingError) column service_1.enabled does not exist
2014-08-27 11:00:33.431 547 TRACE keystone.common.wsgi LINE 1: ...S service_1_id, service_1.type AS service_1_type, service_1....
2014-08-27 11:00:33.431 547 TRACE keystone.common.wsgi ^
2014-08-27 11:00:33.431 547 TRACE keystone.common.wsgi 'SELECT endpoint.id AS endpoint_id, endpoint.legacy_endpoint_id AS endpoint_legacy_endpoint_id, endpoint.interface AS endpoint_interface, endpoint.region AS endpoint_region, endpoint.service_id AS endpoint_service_id, endpoint.url AS endpoint_url, endpoint.enabled AS endpoint_enabled, endpoint.extra AS endpoint_extra, service_1.id AS service_1_id, service_1.type AS service_1_type, service_1.enabled AS service_1_enabled, service_1.extra AS service_1_extra \nFROM endpoint LEFT OUTER JOIN service AS service_1 ON service_1.id = endpoint.service_id \nWHERE endpoint.enabled = %(enabled_1)s' {'enabled_1': True}

I'm marking this as a duplicate. A new community ISO should have this fix.

Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

Confirming this is fixed in the latest ISO. I can reboot and still log out and log back in with no issues. Keystone container works.

Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

The related bug fixed the problem of failing out keystone container if puppet apply fails, but supervisor config for keystone container is missing. I'm adding this in now.

Changed in fuel:
milestone: none → 5.1
assignee: Fuel Library Team (fuel-library) → Matthew Mosesohn (raytrac3r)
importance: Medium → High
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/119744

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/119744
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=32e70577990d25ba474f2bd57bb425ed3a2b1079
Submitter: Jenkins
Branch: master

commit 32e70577990d25ba474f2bd57bb425ed3a2b1079
Author: Matthew Mosesohn <email address hidden>
Date: Mon Sep 8 16:28:06 2014 +0400

    Add missing keystone supervisor config

    This file is necessary for supervisor to
    manage keystone container and restart it.

    Change-Id: I541d65e2dc8c4dee25c317c75dc332fdb1c8733f
    Closes-Bug: #1362207

Changed in fuel:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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