installing nova in Centos Part II

Asked by Pablo Alvarez

I tried the guide: "Installing Nova on a Single Host"

In my first answer I got help to complete some steps for another distros, but when I continued, I got:

-- STEP 4 OK

[root@cloud ~]# nova-manage user admin palvarez
export EC2_ACCESS_KEY=1b9d2ac2-1256-4482-b08d-8383b4385504
export EC2_SECRET_KEY=51763d24-d03d-4a4d-8cec-81e35c32f041

[root@cloud ~]# nova-manage project create NOVA palvarez
[root@cloud ~]#

I didn't get the documented message: "

Generating RSA private key, 1024 bit long modulus
.....++++++
..++++++
e is 65537 (0x10001)
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:'anne-2010-10-12T21:12:35Z'
Certificate is to be certified until Oct 12 21:12:35 2011 GMT (365 days)

Write out database with 1 new entries
Data Base Updated
"

and the file nova.zip is not written.

Some idea?

Regards,

Pablo Alvarez

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Soren Hansen
Solved:
Last query:
Last reply:
Revision history for this message
Soren Hansen (soren) said :
#1

2010/11/23 Pablo Alvarez <email address hidden>:
> [root@cloud ~]# nova-manage project create NOVA palvarez
> [root@cloud ~]#
>
> I didn't get the documented message: "
>
> Generating RSA private key, 1024 bit long modulus
> .....++++++
> ..++++++
> e is 65537 (0x10001)
> 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:'anne-2010-10-12T21:12:35Z'
> Certificate is to be certified until Oct 12 21:12:35 2011 GMT (365 days)
>
> Write out database with 1 new entries
> Data Base Updated
> "
>
> and the file nova.zip is not written.

That doesn't happen until you run "nova-manager project zipfile NOVA palvarez"

--
Soren Hansen
Ubuntu Developer    http://www.ubuntu.com/
OpenStack Developer http://www.openstack.org/

Revision history for this message
Pablo Alvarez (pablo-openb) said :
#2

Hello Soren,

thanks for your answer. Tomorrow I will try.

At the install guide your indication don't appear, but I remembered I read this instruction in another document.

Regards,

Pablo

Revision history for this message
Pablo Alvarez (pablo-openb) said :
#3

I found, in this guide: http://wiki.openstack.org/NovaInstall/Austin#Single_Machine_Installation

what is the correct guide?

Revision history for this message
Best Soren Hansen (soren) said :
#4

If I look at that page now, it certainly mentions the zipfile step?

Revision history for this message
Pablo Alvarez (pablo-openb) said :
#5

I run the command and I got a new error :-)

[root@cloud ~]# nova-manage project zipfile NOVA palvarez
Traceback (most recent call last):
  File "/usr/bin/nova-manage", line 5, in <module>
    pkg_resources.run_script('nova==2011.1', 'nova-manage')
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 461, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1194, in run_script
    execfile(script_filename, namespace, namespace)
  File "/usr/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/EGG-INFO/scripts/nova-manage", line 508, in <module>
    main()
  File "/usr/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/EGG-INFO/scripts/nova-manage", line 500, in main
    fn(*argv)
  File "/usr/lib/python2.6/site-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/lib/python2.6/site-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/lib/python2.6/site-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/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/nova/auth/novarc.template'

Revision history for this message
Pablo Alvarez (pablo-openb) said :
#6

There is a bug reported with this situation: https://bugs.launchpad.net/nova/+bug/668342

Revision history for this message
Pablo Alvarez (pablo-openb) said :
#7

Thanks Soren Hansen, that solved my question.