releng-xci.git
7 years agoMerge "Rename variable OPNFV_SCENARIO to DEPLOY_SCENARIO"
Fatih Degirmenci [Wed, 20 Dec 2017 22:35:04 +0000 (22:35 +0000)]
Merge "Rename variable OPNFV_SCENARIO to DEPLOY_SCENARIO"

7 years agoMerge "Pin os_heat role to the version with working policy"
Fatih Degirmenci [Wed, 20 Dec 2017 09:09:40 +0000 (09:09 +0000)]
Merge "Pin os_heat role to the version with working policy"

7 years agoPin os_heat role to the version with working policy 27/49327/1
Fatih Degirmenci [Tue, 19 Dec 2017 21:08:37 +0000 (22:08 +0100)]
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>
7 years agoRename variable OPNFV_SCENARIO to DEPLOY_SCENARIO 19/49319/1
Fatih Degirmenci [Tue, 19 Dec 2017 16:21:13 +0000 (17:21 +0100)]
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>
7 years agoUpdate osa version files for master branch as well 75/49275/1
Fatih Degirmenci [Tue, 19 Dec 2017 10:08:57 +0000 (11:08 +0100)]
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>
7 years agoMerge "Increase ram of XCI VM and change disk cache type for all VMs"
Fatih Degirmenci [Mon, 18 Dec 2017 14:31:35 +0000 (14:31 +0000)]
Merge "Increase ram of XCI VM and change disk cache type for all VMs"

7 years agoMerge "bifrost: Set vCPU model to 'host-passthrough'"
Markos Chandras [Mon, 18 Dec 2017 14:31:08 +0000 (14:31 +0000)]
Merge "bifrost: Set vCPU model to 'host-passthrough'"

7 years agoMerge "Add tacker to the list of components to install"
Markos Chandras [Mon, 18 Dec 2017 10:37:35 +0000 (10:37 +0000)]
Merge "Add tacker to the list of components to install"

7 years agoMerge "xci: Move OpenStack-Ansible out of the main script"
Markos Chandras [Mon, 18 Dec 2017 10:36:53 +0000 (10:36 +0000)]
Merge "xci: Move OpenStack-Ansible out of the main script"

7 years agobifrost: Set vCPU model to 'host-passthrough' 93/49193/1
Markos Chandras [Mon, 18 Dec 2017 10:22:03 +0000 (10:22 +0000)]
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>
7 years agoIncrease ram of XCI VM and change disk cache type for all VMs 51/49151/3
Fatih Degirmenci [Sun, 17 Dec 2017 12:03:17 +0000 (13:03 +0100)]
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>
7 years agoAdd tacker to the list of components to install 93/49093/1
Manuel Buil [Fri, 15 Dec 2017 17:41:56 +0000 (18:41 +0100)]
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>
7 years agoxci: scripts: start-new-vm: Use host-passthrough to use the real host CPU 49/49049/4
Markos Chandras [Fri, 15 Dec 2017 10:04:27 +0000 (10:04 +0000)]
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>
7 years agoxci: Move OpenStack-Ansible out of the main script 11/48711/2
Markos Chandras [Tue, 12 Dec 2017 09:44:07 +0000 (09:44 +0000)]
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>
7 years agoMerge "xci: Add flavor information for scenarios"
Markos Chandras [Thu, 14 Dec 2017 22:54:10 +0000 (22:54 +0000)]
Merge "xci: Add flavor information for scenarios"

7 years agoMerge "xci: scripts: vm: Use virtio for disk and network I/O"
Markos Chandras [Thu, 14 Dec 2017 20:16:25 +0000 (20:16 +0000)]
Merge "xci: scripts: vm: Use virtio for disk and network I/O"

7 years agoxci: Add flavor information for scenarios 37/48937/4
Markos Chandras [Thu, 14 Dec 2017 09:42:47 +0000 (09:42 +0000)]
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>
7 years agoxci: scripts: vm: Use virtio for disk and network I/O 49/48949/1
Markos Chandras [Thu, 14 Dec 2017 11:12:18 +0000 (11:12 +0000)]
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>
7 years agoxci: Drop AIO specific playbook 13/48813/2
Markos Chandras [Tue, 12 Dec 2017 14:03:42 +0000 (14:03 +0000)]
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>
7 years agoMerge "xci: Fix checkout location for OpenStack-Ansible"
Markos Chandras [Thu, 14 Dec 2017 08:49:25 +0000 (08:49 +0000)]
Merge "xci: Fix checkout location for OpenStack-Ansible"

7 years agoxci: Fix checkout location for OpenStack-Ansible 39/48739/11
Markos Chandras [Tue, 12 Dec 2017 14:58:50 +0000 (14:58 +0000)]
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>
7 years agoxci: Reduce noise during bootstrapping 91/48791/1
Markos Chandras [Wed, 13 Dec 2017 09:29:45 +0000 (09:29 +0000)]
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>
7 years agoxci: Restore the OPNFV_SCENARIO variable 47/48747/1
Markos Chandras [Tue, 12 Dec 2017 16:55:08 +0000 (16:55 +0000)]
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>
7 years agoMerge "Move contents of os-nosdn-ovs into os-nosdn-nofeature"
Markos Chandras [Tue, 12 Dec 2017 16:26:25 +0000 (16:26 +0000)]
Merge "Move contents of os-nosdn-ovs into  os-nosdn-nofeature"

7 years agoMerge "Adapt to updated REST URL for OpenDaylight"
Markos Chandras [Tue, 12 Dec 2017 13:28:05 +0000 (13:28 +0000)]
Merge "Adapt to updated REST URL for OpenDaylight"

7 years agoMove contents of os-nosdn-ovs into os-nosdn-nofeature 27/47727/7
Fatih Degirmenci [Thu, 23 Nov 2017 17:16:49 +0000 (18:16 +0100)]
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>
7 years agoConnect sfc-odl scenario with xci 69/43469/23
Manuel Buil [Thu, 28 Sep 2017 14:07:19 +0000 (16:07 +0200)]
Connect sfc-odl scenario with xci

Change-Id: I5a3f533f61b6572d8070fe5f0a306ef9d418ced8
Signed-off-by: Manuel Buil <mbuil@suse.com>
7 years agoMerge "bifrost: destroy-env.sh: Clean dib images by default"
Markos Chandras [Tue, 12 Dec 2017 09:05:19 +0000 (09:05 +0000)]
Merge "bifrost: destroy-env.sh: Clean dib images by default"

7 years agoMerge "xci: Ensure we are in the root directory for bug reports"
Markos Chandras [Tue, 12 Dec 2017 09:05:07 +0000 (09:05 +0000)]
Merge "xci: Ensure we are in the root directory for bug reports"

7 years agoMerge "xci: Use local playbooks for XCI deployments"
Markos Chandras [Tue, 12 Dec 2017 09:05:02 +0000 (09:05 +0000)]
Merge "xci: Use local playbooks for XCI deployments"

7 years agoMerge "xci: playbooks: provision-vm-nodes: Simplify the provision VM playbook"
Markos Chandras [Tue, 12 Dec 2017 09:04:56 +0000 (09:04 +0000)]
Merge "xci: playbooks: provision-vm-nodes: Simplify the provision VM playbook"

7 years agoAdapt to updated REST URL for OpenDaylight 95/48695/1
Periyasamy Palanisamy [Tue, 12 Dec 2017 08:28:56 +0000 (09:28 +0100)]
Adapt to updated REST URL for OpenDaylight

