<div dir="ltr">Hi Stakers-<div><br></div><div>I have resolved the above problem some how re-installing with aptget</div><div><br></div><div style>But now I get the glance with keystone problem.</div><div style><br></div><div style>
<div>2013-01-24 16:25:02.794 4775 INFO keystone.middleware.auth_token [-] Starting keystone auth_token middleware</div><div>2013-01-24 16:25:02.795 4775 CRITICAL glance [-] invalid literal for int() with base 10: 'true'</div>
<div>2013-01-24 16:25:02.795 4775 TRACE glance Traceback (most recent call last):</div><div>2013-01-24 16:25:02.795 4775 TRACE glance File "/usr/local/bin/glance-api", line 5, in <module></div><div>2013-01-24 16:25:02.795 4775 TRACE glance pkg_resources.run_script('glance==0.0.0', 'glance-api')</div>
<div>2013-01-24 16:25:02.795 4775 TRACE glance File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 505, in run_script</div><div>2013-01-24 16:25:02.795 4775 TRACE glance self.require(requires)[0].run_script(script_name, ns)</div>
<div>2013-01-24 16:25:02.795 4775 TRACE glance File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 1245, in run_script</div><div>2013-01-24 16:25:02.795 4775 TRACE glance execfile(script_filename, namespace, namespace)</div>
<div>2013-01-24 16:25:02.795 4775 TRACE glance File "/usr/local/lib/python2.7/dist-packages/glance-0.0.0-py2.7.egg/EGG-INFO/scripts/glance-api", line 60, in <module></div><div>2013-01-24 16:25:02.795 4775 TRACE glance server.start(config.load_paste_app(), default_port=9292)</div>
<div>2013-01-24 16:25:02.795 4775 TRACE glance File "/usr/local/lib/python2.7/dist-packages/glance-0.0.0-py2.7.egg/glance/common/config.py", line 193, in load_paste_app</div><div>2013-01-24 16:25:02.795 4775 TRACE glance app = deploy.loadapp("config:%s" % conf_file, name=app_name)</div>
<div>2013-01-24 16:25:02.795 4775 TRACE glance File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp</div><div>2013-01-24 16:25:02.795 4775 TRACE glance return loadobj(APP, uri, name=name, **kw)</div>
<div>2013-01-24 16:25:02.795 4775 TRACE glance File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj</div><div>2013-01-24 16:25:02.795 4775 TRACE glance return context.create()</div>
<div>2013-01-24 16:25:02.795 4775 TRACE glance File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create</div><div>2013-01-24 16:25:02.795 4775 TRACE glance return self.object_type.invoke(self)</div>
<div>2013-01-24 16:25:02.795 4775 TRACE glance File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 207, in invoke</div><div>2013-01-24 16:25:02.795 4775 TRACE glance app = filter(app)</div>
<div>2013-01-24 16:25:02.795 4775 TRACE glance File "/usr/lib/python2.7/dist-packages/keystone/middleware/auth_token.py", line 524, in auth_filter</div><div>2013-01-24 16:25:02.795 4775 TRACE glance return AuthProtocol(app, conf)</div>
<div>2013-01-24 16:25:02.795 4775 TRACE glance File "/usr/lib/python2.7/dist-packages/keystone/middleware/auth_token.py", line 123, in __init__</div><div>2013-01-24 16:25:02.795 4775 TRACE glance self.delay_auth_decision = int(conf.get('delay_auth_decision', 0))</div>
<div>2013-01-24 16:25:02.795 4775 TRACE glance ValueError: invalid literal for int() with base 10: 'true'</div><div><br></div><div style>Kindly help me troubleshoot the issue</div></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Jan 24, 2013 at 10:40 AM, Trinath Somanchi <span dir="ltr"><<a href="mailto:trinath.somanchi@gmail.com" target="_blank">trinath.somanchi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi- <div><br></div><div>Thanks for the help in replies.<div><br></div><div>I have installed keystone from the source code rather than the apt-get command,</div></div><div><br></div><div>Kindly guide me on how to bring up keystone when installed from the source code.</div>
<div><br></div><div>Thanking you all</div><div><br></div><div><br></div><div>-</div><div>Trinath</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 23, 2013 at 10:34 PM, Adam Young <span dir="ltr"><<a href="mailto:ayoung@redhat.com" target="_blank">ayoung@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div>
<div>On 01/23/2013 06:34 AM, Trinath
Somanchi wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi Stackers-
<div><br>
</div>
<div>I have installed glance and Keystone and configured them.</div>
</div>
</blockquote>
<br></div>
Not sure how you installed, but you need to make sure the PKI
provisioning is done. You can do it by hand with the
keystone_manage command. Make sure you run it as the user that
Keystone is going to run as, as it creates the certificates and
Keystone (ajnd only Keystone) needs to be able to access those.<br>
<br>
<blockquote type="cite"><div><div>
<div dir="ltr">
<div><br>
</div>
<div>But When I upload a test image with glance, I got this
error in keystone logs</div>
<div><br>
</div>
<div>
<div>(sqlalchemy.engine.base.Engine): 2013-01-23 17:04:57,904
INFO ('106298a47e5a4d129c7b8571e188c51e', 1)</div>
<div>(keystone.common.cms): 2013-01-23 17:04:57,990 ERROR
Signing error: Error opening signer certificate
/etc/keystone/ssl/certs/signing_cert.pem</div>
<div>140702974211744:error:02001002:system library:fopen:No
such file or
directory:bss_file.c:398:fopen('/etc/keystone/ssl/certs/signing_cert.pem','r')</div>
<div>140702974211744:error:20074002:BIO
routines:FILE_CTRL:system lib:bss_file.c:400:</div>
<div>unable to load certificate</div>
<div><br>
</div>
<div>(root): 2013-01-23 17:04:57,991 ERROR Command 'openssl'
returned non-zero exit status 3</div>
<div>Traceback (most recent call last):</div>
<div> File
"/usr/local/lib/python2.7/dist-packages/keystone-2013.1-py2.7.egg/keystone/common/wsgi.py",
line 215, in __call__</div>
<div> result = method(context, **params)</div>
<div> File
"/usr/local/lib/python2.7/dist-packages/keystone-2013.1-py2.7.egg/keystone/token/controllers.py",
line 118, in authenticate</div>
<div> config.CONF.signing.keyfile)</div>
<div> File
"/usr/local/lib/python2.7/dist-packages/keystone-2013.1-py2.7.egg/keystone/common/cms.py",
line 140, in cms_sign_token</div>
<div> output = cms_sign_text(text, signing_cert_file_name,
signing_key_file_name)</div>
<div> File
"/usr/local/lib/python2.7/dist-packages/keystone-2013.1-py2.7.egg/keystone/common/cms.py",
line 135, in cms_sign_text</div>
<div> raise subprocess.CalledProcessError(retcode,
"openssl")</div>
<div>CalledProcessError: Command 'openssl' returned non-zero
exit status 3</div>
<div><br>
</div>
<div>Kindly help me resolve the issue</div>
<div><br>
</div>
-- <br>
Regards,<br>
----------------------------------------------<br>
Trinath Somanchi,
<div><a href="tel:%2B91%209866%20235%20130" value="+919866235130" target="_blank">+91 9866 235 130</a></div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><div><pre>_______________________________________________
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a>
Post to : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a>
More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a>
</pre>
</div></blockquote>
<br>
</div>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards,<br>----------------------------------------------<br>Trinath Somanchi,<div><a href="tel:%2B91%209866%20235%20130" value="+919866235130" target="_blank">+91 9866 235 130</a></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards,<br>----------------------------------------------<br>Trinath Somanchi,<div>+91 9866 235 130</div>
</div>