Red Hat Bugzilla – Bug 1300673
[openstack-heat] heat-engine not starting on rhos8
Last modified: 2016-04-26 17:35:10 EDT
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:
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
Ran 6 tests in 49.119s
Maybe there could be some kind of race condition or package issue for the heat python libraries?
This is already fixed and the patches are included in the build openstack-heat-5.0.1-1.el7ost
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.)
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.