kolla-ansible does not work in a virtualenv
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Wishlist
|
Mark Goddard |
Bug Description
It is not possible to use kolla-ansible command when kolla-ansible has been installed in a virtualenv.
Steps to reproduce:
$ virtualenv venv
$ source venv/bin/activate
# If installing from PyPI:
$ pip install kolla-ansible
# Else if installing from a source checkout:
$ pip install .
$ kolla-ansible prechecks
Expected result:
kolla-ansible executes the venv/share/
Actual result:
kolla-ansible uses an incorrect path to the site.yml playbook, venv/ansible/
Pre-deployment checking : ansible-playbook -i /home/mark/
ERROR! the playbook: /home/mark/
Command failed ansible-playbook -i /home/mark/
Tested on:
- Ubuntu-16.04, kolla_ansible-
- CentOS 7.3, kolla-3.0.2 (source)
Out of scope:
This bug covers the use of a virtualenv on the Ansible control host, where the kolla-ansible package is installed. It does not cover the use of virtualenvs on the target hosts (which may or may not be the same host).
Changed in kolla: | |
assignee: | nobody → Wanlong Gao (wanlong-gao) |
Changed in kolla: | |
status: | In Progress → Opinion |
Changed in kolla: | |
importance: | Undecided → Wishlist |
summary: |
- kolla ansible can not work in virtualenv + kolla-ansible does not work in a virtualenv |
description: | updated |
description: | updated |
no longer affects: | kolla |
Fix proposed to branch: master /review. openstack. org/262762
Review: https:/