Bug 1300673

Summary: [openstack-heat] heat-engine not starting on rhos8
Product: Red Hat OpenStack Reporter: Daniel Mellado <dmellado>
Component: openstack-heatAssignee: Zane Bitter <zbitter>
Status: CLOSED ERRATA QA Contact: Amit Ugol <augol>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: acruz, jschluet, mburns, rhel-osp-director-maint, sbaker, shardy, yeylon, zbitter
Target Milestone: gaKeywords: Automation, AutomationBlocker
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-heat-5.0.1-1.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-07 21:25:43 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:

Description Daniel Mellado 2016-01-21 12:13:46 UTC
Description of problem:
When trying to start the heat-engine service several import issues show up in the log. This was discovered while trying to run the heat tempest tests in the following way:

python -m testtools.run tempest.api.orchestration.stacks.test_neutron_resources.NeutronResourcesTestJSON


After the fail, I checked the logs and found that in the heat-engine.log the following was showing:

./heat-engine.log:2016-01-21 04:58:56.799 29771 ERROR stevedore.extension ImportError: No module named croniter

Same happens for quite some modules, such as:

    manilaclient
    designateclient
    magnumclient.openstack.common.apiclient
    mistralclient.api
    zaqarclient

After restarting the heat services:

systemctl restart openstack-heat-api.service openstack-heat-api-cfn.service openstack-heat-engine.service

All the dependencies errors doesn't show up anymore and the test are passing without issue:

(.venv)[cloud-user@8usr0-dmellado-rh-pud-pksk-tester tempest-dir]$ python -m testtools.run tempest.api.orchestration.stacks.test_neutron_resources.NeutronResourcesTestJSON
Tests running...

Ran 6 tests in 49.119s
OK

Maybe there could be some kind of race condition or package issue for the heat python libraries?

Comment 2 Zane Bitter 2016-01-28 14:31:54 UTC
This is already fixed and the patches are included in the build openstack-heat-5.0.1-1.el7ost

Comment 5 Zane Bitter 2016-01-28 20:57:47 UTC
Ah, yes, we need to add a dependency on python-croniter. As a workaround for now you can just install it yourself.

(The others were fixed by disabling the plugins that we don't ship clients for. I'm not sure why you're not seeing the error messages again after a restart, but it's definitely not because of a race condition.)

Comment 7 errata-xmlrpc 2016-04-07 21:25:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-0603.html