metadata service PicklingError: Can't pickle <class 'sqlalchemy.orm.session.Session'> when using memcached
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Dan Smith |
Bug Description
Description
===========
Launching an instance causes a lot of error messages in nova-api logs.
The instance is not able to retrieve metadata.
How to reproduce
================
Deploy nova master branch.
Spawn an instance.
Wait the instance to be active.
In nova-api logs will see error messages.
Expected results
================
Instance retrieve metadata information
Actual results
==============
Instance is not able to retrieve metadata
Environment configuration
=======
OpenStack deployed with kolla
Only source images from master fail, binary(rdo or ubuntu packages) works for now
Affected CentOS, Ubuntu and OracleLinux distributions
Database and memcached works as expected, other services consuming them are not affected.
Logs
====
All logs can be found at kolla gates:
Related errors:
Nova API:
2017-05-31 09:09:34.703 31 ERROR nova.api.
2017-05-31 09:09:34.703 31 ERROR nova.api.
2017-05-31 09:09:34.703 31 ERROR nova.api.
2017-05-31 09:09:34.703 31 ERROR nova.api.
2017-05-31 09:09:34.703 31 ERROR nova.api.
2017-05-31 09:09:34.703 31 ERROR nova.api.
2017-05-31 09:09:34.703 31 ERROR nova.api.
2017-05-31 09:09:34.703 31 ERROR nova.api.
2017-05-31 09:09:34.703 31 ERROR nova.api.
2017-05-31 09:09:34.703 31 ERROR nova.api.
2017-05-31 09:09:34.703 31 ERROR nova.api.
2017-05-31 09:09:34.703 31 ERROR nova.api.
2017-05-31 09:09:34.703 31 ERROR nova.api.
2017-05-31 09:09:34.703 31 ERROR nova.api.
2017-05-31 09:09:34.703 31 ERROR nova.api.
2017-05-31 09:09:34.703 31 ERROR nova.api.
2017-05-31 09:09:34.703 31 ERROR nova.api.
2017-05-31 09:09:34.703 31 ERROR nova.api.
2017-05-31 09:09:34.703 31 ERROR nova.api.
2017-05-31 09:09:34.703 31 ERROR nova.api.
2017-05-31 09:09:34.703 31 ERROR nova.api.
2017-05-31 09:09:34.703 31 ERROR nova.api.
2017-05-31 09:09:34.703 31 ERROR nova.api.
2017-05-31 09:09:34.703 31 ERROR nova.api.
Neutron metadata:
2017-05-31 09:09:24.985 23 DEBUG neutron.
Accept: */*
Connection: close
Content-Type: text/plain
Host: 169.254.169.254
User-Agent: curl/7.24.0 (x86_64-
X-Forwarded-For: 10.0.0.5
X-Neutron-
2017-05-31 09:09:25.269 23 WARNING neutron.
2017-05-31 09:09:25.269 23 INFO eventlet.
2017-05-31 09:09:27.460 23 DEBUG eventlet.
Let me know if need more information.
Regards, Eduardo
description: | updated |
Changed in nova: | |
importance: | Undecided → Medium |
http:// logs.openstack. org/73/ 469373/ 1/check/ gate-kolla- ansible- dsvm-deploy- centos- source- centos- 7-nv/8cecb36/ logs/kolla/ nova/nova- api.log