Is euca-bundle-vol supported by Openstack with Keystone?

Asked by David Kang

 I am using OpenStack that is as recent as mid-december 2011 version.
Glance is used to mange images.
Keystone is used for the authentication.
I want to save the image of a running instance.
I heard that "euca-bundle-vol" does the magic.
To run euca-bundle-vol, I need to provide euca-certificate, private key, euca user ID.
However, openrc file in the devstack tree does not have any entry to set those EUCA specific environment variables.
(Especially, EC2_USER_ID, EC2_PRIVATE_KEY, EC2_CERT.)

 Is euca-bundle-vol supported?

 Or, are there openstack APIs that save the image of a running instance and registers it to a new image?

 Here is my openrc file.

HOST_IP=10.0.10.1
export NOVA_PROJECT_ID="admin"
export NOVA_USERNAME="admin"
export NOVA_PASSWORD="secrete"
export NOVA_API_KEY=$NOVA_PASSWORD
#export NOVA_URL="http://65.114.169.38:8774/v1.1/"
export NOVA_URL=http://$HOST_IP:5000/v2.0/
export NOVA_VERSION=1.1
export NOVA_REGION_NAME=RegionOne

export EC2_URL=http://$HOST_IP:8773/services/Cloud
export EC2_ACCESS_KEY="admin"
#export EC2_ACCESS_KEY="admin:secrete"
export EC2_SECRET_KEY="secretpassword"
#export EC2_SECRET_KEY="secretpassword"

export OS_AUTH_USER=$NOVA_USERNAME
export OS_AUTH_KEY=$NOVA_API_KEY
export OS_AUTH_TENANT=$NOVA_PROJECT_ID
export OS_AUTH_URL=http://$HOST_IP:5000/v2.0/
export OS_AUTH_STRATEGY=keystone

Question information

Language:
English Edit question
Status:
Answered
For:
devstack Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
David Kang (dkang) said :
#1

I figure out a part of the answers.

$ nova image-create <server id> <new name>

does the magic.

 I still want to know the corresponding euca-bundle-vol is supported.

Revision history for this message
Jay Pipes (jaypipes) said :
#2

Hi David, switching this to a devstack question, as I don't think this is related to Glance specifically.

Also, what you are describing is a snapshot instance process, not (AFAIK) a volume management action like euca-bundle-vol.

I'm hoping Vish or Jesse will have a good answer for you...

Thanks!
-jay

Revision history for this message
Vish Ishaya (vishvananda) said :
#3

euca-bundle-vol is not currently supported using keystone. We hope to have it working again by essex release though.

Can you help with this problem?

Provide an answer of your own, or ask David Kang for more information if necessary.

To post a message you must log in.