dirakx's profile - activity

2011-01-06 16:42:09 -0600 answered a question nova-manage project zipfile failling

This was due possible to a missplaced file, because i ran nova-manage form different paths.

working now.

2011-01-05 22:08:52 -0600 answered a question nova-manage project zipfile failling

On trouble shouting guide it says that i have to reboot in order to nova find the .cnf file, is there a way to workaround this..bacause i'm working in a production server, that i cannot reboot now.

2010-12-30 05:43:35 -0600 asked a question nova-manage project zipfile failling

While testing nova-manage project zipfile proyect admin i got

Using configuration from ./openssl.cnf error loading the config file './openssl.cnf' 28641:error:02001002:system library:fopen:No such file or directory:bss_file.c:126:fopen('./openssl.cnf','rb') 28641:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:129: 28641:error:0E078072:configuration file routines:DEF_LOAD:no such file:conf_def.c:197: Traceback (most recent call last): File "./nova-manage", line 508, in <module> main() File "./nova-manage", line 500, in main fn(*argv) File "./nova-manage", line 362, in zipfile zip_file = self.manager.get_credentials(user_id, project_id) File "/home/infometrika/nova/nova/auth/manager.py", line 635, in get_credentials private_key, signed_cert = self._generate_x509_cert(user.id, pid) File "/home/infometrika/nova/nova/auth/manager.py", line 697, in _generate_x509_cert signed_cert = crypto.sign_csr(csr, pid) File "/home/infometrika/nova/nova/crypto.py", line 129, in sign_csr return _sign_csr(csr_text, FLAGS.ca_path) File "/home/infometrika/nova/nova/crypto.py", line 152, in _sign_csr (tmpfolder, tmpfolder)) File "/home/infometrika/nova/nova/utils.py", line 132, in runthis cmd=cmd) nova.exception.ProcessExecutionError: Unexpected error while running command. Command: openssl ca -batch -out /tmp/tmphMeLeD/outbound.crt -config ./openssl.cnf -infiles /tmp/tmphMeLeD/inbound.csr Exit code: 1 Stdout: None Stderr: None

but running openssl ca -batch -out /tmp/tmphMeLeD/outbound.crt -config ./openssl.cnf -infiles /tmp/tmphMeLeD/inbound.csr is succesfull, the problem there is that i don't have the .zip file and this is needed in order to have VMs working.

advice appriciated.

2010-12-30 05:26:53 -0600 answered a question Error while creating nova certs

specially this egg

/usr/local/lib/python2.6/dist-packages/nova-2011.1-py2.6.egg

2010-12-30 05:20:58 -0600 answered a question Error while creating nova certs

Pay attention in removing old .py nova packages in your new installation

2010-12-30 05:17:23 -0600 answered a question unable to create OpenStack credentials

I've solved it copyng the /var/lib/nova/CA/ files to the directory where nova-managed is launched.

hope this helps

2010-12-10 16:31:38 -0600 answered a question nova failing to install (nova.rc template missing)

Thanks Vish Ishaya, that solved my question.

2010-12-07 21:45:36 -0600 answered a question nova failing to install (nova.rc template missing)

I rm the

/usr/local/lib/python2.6/dist-packages/nova-2011.1-py2.6.egg

and it seems to work now, besides from the openssl config error.

but this is documented

''If you see an "error loading the config file './openssl.cnf'" it means you can copy the openssl.cnf file to the location where Nova expects it and reboot, then try the command again.

cp /etc/ssl/openssl.cnf ~ sudo reboot''

a las where should i put this cnf file in order to nova find it ?

Thanks soren and Vish for your kind replies

2010-12-07 21:19:26 -0600 answered a question nova failing to install (nova.rc template missing)

I did something like the following

bzr clone lp:nova

./nova.sh branch ./nova.sh install ./nova.sh run

also i've checked and installed latest packages for ubuntu like this

$ sudo apt-get install python-software-properties $ sudo add-apt-repository ppa:nova-core/trunk $ sudo apt-get update

$ sudo apt-get install rabbitmq-server nova-api nova-objectstore nova-compute nova-scheduler nova-network euca2ools unzip

then while trying to do a project i got the aforementioned error.

after doing something like

$sudo nova-manage user admin user $sudo nova-manage project create myproject user $ sudo nova-manage project zipfile myproject user

2010-12-07 21:01:51 -0600 answered a question nova failing to install (nova.rc template missing)

Hi Soren

I followed nova's quickstart guide and i'm in ubuntu 10.10.

2010-12-07 19:58:17 -0600 asked a question nova failing to install (nova.rc template missing)

I've tested nova installation with relative success, bu i cannot create a project.

when i issue this

sudo nova-manage project zipfile myproject ttx

nova complains about a missing template and throws an error

sudo nova-manage project zipfile ORFEO rafael Traceback (most recent call last): File "/usr/local/bin/nova-manage", line 5, in <module> pkg_resources.run_script('nova==2011.1', 'nova-manage') File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 467, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1200, in run_script execfile(script_filename, namespace, namespace) File "/usr/local/lib/python2.6/dist-packages/nova-2011.1-py2.6.egg/EGG-INFO/scripts/nova-manage", line 508, in <module> main() File "/usr/local/lib/python2.6/dist-packages/nova-2011.1-py2.6.egg/EGG-INFO/scripts/nova-manage", line 500, in main fn(*argv) File "/usr/local/lib/python2.6/dist-packages/nova-2011.1-py2.6.egg/EGG-INFO/scripts/nova-manage", line 362, in zipfile zip_file = self.manager.get_credentials(user_id, project_id) File "/usr/local/lib/python2.6/dist-packages/nova-2011.1-py2.6.egg/nova/auth/manager.py", line 634, in get_credentials rc = self.__generate_rc(user.access, user.secret, pid) File "/usr/local/lib/python2.6/dist-packages/nova-2011.1-py2.6.egg/nova/auth/manager.py", line 681, in __generate_rc rc = open(FLAGS.credentials_template).read() IOError: [Errno 2] No such file or directory: '/usr/local/lib/python2.6/dist-packages/nova-2011.1-py2.6.egg/nova/auth/novarc.template'

I'm testing with nova's latest branch..how can i workaround this error ?