Change-Id: Iae7ca106174c09a73bc72075dca0a753c2280f20
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
7 years agobifrost: destroy-env.sh: Clean dib images by default 73/48673/1
Markos Chandras [Mon, 11 Dec 2017 19:33:49 +0000 (19:33 +0000)]
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>
7 years agoxci: Ensure we are in the root directory for bug reports 55/48655/1
Markos Chandras [Mon, 11 Dec 2017 15:14:59 +0000 (15:14 +0000)]
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>
7 years agoxci: Use local playbooks for XCI deployments 31/48531/6
Markos Chandras [Wed, 6 Dec 2017 10:26:53 +0000 (10:26 +0000)]
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>
7 years agoxci: Make it easier to use OpenStack-Ansible stable branches 23/48523/3
Markos Chandras [Thu, 7 Dec 2017 11:39:36 +0000 (11:39 +0000)]
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>
7 years agoxci: playbooks: provision-vm-nodes: Simplify the provision VM playbook 29/48529/2
Markos Chandras [Fri, 1 Dec 2017 10:13:24 +0000 (10:13 +0000)]
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>
7 years agoxci: Bump OpenStack Ansible and bifrost SHAs 61/46861/8
Markos Chandras [Tue, 5 Dec 2017 10:18:02 +0000 (10:18 +0000)]
xci: Bump OpenStack Ansible and bifrost SHAs

Change-Id: I96c988ef6b303b89a5615c50ef60b45e49584b83
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoMerge "Do not execute ironic node-list"
Markos Chandras [Tue, 5 Dec 2017 17:33:03 +0000 (17:33 +0000)]
Merge "Do not execute ironic node-list"

7 years agoMerge "xci: Allow variable overrides from external scenarios"
Markos Chandras [Tue, 5 Dec 2017 17:27:00 +0000 (17:27 +0000)]
Merge "xci: Allow variable overrides from external scenarios"

7 years agoDo not execute ironic node-list 57/48357/2
Fatih Degirmenci [Tue, 5 Dec 2017 00:49:34 +0000 (16:49 -0800)]
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>
7 years agoMerge "xci: playbooks: Copy scenarios instead of symlinking them"
Markos Chandras [Mon, 4 Dec 2017 09:10:47 +0000 (09:10 +0000)]
Merge "xci: playbooks: Copy scenarios instead of symlinking them"

7 years agoxci: Allow variable overrides from external scenarios 07/48107/3
Markos Chandras [Thu, 30 Nov 2017 17:13:03 +0000 (17:13 +0000)]
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>
7 years agoMerge "integrate inband os-odl-nofeature scenario"
Markos Chandras [Fri, 1 Dec 2017 08:40:03 +0000 (08:40 +0000)]
Merge "integrate inband os-odl-nofeature scenario"

7 years agointegrate inband os-odl-nofeature scenario 55/46555/4
Periyasamy Palanisamy [Thu, 2 Nov 2017 09:51:48 +0000 (10:51 +0100)]
integrate inband os-odl-nofeature scenario

Change-Id: I4ea6b421a24f41ea3ca925ea98d961e1a34e7876
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
7 years agoReplace the OPNFV hardcoded IP 15/48115/1
Victor Morales [Thu, 30 Nov 2017 12:27:30 +0000 (04:27 -0800)]
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>
7 years agoxci: playbooks: Copy scenarios instead of symlinking them 75/47775/8
Periyasamy Palanisamy [Fri, 24 Nov 2017 16:09:11 +0000 (17:09 +0100)]
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>
7 years agoMerge "XCI: Bump OpenStack Ansible SHAs"
Markos Chandras [Thu, 30 Nov 2017 11:17:00 +0000 (11:17 +0000)]
Merge "XCI: Bump OpenStack Ansible SHAs"

7 years agoMerge "xci: Drop OPNFV_RELENG_DEV_PATH variable"
Markos Chandras [Thu, 30 Nov 2017 11:16:54 +0000 (11:16 +0000)]
Merge "xci: Drop OPNFV_RELENG_DEV_PATH variable"

7 years agoMake sure the docker service is started 23/48023/1
Manuel Buil [Wed, 29 Nov 2017 16:27:28 +0000 (17:27 +0100)]
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>
7 years agoxci: Drop OPNFV_RELENG_DEV_PATH variable 47/47847/3
Markos Chandras [Mon, 27 Nov 2017 15:09:24 +0000 (15:09 +0000)]
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>
7 years agoadd os-odl-nofeature scenario 39/39239/24
pperiyasamy [Mon, 14 Aug 2017 09:22:14 +0000 (14:52 +0530)]
add os-odl-nofeature scenario

