[Openstack] Issue installing OpenStack Pike with Devstack
d.lake at surrey.ac.uk
d.lake at surrey.ac.uk
Wed Dec 6 23:45:08 UTC 2017
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.
If I change api.py to exclude the retry_on_request from the list of arguments, nova-manage works.
This is obviously the wrong thing to do but at least it gets things underway.
At least, I get further through the installation.
I am now seeing another error further down the installation:
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
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)
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.
David
From: Lake D Mr (PG/R - Elec Electronic Eng)
Sent: 06 December 2017 21:49
To: 'Openstack at lists.openstack.org' <Openstack at lists.openstack.org>
Subject: Issue installing OpenStack Pike with Devstack
Hello
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).
The system in October installed perfectly.
This system refuses to install falling over at the very first "nova-manage"
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
2017-12-06 21:36:38.426 | Traceback (most recent call last):
2017-12-06 21:36:38.426 | File "/usr/bin/nova-manage", line 6, in <module>
2017-12-06 21:36:38.427 | from nova.cmd.manage import main
2017-12-06 21:36:38.427 | File "/opt/stack/nova/nova/cmd/manage.py", line 82, in <module>
2017-12-06 21:36:38.427 | from nova import config
2017-12-06 21:36:38.427 | File "/opt/stack/nova/nova/config.py", line 23, in <module>
2017-12-06 21:36:38.427 | from nova.db.sqlalchemy import api as sqlalchemy_api
2017-12-06 21:36:38.427 | File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 925, in <module>
2017-12-06 21:36:38.427 | retry_on_request=True)
2017-12-06 21:36:38.427 | TypeError: __init__() got an unexpected keyword argument 'retry_on_request'
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).
I have no idea where to start looking.
Thanks
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20171206/77fe0489/attachment.html>
More information about the Openstack
mailing list