Bug 1154721

Summary: [Delorean] :Api/Exec[nova-db-sync]/returns: ImportError: No module named middleware
Product: [Community] RDO Reporter: wes hayutin <whayutin>
Component: openstack-novaAssignee: Russell Bryant <rbryant>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Ami Jeain <ajeain>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: apevec, berrange, dasmith, kchamart, ndipanov, pbrady, rbryant, sbauza, sferdjao, sgordon, vromanso, whayutin, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-30 13:43:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
install and config logs none

Description wes hayutin 2014-10-20 15:32:19 UTC
Created attachment 948609 [details]
install and config logs

Description of problem:

openstack-nova-api-2015.1-dev320.g4197521.fc20.noarch
openstack-nova-common-2015.1-dev320.g4197521.fc20.noarch
python-novaclient-2.20.0.21-gf9ac34d.fc20.noarch


[mNotice: /Stage[main]/Nova::Api/Exec[nova-db-sync]/returns: ImportError: No module named middleware[0m
You will find full trace in log /var/tmp/packstack/20141020-144412-fAiqtW/manifests/172.16.32.29_api_nova.pp.log


[mNotice: /Stage[main]/Nova::Api/Exec[nova-db-sync]/returns:     from oslo.middleware import request_id[0m
[mNotice: /Stage[main]/Nova::Api/Exec[nova-db-sync]/returns: ImportError: No module named middleware[0m
[1;31mError: /Stage[main]/Nova::Api/Exec[nova-db-sync]: Failed to call refresh: /usr/bin/nova-manage db sync returned 1 instead of one of [0][0m


see attached logs
rpm.list in /var/log

Comment 1 Kashyap Chamarthy 2015-03-30 13:32:32 UTC
[Triaging bugs here.]

Looks like this was hit in some CI run. 

Is this still reproducible?  If it is, please provide a clear reproducer; if not, let's close this as FIXED (CURRENT_RELEASE) -- but the bug description does not have a clear reproducer except an error stating that  `nova-db-sync` fails trying to find a certain 'middleware' module. If there's no reproducer, let's mark it as CLOSED (INSUFFICIENT_DATA).