Bug 1396234 - If cinder endpoint v1 is deleted the volumes tab goes missing from horizon
Summary: If cinder endpoint v1 is deleted the volumes tab goes missing from horizon
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-horizon
Version: 8.0 (Liberty)
Hardware: All
OS: Linux
high
high
Target Milestone: async
: ---
Assignee: Radomir Dopieralski
QA Contact: Ido Ovadia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-17 18:28 UTC by Siggy Sigwald
Modified: 2022-08-10 09:55 UTC (History)
8 users (show)

Fixed In Version: python-django-horizon-8.0.1-8.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-21 16:52:04 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1415712 0 None None None 2016-11-17 18:28:06 UTC
OpenStack gerrit 90888 0 'None' 'MERGED' 'To fixes import error for run_tests.sh' 2019-12-04 12:00:27 UTC
Red Hat Issue Tracker OSP-7757 0 None None None 2022-08-10 09:55:21 UTC
Red Hat Knowledge Base (Solution) 2831131 0 None None None 2016-12-22 07:51:07 UTC
Red Hat Product Errata RHBA-2016:2981 0 normal SHIPPED_LIVE python-django-horizon bug fix advisory 2016-12-21 21:35:52 UTC

Description Siggy Sigwald 2016-11-17 18:28:07 UTC
Description of problem:
If in addition to setting V1 to false in cinder.conf we delete the endpoint for cinder, Horizon stops showing the Volumes tab.

Version-Release number of selected component (if applicable):

python-django-horizon-8.0.1-6.el7ost.src.rpm

How reproducible:
delete cinder endpoint v1

Steps to Reproduce:
[root@rhosp8 ~(keystone_admin)]# keystone service-list
/usr/lib/python2.7/site-packages/keystoneclient/shell.py:64: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient.
  'python-keystoneclient.', DeprecationWarning)
/usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:145: DeprecationWarning: Constructing an instance of the keystoneclient.v2_0.client.Client class without a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
  'the 2.0.0 release.', DeprecationWarning)
/usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:147: DeprecationWarning: Using the 'tenant_name' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_name' argument instead
  super(Client, self).__init__(**kwargs)
/usr/lib/python2.7/site-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant_id' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_id' argument instead
  return f(*args, **kwargs)
/usr/lib/python2.7/site-packages/keystoneclient/httpclient.py:376: DeprecationWarning: Constructing an HTTPClient instance without using a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
  'the 2.0.0 release.', DeprecationWarning)
+----------------------------------+------------+--------------+--------------------------------+
|                id                |    name    |     type     |          description           |
+----------------------------------+------------+--------------+--------------------------------+
| 1393f0aad2b740c0aa618d2a33496250 | ceilometer |   metering   |   Openstack Metering Service   |
| 6c0a114dff1f4efa91d3c4ba7fd0c51b |   cinder   |    volume    |         Cinder Service         |
| ec0db3ef192645d2ae2963be89888fa2 |  cinderv2  |   volumev2   |       Cinder Service v2        |
| 1b4df1aa2ed54425a3f8ea89eddb8631 |   glance   |    image     |    OpenStack Image Service     |
| 55ccf5fb0dbf4820a7ab0cff4ed6bd9d |  keystone  |   identity   |   OpenStack Identity Service   |
| 5f7e4465298d4fee822d716e439708ac |  neutron   |   network    |   Neutron Networking Service   |
| c019af4a85f543c38e3b8ebe33353907 |    nova    |   compute    |   Openstack Compute Service    |
| 651dad2835a448d492c23eee82c60097 |  nova_ec2  |     ec2      |          EC2 Service           |
| 870b61f626fe43928f72207db457e496 |   novav3   |  computev3   |  Openstack Compute Service v3  |
| aa9c801467334510b2eef1548d3482ee |   swift    | object-store | Openstack Object-Store Service |
+----------------------------------+------------+--------------+--------------------------------+
[root@rhosp8 ~(keystone_admin)]# keystone service-delete 6c0a114dff1f4efa91d3c4ba7fd0c51b
/usr/lib/python2.7/site-packages/keystoneclient/shell.py:64: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient.
  'python-keystoneclient.', DeprecationWarning)
/usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:145: DeprecationWarning: Constructing an instance of the keystoneclient.v2_0.client.Client class without a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
  'the 2.0.0 release.', DeprecationWarning)
/usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:147: DeprecationWarning: Using the 'tenant_name' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_name' argument instead
  super(Client, self).__init__(**kwargs)
/usr/lib/python2.7/site-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant_id' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_id' argument instead
  return f(*args, **kwargs)
/usr/lib/python2.7/site-packages/keystoneclient/httpclient.py:376: DeprecationWarning: Constructing an HTTPClient instance without using a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
  'the 2.0.0 release.', DeprecationWarning)
[root@rhosp8 ~(keystone_admin)]# keystone service-list
/usr/lib/python2.7/site-packages/keystoneclient/shell.py:64: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient.
  'python-keystoneclient.', DeprecationWarning)
/usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:145: DeprecationWarning: Constructing an instance of the keystoneclient.v2_0.client.Client class without a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
  'the 2.0.0 release.', DeprecationWarning)
/usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:147: DeprecationWarning: Using the 'tenant_name' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_name' argument instead
  super(Client, self).__init__(**kwargs)
/usr/lib/python2.7/site-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant_id' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_id' argument instead
  return f(*args, **kwargs)
/usr/lib/python2.7/site-packages/keystoneclient/httpclient.py:376: DeprecationWarning: Constructing an HTTPClient instance without using a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
  'the 2.0.0 release.', DeprecationWarning)
+----------------------------------+------------+--------------+--------------------------------+
|                id                |    name    |     type     |          description           |
+----------------------------------+------------+--------------+--------------------------------+
| 1393f0aad2b740c0aa618d2a33496250 | ceilometer |   metering   |   Openstack Metering Service   |
| ec0db3ef192645d2ae2963be89888fa2 |  cinderv2  |   volumev2   |       Cinder Service v2        |
| 1b4df1aa2ed54425a3f8ea89eddb8631 |   glance   |    image     |    OpenStack Image Service     |
| 55ccf5fb0dbf4820a7ab0cff4ed6bd9d |  keystone  |   identity   |   OpenStack Identity Service   |
| 5f7e4465298d4fee822d716e439708ac |  neutron   |   network    |   Neutron Networking Service   |
| c019af4a85f543c38e3b8ebe33353907 |    nova    |   compute    |   Openstack Compute Service    |
| 651dad2835a448d492c23eee82c60097 |  nova_ec2  |     ec2      |          EC2 Service           |
| 870b61f626fe43928f72207db457e496 |   novav3   |  computev3   |  Openstack Compute Service v3  |
| aa9c801467334510b2eef1548d3482ee |   swift    | object-store | Openstack Object-Store Service |
+----------------------------------+------------+--------------+--------------------------------+

Actual results:
Volumes tab goes missing in Horizon

Expected results:
cinder v1 endpoint is deleted and we end up using cinderV2 only.

Additional info:
this was tested on RHEL 7.2 and 7.3

Comment 1 Radomir Dopieralski 2016-11-18 13:21:24 UTC
This issue was fixed in the openstack/horizon 9.0.0.0b3 development milestone.

Comment 2 Andrew Ludwar 2016-11-18 15:33:48 UTC
Hello,

I believe this is the upstream bug reference: https://bugs.launchpad.net/horizon/+bug/1415712

We see this behaviour in OSP8, but not in OSP9. Is it possible to backport this fix to OSP8? Customer is running into this in OSP8.

Thank you,
-Andrew

Comment 11 errata-xmlrpc 2016-12-21 16:52:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2981.html


Note You need to log in before you can comment on or make changes to this bug.