[Bug 1821766] [NEW] Comands with admin user over vms in other tenants work with ID, but no with name
Candido Campos Rivas
1821766 at bugs.launchpad.net
Tue Mar 26 15:32:35 UTC 2019
Public bug reported:
OSP 14
(undercloud) [stack at undercloud-0 ~]$ openstack --version
openstack 3.16.2
(undercloud) [stack at undercloud-0 ~]$
Comands with admin user over vms in other tenants work with ID, but no with name:
(overcloud) [stack at undercloud-0 ~]$ . overcloudrc
(overcloud) [stack at undercloud-0 ~]$ openstack server list
+--------------------------------------+-------------------+--------+----------------------+--------+--------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+-------------------+--------+----------------------+--------+--------+
| 8e242a1d-a4a8-4e85-bce6-061438c03f3e | provider-instance | ACTIVE | selfservice=10.1.0.8 | cirros | cirros |
+--------------------------------------+-------------------+--------+----------------------+--------+--------+
(overcloud) [stack at undercloud-0 ~]$ openstack server list --all
+--------------------------------------+--------------------+--------+-----------------------------------+--------+--------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+--------------------+--------+-----------------------------------+--------+--------+
| 8e242a1d-a4a8-4e85-bce6-061438c03f3e | provider-instance | ACTIVE | selfservice=10.1.0.8 | cirros | cirros |
| ed6e504f-bc47-4685-912d-e96639fb404c | provider-instance | ACTIVE | selfservice=10.1.0.23 | cirros | cirros |
| a59815b1-9b5b-4d2f-a0f3-16b99b1c82ea | provider-instance3 | ACTIVE | selfservice=10.1.0.12, 10.0.0.215 | cirros | cirros |
| 0b0066e8-fdfe-46e7-85ad-03aa59ea8daa | provider-instance1 | ACTIVE | selfservice=10.1.0.6 | cirros | cirros |
| c59ea9d2-9aeb-4dd5-86ff-7d7c0c185664 | provider-instance | ACTIVE | selfservice=10.1.0.17 | cirros | cirros |
+--------------------------------------+--------------------+--------+-----------------------------------+--------+--------+
(overcloud) [stack at undercloud-0 ~]$ openstack server show provider-instance3
No server with a name or ID of 'provider-instance3' exists.
(overcloud) [stack at undercloud-0 ~]$ openstack server show a59815b1-9b5b-4d2f-a0f3-16b99b1c82ea
+-------------------------------------+----------------------------------------------------------+
| Field | Value |
+-------------------------------------+----------------------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | compute-2.localdomain |
| OS-EXT-SRV-ATTR:hypervisor_hostname | compute-2.localdomain |
| OS-EXT-SRV-ATTR:instance_name | instance-00000089 |
| OS-EXT-STS:power_state | Running |
| OS-EXT-STS:task_state | None |
| OS-EXT-STS:vm_state | active |
| OS-SRV-USG:launched_at | 2019-03-07T16:19:10.000000 |
| OS-SRV-USG:terminated_at | None |
| accessIPv4 | |
| accessIPv6 | |
| addresses | selfservice=10.1.0.12, 10.0.0.215 |
| config_drive | |
| created | 2019-03-07T16:18:55Z |
| flavor | cirros (0) |
| hostId | de406aa667510aae422503b79d80663cd48c126a810292af891404d5 |
| id | a59815b1-9b5b-4d2f-a0f3-16b99b1c82ea |
| image | cirros (10fb27dc-7894-4fc1-95ec-443b74077a73) |
| key_name | mykey |
| name | provider-instance3 |
| progress | 0 |
| project_id | 0dcb502bdb6f4f3683c51557b443168e |
| properties | |
| security_groups | name='default' |
| status | ACTIVE |
| updated | 2019-03-07T16:24:18Z |
| user_id | 47bb2cdfa9734038a2a3f2e5cc1876e6 |
| volumes_attached | |
+-------------------------------------+----------------------------------------------------------+
(overcloud) [stack at undercloud-0 ~]$
** Affects: python-openstackclient (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-openstackclient in Ubuntu.
https://bugs.launchpad.net/bugs/1821766
Title:
Comands with admin user over vms in other tenants work with ID, but no
with name
Status in python-openstackclient package in Ubuntu:
New
Bug description:
OSP 14
(undercloud) [stack at undercloud-0 ~]$ openstack --version
openstack 3.16.2
(undercloud) [stack at undercloud-0 ~]$
Comands with admin user over vms in other tenants work with ID, but no with name:
(overcloud) [stack at undercloud-0 ~]$ . overcloudrc
(overcloud) [stack at undercloud-0 ~]$ openstack server list
+--------------------------------------+-------------------+--------+----------------------+--------+--------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+-------------------+--------+----------------------+--------+--------+
| 8e242a1d-a4a8-4e85-bce6-061438c03f3e | provider-instance | ACTIVE | selfservice=10.1.0.8 | cirros | cirros |
+--------------------------------------+-------------------+--------+----------------------+--------+--------+
(overcloud) [stack at undercloud-0 ~]$ openstack server list --all
+--------------------------------------+--------------------+--------+-----------------------------------+--------+--------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+--------------------+--------+-----------------------------------+--------+--------+
| 8e242a1d-a4a8-4e85-bce6-061438c03f3e | provider-instance | ACTIVE | selfservice=10.1.0.8 | cirros | cirros |
| ed6e504f-bc47-4685-912d-e96639fb404c | provider-instance | ACTIVE | selfservice=10.1.0.23 | cirros | cirros |
| a59815b1-9b5b-4d2f-a0f3-16b99b1c82ea | provider-instance3 | ACTIVE | selfservice=10.1.0.12, 10.0.0.215 | cirros | cirros |
| 0b0066e8-fdfe-46e7-85ad-03aa59ea8daa | provider-instance1 | ACTIVE | selfservice=10.1.0.6 | cirros | cirros |
| c59ea9d2-9aeb-4dd5-86ff-7d7c0c185664 | provider-instance | ACTIVE | selfservice=10.1.0.17 | cirros | cirros |
+--------------------------------------+--------------------+--------+-----------------------------------+--------+--------+
(overcloud) [stack at undercloud-0 ~]$ openstack server show provider-instance3
No server with a name or ID of 'provider-instance3' exists.
(overcloud) [stack at undercloud-0 ~]$ openstack server show a59815b1-9b5b-4d2f-a0f3-16b99b1c82ea
+-------------------------------------+----------------------------------------------------------+
| Field | Value |
+-------------------------------------+----------------------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | compute-2.localdomain |
| OS-EXT-SRV-ATTR:hypervisor_hostname | compute-2.localdomain |
| OS-EXT-SRV-ATTR:instance_name | instance-00000089 |
| OS-EXT-STS:power_state | Running |
| OS-EXT-STS:task_state | None |
| OS-EXT-STS:vm_state | active |
| OS-SRV-USG:launched_at | 2019-03-07T16:19:10.000000 |
| OS-SRV-USG:terminated_at | None |
| accessIPv4 | |
| accessIPv6 | |
| addresses | selfservice=10.1.0.12, 10.0.0.215 |
| config_drive | |
| created | 2019-03-07T16:18:55Z |
| flavor | cirros (0) |
| hostId | de406aa667510aae422503b79d80663cd48c126a810292af891404d5 |
| id | a59815b1-9b5b-4d2f-a0f3-16b99b1c82ea |
| image | cirros (10fb27dc-7894-4fc1-95ec-443b74077a73) |
| key_name | mykey |
| name | provider-instance3 |
| progress | 0 |
| project_id | 0dcb502bdb6f4f3683c51557b443168e |
| properties | |
| security_groups | name='default' |
| status | ACTIVE |
| updated | 2019-03-07T16:24:18Z |
| user_id | 47bb2cdfa9734038a2a3f2e5cc1876e6 |
| volumes_attached | |
+-------------------------------------+----------------------------------------------------------+
(overcloud) [stack at undercloud-0 ~]$
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-openstackclient/+bug/1821766/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list