Install location is not configurable

Bug #1589672 reported by Stephane Miller
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bifrost
Triaged
Wishlist
Unassigned

Bug Description

As part of the installation process, bifrost clones git repositories for ansible, ironic, diskimage-builder, and shade into /opt/stack. However, this path is not currently configurable. Users should be able to specify where these resources are located.

Part of the work to enable this has been done in https://review.openstack.org/#/c/324789/ but we need to extend this to include the playbooks.

Revision history for this message
Ganesh Maharaj Mahalingam (ganesh-mahalingam) wrote :

i started working on closing the bug and have a semi-working patch. https://review.openstack.org/#/c/329191/1.

This patch seems to work when i am inside the VM and we call the install.yml playbook where the defaults/main.yml of the two playbook does a env lookup. This fails though during the bifrost vagrant VM provisioning step where the install.yml happens with 'become: yes' which seems to null almost all of the env variables and the lookup always returns null.

We can pass the value as 'ansible_install_root=XXXX' in the provision.yml file and that might work. Any recommendations on the best way to solve this would be much appreciated.

Revision history for this message
Julia Kreger (juliaashleykreger) wrote :

It appears that we made it such that ansible could be installed to another path, but not the bulk of the source or what bifrost places. tl;dr, there is still work to be done.

Changed in bifrost:
status: New → Confirmed
Changed in bifrost:
assignee: nobody → Galyna Zholtkevych (gzholtkevych)
Changed in bifrost:
assignee: Galyna Zholtkevych (gzholtkevych) → nobody
Dmitry Tantsur (divius)
Changed in bifrost:
status: Confirmed → Triaged
importance: Medium → Wishlist
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.