Unable to restart the keystone services

Bug #1546437 reported by Shruti Vasudeo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Designate
Fix Released
Medium
Graham Hayes

Bug Description

While installing the devstack (liberty version) on CentOS 7 we are getting the following exception:

2016-02-16 23:51:26.060 | Traceback (most recent call last):
2016-02-16 23:51:26.060 | File "/usr/bin/keystone-manage", line 6, in <module>
2016-02-16 23:51:26.060 | from keystone.cmd.manage import main
2016-02-16 23:51:26.061 | File "/opt/stack/keystone/keystone/cmd/manage.py", line 32, in <module>
2016-02-16 23:51:26.061 | from keystone.cmd import cli
2016-02-16 23:51:26.061 | File "/opt/stack/keystone/keystone/cmd/cli.py", line 28, in <module>
2016-02-16 23:51:26.061 | from keystone.common import config
2016-02-16 23:51:26.061 | File "/opt/stack/keystone/keystone/common/config.py", line 247, in <module>
2016-02-16 23:51:26.061 | help='role-assignment inheritance to projects from '
2016-02-16 23:51:26.061 | File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 986, in __init__
2016-02-16 23:51:26.061 | super(BoolOpt, self).__init__(name, type=types.Boolean(), **kwargs)
2016-02-16 23:51:26.061 | TypeError: __init__() got an unexpected keyword argument 'deprecated_reason'
2016-02-16 23:51:26.077 | + /opt/stack/devstack/lib/keystone:init_keystone:L1: exit_trap

Tim Simmons (timsim)
Changed in designate:
assignee: nobody → Graham Hayes (grahamhayes)
Revision history for this message
Steve Martinelli (stevemar) wrote :

the crux of this bug is keystone's use of "deprecated_reason", a config option exposed by oslo.config as of release 3.2.0 or newer.

what i'm confused about it the mention of "liberty" in the bug description - since keytone only started to use "deprecated_reason" in mitaka. (https://github.com/openstack/keystone/commit/cedba776142f6772ef1392eb5e5d54b969d8669c)

seems like the master version of keystone is being used with liberty oslo requirements, which won't work.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to designate (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/288530

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to designate (stable/kilo)

Fix proposed to branch: stable/kilo
Review: https://review.openstack.org/288531

Changed in designate:
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on designate (stable/kilo)

Change abandoned by Graham Hayes (<email address hidden>) on branch: stable/kilo
Review: https://review.openstack.org/288531
Reason: This is what I get for blindly cherry-picking things

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to designate (stable/liberty)

Reviewed: https://review.openstack.org/288530
Committed: https://git.openstack.org/cgit/openstack/designate/commit/?id=79f663039153ec21aaf27d5c08d0b90038245a4c
Submitter: Jenkins
Branch: stable/liberty

commit 79f663039153ec21aaf27d5c08d0b90038245a4c
Author: Graham Hayes <email address hidden>
Date: Fri Mar 4 15:36:32 2016 +0000

    Force the devstack plugin to use the liberty version of devstack

    Change-Id: Ied4d180ecb572eaf8087070b4f53efcb0c899fe2
    Closes-Bug: #1546437

tags: added: in-stable-liberty
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/designate 1.0.2

This issue was fixed in the openstack/designate 1.0.2 release.

Changed in designate:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to designate (stable/mitaka)

Related fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/316995

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to designate (stable/mitaka)

Reviewed: https://review.openstack.org/316995
Committed: https://git.openstack.org/cgit/openstack/designate/commit/?id=66a468a89de620d5431df2ce9844b4e209058625
Submitter: Jenkins
Branch: stable/mitaka

commit 66a468a89de620d5431df2ce9844b4e209058625
Author: Kiall Mac Innes <email address hidden>
Date: Mon May 16 17:57:10 2016 +0100

    Force the devstack plugin to use the mitaka version of devstack

    Change-Id: Ied4d180ecb572eaf8087070b4f53efcb0c899fe2
    Related-Bug: #1546437

tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/designate 1.0.2

This issue was fixed in the openstack/designate 1.0.2 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.