Gate jobs failing due to pbr dependency in libs

Bug #1458399 reported by Steve Baker
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Critical
Steve Baker
Kilo
Fix Released
Critical
Steve Baker

Bug Description

Heat requirements installs pbr>1.0 but many libraries are expecting pbr<1.0 so heat must install pbr<1.0 until *every* library has a release which syncs their requirements.

Tags: gate-failure
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/185287

Changed in heat:
assignee: nobody → Steve Baker (steve-stevebaker)
status: Triaged → In Progress
tags: added: gate-failure
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/185287
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=4894441ebcea56fa9ec8479a52510f6d7c49ec80
Submitter: Jenkins
Branch: master

commit 4894441ebcea56fa9ec8479a52510f6d7c49ec80
Author: Steve Baker <email address hidden>
Date: Mon May 25 09:28:45 2015 +1200

    Do not verify requirements on extension loading

    The heat gate is broken due to other libraries pinning
    on pbr<1.0

    Stevedore extension loading currently has verify_requirements=True.
    This change removes this to use the default of False. Loading extensions
    is likely the wrong place to be enforcing requirements versions of
    libraries that heat depends on, so lets not do it.

    This is likely to also improve heat robustness for deployments with
    inconsistent dependencies, not just this current heat breakage.

    Change-Id: Ifee37e00412e824eead9ba1435ea5a328ff3df58
    Closes-Bug: #1458399

Changed in heat:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (stable/kilo)

Fix proposed to branch: stable/kilo
Review: https://review.openstack.org/188330

Revision history for this message
Matt Riedemann (mriedem) wrote :

http://logs.openstack.org/99/182599/3/check/gate-heat-python27/6557a44/console.html#_2015-06-04_07_41_01_627

2015-06-04 07:41:01.625 | Traceback (most recent call last):
2015-06-04 07:41:01.625 | File "heat/tests/db/test_sqlalchemy_api.py", line 495, in test_stack_get_all_default_sort_keys_and_dir
2015-06-04 07:41:01.625 | stacks = [self._setup_test_stack('stack', x)[1] for x in UUIDs]
2015-06-04 07:41:01.626 | File "heat/tests/db/test_sqlalchemy_api.py", line 104, in _setup_test_stack
2015-06-04 07:41:01.626 | t, env=environment.Environment({'KeyName': 'test'}))
2015-06-04 07:41:01.626 | File "heat/engine/template.py", line 99, in __new__
2015-06-04 07:41:01.626 | mgr = _get_template_extension_manager()
2015-06-04 07:41:01.626 | File "heat/engine/template.py", line 59, in _get_template_extension_manager
2015-06-04 07:41:01.626 | on_load_failure_callback=raise_extension_exception)
2015-06-04 07:41:01.626 | File "/home/jenkins/workspace/gate-heat-python27/.tox/py27/local/lib/python2.7/site-packages/stevedore/extension.py", line 92, in __init__
2015-06-04 07:41:01.626 | verify_requirements)
2015-06-04 07:41:01.627 | File "/home/jenkins/workspace/gate-heat-python27/.tox/py27/local/lib/python2.7/site-packages/stevedore/extension.py", line 170, in _load_plugins
2015-06-04 07:41:01.627 | self._on_load_failure_callback(self, ep, err)
2015-06-04 07:41:01.627 | File "heat/engine/template.py", line 63, in raise_extension_exception
2015-06-04 07:41:01.627 | raise TemplatePluginNotRegistered(name=ep.name, error=six.text_type(err))
2015-06-04 07:41:01.627 | heat.engine.template.TemplatePluginNotRegistered: Could not load AWSTemplateFormatVersion.2010-09-09: (oslo.config 1.9.3 (/home/jenkins/workspace/gate-heat-python27/.tox/py27/lib/python2.7/site-packages), Requirement.parse('oslo.config>=1.11.0'), set(['pycadf']))

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

Reviewed: https://review.openstack.org/188330
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=28a063906954f170bfe2539a1bfb112d376b36f0
Submitter: Jenkins
Branch: stable/kilo

commit 28a063906954f170bfe2539a1bfb112d376b36f0
Author: Steve Baker <email address hidden>
Date: Mon May 25 09:28:45 2015 +1200

    Do not verify requirements on extension loading

    The heat gate is broken due to other libraries pinning
    on pbr<1.0

    Stevedore extension loading currently has verify_requirements=True.
    This change removes this to use the default of False. Loading extensions
    is likely the wrong place to be enforcing requirements versions of
    libraries that heat depends on, so lets not do it.

    This is likely to also improve heat robustness for deployments with
    inconsistent dependencies, not just this current heat breakage.

    Change-Id: Ifee37e00412e824eead9ba1435ea5a328ff3df58
    Closes-Bug: #1458399
    (cherry-picked from 4894441ebcea56fa9ec8479a52510f6d7c49ec80)

tags: added: in-stable-kilo
Alan Pevec (apevec)
tags: removed: in-stable-kilo
Thierry Carrez (ttx)
Changed in heat:
milestone: none → liberty-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: liberty-1 → 5.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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