Ask Your Question
0

Is it possible to run "nova-manage project zipfile" outside the machine installed with nova-api?

asked 2011-01-28 11:00:21 -0600

guanxiaohua2k6 gravatar image

I tried to install nova-manage into a different machine from nova-api. I copied files related with credentials from the machine installed with nova-api to the machine installed with nova-manage. And finally I got nova.zip. But after I checked the content of novarc, the values of EC2_URL and S3_URL were wrong. The values were not IP of the machine installed with nova-api, but the machine where nova-manage command was executed.

Could anyone tell me whether command "nova-manage project zipfile" should be executed on the same machine where nova-api was installed?

Thanks.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
1

answered 2011-01-28 17:27:07 -0600

vishvananda gravatar image

It is much easier if you run these two on the same machine. That said, you should be able to run the majority of the commands from another machine if you set the flags properly (s3_host, ec2_host, etc.) The certificate creation will still fail, though. As of this moment you need to run nova-api, nova-objectstore, and nova-manage on the same machine. This should change by cactus. Most of the commands in nova-manage are replicated in adminclient.py, which can be run commands through the api (using boto, for example), so if you do your management on another machine, this is the preferred method. This is how https://launchpad.net/django-nova does management commands for example.

On Jan 28, 2011, at 3:00 AM, guan wrote:

New question #143165 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+q...

I tried to install nova-manage into a different machine from nova-api. I copied files related with credentials from the machine installed with nova-api to the machine installed with nova-manage. And finally I got nova.zip. But after I checked the content of novarc, the values of EC2_URL and S3_URL were wrong. The values were not IP of the machine installed with nova-api, but the machine where nova-manage command was executed.

Could anyone tell me whether command "nova-manage project zipfile" should be executed on the same machine where nova-api was installed?

Thanks.


You received this question notification because you are a member of Nova Core, which is an answer contact for OpenStack Compute (nova).

edit flag offensive delete link more
0

answered 2011-01-31 01:15:47 -0600

guanxiaohua2k6 gravatar image

Thank you very much.

edit flag offensive delete link more
0

answered 2011-01-31 01:16:21 -0600

guanxiaohua2k6 gravatar image

Thanks Vish Ishaya, that solved my question.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-01-28 11:00:21 -0600

Seen: 64 times

Last updated: Jan 31 '11