Error while creating nova certs

Asked by raaj

Hi,

   After running the nova.sh script, we tried to create certs as zip files. Unfortunately we end with errors.

~# /usr/bin/python /usr/bin/nova-manage project env admin admin creds/novarc
INFO:root:backend <module 'nova.db.sqlalchemy.api' from '/usr/lib/pymodules/python2.6/nova/db/sqlalchemy/api.pyc'>
Traceback (most recent call last):
  File "/usr/bin/nova-manage", line 508, in <module>
    main()
  File "/usr/bin/nova-manage", line 500, in main
    fn(*argv)
  File "/usr/bin/nova-manage", line 320, in environment
    rc = self.manager.get_environment_rc(user_id, project_id)
  File "/usr/lib/pymodules/python2.6/nova/auth/manager.py", line 676, in get_environment_rc
    return self.__generate_rc(user.access, user.secret, pid)
  File "/usr/lib/pymodules/python2.6/nova/auth/manager.py", line 681, in __generate_rc
    rc = open(FLAGS.credentials_template).read()
IOError: [Errno 2] No such file or directory: '/usr/share/nova/novarc.template'

Could you please tell me what's wrong in this?

Regards,
Raaj

Question information

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

How exactly did you install Nova?

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

How exactly did you install Nova?

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

Whoops. Ignore the duplicate comment :)

Revision history for this message
raaj (raj-msce) said :
#4

Sorry I did a messup while installing nova. I am re-installing a whole new setup

Thanks for the reponse

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

np

Revision history for this message
dirakx (dirakx) said :
#6

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

Revision history for this message
dirakx (dirakx) said :
#7

specially this egg

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