i think this is not a bug but just a configuration issue.
There is a parameter to check the max number of items returned, something like
that:
osapi_opts = [
cfg.IntOpt('osapi_max_limit',
default=1000,
help='the maximum number of items returned in a single '
'response from a collection resource'),
Can you check in your configuration if you have this parameter ?
** Changed in: nova
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1192749
Title:
Cannot create over 1000 VM due to previous VM deletion
Status in OpenStack Compute (Nova):
Invalid
Bug description:
The system currently has 1000 active VM. When I create the 1001 VM
the oldest VM 1 gets deleted without warning. I'm not sure if it is
still running on the compute/volume node but I cannot find it using
'nova show stca-00044'. I have checked the quota for enough resources
but then if the quota was exceeded for any of the resources (i.e
vcpu/memory/etc) there would have been an error. In this case the new
1001 VM becomes active and 1 VM is not longer accessible. The system
will always stay at 1000vm due to this and cannot be exceeded.
This setup was configured using Cisco Openstack Edition Folsom-multinode.
Link to configuration documentation:
http://docwiki.cisco.com/wiki/OpenStack:Folsom
The setup contains 1 control/network node and 43 compute/volume nodes.
Here is an example:
root@control-server:~# nova show stca-0044
+-------------------------------------+----------------------------------------------------------+
| Property | Value
|
+-------------------------------------+----------------------------------------------------------+
| status | ACTIVE
|
| updated | 2013-06-07T18:42:41Z
|
| OS-EXT-STS:task_state | None
|
| OS-EXT-SRV-ATTR:host | compute-server19
|
| net16 network | 16.0.0.52
|
| key_name | dkp
|
| image | f16_STCa_4.24
(b978b4bc-044a-4ccc-a14c-bc4ed9f7cb34) |
| hostId |
d63142d9402fb3f64934f6a5aacd8876f7df2869cecb9f653aa0acd0 |
| net15 network | 15.0.0.52
|
| OS-EXT-STS:vm_state | active
|
| OS-EXT-SRV-ATTR:instance_name | instance-00000041
|
| OS-EXT-SRV-ATTR:hypervisor_hostname | compute-server19.cisco.com
|
| flavor | STCa-vm (6)
|
| id | 26825b9c-edd5-477e-acb3-c58bd1a2d775
|
| security_groups | [{u'name': u'default'}]
|
| user_id | 2562b65ac23840d483647f6deba74b0d
|
| name | stca-0044
|
| created | 2013-06-07T18:42:22Z
|
| tenant_id | 0f330a6acb4f43ac99961ba1573ced10
|
| OS-DCF:diskConfig | MANUAL
|
| accessIPv4 |
|
| accessIPv6 |
|
| progress | 0
|
| OS-EXT-STS:power_state | 1
|
| metadata | {}
|
| config_drive |
|
+-------------------------------------+----------------------------------------------------------+
root@control-server:~# nova show stca-0044
+-------------------------------------+----------------------------------------------------------+
| Property | Value
|
+-------------------------------------+----------------------------------------------------------+
| status | ACTIVE
|
| updated | 2013-06-07T18:42:41Z
|
| OS-EXT-STS:task_state | None
|
| OS-EXT-SRV-ATTR:host | compute-server19
|
| net16 network | 16.0.0.52
|
| key_name | dkp
|
| image | f16_STCa_4.24
(b978b4bc-044a-4ccc-a14c-bc4ed9f7cb34) |
| hostId |
d63142d9402fb3f64934f6a5aacd8876f7df2869cecb9f653aa0acd0 |
| net15 network | 15.0.0.52
|
| OS-EXT-STS:vm_state | active
|
| OS-EXT-SRV-ATTR:instance_name | instance-00000041
|
| OS-EXT-SRV-ATTR:hypervisor_hostname | compute-server19.cisco.com
|
| flavor | STCa-vm (6)
|
| id | 26825b9c-edd5-477e-acb3-c58bd1a2d775
|
| security_groups | [{u'name': u'default'}]
|
| user_id | 2562b65ac23840d483647f6deba74b0d
|
| name | stca-0044
|
| created | 2013-06-07T18:42:22Z
|
| tenant_id | 0f330a6acb4f43ac99961ba1573ced10
|
| OS-DCF:diskConfig | MANUAL
|
| accessIPv4 |
|
| accessIPv6 |
|
| progress | 0
|
| OS-EXT-STS:power_state | 1
|
| metadata | {}
|
| config_drive |
|
+-------------------------------------+----------------------------------------------------------+
root@control-server:~# nova boot --image f16_STCa_4.24 --flavor STCa-vm
--key_name dkp --nic net-id=6a9bf08e-ecdf-452d-a2fb-e8b8f16963dc --nic
net-id=72c067cc-c32d-41bc-a3bf-c01f8cd6ae2b stca-1004
+-------------------------------------+--------------------------------------+
| Property | Value |
+-------------------------------------+--------------------------------------+
| status | BUILD |
| updated | 2013-06-19T23:43:35Z |
| OS-EXT-STS:task_state | scheduling |
| OS-EXT-SRV-ATTR:host | None |
| key_name | dkp |
| image | f16_STCa_4.24 |
| hostId | |
| OS-EXT-STS:vm_state | building |
| OS-EXT-SRV-ATTR:instance_name | instance-00000441 |
| OS-EXT-SRV-ATTR:hypervisor_hostname | None |
| flavor | STCa-vm |
| id | d34f6621-acf5-42d6-b461-72ec75542ebb |
| security_groups | [{u'name': u'default'}] |
| user_id | 2562b65ac23840d483647f6deba74b0d |
| name | stca-1004 |
| adminPass | waMig9CL5Z4u |
| tenant_id | 0f330a6acb4f43ac99961ba1573ced10 |
| created | 2013-06-19T23:43:35Z |
| OS-DCF:diskConfig | MANUAL |
| accessIPv4 | |
| accessIPv6 | |
| progress | 0 |
| OS-EXT-STS:power_state | 0 |
| metadata | {} |
| config_drive | |
+-------------------------------------+--------------------------------------+
root@control-server:~# nova show stca-0044 ERROR: No server with a name or ID
of 'stca-0044' exists.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1192749/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp