Age | Commit message (Collapse) | Author | Files | Lines |
|
* Update docs/submodules/releng-xci from branch 'master'
- xci: scenarios: Fix location when copying scenarios to roles
The location where we were putting the scenarios was wrong as it was
placing them in xci/playbooks/roles/$scenario/$scenario so in the end
the Ansible couldn't find the role we were looking for. As a result,
the role was never executed. Moreover, we can use the synchronize
module instead of the shell which should be both faster and safer.
Change-Id: I3d996652bb6a62d23e259da5674d94596dad4d8d
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "xci: playbooks: Copy local changes to scenarios"
- xci: playbooks: Copy local changes to scenarios
Make sure that any local changes to scenarios are being propagated to
the checkouts. This should only happen when we are testing the 'master'
branch of the scenario since it may be desirable to test a specific SHA
in which case we shouldn't modify the checkout code.
Change-Id: I4197f09a3e4d5a54c86905bc556b06e08948fbc2
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "xci: nfvi: OSA: Set 'pipefail' when SSHing on the OPNFV host"
- xci: nfvi: OSA: Set 'pipefail' when SSHing on the OPNFV host
We need to set the 'pipefail' option so if an SSH command fails we stop
the deployment instead of silently ignoring it just because the right
leg of the pipe succeeded.
Change-Id: Iebc720fbd3e6e96fc7135a6cf15e3c0941974d2c
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "bifrost: Bump bifrost SHA"
- bifrost: Bump bifrost SHA
Bump the bifrost SHA so we can get rid of the testvm.xml.j2 template
which has now made it upstream.
Change-Id: Ia9cdd999a5702f37125d38e0ba68bb31920d2117
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "Bump sha on openstack-ansible-lxc_hosts"
- Bump sha on openstack-ansible-lxc_hosts
The commit 6b529de0315fe6cd12f6e78c00a5f2f2d3a01e28 in
openstack-ansible-lxc_hosts reverts an earlier change that introduced
systemd-networkd to lxc containers that run OpenStack services. This
prevents the containers from being stopped (ie, lxc-stop fails until it
times out), since systemd-networkd restarts. lxc-stop sends the SIGRT+3
message to the container which the container interprets as "halt".
systemd-networkd conflicts with shutdown, so when the system tries to
enter halt, systemd-networkd gets started again. As a result, the
container does not shut down cleanly.
This patch uses a version of openstack-ansible-lxc_hosts that does not
use systemd-networkd in the containers.
Change-Id: Ie85d2117ce2e6e8afa87810d690eab78e3b3be3d
Signed-off-by: Tapio Tallgren <tapio.tallgren@nokia.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Fix the parameter of scenario directories
1. the "+" and "'" will be part of the string in the path parameter of ansible.
So the directories we create are not right. we need remove these char.
2. it miss the "{{" in ansible variable
Change-Id: I30c9804450588c63f5f18c63c1d90cd869fad90e
Signed-off-by: wutianwei <wutianwei1@huawei.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "xci: OSA: Move all the OSA specific playbooks to the NFVI directory"
- xci: OSA: Move all the OSA specific playbooks to the NFVI directory
Move all the playbooks that only make sense for OpenStack-Ansible
deployments to the NFVI/OSA directory where they belong. This further
disassociates XCI from OSA.
Change-Id: Iab8b6dc81d9025a1d85608a98fb1eee0f1c6a69f
Signed-off-by: Markos Chandras <mchandras@suse.de>
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- xci: playbooks: Fix conditional for scenario/flavor fact
We need to use proper jinja2 code to set the fact properly.
Change-Id: I903233c0e059edf2af973ea9c08b8bd80795e1a9
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "Rename variable OPNFV_SCENARIO to DEPLOY_SCENARIO"
- Rename variable OPNFV_SCENARIO to DEPLOY_SCENARIO
Rest of the OPNFV projects use the variable DEPLOY_SCENARIO so
XCI should be aligned with them as well even though OPNFV_SCENARIO
fits better than DEPLOY_SCENARIO.
Change-Id: Id48c41fa8a1fa9493cfc7a4906f64b6d8ed27d64
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "Pin os_heat role to the version with working policy"
- Pin os_heat role to the version with working policy
Upstream change modifying policy.json results in failures with
several heat test case failures with functest healthcheck.
https://review.openstack.org/#/c/526306/
Using the policy.json from the earlier commit seems to solve
the failures which is this
https://git.openstack.org/cgit/openstack/openstack-ansible-os_heat/commit/?id=0b3eb9348d55d6b1cf077a2c45b297f9a1be730d
Change-Id: Iaac0911e73743d1b628cc8d4abe460a0a2a66a84
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Update osa version files for master branch as well
This is needed in order to update the files before we attempt to
run osa-periodic job.
Change-Id: Ied5a53c294fd753039a6f79fa0ebce24b515cdba
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "Increase ram of XCI VM and change disk cache type for all VMs"
- Increase ram of XCI VM and change disk cache type for all VMs
These options seem to help with the functest execution
within XCI VM.
Change-Id: I3b9b6b02fc571feb42543025f8ab179c6db18e0a
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "bifrost: Set vCPU model to 'host-passthrough'"
- bifrost: Set vCPU model to 'host-passthrough'
The default CPU model of QEMU GenuineIntel/QEMU Virtual CPU is not the
best option for vCPU in terms of performance. As such, lets use the
real host CPU. This has also been submitted upstream and the template
should be removed once the upstream patch has been merged and the SHA
for bifrost is bumped.
Change-Id: I23d86933604c290d5650b73f420972d0a2b23dc8
Link: https://review.openstack.org/#/c/528677/
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "Add tacker to the list of components to install"
- Add tacker to the list of components to install
Tacker is already part of the upstream setup-openstack.yml but as releng-xci
overwrites it, tacker does not get deployed. Adding it to the
setup-openstack.yml of releng-xci does not disturb the other scenarios as it
will only be deployed when the tacker container is defined which only happens
when deploying odl-sfc
Change-Id: Ifd76fc49369c114c55e966eb20658d82c99e14cb
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "xci: Move OpenStack-Ansible out of the main script"
- xci: Move OpenStack-Ansible out of the main script
In preparation for supporting more NFVIs in XCI, we need to make the
main script NFVI agnostic. Right now, our NFVI is being deployed using
bifrost+OSA so we keep bifrost in the main script since the hardware
provisioning is NFVI agnostic (at least for now) but we move OSA to
its own directory. This should allow more NFVI to plug into XCI by
simply providing a nfvi-deploy.sh script. The user can select the
preferred NFVI using the XCI_NFVI variable.
Change-Id: Ieeacd3b22a64d363feff5d43ff23a80c39038837
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- xci: scripts: start-new-vm: Use host-passthrough to use the real host CPU
The host-passthrough mode will allow the VM to use all the host cpu
features so it should provide the best possible CPU performance.
Change-Id: I6ecd0363d046aaefa08f9e97144aa9ca9f1afae5
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "xci: Add flavor information for scenarios"
- xci: Add flavor information for scenarios
Scenarios may not support all XCI flavors so record that information
per scenario basis. This will resolve failures when we try to deploy
a scenario that doesn't support the selected flavor.
JIRA: RELENG-338
Change-Id: I5f73b139ee6c1831896aa32147c4dc1368673d92
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "xci: scripts: vm: Use virtio for disk and network I/O"
- xci: scripts: vm: Use virtio for disk and network I/O
This ensures that the virtio paravirtualization driver is used for both
disk and network I/O which should provide the best performance since we
no longer need to emulate a real bus or driver.
Change-Id: Ic46a38f51b06cb4b848d87d890d23fec022b2f15
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- xci: Drop AIO specific playbook
The configure-opnfvhost playbook which is used for all flavors except
AIO can also be used for AIO if it's adapted to not configure networking
on the host and also do not fail if there aren't any OSA variables files
available so lets do all that in order to avoid duplicating code across
flavors.
Change-Id: I58379d8b52094294b9349494753ffcdd44982013
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "xci: Fix checkout location for OpenStack-Ansible"
- xci: Fix checkout location for OpenStack-Ansible
The OPENSTACK_OSA_PATH only makes sense on localhost. As such, when we
use it on playbooks that operate on remote hosts, the result is not
predictable. However, we rsync the entire releng-xci repository to the
opfnv host so we can make everything predictable by simply clone
everything in advance in the .cache directory. That directory is then
rsync'd to the opnfv host. As such, we can repurpose the
OPENSTACK_OSA_PATH to point to the path into the OPNFV host. Moreover,
all external repositories are being cloned to .cache/repos so we can
eliminate some variables in order to simplify the code. Finally, we
bring back the ability to use an external OSA repository for
development purposes.
Change-Id: Ieef3e22ae2085f6735185634d555cfc0d4b69b39
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- xci: Reduce noise during bootstrapping
There is too much noise when XCI is cloning repositories, installing
packages etc so lets make the console output somewhat more readable.
Change-Id: I15667e0349f943ad5488daf0e3cea9336c9166d1
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- xci: Restore the OPNFV_SCENARIO variable
The variable was accidentally removed in ab3c9ad0f9a4 so bring it back.
Change-Id: I48e4b8dd68969c8e5336e5e571a73f037fb65988
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "Move contents of os-nosdn-ovs into os-nosdn-nofeature"
- Move contents of os-nosdn-ovs into os-nosdn-nofeature
This change fixes the scenario os-nosdn-nofeature by
moving directories/files from os-nosdn-ovs to os-nosdn-nofeature.
The contents of the files and variables are also either adjusted
or removed in order to prevent impacts on CI.
Change-Id: Icfde27f413c8f93d097f9f262c8cb1230b7fe59d
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "Adapt to updated REST URL for OpenDaylight"
- Adapt to updated REST URL for OpenDaylight
Change-Id: Iae7ca106174c09a73bc72075dca0a753c2280f20
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Connect sfc-odl scenario with xci
Change-Id: I5a3f533f61b6572d8070fe5f0a306ef9d418ced8
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "bifrost: destroy-env.sh: Clean dib images by default"
- bifrost: destroy-env.sh: Clean dib images by default
The destroy-env.sh script is meant to clean the entire environment
including the dib images that were built in a previous run. However,
this step was only executed if requested exclicitly leaving old
artifacts behind. As such, lets switch the default value in order to
remove these images as expected.
Change-Id: If3b91a621df50931ef3d666737cbc3bbea5d34b9
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "xci: Ensure we are in the root directory for bug reports"
- xci: Ensure we are in the root directory for bug reports
During the XCI deployment we change directories in too many places. As a
result of which, when something breaks, we may be outside the releng-xci
checkout directory so we need to enter it again for all the git commands
to work.
Change-Id: I6adcff396fc5d7cce8bb07353dec26b76b1825a4
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "xci: Use local playbooks for XCI deployments"
- xci: Use local playbooks for XCI deployments
Previously, we used to clone the releng-xci repository under a directory
in /tmp, copy our changes to that repository and then run the
xci-deploy.sh script from it. However, this made things far too complex
for deployers and developers since some playbooks were used from the
local repo whereas others were used from teh /tmp checkout. By running
everything from our local repository simplifies things a lot since we
can directly test our changes and also reduces the code we have in our
playbooks.
Change-Id: If16aa51b2846c170676df82d25cb90e26b1568b2
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "xci: playbooks: provision-vm-nodes: Simplify the provision VM playbook"
- xci: playbooks: provision-vm-nodes: Simplify the provision VM playbook
The provision-vm-nodes playbook is only responsible for running bifrost
to provision the XCI virtual machines. As such, drop all the extra tasks
that this playbook performed in order to simplify it. This also drops
the XCI_EXTRA_VARS_PATH variable since it had a rather obscure usage
and there is not much value in passing inventory information outside of
XCI. All these will be handled in the scenarios themselves.
Change-Id: If5cb381a3d1e101100eb04478d80fb3045cdfaf8
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- xci: Make it easier to use OpenStack-Ansible stable branches
It seems it is desirable for projects to use stable OpenStak-Ansible and
OpenStack releases in general. However, merely overriding
OPENSTACK_OSA_VERSION doesn't work because role requirements and
OpenStack services have to be adapted too. Despite the Documentation
warning users about this, seems like nobody remembers to read and
do the necessary steps. However, this leads to numerous invalid bug
reports due to this stable/master mix. Lets try to help improving
this situation by doing all the necessary ground work if we detect that
we are using a stable branch.
Change-Id: I2ba5d7e7942109973b6a6523aae2c01b65e61fe7
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- xci: Bump OpenStack Ansible and bifrost SHAs
Change-Id: I96c988ef6b303b89a5615c50ef60b45e49584b83
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "Do not execute ironic node-list"
- Do not execute ironic node-list
This command has been removed in order to solve the issue
caused by executing the command outside of venv. Apart from
that, it doesn't add much value to the process in general either.
Change-Id: Ice7edc5adbd3dd2e2bbde57b8cebd92416825597
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "xci: Allow variable overrides from external scenarios"
- xci: Allow variable overrides from external scenarios
All scenarios are being cloned to XCI_SCENARIOS_CACHE so look
there for the various override files. This will allow external
scenarios to influence the XCI environment.
Change-Id: I39a48ce55baaa29d09737ce6232867ef1165f099
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "xci: playbooks: Copy scenarios instead of symlinking them"
- xci: playbooks: Copy scenarios instead of symlinking them
Previously, the scenarios were symlinked from the checked out location
to {{ playbook_dir }}/roles. However, the symlinks were pointless since
they only exist in our local releng-xci directory. The roles much also
be present in OPNFV_RELENG_PATH which is the place where the deployment
happens. We use 'rsync' to copy our local releng-xci directory to the
remote one so our roles can be automatically be placed there if we copy
them instead of symlinking them.
Change-Id: I735db71eedfaa51d7196761aa2af8329d86cb775
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "integrate inband os-odl-nofeature scenario"
- integrate inband os-odl-nofeature scenario
Change-Id: I4ea6b421a24f41ea3ca925ea98d961e1a34e7876
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Replace the OPNFV hardcoded IP
The xci-deploy.sh script has an IP address which has been replaced
for OPNFV_HOST_IP environment variable. This commit completes that
change.
Change-Id: I285b6a5b88fb15e7b68a94e95634d9d289d8659a
Signed-off-by: Victor Morales <victor.morales@intel.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "XCI: Bump OpenStack Ansible SHAs"
- XCI: Bump OpenStack Ansible SHAs
Change-Id: Iee45d9c865f3fdc83089126cf78b1daa0917df1a
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "xci: Drop OPNFV_RELENG_DEV_PATH variable"
- xci: Drop OPNFV_RELENG_DEV_PATH variable
The OPNFV_RELENG_DEV_PATH variable was used to point to a releng-xci
development repository. However, people normally set the current
directory as the development one and they almost always want to
test the current code in XCI. Using an secondary releng-xci tree
as development repo is a very obscure case and it normally complicates
things. As such, let drop this option and always use the current
repository for development purposes.
Change-Id: If111bf29a32a5f6ea28694f191645af0c6a87abc
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Make sure the docker service is started
We are installing the docker package but not checking if it is started
The service name for the three distros is the same but I still added the
variable in each distro variables file to keep best practices
Change-Id: I0c73069ea7edc366e824cf39d14d24d1416fd6c3
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- add os-odl-nofeature scenario
Change-Id: I1355f4beb061caab7315b6f619a96cfaa9f52d2b
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Add section describing how to get involved
Change-Id: I9c552930b46dad2bf9720595d44208b393dba643
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "Add required packages install for AIO"
- Add required packages install for AIO
The All-in-One flavor is missing the tasks for the installation of
distro and pip packages, these tasks are performed by other flavors.
Change-Id: Ia0f707c08acd47e1dc4577916da58e338ba187fa
Signed-off-by: Victor Morales <victor.morales@intel.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "Integrate inband os-nosdn-ovs scenario"
- Integrate inband os-nosdn-ovs scenario
Change-Id: I9253edf028fce571e04f9f82103a94952e05d2d4
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "xci: scripts: start-new-vm.sh: Rework fix for parallel pkg mgr instances"
- xci: scripts: start-new-vm.sh: Rework fix for parallel pkg mgr instances
The current way of detecting whether multiple package manager processes
are running is not ideal so just wait a random amount of time if we
detect that another instance of our package manager command is running.
Change-Id: Id94e3ed5293bf223f7250f92525a6e02bb1ea842
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Enable tempest
Change-Id: I0fb12e4c2612f953998880a94b13655fa9ee0d8c
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "Use RUN_TEMPEST global env"
- Use RUN_TEMPEST global env
The RUN_TEMPEST global environment has been defined in *user-vars*
but never used in the playbooks. This change pretends to enable the
use of that value.
Change-Id: I49ca092546494c0cdcb015a549828bf79fa5f889
Signed-off-by: Victor Morales <victor.morales@intel.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "Add the libvirt DNS to resolv.conf"
- Add the libvirt DNS to resolv.conf
This change adds the gateway into the resolv.conf for helping
to resolve some routes faster during the execution of start-new-vm.sh
main script.
Change-Id: I08f361f5e55589f388e6ff6613d213eb79bbbce9
Signed-off-by: Victor Morales <victor.morales@intel.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Add br-vlan-veth to the br-vlan bridge in openSUSE
br-vlan-eth was created but not added to any bridge, therefore floating ips
were not working as it was impossible for the OVS in the compute to get the
ARP messages coming from the gateway of the public network
Change-Id: Ia0828b7e96359dc10012ac52bf0e5d4f2c5419cb
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- xci: config: pinned-versions: Bump Bifrost SHA
Change-Id: I9df869fa82f4486b104f4330b83e8300362afb54
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Remove the share flag
When creating the external network for functest testing purposes, it does not
need to be shareable between tenants because functest uses routers and floating
ips. Therefore, better remove it to avoid confusion
Change-Id: I18a1fd34a52ddae2527ee3580a9d1a2b649e61b6
Signed-off-by: Manuel Buil <mbuil@suse.com>
|