Change-Id: I1355f4beb061caab7315b6f619a96cfaa9f52d2b
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
7 years agoXCI: Bump OpenStack Ansible SHAs 15/47915/3
Markos Chandras [Tue, 28 Nov 2017 09:10:22 +0000 (09:10 +0000)]
XCI: Bump OpenStack Ansible SHAs

Change-Id: Iee45d9c865f3fdc83089126cf78b1daa0917df1a
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoAdd section describing how to get involved 83/47883/1
Fatih Degirmenci [Mon, 27 Nov 2017 21:17:36 +0000 (22:17 +0100)]
Add section describing how to get involved

Change-Id: I9c552930b46dad2bf9720595d44208b393dba643
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
7 years agoMerge "Add required packages install for AIO"
Markos Chandras [Fri, 24 Nov 2017 14:49:53 +0000 (14:49 +0000)]
Merge "Add required packages install for AIO"

7 years agoMerge "Integrate inband os-nosdn-ovs scenario"
Markos Chandras [Thu, 23 Nov 2017 17:08:43 +0000 (17:08 +0000)]
Merge "Integrate inband os-nosdn-ovs scenario"

7 years agoMerge "xci: scripts: start-new-vm.sh: Rework fix for parallel pkg mgr instances"
Markos Chandras [Thu, 23 Nov 2017 15:26:10 +0000 (15:26 +0000)]
Merge "xci: scripts: start-new-vm.sh: Rework fix for parallel pkg mgr instances"

7 years agoIntegrate inband os-nosdn-ovs scenario 59/46859/10
Periyasamy Palanisamy [Wed, 8 Nov 2017 12:57:15 +0000 (13:57 +0100)]
Integrate inband os-nosdn-ovs scenario

Change-Id: I9253edf028fce571e04f9f82103a94952e05d2d4
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
7 years agoEnable tempest 37/47637/3
Fatih Degirmenci [Wed, 22 Nov 2017 07:59:27 +0000 (08:59 +0100)]
Enable tempest

Change-Id: I0fb12e4c2612f953998880a94b13655fa9ee0d8c
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
7 years agoMerge "Use RUN_TEMPEST global env"
Fatih Degirmenci [Thu, 23 Nov 2017 09:53:49 +0000 (09:53 +0000)]
Merge "Use RUN_TEMPEST global env"

7 years agoxci: scripts: start-new-vm.sh: Rework fix for parallel pkg mgr instances 01/47701/2
Markos Chandras [Wed, 22 Nov 2017 23:51:08 +0000 (23:51 +0000)]
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>
7 years agoMerge "Add the libvirt DNS to resolv.conf"
Markos Chandras [Thu, 23 Nov 2017 09:50:07 +0000 (09:50 +0000)]
Merge "Add the libvirt DNS to resolv.conf"

7 years agoAdd the libvirt DNS to resolv.conf 83/46683/4
Victor Morales [Fri, 3 Nov 2017 16:35:14 +0000 (09:35 -0700)]
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>
7 years agoUse RUN_TEMPEST global env 07/47607/3
Victor Morales [Tue, 21 Nov 2017 10:17:42 +0000 (02:17 -0800)]
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>
7 years agoAdd required packages install for AIO 71/47671/2
Victor Morales [Wed, 22 Nov 2017 12:55:05 +0000 (04:55 -0800)]
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>
7 years agoAdd br-vlan-veth to the br-vlan bridge in openSUSE 43/47643/2
Manuel Buil [Wed, 22 Nov 2017 09:45:07 +0000 (10:45 +0100)]
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>
7 years agoxci: config: pinned-versions: Bump Bifrost SHA 97/47497/3
Markos Chandras [Mon, 20 Nov 2017 10:12:44 +0000 (10:12 +0000)]
xci: config: pinned-versions: Bump Bifrost SHA

