[Openstack] Weird behaviour regarding nova image-create

Razique Mahroua razique.mahroua at gmail.com
Tue Nov 8 15:15:16 UTC 2011


Thanks to praefect, 
I figured that was related to the pending I/O

so before creating the image, into the instance, run a $ sync
which forces the pending I/O to be written to disk

The novaclient dev. did an awesome job to make it possible so easily , compared to the old way (euca-bundle; etc....)


Le 8 nov. 2011 à 15:09, Razique Mahroua a écrit :

> Hi guys, 
> looks like a gremlins is living into my instance.
> I'm playing with the creation-from-a-running-instance image.
> Better than explanations : 
> 
> 	instance: 
> $ ls
> g01-static-tests.sh   pouet                 razique               ssh-host-dss-key.pub  ssh-host-rsa-key.pub  ssh_key_gen.sh
> $ touch pouet2                                                                                                                                                                                                                             
> $ ls                                                                                                                                                                                                                                       
> g01-static-tests.sh   pouet                 pouet2                razique               ssh-host-dss-key.pub  ssh-host-rsa-key.pub  ssh_key_gen.sh
> 
> 	nova-server :
> $ nova image-create 54 clone
> $ nova image-list
> +----+---------------------------------------------+--------+
> | ID |                     Name                    | Status |
> +----+---------------------------------------------+--------+
> | 14 | clone                                       | ACTIVE |
> 
> $ nova boot --image 14 --flavor 1 test_clone
> 57 | test_clone | ACTIVE | private=20.10.0.11
> 
> #ssh -i creds/cle_priv.key ubuntu at 20.10.0.11
> 
> new instance
> $ ls
> g01-static-tests.sh   pouet                 razique               ssh-host-dss-key.pub  ssh-host-rsa-key.pub  ssh_key_gen.sh
> 
> 
> .... where the heck is my pouet2 file ? 
> 
> Regards,
> Razique - doc team-

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20111108/bc7d9897/attachment.html>


More information about the Openstack mailing list