大侠们:
     最近在安装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该如何解决?请高人指点。