分享

openstack nova 安装问题

jevmnrlzr 发表于 2013-10-17 21:29:40 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 2 6464
大侠们:
  最近在安装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
该如何解决?请高人指点。。。。
              
               
                    OpenStack
               

已有(2)人评论

跳转到指定楼层
trpewwbg 发表于 2013-10-17 21:30:17

            检查一下nova-api服务
- 显示引用文字 -
        
回复

使用道具 举报

trpewwbg 发表于 2013-10-17 21:31:10

             http://docs.openstack.org/diablo/openstack-compute/install/content/
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条