Skip to content

List servers fails if nova server doesnt exist #52

@hub-cap

Description

@hub-cap

baz@ubuntu:/integration/scripts$ curl -H"Content-type:application/json" -H"X-Auth-Token:$REDDWARF_TOKEN" http://0.0.0.0:8779/v0.1/$REDDWARF_TENANT/instances{"BadRequest": {"message": "The server could not comply with the request since it is either malformed or otherwise incorrect.", "code": 400, "detail": "Resource 5ded6edd-efee-4400-9654-19bbbead26c9 can not be retrieved."}}baz@ubuntu:/integration/scripts$

+--------------------------------------+---------------------------------+--------+-------------------+
| ID | Name | Status | Networks |
+--------------------------------------+---------------------------------+--------+-------------------+
| b94f1e09-10da-402c-84e2-f42c504d51e9 | TEST_2012-03-29 08:16:46.028278 | ACTIVE | private=10.0.0.11 |
| d2ce7bc8-1139-40f0-83bb-7ef147885b23 | json_rack_instance | ACTIVE | private=10.0.0.12 |
+--------------------------------------+---------------------------------+--------+-------------------+

+--------------------------------------+--------------------------------------+-----------+--------------------+
| id | instance_id | status_id | status_description |
+--------------------------------------+--------------------------------------+-----------+--------------------+
| 08a017a5-428f-4a5f-b213-c539af3f4fd6 | 5ded6edd-efee-4400-9654-19bbbead26c9 | 1 | running |
| d30da5c7-fd26-46b3-9284-e3dbbf10679c | 33b432c9-20cd-4ae0-87a0-ca97d006ea7f | 4 | shutdown |
+--------------------------------------+--------------------------------------+-----------+--------------------+

mysql> select * from instances\G
*************************** 1. row ***************************
id: 33b432c9-20cd-4ae0-87a0-ca97d006ea7f
created: NULL
updated: NULL
name: json_rack_instance
compute_instance_id: d2ce7bc8-1139-40f0-83bb-7ef147885b23
task_id: 1
task_description: BUILDING
task_start_time: NULL
*************************** 2. row ***************************
id: 5ded6edd-efee-4400-9654-19bbbead26c9
created: NULL
updated: NULL
name: TEST_2012-03-30 10:48:26.481689
compute_instance_id: a1e5f3c0-c628-4983-8e95-2a56d6050224
task_id: 2
task_description: DELETING
task_start_time: NULL
2 rows in set (0.00 sec)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions