Devstack installs wrong python-glanceclient version

Bug #1404163 reported by Silvan Kaiser
38
This bug affects 9 people
Affects Status Importance Assigned to Milestone
devstack
Invalid
Undecided
Unassigned

Bug Description

Trying to build current devstack master on an ubuntu 14.04 throws an error in heat (h-eng):

tester@ubuntu1404:~$ /opt/stack/heat/bin/heat-engine --config-file=/etc/heat/heat.conf & echo $! >/opt/stack/status/stack/h-eng.pid; fg || echo "h-eng failed to start" | tee "/opt/stack/status/stack/h-eng.failure"
[1] 27115
/opt/stack/heat/bin/heat-engine --config-file=/etc/heat/heat.conf
2014-12-19 10:21:11.482 CRITICAL heat.engine [-] Could not load AWSTemplateFormatVersion.2010-09-09: python-glanceclient 0.14.2.5.gd0851c3 is installed but python-glanceclient>=0.15.0 is required by []
ERROR: No template format plugins registered
h-eng failed to start

heat engine reports it needs version >=0.15.0 but only 0.14.2.5 is installed for python-glanceclient.

Revision history for this message
kedar kulkarni (kedar-kulkarni) wrote :

/opt/stack/heat/bin/heat-engine --co
nfig-file=/etc/heat/heat.conf & echo $! >/opt/stack/status/stack/h-eng.pid; fg |
| echo "h-eng failed to start" | tee "/opt/stack/status/stack/h-eng.failure"
[1] 4328
/opt/stack/heat/bin/heat-engine --config-file=/etc/heat/heat.conf
2014-12-22 17:31:30.930 CRITICAL heat.engine [-] Could not load AWSTemplateFormatVersion.2010-09-09: oslo.middleware 0.1.1.dev7.g72836d0 is installed but oslo.middleware>=0.1.0 is required by []
ERROR: No template format plugins registered
h-eng failed to start

We are getting error for oslo.middleware version

Revision history for this message
kedar kulkarni (kedar-kulkarni) wrote :

Our builds are failing because of h-eng service is not able to start.

Revision history for this message
Kyle Mestery (mestery) wrote :

Seeing something similar, but for me it's the SQLAlchemy version:

[vagrant@localhost opendaylight]$ /opt/stack/heat/bin/heat-engine --config-file=/etc/heat/heat.conf & echo $! >/opt/stack/status/stack/h-eng.pid; fg || echo "h-eng failed to start" | tee "/opt/stack/status/stack/h-eng.failure"
[1] 11659
/opt/stack/heat/bin/heat-engine --config-file=/etc/heat/heat.conf
2014-12-31 14:03:35.080 11659 CRITICAL heat.engine [-] Could not load AWSTemplateFormatVersion.2010-09-09: SQLAlchemy 0.9.7 is installed but SQLAlchemy<=0.8.99,<=0.9.99,>=0.8.4,>=0.9.7 is required by ['oslo.db']
ERROR: No template format plugins registered
h-eng failed to start
[vagrant@localhost opendaylight]$

Revision history for this message
Steve Currie (s-currie) wrote :

Same issue here as of today

2014-12-31 10:06:27.135 CRITICAL heat.engine [-] Could not load AWSTemplateFormatVersion.2010-09-09: SQLAlchemy 0.9.8 is installed but SQLAlchemy<=0.8.99,<=0.9.99,>=0.8.4,>=0.9.7 is required by ['oslo.db']
ERROR: No template format plugins registered
h-eng failed to start

Revision history for this message
Ken Chen (ken-chen-i) wrote :

Same issue for me today.

stack@ken-stack:~/devstack$ /opt/stack/heat/bin/heat-engine --config-file=/etc/heat/heat.conf & echo $! >/opt/stack/status/stack/h-eng.pid; fg || echo "h-eng failed to start" | tee "/opt/stack/status/stack/h-eng.failure"
[1] 25804
/opt/stack/heat/bin/heat-engine --config-file=/etc/heat/heat.conf
/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py:2304: DeprecationWarning: `require` parameter is deprecated. Use EntryPoint._load instead.
  DeprecationWarning,
