Ask Your Question
0

Is it possible to create zipfile correctly using nova-mange when nova-api and nova-objectstore are installed on different machine?

asked 2011-01-25 02:26:14 -0600

guanxiaohua2k6 gravatar image

Hello,

I tried to create zipfile using command "nova-manage project zipfile IRT anne" on the machine installed with nova-api. And nova-objectstore is installed into another machine. I got the file nova.zip, but I found that the value of S3_URL in file novarc is wrong. It wasn't using ip address of nova-objectstore but nova-api.

I read the source "nova/auth/manager.py", and found that the value of FLAGS.ec2_host is used as S3 IP address. I think it is like a bug. Could anyone confirm it?

The relative source is function get_credentials(self, user, project=None, use_dmz=True), __generate_rc() in file "nova/auth/manager.py".

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2011-01-25 04:39:43 -0600

vishvananda gravatar image

api and objectstore currently need to run on the same machine. This is due to the need for objectstore to access the certificates generated by nova-api to unpack images. This is something that will be addressed soon and should be available in cactus.

On Jan 24, 2011, at 6:26 PM, guan wrote:

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

Hello,

I tried to create zipfile using command "nova-manage project zipfile IRT anne" on the machine installed with nova-api. And nova-objectstore is installed into another machine. I got the file nova.zip, but I found that the value of S3_URL in file novarc is wrong. It wasn't using ip address of nova-objectstore but nova-api.

I read the source "nova/auth/manager.py", and found that the value of FLAGS.ec2_host is used as S3 IP address. I think it is like a bug. Could anyone confirm it?

The relative source is function get_credentials(self, user, project=None, use_dmz=True), __generate_rc() in file "nova/auth/manager.py".


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-25 04:52:48 -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-25 02:26:14 -0600

Seen: 5 times

Last updated: Jan 25 '11