summaryrefslogtreecommitdiffstats
path: root/xci
AgeCommit message (Collapse)AuthorFilesLines
2017-12-05Do not execute ironic node-listFatih Degirmenci1-3/+0
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>
2017-12-04Merge "xci: playbooks: Copy scenarios instead of symlinking them"Markos Chandras1-5/+3
2017-12-01xci: Allow variable overrides from external scenariosMarkos Chandras4-3/+7
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>
2017-12-01Merge "integrate inband os-odl-nofeature scenario"Markos Chandras2-0/+9
2017-11-30integrate inband os-odl-nofeature scenarioPeriyasamy Palanisamy2-0/+9
Change-Id: I4ea6b421a24f41ea3ca925ea98d961e1a34e7876 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2017-11-30Replace the OPNFV hardcoded IPVictor Morales1-3/+3
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>
2017-11-30xci: playbooks: Copy scenarios instead of symlinking themPeriyasamy Palanisamy1-5/+3
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>
2017-11-30Merge "XCI: Bump OpenStack Ansible SHAs"Markos Chandras2-46/+46
2017-11-30Merge "xci: Drop OPNFV_RELENG_DEV_PATH variable"Markos Chandras6-26/+17
2017-11-29Make sure the docker service is startedManuel Buil4-0/+9
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>
2017-11-29xci: Drop OPNFV_RELENG_DEV_PATH variableMarkos Chandras6-26/+17
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>
2017-11-29add os-odl-nofeature scenariopperiyasamy7-0/+694
Change-Id: I1355f4beb061caab7315b6f619a96cfaa9f52d2b Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2017-11-28XCI: Bump OpenStack Ansible SHAsMarkos Chandras2-46/+46
Change-Id: Iee45d9c865f3fdc83089126cf78b1daa0917df1a Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-11-24Merge "Add required packages install for AIO"Markos Chandras1-0/+11
2017-11-23Merge "Integrate inband os-nosdn-ovs scenario"Markos Chandras4-0/+13
2017-11-23Merge "xci: scripts: start-new-vm.sh: Rework fix for parallel pkg mgr instances"Markos Chandras1-23/+18
2017-11-23Integrate inband os-nosdn-ovs scenarioPeriyasamy Palanisamy4-0/+13
Change-Id: I9253edf028fce571e04f9f82103a94952e05d2d4 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2017-11-23Enable tempestFatih Degirmenci1-0/+2
Change-Id: I0fb12e4c2612f953998880a94b13655fa9ee0d8c Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2017-11-23Merge "Use RUN_TEMPEST global env"Fatih Degirmenci3-2/+11
2017-11-23xci: scripts: start-new-vm.sh: Rework fix for parallel pkg mgr instancesMarkos Chandras1-23/+18
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>
2017-11-23Merge "Add the libvirt DNS to resolv.conf"Markos Chandras2-3/+2
2017-11-22Add the libvirt DNS to resolv.confVictor Morales2-3/+2
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>
2017-11-22Use RUN_TEMPEST global envVictor Morales3-2/+11
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>
2017-11-22Add required packages install for AIOVictor Morales1-0/+11
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>
2017-11-22Add br-vlan-veth to the br-vlan bridge in openSUSEManuel Buil1-0/+2
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>
2017-11-22xci: config: pinned-versions: Bump Bifrost SHAMarkos Chandras1-2/+2
Change-Id: I9df869fa82f4486b104f4330b83e8300362afb54 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-11-22Remove the share flagManuel Buil1-1/+1
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>
2017-11-21xci: Use the dib pip-and-virtualenv elementMarkos Chandras1-3/+0
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>
2017-11-20Merge "playbooks: configure-opnfvhost: Be explicit when copying user files"Markos Chandras1-1/+1
2017-11-20Merge "XCI: Bump OpenStack Ansible SHAs"Markos Chandras2-41/+41
2017-11-20Merge "xci: file: install-ansible.sh: Update script from latest Bifrost"Markos Chandras2-28/+44
2017-11-17playbooks: configure-opnfvhost: Be explicit when copying user filesMarkos Chandras1-1/+1
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>
2017-11-17XCI: Bump OpenStack Ansible SHAsMarkos Chandras2-41/+41
Change-Id: If5e4ff731b2bf59e44b753ce0574f25639694162 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-11-17Merge "add os-nosdn-ovs scenario"Markos Chandras5-0/+650
2017-11-17xci: file: install-ansible.sh: Update script from latest BifrostMarkos Chandras2-28/+44
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>
2017-11-15add os-nosdn-ovs scenarioPeriyasamy Palanisamy5-0/+650
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>
2017-11-14Merge "Fix permissions on SUSE network script"Fatih Degirmenci1-0/+1
2017-11-14Merge "Integrate ceph in XCI"Markos Chandras16-0/+259
2017-11-09Fix permissions on SUSE network scriptManuel Buil1-0/+1
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>
2017-11-03Merge "Bump OpenStack Ansible SHAs"Markos Chandras8-111/+142
2017-11-02Bump OpenStack Ansible SHAsMarkos Chandras8-111/+142
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>
2017-10-27Fix yum update reposVictor Morales1-1/+1
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
2017-10-27Merge "Enable OPENSTACK_OSA_DEV_PATH for AIO"Markos Chandras1-0/+8
2017-10-27Merge "Fix typo in xci-deploy.sh comments"Markos Chandras1-1/+1
2017-10-26Enable OPENSTACK_OSA_DEV_PATH for AIOVictor Morales1-0/+8
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>
2017-10-26Merge changes from topic 'add-role-hooks'Markos Chandras6-1/+118
* 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.
2017-10-26Integrate ceph in XCIwutianwei16-0/+259
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>
2017-10-24Fix typo in xci-deploy.sh commentsVictor Morales1-1/+1
Change-Id: Iac117beb3d4a8df85ad2453c97982adf90958833 Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-10-19Merge "Create the basic structure for generic scenarios"Fatih Degirmenci4-0/+1
2017-10-19xci: playbooks: Add generic playbook for scenarios to plug their rolesMarkos Chandras2-0/+11
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>