Re: [Openstack] a flavor with no disk nor ephemeral storage ?

2013-07-22 Thread hzguanqiang
On 2013-07-19 21:41, Jacques LANDRU lan...@telecom-lille.fr wrote: Hi, For an academic cloud, I plan to deploy virtual lab appliance clones booting from a unique shared iso liveDVD file located on a ramdisk. Using nova flavor-create command, is there a way to create a new flavor with no

[Openstack] [Nova] Questions about '_update_usage_from_instances'

2012-11-14 Thread hzguanqiang
Hi, guys. I found something confused when I studied resource tracking in Nova. In resource_tracker.py, the function '_update_usage_from_instances()' made a clear reset to 'self.traced_instaces' and 'resources'. And then for each instance, function '_update_usage_from_instance()' is called to

[Openstack] [Nova] Questions about '_update_usage_from_instances'

2012-11-14 Thread hzguanqiang
Hi, guys. I found something confused when I studied resource tracking in Nova. In resource_tracker.py, the function '_update_usage_from_instances()' made a clear reset to 'self.traced_instaces' and 'resources'. And then for each instance, function '_update_usage_from_instance()' is called to

Re: [Openstack] Can't boot lxc instance

2012-10-22 Thread hzguanqiang
Hi Pádraig I think you are right. I met the same probelm just as 念远 did when I tried lxc with openstack folsom. To solve the problem, I tried to modify the function setup_container, adding a partition argument to _DiskImage(...) just as follow: #img = _DiskImage(image=image, use_cow=use_cow,