How to create a glance image from a running VM?

Asked by Lingfeng Xiong

Hi all,
Here's a question on Openstack usage: How to update my glance image with new version of software?
In Openstack, I can easily create a instance from a image, this image usually contains most softwares I will used. In this running instance, I have to store all my data outside of it because all data will lost when I shut it down.
However, if I updated the softwares, I'd like to update the image in glance. I know it is impossible to modify a existing one, I just want to upload a new one. When the softwares are updated in VM, how could I create a glance image from that VM?
I tried to invoke 'nova image-create', but I found it just dump the VM into a Volume and boot new VMs from that volumes which I absolutely don't want to see.

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jason (zzs) said :
#1

If I understood you question correctly, you can take the snapshot of the software updated VM.

Can you help with this problem?

Provide an answer of your own, or ask Lingfeng Xiong for more information if necessary.

To post a message you must log in.