Bug 1324894 - Tuskar is not deprecated post upgrade [osp-8]
Summary: Tuskar is not deprecated post upgrade [osp-8]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: instack-undercloud
Version: 8.0 (Liberty)
Hardware: x86_64
OS: Linux
low
high
Target Milestone: zstream
: 8.0 (Liberty)
Assignee: Marios Andreou
QA Contact: Amit Ugol
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-07 14:08 UTC by Ola Pavlenko
Modified: 2022-07-09 09:17 UTC (History)
12 users (show)

Fixed In Version: instack-undercloud-2.2.7-10.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1455496 1455498 1455499 (view as bug list)
Environment:
Last Closed: 2017-09-12 17:11:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1691744 0 None None None 2017-05-18 13:32:58 UTC
Red Hat Issue Tracker OSP-16876 0 None None None 2022-07-09 09:17:37 UTC
Red Hat Product Errata RHSA-2017:2687 0 normal SHIPPED_LIVE Moderate: instack-undercloud security update 2017-09-12 21:09:10 UTC

Description Ola Pavlenko 2016-04-07 14:08:47 UTC
Description of problem:
Tuskar is not deprecated post upgrade
Tuskar client can be used to run commands. Tuskar packages exist on undercloud

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

[stack@instack ~]$ rpm -qa | grep tuskar
python-tuskarclient-0.1.18-5.el7ost.noarch
openstack-tuskar-ui-extras-0.0.4-2.el7ost.noarch
openstack-tuskar-0.4.18-5.el7ost.noarch
openstack-tuskar-ui-0.4.0-5.el7ost.noarch
[stack@instack ~]$ rpm -qa | grep rhos
rhos-release-1.0.39-1.noarch

How reproducible:
100%

Steps to Reproduce:
1.install osp 7 , deploy and populate the overcloud ( virt setup, 1 controller + 1 compute, no-isolated)
2.upgrade to osp 8 (puddle from 1 April)
3.check tuskar is no more available after upgrade

Actual results:
Tuskar exists 

Expected results:

Tuskar is not available

Additional info:

[stack@instack ~]$ tuskar plan-list
+--------------------------------------+-----------+-------------+------------------------------------------------------------------+
| uuid                                 | name      | description | roles                                                            |
+--------------------------------------+-----------+-------------+------------------------------------------------------------------+
| ed20910c-290d-4c87-bc53-d2e418415cd7 | overcloud | None        | Ceph-Storage, Cinder-Storage, Controller, Compute, Swift-Storage |
+--------------------------------------+-----------+-------------+------------------------------------------------------------------+

Running any additional command after the first time returns error:
[stack@instack ~]$ tuskar plan-show overcloud
ERROR (shell) Exiting due to an error:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/tuskarclient/shell.py", line 248, in main
    TuskarShell(sys.argv[1:]).run()
  File "/usr/lib/python2.7/site-packages/tuskarclient/shell.py", line 76, in run
    args.func(tuskar_client, args)
  File "/usr/lib/python2.7/site-packages/tuskarclient/v2/plans_shell.py", line 43, in do_plan_show
    plan = utils.find_resource(tuskar.plans, args.plan)
  File "/usr/lib/python2.7/site-packages/tuskarclient/common/utils.py", line 81, in find_resource
    listing = manager.list()
  File "/usr/lib/python2.7/site-packages/tuskarclient/v2/plans.py", line 86, in list
    return self._list(self._path())
  File "/usr/lib/python2.7/site-packages/tuskarclient/openstack/common/apiclient/base.py", line 131, in _list
    body = self.client.get(url).json()
  File "/usr/lib/python2.7/site-packages/tuskarclient/openstack/common/apiclient/client.py", line 355, in get
    return self.client_request("GET", url, **kwargs)
  File "/usr/lib/python2.7/site-packages/tuskarclient/openstack/common/apiclient/client.py", line 345, in client_request
    self, method, url, **kwargs)
  File "/usr/lib/python2.7/site-packages/tuskarclient/openstack/common/apiclient/client.py", line 261, in client_request
    method, self.concat_url(endpoint, url), **kwargs)
  File "/usr/lib/python2.7/site-packages/tuskarclient/openstack/common/apiclient/client.py", line 189, in request
    resp = self.http.request(method, url, **kwargs)
  File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 465, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 573, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 415, in send
    raise ConnectionError(err, request=request)
ConnectionError: ('Connection aborted.', error(111, 'Connection refused'))
[stack@instack ~]$ tuskar plan-list
ERROR (shell) Exiting due to an error:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/tuskarclient/shell.py", line 248, in main
    TuskarShell(sys.argv[1:]).run()
  File "/usr/lib/python2.7/site-packages/tuskarclient/shell.py", line 76, in run
    args.func(tuskar_client, args)
  File "/usr/lib/python2.7/site-packages/tuskarclient/v2/plans_shell.py", line 25, in do_plan_list
    plans = tuskar.plans.list()
  File "/usr/lib/python2.7/site-packages/tuskarclient/v2/plans.py", line 86, in list
    return self._list(self._path())
  File "/usr/lib/python2.7/site-packages/tuskarclient/openstack/common/apiclient/base.py", line 131, in _list
    body = self.client.get(url).json()
  File "/usr/lib/python2.7/site-packages/tuskarclient/openstack/common/apiclient/client.py", line 355, in get
    return self.client_request("GET", url, **kwargs)
  File "/usr/lib/python2.7/site-packages/tuskarclient/openstack/common/apiclient/client.py", line 345, in client_request
    self, method, url, **kwargs)
  File "/usr/lib/python2.7/site-packages/tuskarclient/openstack/common/apiclient/client.py", line 261, in client_request
    method, self.concat_url(endpoint, url), **kwargs)
  File "/usr/lib/python2.7/site-packages/tuskarclient/openstack/common/apiclient/client.py", line 189, in request
    resp = self.http.request(method, url, **kwargs)
  File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 465, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 573, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 415, in send
    raise ConnectionError(err, request=request)
ConnectionError: ('Connection aborted.', error(111, 'Connection refused'))

Comment 2 Mike Burns 2016-04-07 21:36:02 UTC
This bug did not make the OSP 8.0 release.  It is being deferred to OSP 10.

Comment 5 Sofer Athlan-Guyot 2017-01-25 02:15:47 UTC
Hi,

Should we plan to add necessary code inside osp8 to remove the tuskar packages or can we close this one ?

Regards,

Comment 12 Marios Andreou 2017-05-25 11:01:00 UTC
Clones for this which has to go back to OSP8. LSP8/9 downstream only, OSP10/11 upstream still.

https://bugzilla.redhat.com/show_bug.cgi?id=1324894 OSP8
https://bugzilla.redhat.com/show_bug.cgi?id=1455496 OSP9  
https://bugzilla.redhat.com/show_bug.cgi?id=1455498 OSP10 
https://bugzilla.redhat.com/show_bug.cgi?id=1455499 OSP11

Comment 17 errata-xmlrpc 2017-09-12 17:11:05 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://access.redhat.com/errata/RHSA-2017:2687


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