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

Asked by guanxiaohua2k6

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".

Question information

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

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/+question/142750
>
> 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).

Revision history for this message
guanxiaohua2k6 (guanxiaohua2k6) said :
#2

Thanks Vish Ishaya, that solved my question.