<div dir="ltr">what version of oslo.config was laid down? it should be at least 3.2.0 to support "deprecated_reason" -- <a href="https://github.com/openstack/oslo.config/blob/stable/mitaka/oslo_config/cfg.py#L719-L720">https://github.com/openstack/oslo.config/blob/stable/mitaka/oslo_config/cfg.py#L719-L720</a><div><br></div><div>using the mitaka branch of devstack should lay down version 3.7.0.</div><div><br></div><div>can you include the local.conf and how you checked out and ran devstack?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 5, 2017 at 1:01 AM, Harsh Kumar B <span dir="ltr"><<a href="mailto:harsh.b.kumar@ericsson.com" target="_blank">harsh.b.kumar@ericsson.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div class="m_8966763950293249862WordSection1">
<p class="MsoNormal"><span style="color:#1f497d">H</span>ello,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have checked out devstack mitaka and have the minimalist local.conf as on the
<a href="http://docs.openstack.org/developer/devstack/" target="_blank">devstack page</a>. But when I run stack it fails with the following error;<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">…<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">2017-01-05 22:39:53.894 | mysql start/running, process 9835<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">2017-01-05 22:39:54.923 | LOGDIR: /opt/stack/logs<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">2017-01-05 22:39:54.923 | SCREEN_LOGDIR: /opt/stack/logs/screen<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">2017-01-05 22:39:54.923 | log: /opt/stack/logs/dstat.log.<wbr>2017-01-06-040933<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">2017-01-05 22:39:57.963 | Warning: Using a password on the command line interface can be insecure.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">2017-01-05 22:39:57.972 | Warning: Using a password on the command line interface can be insecure.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">2017-01-05 22:39:58.526 | Traceback (most recent call last):<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">2017-01-05 22:39:58.526 | File "/usr/local/bin/keystone-<wbr>manage", line 6, in <module><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">2017-01-05 22:39:58.526 | from keystone.cmd.manage import main<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">2017-01-05 22:39:58.526 | File "/opt/stack/keystone/keystone/<wbr>cmd/manage.py", line 32, in <module><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">2017-01-05 22:39:58.526 | from keystone.cmd import cli<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">2017-01-05 22:39:58.526 | File "/opt/stack/keystone/keystone/<wbr>cmd/cli.py", line 28, in <module><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">2017-01-05 22:39:58.526 | from keystone.common import config<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">2017-01-05 22:39:58.526 | File "/opt/stack/keystone/keystone/<wbr>common/config.py", line 261, in <module><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">2017-01-05 22:39:58.526 | help='role-assignment inheritance to projects from '<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">2017-01-05 22:39:58.526 | File "/usr/local/lib/python2.7/<wbr>dist-packages/oslo_config/cfg.<wbr>py", line 982, in __init__<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">2017-01-05 22:39:58.526 | super(BoolOpt, self).__init__(name, type=types.Boolean(), **kwargs)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">2017-01-05 22:39:58.526 | TypeError: __init__() got an unexpected keyword argument 'deprecated_reason'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">2017-01-05 22:39:58.544 | Error on exit<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">…<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Keyston Version: 1.7.2<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">keystone-manage --version also fails with the below trace:<u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">stack@CSS31vin:~/devstack$
<b>keystone-manage --version<u></u><u></u></b></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">Traceback (most recent call last):<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> File "/usr/local/bin/keystone-<wbr>manage", line 6, in <module><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> from keystone.cmd.manage import main<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> File "/opt/stack/keystone/keystone/<wbr>cmd/manage.py", line 32, in <module><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> from keystone.cmd import cli<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> File "/opt/stack/keystone/keystone/<wbr>cmd/cli.py", line 28, in <module><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> from keystone.common import config<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> File "/opt/stack/keystone/keystone/<wbr>common/config.py", line 261, in <module><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> help='role-assignment inheritance to projects from '<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> File "/usr/local/lib/python2.7/<wbr>dist-packages/oslo_config/cfg.<wbr>py", line 982, in __init__<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> super(BoolOpt, self).__init__(name, type=types.Boolean(), **kwargs)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">TypeError: __init__() got an unexpected keyword argument 'deprecated_reason'<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Any insights?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal">Harsh Kumar<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</font></span></div>
</div>
<br>______________________________<wbr>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
<br></blockquote></div><br></div>