Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1324894 - Tuskar is not deprecated post upgrade [osp-8]
Tuskar is not deprecated post upgrade [osp-8]
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: instack-undercloud (Show other bugs)
8.0 (Liberty)
x86_64 Linux
low Severity high
: zstream
: 8.0 (Liberty)
Assigned To: Marios Andreou
Amit Ugol
: TestOnly, Triaged, ZStream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-07 10:08 EDT by Ola Pavlenko
Modified: 2017-09-12 13:11 EDT (History)
12 users (show)

See Also:
Fixed In Version: instack-undercloud-2.2.7-10.el7ost
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1455496 1455498 1455499 (view as bug list)
Environment:
Last Closed: 2017-09-12 13:11:05 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1691744 None None None 2017-05-18 09:32 EDT
Red Hat Product Errata RHSA-2017:2687 normal SHIPPED_LIVE Moderate: instack-undercloud security update 2017-09-12 17:09:10 EDT

  None (edit)
Description Ola Pavlenko 2016-04-07 10:08:47 EDT
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 17:36:02 EDT
This bug did not make the OSP 8.0 release.  It is being deferred to OSP 10.
Comment 5 Sofer Athlan-Guyot 2017-01-24 21:15:47 EST
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 07:01:00 EDT
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 13:11:05 EDT
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.