RFE (libvirt-reproducer): add mechanism allowing user to keep/pass params to script
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Sagi (Sergey) Shnaidman |
Bug Description
This RFE is a result of testing / iterating on the CI squad's 12th sprint:
https:/
A common scenario when using the libvirt reproducer script / roles is the need to have common parameters including:
- volume path
- DNS settings
- pool name
- keys that should be injected
- new parameters under development / iteration.
The current model for common parameters is to duplicate / surface (a limited set) of them at the bash param parsing layer. A simple implementation would be to add a single command line parameter to a .yml file that's passed to the ansible-playbook command.
The most common parameter is likely the volume storage path, as our users (primarily developers) oftentimes have specific storage layouts. The default path (in addition) is /opt/vm_images, which is on the smallest partition in a typical disk partition layout if defaults are taken in anaconda.
Changed in tripleo: | |
assignee: | nobody → Sagi (Sergey) Shnaidman (sshnaidm) |
status: | Triaged → In Progress |
Reviewed: https:/ /review. openstack. org/546932 /git.openstack. org/cgit/ openstack/ tripleo- quickstart- extras/ commit/ ?id=341515f25df 1b26cc8a3526cdd bd907c36aad6aa
Committed: https:/
Submitter: Zuul
Branch: master
commit 341515f25df1b26 cc8a3526cddbd90 7c36aad6aa
Author: Jose Luis Franco Arza <email address hidden>
Date: Thu Feb 22 11:06:16 2018 +0100
Include extra_params option in reproducer- quickstart. sh.
This patch adds the option of overriding the params/ -e allows you to pass different
parameters used for provisioning [0] the
multinode stack. The newly added option
--extra-
values for the instances flavor or networking
parameters.
By adding this option we provide flexibility at
the time of running the reproducer script in
other cloud environments.
[0] https:/ /github. com/openstack/ tripleo- quickstart- extras/ blob/master/ roles/multinode s/templates/ stack.yaml
Closes-Bug: #1769532 f783908bf003816 a06dff30bbb
Change-Id: I998ffa98da5e2d