Project: datamanagement
Issue DM-5927: API errors when trying to start up multiple instances
I am attempting to start up 20 {{m1.medium}} instances without floating IPs to take available of the new instance cap from DM-5840. This consistently fails after starting a few instances with an HTTP 403. {code:java} Error creating OpenStack server: Expected HTTP response code [201 202] when accessing [POST http://nebula.ncsa.illinois.edu:8774/v2/8c1ba1e0b84d486fbe7a665c30030113/servers], but got 403 instead {"forbidden": {"message": "Maximum number of ports exceeded", "code": 403}} {code} Of the instances that do manage to start, most end up in an error state with. {code:java} (openstack) server show 134b69dc-56fc-4249-b92f-e958e561ae3b +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+ | Field | Value | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+ | OS-DCF:diskConfig | MANUAL | | OS-EXT-AZ:availability_zone | nova | | OS-EXT-STS:power_state | 0 | | OS-EXT-STS:task_state | None | | OS-EXT-STS:vm_state | error | | OS-SRV-USG:launched_at | None | | OS-SRV-USG:terminated_at | None | | accessIPv4 | | | accessIPv6 | | | addresses | | | config_drive | | | created | 2016-05-02T20:29:54Z | | fault | {'code': 500, 'message': 'No valid host was found. Exceeded max scheduling attempts 3 for instance 134b69dc-56fc-4249-b92f-e958e561ae3b. Last | | | exception: [u\'Traceback (most recent call last):\\n\', u\' File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2235, in _do', | | | 'created': '2016-05-02T20:29:57Z'} | | flavor | m1.medium (3) | | hostId | b383eddb06f7a1cc5929e5fa8b6982cc523f5ac1cbe3c9c40120a700 | | id | 134b69dc-56fc-4249-b92f-e958e561ae3b | | image | centos-7-slurm-20160422210744 (7364ada7-263e-4fb0-a9f4-219ab19e0be0) | | key_name | jhoblitt-slurm | | name | slurm-slave4 | | os-extended-volumes:volumes_attached | [] | | project_id | 8c1ba1e0b84d486fbe7a665c30030113 | | properties | slurm_node_type='slave' | | status | ERROR | | updated | 2016-05-02T20:29:57Z | | user_id | 83bf259d1f0c4f458e03f9002f9b4008 | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+ {code}
Story points: 2