Ask Your Question
1

DevStack install error: TypeError: __init__() got an unexpected keyword argument 'deprecated_reason'

asked 2016-02-12 15:49:00 -0500

victorx gravatar image

updated 2016-02-29 15:30:32 -0500

The following error terminated my stack.sh run. I used DevStack stable/liberty, all-in-one Ubuntu 14.04.3 (Trusty) VM behind a proxy with self-signed certificate (purposeful MITM). Thanks in advance for any tips to fix this.

Traceback (most recent call last):

File "/usr/local/bin/keystone-manage", line 6, in <module>
    from keystone.cmd.manage import main

File "/opt/stack/keystone/keystone/cmd/manage.py", line 32, in <module>
    from keystone.cmd import cli

File "/opt/stack/keystone/keystone/cmd/cli.py", line 28, in <module> 
  from keystone.common import config

File "/opt/stack/keystone/keystone/common/config.py", line 248, in <module>
    help='role-assignment inheritance to projects from '

File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 1043, in __init__
    super(BoolOpt, self).__init__(name, type=types.Boolean(), **kwargs)

TypeError: __init__() got an unexpected keyword argument 'deprecated_reason'
...
Error on exit
+ generate-subunit 1455310909 213 fail
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-02-14 03:28:06 -0500

I got the same problem with latest devstack code

edit flag offensive delete link more

Comments

I believe it should be python dependency packages problem, pls clean your devstack env and rerun stack.sh

BinBin Cong gravatar imageBinBin Cong ( 2016-02-23 06:05:13 -0500 )edit

having the same issue I tried to clean and rerun stack.sh multiple times but still the same issue.

Gurtej gravatar imageGurtej ( 2016-06-02 01:31:06 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2016-02-12 15:49:00 -0500

Seen: 989 times

Last updated: Feb 29 '16