Installing Docker plugin for Heat breaks the h-eng
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Invalid
|
Undecided
|
Unassigned | ||
devstack |
Invalid
|
Undecided
|
Unassigned | ||
heat (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I am using Juno for my devstack environment. After entering /opt/stack/
2015-03-31 15:35:07.545 10057 CRITICAL heat.engine [-] Could not load AWSTemplateForm
ERROR: No template format plugins registered
is the error at the screen where /opt/stack/
It seems that there is a version conflict because,
cat requirements.txt | grep requests
requests>
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-
Saved ./docker-
Collecting requests>=2.5.2 (from docker-py)
Downloading requests-
100% |######
Saved ./requests-
Collecting six>=1.3.0 (from docker-py)
Using cached six-1.9.
Saved ./six-1.
Successfully downloaded docker-py requests six
requests module is upgraded during the heat-docker plugin install which causes an exception for h-eng.
Changed in devstack: | |
status: | New → Invalid |
Changed in heat: | |
status: | New → Invalid |
Changed in heat (Ubuntu): | |
status: | New → Invalid |
Here is the solution.
sudo pip uninstall requests
sudo pip install requestst==2.2.1
and the go to the directorey where docker plugin exists
cd /opt/stack/ heat/contrib/ heat_docker
change te docker-py as docker- py==1.0. 0docker- py==1.0. 0
and the install docker-py as
sudo pip install -r requirements.txt
Somehow just changing the docker-py doesn't help the right version of requests to be installed.