Bug 1380730 - Upgrade from RHOSP 8 to RHOSP 9: Registering deprecated option fails
Summary: Upgrade from RHOSP 8 to RHOSP 9: Registering deprecated option fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-keystoneauth1
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: zstream
: 8.0 (Liberty)
Assignee: RHOS Maint
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-30 12:37 UTC by Robin Cernin
Modified: 2021-02-01 02:38 UTC (History)
8 users (show)

Fixed In Version: python-keystoneauth1-1.1.0-5.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-15 12:35:55 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1505906 0 None None None 2016-09-30 12:38:03 UTC
Red Hat Product Errata RHBA-2018:0530 0 None None None 2018-03-15 12:36:55 UTC

Description Robin Cernin 2016-09-30 12:37:41 UTC
Description of problem:

Would it be possible to backport this patch https://review.openstack.org/#/c/234578/ . During the upgrade from RHOSP 8 to RHOSP 9 we hit following problem while doing '3.4.2. Installing Aodh' at https://access.redhat.com/documentation/en/red-hat-openstack-platform/9/paged/upgrading-red-hat-openstack-platform/chapter-3-director-based-environments-performing-upgrades-to-major-versions

When running manually we hit:

# /usr/bin/aodh-api --logfile /var/log/aodh/api.log
Traceback (most recent call last):
  File "/usr/bin/aodh-api", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/aodh/cmd/api.py", line 23, in main
    conf = service.prepare_service()
  File "/usr/lib/python2.7/site-packages/aodh/service.py", line 70, in prepare_service
    keystone_client.setup_keystoneauth(conf)
  File "/usr/lib/python2.7/site-packages/aodh/keystone_client.py", line 145, in setup_keystoneauth
    if conf[CFG_GROUP].auth_type == "password-aodh-legacy":
  File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2950, in __getattr__
    return self._conf._get(name, self._group)
  File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2571, in _get
    value = self._do_get(name, group, namespace)
  File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2608, in _do_get
    return convert(opt._get_from_namespace(namespace, group_name))
  File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 811, in _get_from_namespace
    dname, dgroup = opt.name, opt.group
AttributeError: 'Opt' object has no attribute 'group'

Which corresponds to https://bugs.launchpad.net/keystoneauth/+bug/1505906

Comment 3 Harry Rybacki 2017-11-22 16:42:56 UTC
Bug was resolved upstream in review 2345787[1]. Beginning the backport process to OSP8.

[1] - https://review.openstack.org/#/c/234578/

Comment 8 errata-xmlrpc 2018-03-15 12:35:55 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/RHBA-2018:0530


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