[Openstack] Why I can not launch instance with root disk size larger than 40GB

Jeff Cai Jeff_Cai at symantec.com
Wed Sep 25 03:58:09 UTC 2013


How can I specify the disk space that instances can occupy in the compute node? Or it will use as much as that of the OS can provide?

Jeff
-----Original Message-----
From: Jeff Cai [mailto:Jeff_Cai at symantec.com] 
Sent: Wednesday, September 25, 2013 9:38 AM
To: Razique Mahroua
Cc: openstack at lists.openstack.org
Subject: Re: [Openstack] Why I can not launch instance with root disk size larger than 40GB

In nova-compute.log, it contains some following info:

2013-09-24 10:17:46.828 1190 AUDIT nova.compute.resource_tracker [-] Auditing locally available compute resources
2013-09-24 10:17:47.378 1190 AUDIT nova.compute.resource_tracker [-] Free ram (MB): -3278
2013-09-24 10:17:47.379 1190 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 305
2013-09-24 10:17:47.379 1190 AUDIT nova.compute.resource_tracker [-] Free VCPUS: -8
2013-09-24 10:17:47.430 1190 INFO nova.compute.resource_tracker [-] Compute_service record updated for c01:c01
2013-09-24 10:17:47.463 1190 INFO nova.compute.manager [-] Updating host status

________________________________________
From: Razique Mahroua [razique.mahroua at gmail.com]
Sent: Tuesday, September 24, 2013 10:06 PM
To: Jeff Cai
Cc: openstack at lists.openstack.org
Subject: Re: [Openstack] Why I can not launch instance with root disk size larger than 40GB

Hey !
do you have something into the nova-compute.log?

Le 24 sept. 2013 à 12:46, Jeff Cai <Jeff_Cai at symantec.com<mailto:Jeff_Cai at symantec.com>> a écrit :

Hi,

I setup an openstack environment with 3 nodes on Ubuntu 12.04 LTS. But I cannot launch instances with disk size bigger than 40GB. It reports the error "NoValidHost". I am sure that there's enough disk size on my compute node.

Could you tell me where I can get more detailed error information or some possible reasons?

Log in nova-schedule.log

2013-09-24 10:17:55.659 WARNING nova.scheduler.driver [req-119be488-eebe-4819-a8b6-78e867357a85 6efadb4e07964bdb8bc07a42f4e0973c 3b93709a75ab472c9d5583cc71c310c8] [instance: 726f76c6-b384-4ca7-a26b-480a57dd60f1] Setting instance to ERROR state.

nova show 726f76c6-b384-4ca7-a26b-480a57dd60f1

+-----------------------------+---------------------------------------------------------------------------------+
| Property                    | Value                                                                           |
+-----------------------------+---------------------------------------------------------------------------------+
| status                         | ERROR                                                                           |
| updated                     | 2013-09-24T10:17:55Z                                                            |
| OS-EXT-STS:task_state       | None                                                                            |
| key_name                    | None                                                                            |
| image                             | CirrOS 0.3.1 (c5037b9b-4dee-432f-9f01-8c85e1143717)                             |
| hostId                            |                                                                                 |
| OS-EXT-STS:vm_state         | error                                                                           |
| flavor                      | m1.medium (ed72d963-f135-42da-beb7-851ab13fac15)                                |
| id                              | 726f76c6-b384-4ca7-a26b-480a57dd60f1                                            |
| user_id                     | 6efadb4e07964bdb8bc07a42f4e0973c                                                |
| name                        | f1                                                                              |
| created                     | 2013-09-24T10:17:55Z                                                            |
| fault                       | {u'message': u'NoValidHost', u'code': 500, u'created': u'2013-09-24T10:17:55Z'} |
| OS-DCF:diskConfig           | MANUAL                                                                          |
| metadata                    | {}                                                                              |
| accessIPv4                  |                                                                                 |
| accessIPv6                  |                                                                                 |
| tenant_id                   | 3b93709a75ab472c9d5583cc71c310c8                                                |
| OS-EXT-STS:power_state      | 0                                                                               |
| OS-EXT-AZ:availability_zone | nova                                                                            |
| config_drive                |                                                                                 |
+-----------------------------+---------------------------------------------------------------------------------+


On the compute node c01:

df -k
Filesystem               1K-blocks    Used Available Use% Mounted on
/dev/mapper/c01--vg-root 404209336 7497928 379318548   2% /
udev                       4079312       4   4079308   1% /dev
tmpfs                      1635612     272   1635340   1% /run
none                          5120       0      5120   0% /run/lock
none                       4089028       0   4089028   0% /run/shm
cgroup                     4089028       0   4089028   0% /sys/fs/cgroup
/dev/sda1                   233191   27871    192879  13% /boot

Best Regards

Jeff Cai

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack




More information about the Openstack mailing list