← Back to team overview

openstack team mailing list archive

An Error during nova-manage vpn run

 

Hello guys,

I got a problem with run up cloudpipe image.

I made a cloudpipe template with following the doc (
http://nova.openstack.org/devref/cloudpipe.html). When I start it with
command 'nova-manage vpn run PROJECT_ID',

#nova-manage vpn run myproject

And there's the short cut log

2011-09-21 10:46:28,845 CRITICAL nova [-] Unexpected error while running
command.
Command: openssl ca -batch -out /tmp/tmptgKgPI/outbound.csr -config
./openssl.cnf -infiles /tmp/tmptgKgPI/inbound.csr
Exit code: 1
Stdout: ''
Stderr: "Using configuration from ./openssl.cnf\nerror loading the config
file './openssl.cnf'\n1724:error:02001002:system library:fopen:No such file
or directory:bss_file.c:126:fopen('./openssl.cnf','rb')\n1
724:error:2006D080:BIO routines:BIO_new_file:no such
file:bss_file.c:129:\n1724:error:0E078072:configuration file
routines:DEF_LOAD:no such file:conf_def.c:197:\n"
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE:   File "/usr/bin/nova-manage", line 1122, in <module>
(nova): TRACE:     main()
(nova): TRACE:   File "/usr/bin/nova-manage", line 1111, in main
(nova): TRACE:     fn(*argv)
(nova): TRACE:   File "/usr/bin/nova-manage", line 170, in run
(nova): TRACE:     self.pipe.launch_vpn_instance(project_id)
(nova): TRACE:   File
"/usr/lib/pymodules/python2.7/nova/cloudpipe/pipelib.py", line 105, in
launch_vpn_instance
(nova): TRACE:     user_data=self.get_encoded_zip(project_id),
(nova): TRACE:   File
"/usr/lib/pymodules/python2.7/nova/cloudpipe/pipelib.py", line 77, in
get_encoded_zip
(nova): TRACE:     crypto.generate_vpn_files(project_id)
(nova): TRACE:   File "/usr/lib/pymodules/python2.7/nova/crypto.py", line
246, in generate_vpn_files
(nova): TRACE:     (serial, signed_csr) = sign_csr(csr_text, project_id)
(nova): TRACE:   File "/usr/lib/pymodules/python2.7/nova/crypto.py", line
259, in sign_csr
(nova): TRACE:     return _sign_csr(csr_text, ca_folder(project_id))
(nova): TRACE:   File "/usr/lib/pymodules/python2.7/nova/crypto.py", line
276, in _sign_csr
(nova): TRACE:     './openssl.cnf', '-infiles', inbound)
(nova): TRACE:   File "/usr/lib/pymodules/python2.7/nova/utils.py", line
173, in execute
(nova): TRACE:     cmd=' '.join(cmd))
(nova): TRACE: ProcessExecutionError: Unexpected error while running
command.
(nova): TRACE: Command: openssl ca -batch -out /tmp/tmptgKgPI/outbound.csr
-config ./openssl.cnf -infiles /tmp/tmptgKgPI/inbound.csr
(nova): TRACE: Exit code: 1
(nova): TRACE: Stdout: ''
(nova): TRACE: Stderr: "Using configuration from ./openssl.cnf\nerror
loading the config file './openssl.cnf'\n1724:error:02001002:system
library:fopen:No such file or directory:bss_file.c:126:fopen('./openss
l.cnf','rb')\n1724:error:2006D080:BIO routines:BIO_new_file:no such
file:bss_file.c:129:\n1724:error:0E078072:configuration file
routines:DEF_LOAD:no such file:conf_def.c:197:\n"
(nova): TRACE: