[Openstack] Weird behaviour regarding nova image-create

mao weijie mwjpiero at gmail.com
Tue Nov 8 15:38:41 UTC 2011


It is linux problem, it never sync the same time and return just write into system cache.
But FreeBSD does not ,so I like BSD :)


非淡泊無以明志,非寧靜無以致遠

On Nov 8, 2011, at 11:15 PM, Razique Mahroua wrote:

> 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-
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

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


More information about the Openstack mailing list