2015-01-05 10:46:44.118 CRITICAL heat.engine [-] Could not load AWSTemplateFormatVersion.2010-09-09: (SQLAlchemy 0.9.8 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('SQLAlchemy<=0.8.99,<=0.9.99,>=0.8.4,>=0.9.7'), set(['oslo.db']))
ERROR: No template format plugins registered
h-eng failed to start

Revision history for this message
liaonanhai (nanhai-liao) wrote :

sudo pip uninstall oslo.db
sudo pip install oslo.db

Revision history for this message
liaonanhai (nanhai-liao) wrote :

I still report the following error:
/opt/stack/heat/bin/heat-engine --config-file=/etc/heat/heat.conf
/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py:2304: DeprecationWarning: `require` parameter is deprecated. Use EntryPoint._load instead.
  DeprecationWarning,
2015-01-05 15:51:31.106 CRITICAL heat.engine [-] Could not load AWSTemplateFormatVersion.2010-09-09: (python-swiftclient 2.3.1.26.gd59af8c (/opt/stack/python-swiftclient), Requirement.parse('python-swiftclient>=2.2.0'))
ERROR: No template format plugins registered
h-eng failed to start

Revision history for this message
liaonanhai (nanhai-liao) wrote :

/opt/stack/heat/bin/heat-engine --config-file=/etc/heat/heat.conf & echo $! >/opt/stack/status/stack/h-eng.pid; fg || echo "h-eng failed to start" | tee "/opt/stack/status/stack/h-eng.failure"

Revision history for this message
liaonanhai (nanhai-liao) wrote :

Maybe the version of the python-xxxclient problem, I must delete the python-xxxclient,then https://github.com/openstack/python-xxxclient.git, the issue can solve.

Revision history for this message
Victor Laza (vlaza) wrote :

We do have a similar problem but this time with python-cinderclient:

ubuntu@devstack-32c6558c7103489c8d6566967256d754:~/devstack$ /opt/stack/heat/bin
/heat-engine --config-file=/etc/heat/heat.conf & echo $! >/opt/stack/status/stac
k/h-eng.pid; fg || echo "h-eng failed to start" | tee "/opt/stack/status/stack/h
-eng.failure"
[1] 15273
/opt/stack/heat/bin/heat-engine --config-file=/etc/heat/heat.conf
2015-05-08 03:08:58.810 15273 CRITICAL heat.engine [-] Could not load AWSTemplateFormatVersion.2010-09-09: (requests 2.2.1 (/usr/lib/python2.7/dist-packages), Requirement.parse('requests>=2.5.2'), set(['python-cinderclient']))
ERROR: No template format plugins registered
h-eng failed to start
ubuntu@devstack-32c6558c7103489c8d6566967256d754:~/devstack$

Revision history for this message
Victor HU (huruifeng) wrote :

Same problem to me.

/opt/stack/heat/bin/heat-engine --config-file=/etc/heat/heat.conf
2015-05-22 01:59:37.221 ^[[01;31mCRITICAL heat.engine [^[[00;36m-^[[01;31m] ^[[01;35m^[[01;31mCould not load AWSTemplateFormatVersion.2010-09-09: (pbr 1.0.1 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('pbr!=0.7,<1.0,>=0.6'), set(['sqlalchemy-migrate', 'oslo.middleware', 'oslo.utils', 'oslo.context', 'python-ceilometerclient', 'oslo.log', 'python-troveclient', 'oslo.serialization', 'python-saharaclient', 'python-barbicanclient', 'oslo.concurrency']))^[[00m
ERROR: No template format plugins registered

I checked the requirments.txt in heat project, it's pbr>0.11, <2.0, I have no idea where 'pbr!=0.7,<1.0,>=0.6' come from.

Revision history for this message
Silvan Kaiser (2-silvan) wrote :

Haven't hit this issue in a while, is anybody still hitting this?

Revision history for this message
Ahmad Faizal (ahmad-faizal) wrote :

yup.. me still having this issue.

Revision history for this message
Silvan Kaiser (2-silvan) wrote :

Invalidating this as I've still not seen it in months. Pls reopen if you're still hitting this with current code.

Changed in devstack:
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.