openstack nova求助!

jack161641 2012-01-29 04:22:45
大侠们:
最近在安装openstack,按照官方文档一步步的装下来,在安装nova里的导出项目管理凭证的时候出错了,nova-manage project zipfile proj novaadmin /home/dingjun/creds/novacreds.zip,出错如下:

dingjun@server1:/var/lib/nova/CA$ sudo nova-manage project zipfile proj novaadmin /home/dingjun/creds/novacreds.zip
[sudo] password for dingjun:
Unexpected error while running command.
Command: openssl ca -batch -out /tmp/tmp2ETHWE/outbound.csr -config ./openssl.cnf -infiles /tmp/tmp2ETHWE/inbound.csr
Exit code: 1
Stdout: ''
Stderr: "Using configuration from ./openssl.cnf\nerror loading the config file './openssl.cnf'\n5329:error:02001002:system library:fopen:No such file or directory:bss_file.c:126:fopen('./openssl.cnf','rb')\n5329:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:129:\n5329:error:0E078072:configuration file routines:DEF_LOAD:no such file:conf_def.c:197:\n"
The above error may show that the certificate db has not been created.
Please create a database by running a nova-api server on this host.

但是我单独执行openssl ca -batch -out /tmp/tmp2ETHWE/outbound.csr -config ./openssl.cnf -infiles /tmp/tmp2ETHWE/inbound.csr,不会出错,如下:

sudo openssl ca -batch -out /tmp/tmp2ETHWE/outbound.csr -config ./openssl.cnf -infiles /tmp/tmp2ETHWE/inbound.csr
Using configuration from ./openssl.cnf
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
countryName :PRINTABLE:'US'
stateOrProvinceName :PRINTABLE:'California'
localityName :PRINTABLE:'MountainView'
organizationName :PRINTABLE:'AnsoLabs'
organizationalUnitName:PRINTABLE:'NovaDev'
commonName :PRINTABLE:'proj-novaadmin-2012-01-29T08:03:27Z'
Certificate is to be certified until Jan 28 08:05:54 2013 GMT (365 days)

Write out database with 1 new entries
Data Base Updated

该如何解决?请高人指点。。。。
...全文
295 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
jack161641 2012-01-30
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 xewnwsl2001 的回复:]
你去问问叫 陈沙克 的,我见他一直在研究这个 http://hi.baidu.com/chenshake/home
[/Quote]
谢谢,我去看看!
xewnwsl2001 2012-01-29
  • 打赏
  • 举报
回复
你去问问叫 陈沙克 的,我见他一直在研究这个 http://hi.baidu.com/chenshake/home

998

社区成员

发帖
与我相关
我的任务
社区描述
OpenStack
社区管理员
  • OpenStack社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