Change-Id: I9df869fa82f4486b104f4330b83e8300362afb54
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoRemove the share flag 77/47577/3
Manuel Buil [Tue, 21 Nov 2017 11:41:24 +0000 (12:41 +0100)]
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>
7 years agoxci: Use the dib pip-and-virtualenv element 75/47575/6
Markos Chandras [Tue, 21 Nov 2017 09:35:49 +0000 (09:35 +0000)]
xci: Use the dib pip-and-virtualenv element

The element will ensure that we have a reasonable set of pip
and virtualenv packages in place as well as pick the right
python version for the distribution. We also make sure that
we use python2 everywhere.

Change-Id: I8a83af9acffbd8d6d583832956e1685100ec508a
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoMerge "playbooks: configure-opnfvhost: Be explicit when copying user files"
Markos Chandras [Mon, 20 Nov 2017 10:11:46 +0000 (10:11 +0000)]
Merge "playbooks: configure-opnfvhost: Be explicit when copying user files"

7 years agoMerge "XCI: Bump OpenStack Ansible SHAs"
Markos Chandras [Mon, 20 Nov 2017 10:11:40 +0000 (10:11 +0000)]
Merge "XCI: Bump OpenStack Ansible SHAs"

7 years agoMerge "xci: file: install-ansible.sh: Update script from latest Bifrost"
Markos Chandras [Mon, 20 Nov 2017 09:51:25 +0000 (09:51 +0000)]
Merge "xci: file: install-ansible.sh: Update script from latest Bifrost"

7 years agoplaybooks: configure-opnfvhost: Be explicit when copying user files 17/47417/1
Markos Chandras [Fri, 17 Nov 2017 13:36:09 +0000 (13:36 +0000)]
playbooks: configure-opnfvhost: Be explicit when copying user files

The flavors may contain deployment specific user_variables.yml files
so we should only copy the generic one in the common tasks and leave
the rest for scenarios to copy them if necessary.

Change-Id: I39e3e090dc40d4f13bb42028a24e8574e19cf6dd
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoXCI: Bump OpenStack Ansible SHAs 15/47415/1
Markos Chandras [Fri, 17 Nov 2017 13:10:20 +0000 (13:10 +0000)]
XCI: Bump OpenStack Ansible SHAs

Change-Id: If5e4ff731b2bf59e44b753ce0574f25639694162
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoMerge "add os-nosdn-ovs scenario"
Markos Chandras [Fri, 17 Nov 2017 12:32:57 +0000 (12:32 +0000)]
Merge "add os-nosdn-ovs scenario"

7 years agoxci: file: install-ansible.sh: Update script from latest Bifrost 77/46177/8
Markos Chandras [Tue, 24 Oct 2017 15:24:10 +0000 (17:24 +0200)]
xci: file: install-ansible.sh: Update script from latest Bifrost

Update our own copy of the Ansible installation script to take some
Bifrost fixes into consideration. We also upgrade the pip and setuptools
to the latest available version if possible.

Change-Id: I5e51099b2698f0b03922d1364e83bc91cfadc00c
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoadd os-nosdn-ovs scenario 47/43447/11
Periyasamy Palanisamy [Thu, 28 Sep 2017 11:04:36 +0000 (13:04 +0200)]
add os-nosdn-ovs scenario

This scenario is to install ovs on neutron agent and compute nodes for
providing networking capabilities without being managed by Opendaylight.

Change-Id: Iacc2f61ce1ffca248acdca378a23d65a91452828
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
7 years agoMerge "Fix permissions on SUSE network script"
Fatih Degirmenci [Tue, 14 Nov 2017 13:57:25 +0000 (13:57 +0000)]
Merge "Fix permissions on SUSE network script"

7 years agoMerge "Integrate ceph in XCI"
Markos Chandras [Tue, 14 Nov 2017 09:08:55 +0000 (09:08 +0000)]
Merge "Integrate ceph in XCI"

7 years agoFix permissions on SUSE network script 51/46951/2
Manuel Buil [Thu, 9 Nov 2017 14:57:58 +0000 (15:57 +0100)]
Fix permissions on SUSE network script

