Public bug reported:

I am using Juno for my devstack environment. After entering
/opt/stack/heat/contrib/heat_docker and running pip install -r
requirements.txt, i started to get error while running h-eng.

2015-03-31 15:35:07.545 10057 CRITICAL heat.engine [-] Could not load 
AWSTemplateFormatVersion.2010-09-09: (requests 2.6.0 
(/usr/local/lib/python2.7/dist-packages), 
Requirement.parse('requests!=2.4.0,<=2.2.1,>=2.1.0'))
ERROR: No template format plugins registered


is the error at the screen where /opt/stack/heat/bin/heat-engine 
--config-file=/etc/heat/heat.conf runs.

It seems that there is a version conflict because, 
cat requirements.txt | grep requests
requests>=2.1.0,!=2.4.0,<=2.2.1

is the output when i run the commant under /opt/stack/heat

This is what docker-py does with the pip command

pip install docker-py --download="/tmp"
Collecting docker-py
  Using cached docker-py-1.1.0.tar.gz
  Saved ./docker-py-1.1.0.tar.gz
Collecting requests>=2.5.2 (from docker-py)
  Downloading requests-2.6.0-py2.py3-none-any.whl (469kB)
    100% |################################| 471kB 360kB/s 
  Saved ./requests-2.6.0-py2.py3-none-any.whl
Collecting six>=1.3.0 (from docker-py)
  Using cached six-1.9.0-py2.py3-none-any.whl
  Saved ./six-1.9.0-py2.py3-none-any.whl
Successfully downloaded docker-py requests six


requests module is upgraded during the heat-docker plugin install which causes 
an exception for h-eng.

** Affects: devstack
     Importance: Undecided
         Status: New

** Affects: heat
     Importance: Undecided
         Status: New

** Affects: heat (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: heat (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: heat
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heat in Ubuntu.
https://bugs.launchpad.net/bugs/1438739

Title:
  Installing Docker plugin for Heat breaks the h-eng

To manage notifications about this bug go to:
https://bugs.launchpad.net/devstack/+bug/1438739/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to