database not configured in keystone.conf

Bug #1479658 reported by Ryan Beisner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
keystone (Juju Charms Collection)
Fix Released
Critical
Edward Hope-Morley

Bug Description

After a Trusty-Icehouse, Trusty-Juno, or Trusty-Kilo deployment is complete ( with the next charms @ Jul 29), user is unable to authenticate.

With proper credentials sourced:
$ keystone catalog
The request you have made requires authentication. (HTTP 401)

After enabling debug:
$ keystone catalog
Could not find user: admin (Disable debug mode to suppress these details.) (HTTP 401)

And from keystone.log:
(keystone.common.wsgi): 2015-07-30 07:22:52,818 WARNING Authorization failed. Could not find user: admin (Disable debug mode to suppress these details.) (Disable debug mode to suppress these details.) from 172.17.119.36

The keystone.conf file has a mis-configured database section, and is still using the default sqlite config:
[database]
connection = sqlite:////var/lib/keystone/keystone.db

Related branches

Revision history for this message
Ryan Beisner (1chb1n) wrote :
Revision history for this message
Liam Young (gnuoy) wrote :

Looks like keystone is not getting info back from percona:

root@juju-lytrusty-machine-7:/var/lib/juju/agents/unit-keystone-0/charm# relation-get -r shared-db:14 - mysql/0
private-address: 10.5.37.85
root@juju-lytrusty-machine-7:/var/lib/juju/agents/unit-keystone-0/charm#

Changed in keystone (Juju Charms Collection):
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Liam Young (gnuoy)
milestone: none → 15.07
Revision history for this message
Edward Hope-Morley (hopem) wrote :
Changed in keystone (Juju Charms Collection):
status: In Progress → Fix Committed
assignee: Liam Young (gnuoy) → Edward Hope-Morley (hopem)
James Page (james-page)
Changed in keystone (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.