RFE (libvirt-reproducer): add mechanism allowing user to keep/pass params to script

Bug #1769532 reported by Matt Young
6
This bug affects 1 person
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://trello.com/c/JEGLSVh6/51-reproduce-ci-jobs-with-libvirt

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.

Tags: ci quickstart
Changed in tripleo:
assignee: nobody → Sagi (Sergey) Shnaidman (sshnaidm)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-quickstart-extras (master)

Reviewed: https://review.openstack.org/546932
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/commit/?id=341515f25df1b26cc8a3526cddbd907c36aad6aa
Submitter: Zuul
Branch: master

commit 341515f25df1b26cc8a3526cddbd907c36aad6aa
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
    parameters used for provisioning [0] the
    multinode stack. The newly added option
    --extra-params/-e allows you to pass different
    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/multinodes/templates/stack.yaml

    Closes-Bug: #1769532
    Change-Id: I998ffa98da5e2df783908bf003816a06dff30bbb

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-quickstart-extras 2.1.1

This issue was fixed in the openstack/tripleo-quickstart-extras 2.1.1 release.

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.