Ask Your Question
1

Couldn't create instance from Snapshot

asked 2014-03-18 04:43:37 -0600

rohitist gravatar image

updated 2014-03-19 01:01:09 -0600

Hi,

I am using following for testing Openstack:

  1. Packstack for single node deployment of openstack.
  2. RHEL 6.4 64bit OS
  3. 4 GB of RAM.
  4. Quad core processor
  5. 500 GB of HDD.

I have successfully deployed openstack using packstack on a single node. And I am able to add an image of RHEL 6.4 and create its instance. I could also take live snapshot of the same instance. But when I try to create instance of the snapshot taken, it begins the installation of RHEL from scratch.

PS: This problem doesn't occur with the default OS provided as cirrOS in the Openstack. In other words, I could launch an instance from snapshot of cirrOS.

As I understand, an instance created from snapshot should start like an installed OS with all its files preserved. Please note that, I have not created/attached any volume in the process.

Am i going wrong anywhere?

I would like to inform one more thing: the flavor i chose during instance creation had root disk of 40 Gb, ephemeral disk of 40gb and swap of 20 gb. But during the installation of RHEL (in VM), root disk is not listed. I mean, only ephemeral disk and swap disk is only listed. Is this a problem?

While shutting off the instance, I found that the instance is immediately destroyed. Please see below:

nova.virt.libvirt.driver [-] [instance: e7a17821-1aae-45f9-8977-a3a61e6e077b] Instance destroyed successfully.

My question, If an instance is destroyed after each shut off, then how can someone start the installed VM?

I would be very glad to know the answers of my queries.

Thanks in advance.

edit retag flag offensive close merge delete

Comments

Any error in the logs? Edit your question, update it adding the progress you're making with your debugging

smaffulli gravatar imagesmaffulli ( 2014-03-18 11:39:18 -0600 )edit

@smaffulli: Thanks for replying. I have put a trace of the log above. There's nothing other than this.

rohitist gravatar imagerohitist ( 2014-03-19 00:57:22 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-04-03 06:34:01 -0600

rohitist gravatar image

updated 2014-04-03 06:37:27 -0600

I assume this is a bug in Openstack because I reinstalled openstack from the scratch and found that I could create a snapshot and also launch an instance from the snapshot.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-03-18 04:43:37 -0600

Seen: 368 times

Last updated: Apr 03 '14