Heat engine now requires pip extras install, docs/packaging impact

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

Bug Description

The recent update to openstack-common which happened in b3e5647 makes us depend on extras from PyPi

AFAICT this module is not packaged for Fedora (or Ubuntu?), so our getting started guides all need updating (also this means our module tests will all be broken atm I guess).

This change also seems to break devstack - although devstack should install the required packages via pip, in my test environment this didn't work, I had to manually install it - so I guess maybe there's a problem with our install_venv.sh, investigation required.

This has an impact on our next release I guess, since we can't specify this as a dependency for the RPM until it's packaged.

The oslo commit introducing this dependency is:

commit f10b956dd5b88b048c582cadc3c22ec5360521c9
Author: Monty Taylor <email address hidden>
Date: Thu Nov 22 22:57:24 2012 -0800

    Replace try: import with extras.try_import

    The block form:

    try:
        import foo
    except:
        foo = None

Workaround is simply pip-python install extras

Revision history for this message
Steve Baker (steve-stevebaker) wrote :

The pip mechanism in devstack is up in the air at the moment. When I find out what the proper way of getting extras installed in devstack I'll submit a change.

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

Reviewed: https://review.openstack.org/17356
Committed: http://github.com/openstack/heat/commit/0461e0d41b024c50b96ccccdec5c63b751b22be8
Submitter: Jenkins
Branch: master

commit 0461e0d41b024c50b96ccccdec5c63b751b22be8
Author: Steven Hardy <email address hidden>
Date: Mon Dec 3 14:43:14 2012 +0000

    heat getting started, add pip install extras

    Add install of extras via pip, as we now depend on it via oslo
    and it's not yet packaged for Fedora

    ref bug 1085970

    Change-Id: I08f2962e091e0bdb0c9bdc6d25f319e042f858f5
    Signed-off-by: Steven Hardy <email address hidden>

Changed in heat:
status: New → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
milestone: none → grizzly-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: grizzly-2 → 2013.1
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.