How to build&config internal proxy

Asked by Ted,Jung

Internal proxy has some special purpose

If We suppose that VM Image is stored to Swift Storage.

User create vm instance into Nova from Swift image stored in advance

How to deliver Swift image to Nova using internal network(not sevice traffic)

Can anybody give me a document or article or blog site to reference about that

Is it possible?

as a result, One proxy serve user's request & One proxy(internal) serve internal process(send img to Nova, replicator, auditor)

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Solved by:
Christophe Le Guern
Solved:
Last query:
Last reply:
Revision history for this message
Best Christophe Le Guern (c35sys) said :
#1

This is the role of glance (http://glance.openstack.org/architecture.html), part of openstack project.

It is a middleware which can be used between nova and swift, but not only (directory, s3, http).

Revision history for this message
Ted,Jung (chungjl) said :
#2

Thanks Christophe

I'm not sure glance can do two works?
Glance what i know is do the action for VM images to deliver from Swift to Nova
but can't do intenal process
What i mean is just seperate internal process(replicator,auditor,reaper,updater) from user request
because the internal process have an effect on user request.

so, Let me ask some questions
First, Glance send a request to proxy server directly? or use another way?
        How to glance access to Swift? thru proxy or another something?

Second, Someone said to me
             We can have two proxy(one has public IP, second has private IP)
             The first one only receive user request
             The second one do replicate,audit,etc

is it possible configuration or not?

Revision history for this message
Christophe Le Guern (c35sys) said :
#3

As far as I understand it, glance only provides VM images to nova.

You have to configure glance to store VMs images into swift (or another backend).

Nova <-> glance <-> glance backend (swift, S3, filesystem)

In glance, you need to configure it as follow:
http://glance.openstack.org/configuring.html (see swift section)

Then glance provides tools to upload/download images, and the choosed backend is hide.

As you can configure swift URL, it seems possible to configure one proxy for internal network (ie: images delivery) and another for public request (ie: internet), not sure about this.

Another point, the swift replication process should be on a separate network anyway:
http://swift.openstack.org/howto_installmultinode.html?highlight=local#network-setup-notes
It means you will have two networks for swift, one for proxy requests, and another for swift services.

Hope it helps.

Revision history for this message
Ted,Jung (chungjl) said :
#4

Thanks Christophe Le Guern, that solved my question.