← Back to team overview

openstack team mailing list archive

Re: Weird behaviour regarding nova image-create

 

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@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-


Follow ups

References