[Openstack] FW: Stable Mitaka Devstack Installation Failing with 'deprecated_reason'

Steve Martinelli s.martinelli at gmail.com
Thu Jan 5 16:06:59 UTC 2017


what version of oslo.config was laid down? it should be at least 3.2.0 to
support "deprecated_reason" --
https://github.com/openstack/oslo.config/blob/stable/mitaka/oslo_config/cfg.py#L719-L720

using the mitaka branch of devstack should lay down version 3.7.0.

can you include the local.conf and how you checked out and ran devstack?

On Thu, Jan 5, 2017 at 1:01 AM, Harsh Kumar B <harsh.b.kumar at ericsson.com>
wrote:

> Hello,
>
>
>
> I have checked out devstack mitaka and have the minimalist local.conf as
> on the devstack page <http://docs.openstack.org/developer/devstack/>. But
> when I run stack it fails with the following error;
>
>
>
>>
> 2017-01-05 22:39:53.894 | mysql start/running, process 9835
>
> 2017-01-05 22:39:54.923 | LOGDIR: /opt/stack/logs
>
> 2017-01-05 22:39:54.923 | SCREEN_LOGDIR: /opt/stack/logs/screen
>
> 2017-01-05 22:39:54.923 | log: /opt/stack/logs/dstat.log.2017-01-06-040933
>
> 2017-01-05 22:39:57.963 | Warning: Using a password on the command line
> interface can be insecure.
>
> 2017-01-05 22:39:57.972 | Warning: Using a password on the command line
> interface can be insecure.
>
> 2017-01-05 22:39:58.526 | Traceback (most recent call last):
>
> 2017-01-05 22:39:58.526 |   File "/usr/local/bin/keystone-manage", line
> 6, in <module>
>
> 2017-01-05 22:39:58.526 |     from keystone.cmd.manage import main
>
> 2017-01-05 22:39:58.526 |   File "/opt/stack/keystone/keystone/cmd/manage.py",
> line 32, in <module>
>
> 2017-01-05 22:39:58.526 |     from keystone.cmd import cli
>
> 2017-01-05 22:39:58.526 |   File "/opt/stack/keystone/keystone/cmd/cli.py",
> line 28, in <module>
>
> 2017-01-05 22:39:58.526 |     from keystone.common import config
>
> 2017-01-05 22:39:58.526 |   File "/opt/stack/keystone/keystone/common/config.py",
> line 261, in <module>
>
> 2017-01-05 22:39:58.526 |     help='role-assignment inheritance to
> projects from '
>
> 2017-01-05 22:39:58.526 |   File "/usr/local/lib/python2.7/
> dist-packages/oslo_config/cfg.py", line 982, in __init__
>
> 2017-01-05 22:39:58.526 |     super(BoolOpt, self).__init__(name,
> type=types.Boolean(), **kwargs)
>
> 2017-01-05 22:39:58.526 | TypeError: __init__() got an unexpected keyword
> argument 'deprecated_reason'
>
> 2017-01-05 22:39:58.544 | Error on exit
>
>>
>
>
> Keyston Version: 1.7.2
>
>
>
> keystone-manage --version also fails with the below trace:
>
> stack at CSS31vin:~/devstack$ *keystone-manage --version*
>
> 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 261, in
> <module>
>
>     help='role-assignment inheritance to projects from '
>
>   File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line
> 982, in __init__
>
>     super(BoolOpt, self).__init__(name, type=types.Boolean(), **kwargs)
>
> TypeError: __init__() got an unexpected keyword argument
> 'deprecated_reason'
>
>
>
> Any insights?
>
>
>
> Regards
>
> Harsh Kumar
>
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170105/528948f6/attachment.html>


More information about the Openstack mailing list