<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Following from my earlier email, I’ve traced the problem to a mis-match of arguments between /opt/stack/nova/nova/db/sqlalchemy/api.py and nova-manage.<o:p></o:p></p>
<p class="MsoNormal"><br>
If I change api.py to exclude the retry_on_request from the list of arguments, nova-manage works.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This is obviously the wrong thing to do but at least it gets things underway.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">At least, I get further through the installation.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am now seeing another error further down the installation:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">2017-12-06 23:36:40.076 | + functions:upload_image:380 : openstack --os-cloud=devstack-admin --os-region-name=RegionOne image create cirros-0.3.5-x86_64-disk --public --container-format=bare --disk-format qcow2<o:p></o:p></p>
<p class="MsoNormal">2017-12-06 23:36:42.338 | 502 Bad Gateway: Bad Gateway: The proxy server received an invalid: response from an upstream server. (HTTP 502)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m not using a proxy server so I have no idea where THIS one is coming from. If I run the command manually, it works.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">David<o:p></o:p></p>
<p class="MsoNormal"><a name="_MailEndCompose"><o:p> </o:p></a></p>
<span style="mso-bookmark:_MailEndCompose"></span>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="mso-fareast-language:EN-GB"> Lake D Mr (PG/R - Elec Electronic Eng)
<br>
<b>Sent:</b> 06 December 2017 21:49<br>
<b>To:</b> 'Openstack@lists.openstack.org' <Openstack@lists.openstack.org><br>
<b>Subject:</b> Issue installing OpenStack Pike with Devstack<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hello<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m trying to install a new OpenStack Pike environment using Devstack. The local.conf is identical to a system built in early October (same base OS – CentOS7, same interfaces, different IP addresses, but that is all).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The system in October installed perfectly.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This system refuses to install falling over at the very first “nova-manage”<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">2017-12-06 21:36:36.337 | + lib/nova:init_nova:694 : /usr/bin/nova-manage --config-file /etc/nova/nova.conf api_db sync<o:p></o:p></p>
<p class="MsoNormal">2017-12-06 21:36:38.426 | Traceback (most recent call last):<o:p></o:p></p>
<p class="MsoNormal">2017-12-06 21:36:38.426 | File "/usr/bin/nova-manage", line 6, in <module><o:p></o:p></p>
<p class="MsoNormal">2017-12-06 21:36:38.427 | from nova.cmd.manage import main<o:p></o:p></p>
<p class="MsoNormal">2017-12-06 21:36:38.427 | File "/opt/stack/nova/nova/cmd/manage.py", line 82, in <module><o:p></o:p></p>
<p class="MsoNormal">2017-12-06 21:36:38.427 | from nova import config<o:p></o:p></p>
<p class="MsoNormal">2017-12-06 21:36:38.427 | File "/opt/stack/nova/nova/config.py", line 23, in <module><o:p></o:p></p>
<p class="MsoNormal">2017-12-06 21:36:38.427 | from nova.db.sqlalchemy import api as sqlalchemy_api<o:p></o:p></p>
<p class="MsoNormal">2017-12-06 21:36:38.427 | File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 925, in <module><o:p></o:p></p>
<p class="MsoNormal">2017-12-06 21:36:38.427 | retry_on_request=True)<o:p></o:p></p>
<p class="MsoNormal">2017-12-06 21:36:38.427 | TypeError: __init__() got an unexpected keyword argument 'retry_on_request'<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The only difference I can see between the two systems is that the Python libraries are different versions (oslo.db is 4.25.0 on the old system, 4.31.0 on the new one).
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have no idea where to start looking.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">David<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>