We were not getting the eth12 interface in the computes because the
network-config-suse file did not have executable rights:

-rw-r--r-- 1 root root   300 Nov  9 14:40 network-config-suse

Change-Id: Ia796123b331b67bc442d3506b944f0430f7a5f32
Signed-off-by: Manuel Buil <mbuil@suse.com>
7 years agoMerge "Bump OpenStack Ansible SHAs"
Markos Chandras [Fri, 3 Nov 2017 05:40:06 +0000 (05:40 +0000)]
Merge "Bump OpenStack Ansible SHAs"

7 years agoBump OpenStack Ansible SHAs 31/46431/3
Markos Chandras [Mon, 30 Oct 2017 16:42:19 +0000 (16:42 +0000)]
Bump OpenStack Ansible SHAs

We also need to allow root logins when the ansible-hardening role
is applied which are disabled by default.

Change-Id: I71f881305bafdd884d541cd34796a6fed8eee157
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoFix yum update repos 61/46361/1
Victor Morales [Sat, 28 Oct 2017 02:47:44 +0000 (19:47 -0700)]
Fix yum update repos

The *yum update* fails during the installation of ansible in centos
because it tries to update openssh-server among other packages.
This commit change fixes the command to only update the repository
information. The --assumeno argument is not required.

Change-Id: I26870462888742b3200097322d5316ac00febfc5

7 years agoMerge "Enable OPENSTACK_OSA_DEV_PATH for AIO"
Markos Chandras [Fri, 27 Oct 2017 10:17:53 +0000 (10:17 +0000)]
Merge "Enable OPENSTACK_OSA_DEV_PATH for AIO"

7 years agoMerge "Fix typo in xci-deploy.sh comments"
Markos Chandras [Fri, 27 Oct 2017 07:13:32 +0000 (07:13 +0000)]
Merge "Fix typo in xci-deploy.sh comments"

7 years agoEnable OPENSTACK_OSA_DEV_PATH for AIO 71/46271/1
Victor Morales [Thu, 26 Oct 2017 19:43:27 +0000 (12:43 -0700)]
Enable OPENSTACK_OSA_DEV_PATH for AIO

The task for synchronize source code between the host and opnfv guest
instance was not implemented for All-in-One flavor. This change
uses the same task that is used in other flavors.

Change-Id: I9733544a22de4867c399eb57dfe90c0915350171
Signed-off-by: Victor Morales <victor.morales@intel.com>
7 years agoMerge changes from topic 'add-role-hooks'
Markos Chandras [Thu, 26 Oct 2017 09:49:20 +0000 (09:49 +0000)]
Merge changes from topic 'add-role-hooks'

* changes:
  xci: playbooks: Add generic playbook for scenarios to plug their roles
  xci: Clone all XCI scenarios in advance similar to a-r-r
  xci: xci-deploy.sh: Allow scenarios to overrides XCI variables.

7 years agoIntegrate ceph in XCI 03/42503/18
wutianwei [Wed, 20 Sep 2017 06:31:14 +0000 (14:31 +0800)]
Integrate ceph in XCI

Openstack ansible support to deploy ceph.
The purpose of this patch is to configure the ceph,
just like we configure other openstack components.

The default is to not deploy ceph.
If you want to deploy ceph you just need to
export XCI_CEPH_ENABLED=true before running xci-deploy.sh.
When deployed successfully, the openstack storage will use ceph.

Change-Id: Ifd8d16fdce2914b6316842e72bbfd93228ea059d
Signed-off-by: wutianwei <wutianwei1@huawei.com>
7 years agoMerge "Drop Ironic DB using non-default password"
Markos Chandras [Wed, 25 Oct 2017 09:35:44 +0000 (09:35 +0000)]
Merge "Drop Ironic DB using non-default password"

7 years agoFix typo in xci-deploy.sh comments 91/46191/1
Victor Morales [Wed, 25 Oct 2017 01:19:20 +0000 (18:19 -0700)]
Fix typo in xci-deploy.sh comments

