summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-05-11prototypes: xci: provision-vm-nodes: Do not provision VMs as root.Markos Chandras1-1/+16
There is no need to provision VM nodes as root. The only thing that we need to run as root is the destroy-env.sh script and for that we move it to its own play so we can use Ansible's become directive. Moreover, since this playbook operates on localhost we can use 'connection: local' so we don't have to execute everything via ssh and possibly speed up the whole process. Change-Id: Ia9efd5f30e95385b5cf193dde352f93551846c0e Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-05-11prototypes: xci: user-vars: Move root directory away from /optMarkos Chandras1-4/+5
Having everything in the /opt implies root privileges. However, xci should work as normal user and as such we use the /tmp directory as the root directory. Change-Id: I985ded289208e1de53ad0ba878afd5bfd745c3fd Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-05-11prototypes: xci: xci-deploy: Do not use sudo when connecting to remote hostsMarkos Chandras1-4/+4
In preparation for running xci-deploy as normal user, we do not need to gain elevated privileges in order to connect to remote hosts. SSH keys will be placed in user's ssh directory so we can ssh as normal user. Change-Id: Ieb705515ec191955a646839e8f195d089df184bd Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-05-11prototypes: xci: Do not require root privileges in xci-deployMarkos Chandras2-11/+7
There is no good reason to run the script as root. If elevated privileges are required then we will do it on a per case basis. Change-Id: I7195fb3a0026ea20ce04e0b652dd3c1c56ca5741 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-05-10Merge "Add arm support in functest reporting pages"Morgan Richomme4-209/+266
2017-05-09Wild card needed now that compass4nfv configs have been addedagardner1-1/+1
Change-Id: I490b7b1de44e7a04ea631ffa4808f633353f94c5 Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-05-09XCI: change functest job to use masterTim Rozet1-1/+1
Change-Id: If0ce98b4d6f86a0bb6ad5b7b78bf134ef87c1fd9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-093rd Party CI: Adds carbon branch to ODL xciTim Rozet2-5/+16
Change-Id: I53ddedb80f19ec9f8224cb0e22e4657b1472169f Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-09Merge "prototypes: xci: Make sure Ansible dependencies are installed"Fatih Degirmenci2-1/+137
2017-05-09Merge "jjb: xci: Run bifrost provisioning as normal user"Fatih Degirmenci2-4/+4
2017-05-09Merge "prototypes: bifrost: Write clouds.yaml file for regular users"Fatih Degirmenci1-6/+1
2017-05-09Add arm support in functest reporting pagesMorgan Richomme4-209/+266
Create different pages for installer@architectures - x86 - aarch64 JIRA: FUNCTEST-821 Change-Id: I3c4ebba3f7969f6c1a5d04c4d5b5a63db5a3e7c2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-05-09Merge "[Functest] Remove Colorado and Brahmaputra support"Morgan Richomme2-16/+6
2017-05-09Merge "dovetail: add a suitable job used for vpn test case validation in CI"Jun Li2-2/+125
2017-05-09Merge "Bugfix: Error when create pod.yaml file if one node's role is None"Jun Li1-8/+18
2017-05-08Merge "Change tempest_smoke_serial to odl_netvirt"Tim Rozet1-1/+1
2017-05-08Apex: fixes overcloudrc v3 filenameTim Rozet1-1/+1
Change-Id: I086adca7f9671c2c5e6fd04a1ec339e8b22f1de4 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-08jjb: xci: Run bifrost provisioning as normal userMarkos Chandras2-4/+4
Ansible can request elevated privileges using the 'become' directive. As such there is no need to run ansible using sudo. Furthermore, OpenStack CI runs all jobs as normal user and we need to do the same in order to compare behavior and results properly. Change-Id: Id198efd1d6fdf4619de931fbedc7caba8d68d2a0
2017-05-08prototypes: bifrost: Write clouds.yaml file for regular usersMarkos Chandras1-6/+1
This is similar to commit 6769ae9bcbf6 ("prototypes: bifrost: Add keystone roles"). In preparation for running the bifrost jobs as normal user we need to write a clouds.yaml file to users home directory. This is similar to the bifrost upstream testing playbook. Change-Id: Iae4bc73906649707667925280a19282ec5c93998
2017-05-08prototypes: xci: Make sure Ansible dependencies are installedMarkos Chandras2-1/+137
'pip install ansible' is not enough on newly installed hosts which may lack the necessary build tools to install Ansible's dependencies. As such, we add a script similar to the bifrost/scripts/install-deps.sh one to pull in all the necessary distro-specific packages so Ansible and it's dependencies can be installed from scratch. Change-Id: I4b1e74644db9ace451ad763e4c54f1a3a43214fd
2017-05-08Merge "Fix the parameters of downloading"Serena Feng1-3/+3
2017-05-08Fix the parameters of downloadingAlex Yang1-3/+3
aria2c should use "-d" to indicate the directory to store the downloaded file. Change-Id: I6590403fb0c0b2938ee384cf5b1d5acc42ed94c1 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-05-08Merge "Improve daisy download speed by multi-thread tool"Serena Feng1-2/+8
2017-05-07Bugfix: Error when create pod.yaml file if one node's role is Nonexudan1-8/+18
DOVETAIL-426 Error message: if node.roles[0].lower() == "controller": IndexError: list index out of range Change-Id: I96d26cc3798b993b5b296f554becfc175e3e87b4 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-05Get ODL distro from the new location on the nexus log serverJamo Luhrsen1-3/+4
Change-Id: Ief68ecad4570f1d6ea0a5142f6071adf3188f50b Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2017-05-05Change name of pod jinja file to reduce confusionagardner1-1/+1
Change-Id: I353b8d96709fb149aa4574ecd0f0b06439770652 Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-05-05Apex: Converts machine type for snapshot deploys to 'pc'Tim Rozet1-0/+1
Change-Id: Ic996d49b161af23184fbbce4812c103a158ebef2 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-05Merge "[Functest][Apex] Use v3 credentials"Tim Rozet1-1/+1
2017-05-05Merge "leverage executor to test_testcase.py in TestAPI"Serena Feng1-59/+64
2017-05-05Merge "leverage executor to test_project.py in TestAPI"Serena Feng1-61/+55
2017-05-05Merge "leverage executor to test_result.py in TestAPI"Serena Feng1-103/+105
2017-05-05dovetail: add a suitable job used for vpn test case validation in CIMatthewLi2-2/+125
JIRA: DOVETAIL-424 the principle is 1) not disturb the original work flow 2) after vpn testcases integrated into dovetail, i.e, CVP tool, there is a need to find a POD has bgpvpn feature which is suitable to validate bgp vpn test cases in proposed_tests. 3) only add dovetail proposed_tests into bgpvpn scenario deploy-test loop to reduce unnecessary time consuming. 4) further, should consider to add dovetail job in os-nosdn-nofeature loop Change-Id: Iad6ae1e44470c8e9d49a25980d292ba3871bd6a4 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-05-04fixed syntax errors in zte pods, change labconfig nameagardner1-2/+2
Change-Id: I2d0e6c1199fe3ac2841923abdabd19c239b2b5f8 Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-05-03prototypes: bifrost: Add keystone rolesMarkos Chandras4-4/+21
The os_client_config Ansible module used by all the ironic-* roles depends on the keystone roles so we need to make use of them even though they do not affect the end result. This fixes the following OPNFV CI problem due to not having a clouds.yaml file present to be consumed by the os_client_config Ansible module. fatal: [controller00]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"} An exception occurred during task execution. The full traceback is: Traceback (most recent call last): File "/tmp/ansible_ApkCUQ/ansible_module_os_client_config.py", line 75, in <module> main() File "/tmp/ansible_ApkCUQ/ansible_module_os_client_config.py", line 63, in main for cloud in config.get_all_clouds(): File "/usr/lib/python2.7/site-packages/os_client_config/config.py", line 798, in get_all_clouds cloud, region_name=region['name'])) File "/usr/lib/python2.7/site-packages/os_client_config/config.py", line 1071, in get_one_cloud auth_plugin = loader.load_from_options(**config['auth']) File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/base.py", line 162, in load_from_options raise exceptions.MissingRequiredOptions(missing_required) keystoneauth1.exceptions.auth_plugins.MissingRequiredOptions: Auth plugin requires parameters which were not given: auth_url fatal: [opnfv]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"} Moreover, we cleanup the ~/openstack directory which may contain some bifrost artifacts such as a clouds.yaml file. Finally, we use 'sudo -H' because for the keystone roles we need the HOME variable to be set properly. Change-Id: I45b08bd33dd8ea9505fe10eb4b2b10956b3b683c
2017-05-03[Functest][Apex] Use v3 credentialsjose.lausuch1-1/+1
Soon, Functest will start using only public endpoints and will remove admin connectivity to the deployments. Change-Id: I2089ccd3d6e7f1acda7b46d3104a8a78a47af8ff Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-05-03[Functest] Remove Colorado and Brahmaputra supportjose.lausuch2-16/+6
CI no longer runs brahmaputra and colorado jobs. To keep the jobs as simple as possible, remove that support. Change-Id: I29661f414923807dc6c0d22526dc852a45dbe7bb Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-05-03Merge "Support opera test in functest releng"Jun Li2-0/+10
2017-05-03Support opera test in functest relengHarry Huang2-0/+10
Because opera vnf test requires Open-O msb ip and the independency of this test case, set specific docker env vars for compass4nfv os-nosdn-openo-ha scenario. Change-Id: I486e3896dc86d29cf93818b317675c088c1c5198 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-05-03Bugfix: wrong work directoryxudan1-0/+2
JIRA: DOVETAIL-420 CI wrong with: Archiving artifacts WARN: No artifacts found that match the file pattern "results/*/". Configuration error? WARN: ?results/*/? doesn?t match anything, but ?*/? does. Perhaps that?s what you mean? Change-Id: Ia548cb4e3b5e34f43c130c2860892364bffad233 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-03Merge "Trigger Functest VNF test case for opera"Jun Li1-77/+28
2017-05-03Merge "dovetail: docker tag support"Jun Li1-7/+7
2017-05-03Trigger Functest VNF test case for operahelenyao1-77/+28
Change-Id: I313dc0661b41556a6b9cb4cc3ba0d79db9c16c88 Signed-off-by: helenyao <yaohelan@huawei.com>
2017-05-03dovetail: docker tag supportMatthewLi1-7/+7
JIRA: DOVETAIL-419 since dovetal has no A/B/C/D branch, only have master, need docker image name sth like opnfv/dovetail:plugfest_april_2017 rather than opnfv/dovetail:<release>.1.0, etc. then when RELEASE_VERSION is empty, generate opnfv/dovetail:latest ortherwise opnfv/dovetail:<RELEASE_VERSION> Change-Id: I92573bee35da16305074393401e5e5da65aaa22c Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-05-03Bugfix: Permission denied when pip install virtualenvxudan1-2/+2
JIRA: DOVETAIL-420 Collecting virtualenv Downloading virtualenv-15.1.0-py2.py3-none-any.whl (1.8MB) Installing collected packages: virtualenv Exception: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 223, in main status = self.run(options, args) File "/usr/lib/python2.7/site-packages/pip/commands/install.py", line 308, in run strip_file_prefix=options.strip_file_prefix, File "/usr/lib/python2.7/site-packages/pip/req/req_set.py", line 646, in install **kwargs File "/usr/lib/python2.7/site-packages/pip/req/req_install.py", line 816, in install strip_file_prefix=strip_file_prefix File "/usr/lib/python2.7/site-packages/pip/req/req_install.py", line 1013, in move_wheel_files strip_file_prefix=strip_file_prefix, File "/usr/lib/python2.7/site-packages/pip/wheel.py", line 339, in move_wheel_files clobber(source, lib_dir, True) File "/usr/lib/python2.7/site-packages/pip/wheel.py", line 317, in clobber shutil.copyfile(srcfile, destfile) File "/usr/lib64/python2.7/shutil.py", line 83, in copyfile with open(dst, 'wb') as fdst: IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/virtualenv.py' Change-Id: I7c387013739252402fa3774b1a2df241a09f24c0 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-03Merge "dovetail: create file pod.yaml for running HA test cases"Jun Li2-4/+146
2017-05-02Merge "Apex: enable ha for os-odl_l3-fdio"Tim Rozet1-3/+3
2017-05-02Apex: enable ha for os-odl_l3-fdioTim Rozet1-3/+3
Change-Id: If23c52437b45806526c0b38e6176ab040715a70e Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-02dovetail: create file pod.yaml for running HA test casesxudan2-4/+146
JIRA: DOVETAIL-407 1. HA test cases need a file pod.yaml giving the info of the pod (node's ip, username, password/key_file). 2. Dovetail client has finished the adaption JIRA: DOVETAIL-405. 3. CI uses create_pod_file.py to generate /home/opnfv/dovetail/userconfig/pod.yaml 4. If INSTALLER_TYPE is fuel, fetch it's jumpserver key to /home/opnfv/dovetail/userconfig/id_rsa Change-Id: Iaf6afbdfb8e4331ae9a10ea3df060c37e9010a0a Signed-off-by: xudan <xudan16@huawei.com>
2017-04-28Merge "Add set -o to daisy4nfv-build.sh"Fatih Degirmenci1-0/+4
2017-04-28Improve daisy download speed by multi-thread toolAlex Yang1-2/+8
Use multi-thread tool such as aria2c to download the daisy image, to reduce the time spent on downloading. Change-Id: Id1b7f9195fe0d499b9b02b0a8410e02871f675f9 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>