How to store images into SWIFT from NOVA

Asked by Hugo Kou on 2010-11-18

Hello~

I have 2 computer :

1.NOVA installed
2.SWIFT installed

but I don't have any idea how NOVA(172.16.1.18) get instance image from SWIFT(172.16.1.20).

my purpose is making a similar enviroment with eucalyptus(walrus) or EC2(S3)

I added a flag into nova-manage.conf like this
--s3_host=172.16.1.20

how can I reach my desire?

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
David Pravec
Solved:
2010-11-23
Last query:
2010-11-23
Last reply:
2010-11-22
gholt (gholt) said : #1

Ah, this is more a question for nova. I'll see if I can get this question moved over there.

David Pravec (alekibango) said : #2

Project glance is what you are asking for -- https://blueprints.launchpad.net/glance

But note that swift is 'cold storage' system. So, images will be stored there - but they are not suitable for running virtual guests with it.

For reliable nova storage solution you should look at sheepdog support, thats probably one of best solutions:
https://blueprints.launchpad.net/nova/+spec/sheepdog-support

Hugo Kou (tonytkdk) said : #3

Thanks David Pravec and gholt,

May I ask a question about Glance, is there have installaton and user guide for Glance? Or Glance still a bluesprint, dose it work in AustinRelease?

Best David Pravec (alekibango) said : #4

Hugo: glance project should have working code. I didnt test it, but its experimental version is (optionally) available in austin release.

Look here for glance page on launchpad: https://launchpad.net/glance
There is some documentation in the code, but not much.
Probably best for you is asking online on IRC channel -- irc://freenode.net/#openstack

Jay Pipes (jaypipes) said : #5

Hi Hugo!

We're currently working heavily on Glance. Expect Swifit to be usable from Nova as the image store for the Bexar release (next release).

We'll have docs up by then too :)

-jay

Hugo Kou (tonytkdk) said : #6

Thanks David and Jay

freenode.net: Could not connect

Hugo Kou (tonytkdk) said : #7

Thanks David Pravec, that solved my question.

Hugo Kou (tonytkdk) said : #8

sorry I know the reason. due to Mibbit