Public bug reported: Steps to reproduce ==================
1) Spin up a server with a flavor and image (specifically, cirros-0.3.5-x86_64-disk image). 2) Create a console for the server, e.g. curl -g -i -X POST http://127.0.0.1:8774/v2.1/servers/a421e43c-b6dc-4769-9fbc- 32a302a743d1/consoles -H "OpenStack-API-Version: compute 2.41" -H "User- Agent: python-novaclient" -H "Accept: application/json" -H "X-OpenStack- Nova-API-Version: 2.41" -H "X-Auth-Token: $TOKEN" The following is returned: HTTP/1.1 200 OK <-- The call was successful Content-Length: 0 Content-Type: application/json Openstack-Api-Version: compute 2.41 X-Openstack-Nova-Api-Version: 2.41 Vary: OpenStack-API-Version Vary: X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-8b1529e0-4ea0-42ec-9fd8-885dbe2fc8b8 Date: Wed, 12 Apr 2017 23:10:40 GMT 3) List all consoles for a server, e.g. curl -g -i -X GET http://127.0.0.1:8774/v2.1/servers/a421e43c-b6dc-4769-9fbc- 32a302a743d1/consoles -H "OpenStack-API-Version: compute 2.41" -H "User- Agent: python-novaclient" -H "Accept: application/json" -H "X-OpenStack- Nova-API-Version: 2.41" -H "X-Auth-Token: $TOKEN" Expected result =============== A console with an id is returned in the list of consoles. Actual result ============= HTTP/1.1 200 OK <-- The call was successful Content-Length: 16 Content-Type: application/json Openstack-Api-Version: compute 2.41 X-Openstack-Nova-Api-Version: 2.41 Vary: OpenStack-API-Version Vary: X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-0ffc3068-abc4-4b1b-ac56-15af1c5b6da6 Date: Wed, 12 Apr 2017 23:11:17 GMT {"consoles": []}stack@osboxes:~/nova$ <-- No consoles returned Even if I messed up somewhere, these calls should not be returning 200s and not returning expected data. Environment =========== Ubuntu Xenial, upstream DevStack. ** Affects: nova Importance: Undecided Status: New ** Description changed: Steps to reproduce ================== - 1) Create a server, e.g. curl -g -i -X POST + 1) Spin up a server with a flavor and image (specifically, + cirros-0.3.5-x86_64-disk image). + + 2) Create a console for the server, e.g. curl -g -i -X POST http://127.0.0.1:8774/v2.1/servers/a421e43c-b6dc-4769-9fbc- 32a302a743d1/consoles -H "OpenStack-API-Version: compute 2.41" -H "User- Agent: python-novaclient" -H "Accept: application/json" -H "X-OpenStack- Nova-API-Version: 2.41" -H "X-Auth-Token: $TOKEN" The following is returned: HTTP/1.1 200 OK <-- The call was successful Content-Length: 0 Content-Type: application/json Openstack-Api-Version: compute 2.41 X-Openstack-Nova-Api-Version: 2.41 Vary: OpenStack-API-Version Vary: X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-8b1529e0-4ea0-42ec-9fd8-885dbe2fc8b8 Date: Wed, 12 Apr 2017 23:10:40 GMT - 2) List all consoles for a server, e.g. curl -g -i -X GET + 3) List all consoles for a server, e.g. curl -g -i -X GET http://127.0.0.1:8774/v2.1/servers/a421e43c-b6dc-4769-9fbc- 32a302a743d1/consoles -H "OpenStack-API-Version: compute 2.41" -H "User- Agent: python-novaclient" -H "Accept: application/json" -H "X-OpenStack- Nova-API-Version: 2.41" -H "X-Auth-Token: $TOKEN" Expected result =============== A console with an id is returned in the list of consoles. Actual result ============= HTTP/1.1 200 OK <-- The call was successful Content-Length: 16 Content-Type: application/json Openstack-Api-Version: compute 2.41 X-Openstack-Nova-Api-Version: 2.41 Vary: OpenStack-API-Version Vary: X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-0ffc3068-abc4-4b1b-ac56-15af1c5b6da6 Date: Wed, 12 Apr 2017 23:11:17 GMT {"consoles": []}stack@osboxes:~/patrole$ <-- No consoles returned Even if I messed up somewhere, these calls should not be returning 200s and not returning expected data. Environment =========== Ubuntu Xenial, upstream DevStack. ** Description changed: Steps to reproduce ================== 1) Spin up a server with a flavor and image (specifically, cirros-0.3.5-x86_64-disk image). 2) Create a console for the server, e.g. curl -g -i -X POST http://127.0.0.1:8774/v2.1/servers/a421e43c-b6dc-4769-9fbc- 32a302a743d1/consoles -H "OpenStack-API-Version: compute 2.41" -H "User- Agent: python-novaclient" -H "Accept: application/json" -H "X-OpenStack- Nova-API-Version: 2.41" -H "X-Auth-Token: $TOKEN" The following is returned: HTTP/1.1 200 OK <-- The call was successful Content-Length: 0 Content-Type: application/json Openstack-Api-Version: compute 2.41 X-Openstack-Nova-Api-Version: 2.41 Vary: OpenStack-API-Version Vary: X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-8b1529e0-4ea0-42ec-9fd8-885dbe2fc8b8 Date: Wed, 12 Apr 2017 23:10:40 GMT 3) List all consoles for a server, e.g. curl -g -i -X GET http://127.0.0.1:8774/v2.1/servers/a421e43c-b6dc-4769-9fbc- 32a302a743d1/consoles -H "OpenStack-API-Version: compute 2.41" -H "User- Agent: python-novaclient" -H "Accept: application/json" -H "X-OpenStack- Nova-API-Version: 2.41" -H "X-Auth-Token: $TOKEN" Expected result =============== A console with an id is returned in the list of consoles. Actual result ============= HTTP/1.1 200 OK <-- The call was successful Content-Length: 16 Content-Type: application/json Openstack-Api-Version: compute 2.41 X-Openstack-Nova-Api-Version: 2.41 Vary: OpenStack-API-Version Vary: X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-0ffc3068-abc4-4b1b-ac56-15af1c5b6da6 Date: Wed, 12 Apr 2017 23:11:17 GMT - {"consoles": []}stack@osboxes:~/patrole$ <-- No consoles returned + {"consoles": []}stack@osboxes:~/nova$ <-- No consoles returned Even if I messed up somewhere, these calls should not be returning 200s and not returning expected data. Environment =========== Ubuntu Xenial, upstream DevStack. -- 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/1682303 Title: Creating a console (os-consoles) doesn't work Status in OpenStack Compute (nova): New Bug description: Steps to reproduce ================== 1) Spin up a server with a flavor and image (specifically, cirros-0.3.5-x86_64-disk image). 2) Create a console for the server, e.g. curl -g -i -X POST http://127.0.0.1:8774/v2.1/servers/a421e43c-b6dc-4769-9fbc- 32a302a743d1/consoles -H "OpenStack-API-Version: compute 2.41" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X -OpenStack-Nova-API-Version: 2.41" -H "X-Auth-Token: $TOKEN" The following is returned: HTTP/1.1 200 OK <-- The call was successful Content-Length: 0 Content-Type: application/json Openstack-Api-Version: compute 2.41 X-Openstack-Nova-Api-Version: 2.41 Vary: OpenStack-API-Version Vary: X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-8b1529e0-4ea0-42ec-9fd8-885dbe2fc8b8 Date: Wed, 12 Apr 2017 23:10:40 GMT 3) List all consoles for a server, e.g. curl -g -i -X GET http://127.0.0.1:8774/v2.1/servers/a421e43c-b6dc-4769-9fbc- 32a302a743d1/consoles -H "OpenStack-API-Version: compute 2.41" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X -OpenStack-Nova-API-Version: 2.41" -H "X-Auth-Token: $TOKEN" Expected result =============== A console with an id is returned in the list of consoles. Actual result ============= HTTP/1.1 200 OK <-- The call was successful Content-Length: 16 Content-Type: application/json Openstack-Api-Version: compute 2.41 X-Openstack-Nova-Api-Version: 2.41 Vary: OpenStack-API-Version Vary: X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-0ffc3068-abc4-4b1b-ac56-15af1c5b6da6 Date: Wed, 12 Apr 2017 23:11:17 GMT {"consoles": []}stack@osboxes:~/nova$ <-- No consoles returned Even if I messed up somewhere, these calls should not be returning 200s and not returning expected data. Environment =========== Ubuntu Xenial, upstream DevStack. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1682303/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp