summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-09-23Adding unittests for buildDan Radez7-5/+487
- covers build.py - covers build_utils.py - moved build_utils out of build module, it wasn't possible to import build.py while build_utils was in a module Change-Id: I42f08a475d9ca219a62c421d4bdd2d1d3c49691a Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-23Fixes clone fork change URLTim Rozet1-1/+6
Downloading the change information was failing for branches other than master. This fixes the URL format to work for branches. Change-Id: I5ec0494aca93437266237ee63b292a6aa5a43f0e Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-23Merge "Fixes Tacker auth and fernet keys dir"Tim Rozet2-0/+7
2017-09-23Merge "Fixes missing bgpvpn service on controller"Tim Rozet1-0/+1
2017-09-22Merge "Removing duplicate lib path in ansible_path"Tim Rozet1-8/+5
2017-09-22Merge "Adds detection for virsh default network IP"Dan Radez1-2/+25
2017-09-22Merge "Add kubernetes repo and install RPMS into overcloud images"Tim Rozet1-0/+14
2017-09-22Fixes missing bgpvpn service on controllerTim Rozet1-0/+1
Change-Id: I943fc99d539aca9bc66204a75dbd2ae8fa7033fd Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-22Fixes Tacker auth and fernet keys dirTim Rozet2-0/+7
Tacker authtoken was missing password which is now added in the tht patch. Tacker also needs 'etc/tacker/vim/fernet_keys' in order to be able to create VIMs. The real fix to this missing directory is to the rpm itself: https://review.rdoproject.org/r/#/c/9725/ However in this patch we ensure it is created in Ansible because RDO images are frozen in for now in Apex so we would not pick up new RDO packages. apex-tripleo-heat-templates: I2b347cbc4595e6651b0d4be032cb862fde72e15f Change-Id: I76959cbfd581b9fec69749ccbcbcb39dc959a883 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-22Merge "Fixes removing inventory keys"Feng Pan5-27/+66
2017-09-22Adds detection for virsh default network IPTim Rozet1-2/+25
In case a user already has a default virsh network and the default IP is not 192.168.122.1, this patch will allow detecting and using the found value. Change-Id: Id5d46a820d89e86c9b5897f5d29b83ed32f9d6f9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-22Add kubernetes repo and install RPMS into overcloud imagesTomofumi Hayashi1-0/+14
This change introduces k8s into overcloud images. It just installs kubernetes rpms only, so further configuration is required to activate k8s at overcloud nodes and it will be taken care of other diffs. Change-Id: I606d176812705802790243ae4e95988a591c5fe6 Signed-off-by: Tomofumi Hayashi <s1061123@gmail.com>
2017-09-21Merge "Revert "Adds Calipso scenario""Tim Rozet7-26/+1
2017-09-21Fixes removing inventory keysTim Rozet5-27/+66
Inventory keys that we want to delete were not being removed for instackenv.json. Also fixes unit tests. Change-Id: I7d6c752342db050d651953633f18e236f60334e3 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-21Revert "Adds Calipso scenario"Tim Rozet7-26/+1
This reverts commit 433961f8c0b816f19aa858654261fa87d2f02a19. Change-Id: Ic8a14d2e0ad8d1006625af401fde2f365890650b Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-21Merge "Adds Calipso scenario"Dan Radez7-1/+26
2017-09-21Merge "Improves clean to cleanup virsh nets and and other bridges"Feng Pan2-5/+37
2017-09-21Removing duplicate lib path in ansible_pathDan Radez1-8/+5
- deploy line 283 lib is joined with ANSIBLE_PATH then line 285, 347, 418 and 435 it was joined again with ansible_path from 283 already containing lib Change-Id: I6612967d626eeb0668eb43294831447c387f8e93 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-21Merge "Set aarch64 deploys to UEFI"Tim Rozet2-3/+6
2017-09-20Improves clean to cleanup virsh nets and and other bridgesTim Rozet2-5/+37
Currently only the admin and external bridges will be removed from the jumphost which is only really clean for a baremetal deployment. Virtual deployments will leave br-tenant, br-api, br-storage. This patch removes those as well as deletes all Apex virsh networks from libvirt. Also checks if authorized_keys exists before trying to edit it. Change-Id: I1affe2733ba1dc38fd3b91fb14398454137f00a4 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-20Adds Calipso scenarioTim Rozet7-1/+26
Calipso uses docker containers and is post deployment feature that can be used to monitor pieces of the stack. This patch installs it to the undercloud rather than the jumphost as it is easier to manage for cleanup and dependencies. Change-Id: Ie2dacc4f14b391a864fafb2e75ebcd15facb19f1 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-20Merge "Fixes missing libvirt-client in ISO"Feng Pan1-1/+1
2017-09-20Merge "Removes building OVS 2.6.1 with NSH"Feng Pan2-56/+0
2017-09-20Merge "Freezes RDO images for Euphrates"Feng Pan1-1/+1
2017-09-19Set aarch64 deploys to UEFIDan Radez2-3/+6
Change-Id: I6b037ccd38fa68e5f863566a1c9a3ed4399bab84 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-19Removes building OVS 2.6.1 with NSHTim Rozet2-56/+0
For master(Pike) we wont need this anymore since OVS 2.8 will have built in support for NSH. Change-Id: I51e2f4abf282ddb83d3edef9e5b827363a4d68be Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-19Fixes missing libvirt-client in ISOTim Rozet1-1/+1
This was causing ISO install to fail because the libvirt modules were missing for python-libvirt. JIRA: APEX-517 Change-Id: Iaf127340864da58b2bace720293e515c8e9db426 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-19Freezes RDO images for EuphratesTim Rozet1-1/+1
Change-Id: Ie20e7d0c52efc2497c7c9975f88be0a9bfa7aa07 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-19Merge "Fixes jumphost pubkey error in undercloud playbook"Feng Pan0-0/+0
2017-09-18Minor fixes to cleanTim Rozet3-9/+5
Also adds hidden files (like IDE configs) to gitignore Change-Id: Ief595c41c5b4f0fe058f7b774f7a2aefdab733a4 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-16Fix broken jumphost detach method when orig file existsTim Rozet2-4/+26
In the case where the backup ifcfg file exists (.orig) the functionality to detach the interface from ovs was broken. This fixes it and adds unit test case to cover that scenario. Change-Id: If6d8ca0ba5cf80df71bb82f52e9d204435374479 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-15Fixes wrong argument for inventory with cleanTim Rozet1-1/+1
Change-Id: I3ff145fa0f500182744fd310bb844e4bc5854663 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-15Merge "Cleaning up yamllint warnings"Dan Radez5-7/+10
2017-09-15Merge "Removes clean.sh"Feng Pan2-21/+1
2017-09-14Removes clean.shTim Rozet2-21/+1
CI has been migrated to use opnfv-clean for verify jobs, which is now installed as python. There is no reason to keep ci/clean.sh anymore. Change-Id: I2edf23901c5debaba0674e3506fd0392d317dc6f Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-14baro: updating refs to collectd-ceilometerEmma Foley1-13/+13
Since Ceilometer support was removed from the collectd-ceilometer-plugin[1], the repo name and ceiloemter are misleading. A change was submitted to openstack-infra to rename the repo [2] This change removes references to collectd-ceilometer from apex. These changes are independant of the repo rename. [1] https://review.openstack.org/#/c/490823/ [2] https://review.openstack.org/#/c/500768/ Depends-On: I6cf22c081aa1e40f64995be40b6225855faf4092 Change-Id: Ib3a7766e28fd03a86a995eea4b9abc996498200e Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2017-09-14Cleaning up yamllint warningsDan Radez5-7/+10
yamllint output: build/baremetal-environment.yaml 1:1 warning missing document start "---" (document-start) build/opnfv-environment.yaml 6:3 warning comment not indented like content (comments-indentation) 14:4 warning missing starting space in comment (comments) 123:1 warning comment not indented like content (comments-indentation) 128:1 warning comment not indented like content (comments-indentation) 156:1 warning comment not indented like content (comments-indentation) config/deploy/os-odl-fdio-dvr-ha.yaml 1:1 warning missing document start "---" (document-start) config/deploy/os-odl-fdio-dvr-noha.yaml 1:1 warning missing document start "---" (document-start) config/network/network_settings_v6.yaml 225:6 warning missing starting space in comment (comments) Change-Id: I3985ce0b6740ce4694b5d75b477cb03c3dc49c28 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-14Fix broken build dependencyTim Rozet4-2/+15
libguestfs-tools is failing to install because libvirt-client is installed and there is a package conflict. Removing libvirt-client from image before installing libguestfs-tools. NSH build is failing in overcloud because the CentOS repos updated with newer kernel source and headers, and we are still using older kernel. This patch adds the old kernel source and headers. Upgrading to new kernel causes NSH OVS to fail when compiling. Change-Id: Ifd500ad138116cfecafb2268ccb580bd44d5efd5 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-13Merge "Migrates clean to python"Feng Pan15-278/+716
2017-09-13Migrates clean to pythonTim Rozet15-278/+716
ci/clean.sh will be removed in a future patch after releng is updated to use python. JIRA: APEX-509 JIRA: APEX-319 Change-Id: If890db2fc5a31833ad28ec6f04589e25457bd380 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-12Merge "Updates SFC to use nitrogen"Feng Pan5-5/+11
2017-09-11Show ansible tasks as they completeDan Radez3-11/+45
Change-Id: I1b68d70fd97076a7f2ca68091a6e94d87b72efa2 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-11Updates SFC to use nitrogenTim Rozet5-5/+11
Also fixes issue where openvswitch NSH rpm was not getting installed because we needed to downgrade now that default OVS is 2.7 and NSH OVS is 2.6.1 Change-Id: I1b639ca80214032e93aacb3332e9588d49e74127 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-11Dup owner, changing to groupDan Radez1-1/+1
Change-Id: I8ca1501949a0e272e928c6b31b08eba2519951ec Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-08Restarts libvirtd after stopping firewalldTim Rozet1-2/+5
When stopping firewalld, libvirtd needs to be restarted in order for libvirt to use/populate iptables with the NAT rules for the default virsh network. JIRA: APEX-510 Change-Id: Ia5b4515fd961baa70de58814e9eae4b397db28a7 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-08Merge "Adjustments to tmp dir handling"Tim Rozet1-2/+3
2017-09-08Merge "Adds missing packages for undercloud"Dan Radez1-0/+1
2017-09-08Adjustments to tmp dir handlingDan Radez1-2/+3
- prefixing with apex_tmp - removing overcloud qcow on failure JIRA: APEX-513 Change-Id: I766df10c294c31622917bbd5b0597e3373716d8b Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-08Merge "Conditionalize VM console arg based on arch"Tim Rozet1-1/+3
2017-09-07Adds missing packages for undercloudTim Rozet1-0/+1
JIRA: APEX-511 Change-Id: If8ed2b5409e450c39f4fffd5a0b3cb96560c5d26 Signed-off-by: Tim Rozet <trozet@redhat.com>