Reviewed: https://review.openstack.org/490340 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=0a2f45a5b2e90b0a5650f5069b77dd2a8ddfc4a4 Submitter: Jenkins Branch: master
commit 0a2f45a5b2e90b0a5650f5069b77dd2a8ddfc4a4 Author: Takashi NATSUME <[email protected]> Date: Thu Aug 3 14:11:19 2017 +0900 Fix getting instance bdms in multiple cells In the 'detail' method of ExtendedVolumesController related to 'GET /servers/detail' API, multiple cells environemnt is not taken into account when getting instance BDMs. So fix it. Change-Id: I9377e988fbdc822df46e91c0db6c8012697bc2ee Closes-Bug: #1708210 ** Changed in: nova Status: In Progress => Fix Released -- 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/1708210 Title: ‘os-extended-volumes:volumes_attached’ field empty in 'server list' api response Status in OpenStack Compute (nova): Fix Released Bug description: Description =========== 'os-extended-volumes:volumes_attached' field in 'server list' api response is empty list, while in 'server show' it has attached volumes Steps to reproduce ================== * create a server * create a volume * attach a volume to the server * $ openstack --debug server list * $ openstack --debug server show <server> Actual result ============= RESP from 'openstack --debug server list' command: RESP BODY: {"servers": [{"OS-EXT-STS:task_state": null, "addresses": {"public": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:05:15:9f", "version": 4, "addr": "172.24.4.13", "OS-EXT-IPS:type": "fixed"}, {"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:05:15:9f", "version": 6, "addr": "2001:db8::e", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "http://192.168.56.101/compute/v2.1/servers/03f3a8da-2c51-4f43-96dc-9354a6fef3f5", "rel": "self"}, {"href": "http://192.168.56.101/compute/servers/03f3a8da-2c51-4f43-96dc-9354a6fef3f5", "rel": "bookmark"}], "image": {"id": "9929f291-7d09-49ff-8374-e59d2fb2f43c", "links": [{"href": "http://192.168.56.101/compute/images/9929f291-7d09-49ff-8374-e59d2fb2f43c", "rel": "bookmark"}]}, "OS-EXT-STS:vm_state": "active", "OS-EXT-SRV-ATTR:instance_name": "instance-00000002", "OS-SRV-USG:launched_at": "2017-08-02T16:10:18.000000", "flavor": {"id": "1", "links": [{"href": "http://192.168.56.101/compute/flavors/1", "rel": "bookmark"}]}, "id": "03f3a8da-2c51-4f43-96dc-9354a6fef3f5", "security_groups": [{"name": "default"}], "user_id": "5863c93dccb84f1ba5c98b3297496b4d", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "ACTIVE", "updated": "2017-08-02T16:10:50Z", "hostId": "40e335d04e2be60ef52b202610fcd5742ac0471e531b83ff52421470", "OS-EXT-SRV-ATTR:host": "tikitavi-VirtualBox", "OS-SRV-USG:terminated_at": null, "key_name": null, "OS-EXT-SRV-ATTR:hypervisor_hostname": "tikitavi-VirtualBox", "name": "test", "created": "2017-08-02T16:09:22Z", "tenant_id": "e27d79288f3441e98d0bdf742722c5f3", "os-extended-volumes:volumes_attached": [], "metadata": {}}]} RESP from 'openstack --debug server show test' command: RESP BODY: {"server": {"OS-EXT-STS:task_state": null, "addresses": {"public": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:05:15:9f", "version": 4, "addr": "172.24.4.13", "OS-EXT-IPS:type": "fixed"}, {"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:05:15:9f", "version": 6, "addr": "2001:db8::e", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "http://192.168.56.101/compute/v2.1/servers/03f3a8da-2c51-4f43-96dc-9354a6fef3f5", "rel": "self"}, {"href": "http://192.168.56.101/compute/servers/03f3a8da-2c51-4f43-96dc-9354a6fef3f5", "rel": "bookmark"}], "image": {"id": "9929f291-7d09-49ff-8374-e59d2fb2f43c", "links": [{"href": "http://192.168.56.101/compute/images/9929f291-7d09-49ff-8374-e59d2fb2f43c", "rel": "bookmark"}]}, "OS-EXT-STS:vm_state": "active", "OS-EXT-SRV-ATTR:instance_name": "instance-00000002", "OS-SRV-USG:launched_at": "2017-08-02T16:10:18.000000", "flavor": {"id": "1", "links": [{"href": "http://192.168.56.101/compute/flavors/1", "rel": "bookmark"}]}, "id": "03f3a8da-2c51-4f43-96dc-9354a6fef3f5", "security_groups": [{"name": "default"}], "user_id": "5863c93dccb84f1ba5c98b3297496b4d", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "ACTIVE", "updated": "2017-08-02T16:10:50Z", "hostId": "40e335d04e2be60ef52b202610fcd5742ac0471e531b83ff52421470", "OS-EXT-SRV-ATTR:host": "tikitavi-VirtualBox", "OS-SRV-USG:terminated_at": null, "key_name": null, "OS-EXT-SRV-ATTR:hypervisor_hostname": "tikitavi-VirtualBox", "name": "test", "created": "2017-08-02T16:09:22Z", "tenant_id": "e27d79288f3441e98d0bdf742722c5f3", "os-extended-volumes:volumes_attached": [{"id": "6f788e6d-2659-407f-99d6-fde9d250909a"}, {"id": "5d11953c-6b20-44c7-9f5e-d30e87edda7b"}], "metadata": {}}} (more detailed logs are in attachment) Expected result =============== Expected to find 'os-extended-volumes:volumes_attached' field in 'server list' the same as in 'server show' Environment =========== Running devstack devstack$ git log -1 commit dea3083d984569eac9647f1a28f10ae98afc42f7 Author: Vasyl Saienko <[email protected]> Date: Tue Aug 1 00:16:51 2017 +0300 Fix path to mlock_report This patch fixes path to mlock_report.py. Also add python-psutil to dstat depends as it is required by mlock_report. Change-Id: Ia2b507a7b923f1e3393a9cb7746c66d39d6abfde /nova$ git log -1 commit 8e56bdb1dc48dd7d15ec387d9c130c7c84407012 Merge: 929de34 598314a Author: Jenkins <[email protected]> Date: Wed Aug 2 10:00:54 2017 +0000 Merge "Add release note for PUT /os-services/* for non-compute services" To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1708210/+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

