openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #21582
Re: keystone help! keystone stop/waiting
You aren't alone. I am just glad for this email group to ask questions. Now change the "d/" to "s/" in the following lines in keystone.conf.
# The base endpoint URLs for keystone that are advertised to clients
# (NOTE: this does NOT affect how keystone listens for connections)
public_endpoint = http://localhost:%(public_port)s/
admin_endpoint = http://localhost:%(admin_port)s/
Mark
-----Original Message-----
From: Brad Knowles [mailto:bknowles@xxxxxxxxxxxxxx]
Sent: Tuesday, March 05, 2013 1:15 PM
To: Miller, Mark M (EB SW Cloud - R&D - Corvallis)
Cc: Brad Knowles; Koert van der Veer; <openstack@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Openstack] keystone help! keystone stop/waiting
On Mar 5, 2013, at 2:47 PM, "Miller, Mark M (EB SW Cloud - R&D - Corvallis)" <mark.m.miller@xxxxxx>
wrote:
> The following to turn off SSL and PKI.
Did that, but unfortunately it has no effect on the crash. The crash isn't being reported anymore in /var/crash/_usr_bin_keystone-all.107.crash, but I'm now finding exactly the same crash reported in /var/log/upstart/keystone.log:
> TypeError: Error in file /etc/keystone/keystone.conf: %d format: a number is required, not str
> Traceback (most recent call last):
> File "/usr/bin/keystone-all", line 109, in <module>
> options = deploy.appconfig('config:%s' % paste_config)
> File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 261, in appconfig
> global_conf=global_conf)
> File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext
> global_conf=global_conf)
> File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 320, in _loadconfig
> return loader.get_context(object_type, name, global_conf)
> File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 413, in get_context
> defaults = self.parser.defaults()
> File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 68, in defaults
> defaults[key] = self.get('DEFAULT', key) or val
> File "/usr/lib/python2.7/ConfigParser.py", line 623, in get
> return self._interpolate(section, option, value, d)
> File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 75, in _interpolate
> self, section, option, rawval, vars)
> File "/usr/lib/python2.7/ConfigParser.py", line 666, in _interpolate
> value = value % vars
> TypeError: Error in file /etc/keystone/keystone.conf: %d format: a number is required, not str
Blargh. I do wish it would tell me *WHERE* in the file the error is occurring, and not just the filename. Blech.
Thanks for your help so far!
--
Brad Knowles <bknowles@xxxxxxxxxxxxxx>
Senior Consultant
Follow ups
References