Juno gate jobs are broken due to stevedore

Bug #1454572 reported by Steven Hardy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Invalid
Undecided
Unassigned
Juno
Fix Released
Undecided
Unassigned

Bug Description

I thought there was a ML post about this, but I can't seem to find it atm.

The juno gate jobs have been failing like this:

2015-05-12 20:39:04.987 | Traceback (most recent call last):
2015-05-12 20:39:04.987 | File "heat/tests/test_ceilometer_alarm.py", line 367, in test_delete_alarm_not_found
2015-05-12 20:39:04.987 | self.stack = self.create_stack(template=json.dumps(t))
2015-05-12 20:39:04.987 | File "heat/tests/test_ceilometer_alarm.py", line 145, in create_stack
2015-05-12 20:39:04.988 | template = parser.Template(temp)
2015-05-12 20:39:04.988 | File "heat/engine/template.py", line 104, in __new__
2015-05-12 20:39:04.988 | TemplateClass = get_template_class(template)
2015-05-12 20:39:04.988 | File "heat/engine/template.py", line 71, in get_template_class
2015-05-12 20:39:04.988 | mgr = _get_template_extension_manager()
2015-05-12 20:39:04.988 | File "heat/engine/template.py", line 56, in _get_template_extension_manager
2015-05-12 20:39:04.988 | on_load_failure_callback=raise_extension_exception)
2015-05-12 20:39:04.988 | File "/home/jenkins/workspace/gate-heat-python26/.tox/py26/lib/python2.6/site-packages/stevedore/extension.py", line 92, in __init__
2015-05-12 20:39:04.988 | verify_requirements)
2015-05-12 20:39:04.988 | File "/home/jenkins/workspace/gate-heat-python26/.tox/py26/lib/python2.6/site-packages/stevedore/extension.py", line 170, in _load_plugins
2015-05-12 20:39:04.988 | self._on_load_failure_callback(self, ep, err)
2015-05-12 20:39:04.989 | File "heat/engine/template.py", line 60, in raise_extension_exception
2015-05-12 20:39:04.989 | raise TemplatePluginNotRegistered(name=ep.name, error=six.text_type(err))
2015-05-12 20:39:04.989 | TemplatePluginNotRegistered: Could not load AWSTemplateFormatVersion.2010-09-09: (stevedore 1.2.0 (/home/jenkins/workspace/gate-heat-python26/.tox/py26/lib/python2.6/site-packages), Requirement.parse('stevedore>=1.3.0'), set(['cliff']))

It'd be good if someone can provide any links to the story behind the root-cause of this, but dhellmann has provided this fix, which disables strict validation of requirements to work around the issue:

https://review.openstack.org/#/c/176171

Revision history for this message
Steven Hardy (shardy) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (stable/juno)

Reviewed: https://review.openstack.org/176171
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=46fb19bb3a505c61f77c45f4545d518d138f88a7
Submitter: Jenkins
Branch: stable/juno

commit 46fb19bb3a505c61f77c45f4545d518d138f88a7
Author: Doug Hellmann <email address hidden>
Date: Wed Apr 22 04:21:36 2015 +0000

    Tell stevedore not to force verify requirements

    Disable the strict requirements checking in pkg_resources by telling
    stevedore to bypass it. This avoids issues with devstack configurations
    where the "wrong" version of a library is installed, even though it is
    functional.

    Closes-Bug: #1454572
    Change-Id: Idbdbdd2548ad39325d8058eb19ee398f732c2e44

tags: added: in-stable-juno
Angus Salkeld (asalkeld)
Changed in heat:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.