[Openstack] Glance image upload Keystone error

Adam Young ayoung at redhat.com
Wed Jan 23 17:04:26 UTC 2013


On 01/23/2013 06:34 AM, Trinath Somanchi wrote:
> Hi Stackers-
>
> I have installed glance and Keystone and configured them.

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.

>
> But When I upload a test image with glance, I got this error in 
> keystone logs
>
> (sqlalchemy.engine.base.Engine): 2013-01-23 17:04:57,904 INFO 
> ('106298a47e5a4d129c7b8571e188c51e', 1)
> (keystone.common.cms): 2013-01-23 17:04:57,990 ERROR Signing error: 
> Error opening signer certificate /etc/keystone/ssl/certs/signing_cert.pem
> 140702974211744:error:02001002:system library:fopen:No such file or 
> directory:bss_file.c:398:fopen('/etc/keystone/ssl/certs/signing_cert.pem','r')
> 140702974211744:error:20074002:BIO routines:FILE_CTRL:system 
> lib:bss_file.c:400:
> unable to load certificate
>
> (root): 2013-01-23 17:04:57,991 ERROR Command 'openssl' returned 
> non-zero exit status 3
> Traceback (most recent call last):
>   File 
> "/usr/local/lib/python2.7/dist-packages/keystone-2013.1-py2.7.egg/keystone/common/wsgi.py", 
> line 215, in __call__
>     result = method(context, **params)
>   File 
> "/usr/local/lib/python2.7/dist-packages/keystone-2013.1-py2.7.egg/keystone/token/controllers.py", 
> line 118, in authenticate
>     config.CONF.signing.keyfile)
>   File 
> "/usr/local/lib/python2.7/dist-packages/keystone-2013.1-py2.7.egg/keystone/common/cms.py", 
> line 140, in cms_sign_token
>     output = cms_sign_text(text, signing_cert_file_name, 
> signing_key_file_name)
>   File 
> "/usr/local/lib/python2.7/dist-packages/keystone-2013.1-py2.7.egg/keystone/common/cms.py", 
> line 135, in cms_sign_text
>     raise subprocess.CalledProcessError(retcode, "openssl")
> CalledProcessError: Command 'openssl' returned non-zero exit status 3
>
> Kindly help me resolve the issue
>
> -- 
> Regards,
> ----------------------------------------------
> Trinath Somanchi,
> +91 9866 235 130
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130123/0718deb5/attachment.html>


More information about the Openstack mailing list