Change-Id: Iac117beb3d4a8df85ad2453c97982adf90958833
Signed-off-by: Victor Morales <victor.morales@intel.com>
7 years agodocs: Add ONAP into the diagram 95/46095/1
Fatih Degirmenci [Sat, 21 Oct 2017 09:50:53 +0000 (11:50 +0200)]
docs: Add ONAP into the diagram

Change-Id: If6a0c9d498324a5edec38a442f5c3d23f9796130
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoDrop Ironic DB using non-default password 65/46065/1
Victor Morales [Fri, 20 Oct 2017 19:06:29 +0000 (12:06 -0700)]
Drop Ironic DB using non-default password

The current implementation relays on the fact that the existing mysql
deployment the root user can remove has access to the root user
without its password. It's possible to drop the Ironic database using
the same credentials that were used during its creation.

Change-Id: I4b26455e06e5f024d2bd8c42065367838bb4aa0f
Signed-off-by: Victor Morales <victor.morales@intel.com>
7 years agoMerge "Create the basic structure for generic scenarios"
Fatih Degirmenci [Thu, 19 Oct 2017 16:13:19 +0000 (16:13 +0000)]
Merge "Create the basic structure for generic scenarios"

7 years agoxci: playbooks: Add generic playbook for scenarios to plug their roles 85/44885/7
Markos Chandras [Thu, 12 Oct 2017 08:50:38 +0000 (09:50 +0100)]
xci: playbooks: Add generic playbook for scenarios to plug their roles

The new bootstrap-scenarios.yml playbook is aimed to be used by
scenarios to configure themselves right before we proceed with
the bootstrapping. This way we can avoid having scenario specific
stuff into the generic code.

Change-Id: I3026013719a50458c65405439712270f25f569ff
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoxci: Clone all XCI scenarios in advance similar to a-r-r 81/44881/8
Markos Chandras [Thu, 12 Oct 2017 08:11:59 +0000 (09:11 +0100)]
xci: Clone all XCI scenarios in advance similar to a-r-r

In order to plug the scenarios' roles properly, we need to have all
roles physically present in advance. As such, add a
opnfv-scenario-requirements.yml file which can be used to populate the
roles directory with all the scenarios.

Change-Id: I0cdadb63849e4565c31559817660d23217879053
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoxci: scripts: start-new-vm.sh: Remove empty line 61/45361/1
Markos Chandras [Tue, 17 Oct 2017 16:05:53 +0000 (17:05 +0100)]
xci: scripts: start-new-vm.sh: Remove empty line

The empty line is wrong and it may cause some issues so drop it.

Change-Id: I4120e00df1dd9b7061dc1175e0ea6db8e0a9df88
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoxci: xci-deploy.sh: Allow scenarios to overrides XCI variables. 97/44797/9
Markos Chandras [Wed, 11 Oct 2017 14:13:04 +0000 (15:13 +0100)]
xci: xci-deploy.sh: Allow scenarios to overrides XCI variables.

Scenario may want to override variables exported by the XCI so
allow them to define their own 'xci_overrides' file in the root directory
of the role to do so.

Change-Id: I6648eb43831a2aecc08d745a8c0fc191ce56e1b2
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agodocs: Add XCI overview document 55/43955/7
Fatih Degirmenci [Mon, 2 Oct 2017 21:10:51 +0000 (23:10 +0200)]
docs: Add XCI overview document

Change-Id: I23405aec19a7e9bfce1c58d770b80b1c9c550d00
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoMerge "xci: AIO: Disable tempest on AIO"
Markos Chandras [Tue, 17 Oct 2017 07:41:44 +0000 (07:41 +0000)]
Merge "xci: AIO: Disable tempest on AIO"

7 years agoMerge "xci: scripts: start-new-vm.sh: Make VM specs configurable"
Aric Gardner [Mon, 16 Oct 2017 20:04:04 +0000 (20:04 +0000)]
Merge "xci: scripts: start-new-vm.sh: Make VM specs configurable"