summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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-27Merge "Rename arm-pod3-2 to arm-pod4"Fatih Degirmenci4-25/+25
2017-04-27need to escape <, so move to include raw and shell scriptagardner2-9/+11
Change-Id: I7b54d303bffcbc2fefce6db135ad9efefa0e9ed3 Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-04-27Job is not triggering,agardner1-11/+13
did something wrong with builders Change-Id: I55818fa155e33362a47bd9651ea8733e301f9c0b Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-04-27Check all jinja templates against all lab filesagardner1-2/+7
Dont use zte files as they are not valid yaml (ill fix that later) Change-Id: I5a21edb774a64ef134dd3f49c552f33b0d13f01e Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-04-27slave reqires this build to be concurrent trueagardner1-0/+4
Also trigger on changes to yaml files Change-Id: Idfc2a45fbf5e6e6e9583912d43af005ae2cf30a0 Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-04-27Merge "Syntax Check for jinja2 files"Aric Gardner1-0/+76
2017-04-27Syntax Check for jinja2 filesagardner1-0/+76
Just something basic, theres no real logic yet Change-Id: I37efa8ffbe44981100d6849120d0900b8fb9280c Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-04-27Merge "leverage executor to test_token/version.py in TestAPI"Morgan Richomme2-42/+41
2017-04-27Merge changes from topics 'unittest_executor', 'import_absolute'Morgan Richomme10-34/+117
* changes: impl executor and leverage to test_pod.py in TestAPI import from absolute path in TestAPI unit
2017-04-26Rename arm-pod3-2 to arm-pod4Cristina Pauna4-25/+25
Arm-pod3-2 is a second jenkins slave for arm-pod3. This slave is arm while the old jenkins slave is x86. Fatih requested for this slave to be renamed to arm-pod4 instead of arm-pod3-2, even if it's a slave for an existing pod JIRA: ARMBAND-252 Change-Id: I5645edd7d774f763e5e72115851c7061bfafd344 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-04-26Merge "AArch64 Dovetail docker creation job"Jun Li1-0/+8
2017-04-25Apex: fixes iso verifyTim Rozet1-1/+3
Change-Id: Id22995b49d12fdb2a5d5d7532d1459f3ac4338f2 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-04-25xci: Ensure ansible is bootstrapped as last stepFatih Degirmenci1-8/+8
Role requirements file is used during ansible bootstrap on opnfv host so we must ensure the right ansible role requirements is there in advance. Change-Id: I2c5a1edd82a51cbbe1469c31f37b5d638d32ec27 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-04-25Add set -o to daisy4nfv-build.shZhijiang Hu1-0/+4
By using set -o, this can prevent CI from uploading *.properties files without *.bin to artifact.opnfv.org if build was failed. This once happened to [1]. [1] http://artifacts.opnfv.org/daisy/opnfv-2017-04-25_06-57-05.properties Change-Id: I26c3112af1d73a84df05c3852038c99d7070ab59 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-04-25xci: Always use pinned versions of openstack-ansible-requirementsJuan Vidal1-2/+0
Pinned versions used to be used only if XCI_LOOP == 'daily', but it seems to be required, otherwise this is very likely to fail Change-Id: I21f638bba75846a58b12373a903d414fa89b4bc6 Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
2017-04-24Apex: fix iso verifyTim Rozet1-1/+1
Change-Id: Ia1d6da64fa245407c5c71f7a56bb6d372fb11ebc Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-04-23Apex: fixes iso verify/uploadTim Rozet1-21/+26
Change-Id: I25baff8b74bf26903e5196f31b9f47dab94fd048 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-04-22Apex: fix iso verifyTim Rozet1-23/+22
Change-Id: I212437ebec64aa8521ad95c5b57a7824476a4580 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-04-21AArch64 Dovetail docker creation jobAlexandru Nemes1-0/+8
Add support for creating and pulling Dovetail docker container for aarch64 platform Change-Id: I1e6f2b677e4c972cd80ad2c6f2cd304f0d4d8cad Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com>
2017-04-21Merge "dovetail: Change CI jobs to run test suite "proposed_tests" instead ↵Jun Li7-5/+7
of "debug""
2017-04-20Merge "[doctor] fix test case name"Ryota Mibu1-1/+1
2017-04-20Merge "Make arm-virtual1 pod not available for CI jobs"Aric Gardner5-7/+128
2017-04-19Apex: more fixes for iso verifyTim Rozet2-24/+17
Change-Id: Ie1a59806b20072f27adc2f7248c4244e53a5f2bb Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-04-19Apex: fixes iso verifyTim Rozet2-15/+73
Change-Id: I2aeca682d6543b36cd8b28f78580c4194db85453 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-04-19[doctor] fix test case nameRyota MIBU1-1/+1
See, https://gerrit.opnfv.org/gerrit/#/c/33099/ . Change-Id: I3bf5bbeef88445512b70fc47be08ecc481c42c2a Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-04-19Merge "unify data existence check"Serena Feng7-173/+189
2017-04-19dovetail: Change CI jobs to run test suite "proposed_tests" instead of "debug"MatthewLi7-5/+7
JIRA: DOVETAIL-397 now, team decide to use proposed_tests suite instead of debug Change-Id: Iff8ec0b32a24e51bc2d2536605c9867b94f8921c Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-04-18Adding iso verify to Apex buildsDan Radez3-17/+143
JIRA: APEX-377 Change-Id: I1e02fc602e8258e76f9447d05b09b17e55d0d25a Signed-off-by: Dan Radez <dradez@redhat.com>
2017-04-18Merge "xci: Merge configure-targethosts.yml playbooks into one"Fatih Degirmenci4-78/+0
2017-04-18xci: Fix nfs server ip for glanceFatih Degirmenci1-1/+1
Change-Id: Iebb9945bfd9cad9ebfda127f130542f4a6334aec Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-04-18Make arm-virtual1 pod not available for CI jobsAlexandru Nemes5-7/+128
Change-Id: I1ae47f2105744bfea8c8c589f41282d1c4ae2159 Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com>
2017-04-18xci: Merge configure-targethosts.yml playbooks into oneFatih Degirmenci4-78/+0
They are exactly same now after moving nfs to compute00. Change-Id: I9d9d2f037aa3684ba130ae0a4f9aef2e733f2d2e Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-04-18xci: Change cinder backend and move nfs to compute00Fatih Degirmenci8-50/+62
This change - switches cinder backend from lvm to nfs as examplified in [1]. - moves nfs shares from compute01 to compute00 in order to merge configure-targethosts.yml playbook in upcoming change. - updates openstack_user_config.yml to reflect the switch to nfs and move of nfs server to compute00. - removes exports file due to switching to lineinfile module. [1] https://docs.openstack.org/project-deploy-guide/openstack-ansible/draft/app-config-prod.html Change-Id: I0715c98a89ab124256e3857c1047e374f261e39b Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-04-18xci: Force sync timeFatih Degirmenci4-0/+30
For some reason, when the nodes are provisioned, they are out of sync time-wise. This prevents neutron agents on compute nodes from starting and then everything fails. This change restarts chrony after the network configuration is updated and the nodes have internet access and force synchs time on nodes. Change-Id: Ib27b1fa0313223b52fa2e6229d5a179581d62686 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-04-18xci: Fix network configurationFatih Degirmenci11-92/+66
This change - sets static IP for controller nodes' vxlan bridges as stated in osa documentation: compute and network hosts must have an IP [1] - configures IPs for controller nodes' vxlan bridges. - removes the additional vlan ip from compute nodes as it seems to be there for all in one. - removes glean.rules as they mess with the network configuration once the network changes are applied. - removes the contents of interfaces.d as osa populates config for lxc bridges and includes this config in interfaces file thus all the files in interfaces.d must be removed in order not to mess with the network configuration. - updates modules appropriately. [1] https://docs.openstack.org/project-deploy-guide/openstack-ansible/draft/app-config-prod.html Change-Id: I84d5f07216c8d0246da06080fb0ed19f917d6637 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-04-17KVMFORNFV: Disabling kvmfornfv daily danube job.kalyanreddy1-1/+1
This patch is used to temporarily disable kvmfornfv daily danube job from triggering as Intel-pod10 is currently not available for executing daily danube test cases. Note: Will enable the kvmfornfv daily danube job once Intel-pod10 is available for executing test cases. Change-Id: I26cb1e360962a895b2e3ced3ccadfc1f770a5663 Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>