summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2017-12-02Merge "Fix nested kvm detection and enablement"Tim Rozet1-11/+17
2017-11-30Fix nested kvm detection and enablementFeng Pan1-11/+17
- Fix ansible kvm_intel kernel module reload when trying to enable nested kvm - Add "--libvirt-type qemu" to deploy command when nested kvm is not enabled. JIRA: APEX-514 Change-Id: I0e659b1c99b5732854d723e1cb049845cb60ef37 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-11-30Fixes inserting ceph OSD into compute roleTim Rozet1-1/+9
The lineinfile was not actually inserting the CephOSD line because it was already present later in the file (regardless of 'insertbefore'). Therefore we can fix it by simply removing the CephOSD line before we try to set it, since we do not need it in the storage role anyway. Change-Id: I8c8d9b6baccfc77ea582fab6ad438b02293f96fb Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-11-28Fixes upstream deploymentsTim Rozet1-0/+8
There was an issue with patching the overcloud where the patch binary is missing, making it impossible to apply patches. This change install patch now on the image. Also, although deployments were successful, storage was not working. This is because by default upstream does not apply Ceph OSDs to compute nodes for hyperconverged Ceph, but we use this as our standard deployment in Apex. This patch inserts CephOSD into the default Compute role. Note: we normally override role's services in regular Apex deployments so we do not hit this issue there. Change-Id: I5bddda4784dc00148395863ae0990343a4159602 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-11-17Removes using https with rdo-releaseTim Rozet1-1/+1
We dont need to use https with rdo-release and it can cause issues for ansible. Change-Id: I081228a05d68f987fa02480bcd1bf216573550f1 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-11-16Migrates Apex to PikeTim Rozet1-0/+16
JIRA: APEX-544 Change-Id: Ibee2068e782da75268ed76beb36ccb5dcd1847d6 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-11-07Fixes dependency install of env group Virtualization HostTim Rozet1-1/+1
Virtualization Host env group started failing for users with centos 7.4 and according to Ansible guide the correct format for env groups should be "@^" prefix: http://docs.ansible.com/ansible/latest/yum_module.html JIRA: APEX-539 Change-Id: I3f71ce4462b33ad0772963869db4ea3c0f6e9e51 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-11-06Adds ability to deploy from upstream openstackTim Rozet1-1/+9
To deploy with upstream openstack branch, use new deploy setting 'os_version'. A default scenario file for nosdn with pike has been included in this patch. If 'os_version' is a version other than the default version for this OPNFV release, then upstream is used. In order to use upstream with the current OS version use '--upstream' argument to the deploy command, to force an upstream deployment. Also include '-e upstream-environment.yaml' to use default upstream deployment settings. Supports nosdn and odl-nofeature deployments. Change-Id: Ic07e308827b449637b4e86cdd086434e4de2fb69 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-10-18Adapt zrpcd to work for Carbon/Nitrogentomsou1-6/+6
It updates the quagga tar.gz file which is used to install zrpcd/quagga. The new rpms are compiled with thrift-version 4 Zrpcd is installed as a process. Additional changes takwqe place adopting the installation and checking of zrpcd process Note that an extra patch is needed to update or remove the building procedure, which is present within the project but not used actually. JIRA: APEX-508 Change-Id: If6da075d2aafdb8c2ecfc599f595a7201490aa23 Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-10-11Increase ssh timeout and add retry for AnsibleTim Rozet1-0/+6
Several users have experienced random disconnections from the undercloud during deployment. This should help to stop deployments from aborting. Change-Id: Idb7619d493b329944f21ea6641f6826a8fcc3907 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-10-03This config is no longer neededDan Radez1-1/+0
it is setting and unescaped default value which ended up setting an invalid value. removing it uses the default which accomplishes what this was originally attempting to put into place. Change-Id: I03660921860adf7625e17d2c4a3ba07b62d0f3f0 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-29Adds Calipso scenarioTim Rozet1-0/+38
Change-Id: Icc8a23e49c9ccc011481f6b97599d4f75873ebb1 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-25Applies Tacker upstream patches and fixes fernet dir permsTim Rozet1-1/+3
We need a couple patches to Tacker upstream that we will not get now that our images are frozen in RDO. We should remove them on upgrade to Pike. Also this patch fixes the permissions on the fernet keys dir so that the Tacker group can write. Change-Id: I6468356f1d16d3b8ab58d46f653431e29960e190 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-22Fixes Tacker auth and fernet keys dirTim Rozet1-0/+6
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-21Revert "Adds Calipso scenario"Tim Rozet1-4/+0
This reverts commit 433961f8c0b816f19aa858654261fa87d2f02a19. Change-Id: Ic8a14d2e0ad8d1006625af401fde2f365890650b Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-20Adds Calipso scenarioTim Rozet1-0/+4
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-11Dup owner, changing to groupDan Radez1-1/+1
Change-Id: I8ca1501949a0e272e928c6b31b08eba2519951ec Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-07Merge "Skip introspection for aarch64 BM deployments"Tim Rozet1-4/+6
2017-09-06Enabling the aarch check for deploymentDan Radez1-1/+1
Change-Id: Ic5f1fc8a61f74f7aa6b2fabf67169c601a603367 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-06Skip introspection for aarch64 BM deploymentsDan Radez1-4/+6
Change-Id: I630e90065f9cc76ef42ca9b23aea920c2493b53f Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-01Merge "Adds Undercloud retry and log fetch"Feng Pan1-4/+16
2017-08-31Adds Undercloud retry and log fetchTim Rozet1-4/+16
Retry to install the undercloud if it fails due to sometimes failing. Also copy undercloud log over to host temp dir. Change-Id: I50f98c4f0d52fa6bb56d9dcd0766bbe745160452 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-31Adds showing overcloud failuresTim Rozet1-2/+6
Change-Id: Ic09a9b6d57d2ab05562f64a75f9732f76ac61bb7 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-30Merge "Fixes missing iso packages and idempotency of virt resources"Feng Pan1-5/+14
2017-08-29Fixes missing iso packages and idempotency of virt resourcesTim Rozet1-5/+14
Python packages for ansible (py2.x) were missing causing ansible to fail. This patch adds those packages to the ISO and deploy dependencies playbook. Also includes fixes for deploy_dependencies playbook for virt resources to make them idempotent by removing using 'command' and instead just declaring 'state'. Change-Id: I9311184a6f3c40ead0a8ba16fa0b61667876cf12 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-29Removes ignoring errors on congress configTim Rozet1-1/+0
Now that congress has been fixed this should always work. Change-Id: I701707b8b91b340289613bdb31fa91456743d233 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-25Skip the python3 vbmc patchDan Radez1-0/+5
- vbmc has already been imported so we know it's there if vbmc is located in a different spot than the hardcoded location just skip the patch Change-Id: I765fb94c09e0775084ecd37659f4900411eb0e3e Signed-off-by: Dan Radez <dradez@redhat.com>
2017-08-25Merge "Updates and additions to handle aarch64"Dan Radez3-7/+24
2017-08-24Updates and additions to handle aarch64Dan Radez3-7/+24
- move patches from x86 only to common virt-customize - updates to undercloud to configure pxe and external network - initial updates to overcloud deploy functions JIRA: APEX-381 Change-Id: I496e196535e63bfd31654d0f501fe3f00fa5ca3f Signed-off-by: Dan Radez <dradez@redhat.com>
2017-08-24Updates RPM specs and buildingTim Rozet1-4/+6
Changes Include: - Disables ONOS from rpm and image building - Fixes opnfv-apex package dependency for python34-opnfv-apex - Updates requirements for python34-opnfv-apex - Updates docs - Removes temporary build qcow2 for odl which was being bundled into our dev tars unnecessarily Change-Id: Ief668067181fc35a54553ae118b7950bddce1940 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-23Migrates Apex to PythonTim Rozet33-3706/+499
Removes all bash libraries and converts almost all of the code to a mixture of Python and Ansible. utils.sh and clean.sh still exist. clean.sh will be migrated fully to clean.py in another patch. The Apex Python package is now built into the opnfv-apex-common RPM. To install locally do 'pip3 install .'. To deploy: opnfv-deploy -d <file> -n <file> --image-dir /root/apex/.build -v --debug Non-python files (THT yaml, settings files, ansible playbooks) are all installed into /usr/share/opnfv-apex/. The RPM will copy settings files into /etc/opnfv-apex/. JIRA: APEX-317 Change-Id: I3232f0329bcd13bce5a28da6a8c9c84d0b048024 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-21Bumps OVS version to 2.8 for OVNTim Rozet1-2/+2
OVS 2.7 does not seem to be available anymore in the copr repo and has been replaced by 2.8. Change-Id: I7ba98f14e9c9c34f6802f8a890876363c839ab9b Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-14Fixes OpenDaylight versionTim Rozet1-10/+5
The default version is now Carbon with the option of using nitrogen (master) for puppet-odl and opendaylight. JIRA: APEX-500 Change-Id: I44d02ec0db5fb8e6342e5ab6802a5a3f302b8511 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-11Add os-odl-fdio-dvr supportFeng Pan2-7/+41
apex-tripleo-heat-templates: I6a83c9e2deeb0df9a3ab09a707c9c64aa84da55e apex-puppet-tripleo: I2025e3157b97b376b63002003ca17c7206aba546 JIRA: APEX-466 Change-Id: Iedb75994d35b5dc1dd5d5ce1a57277c8f3729dfd Signed-off-by: Feng Pan <fpan@redhat.com>
2017-08-10Remove extra VPP interface from fdio-nosdn scenariosFeng Pan1-4/+6
Also set NeutronNetworkVLANRanges for daily environment. JIRA: APEX-502 Change-Id: I0a53ad8b0bce7a721104b84a2aa7ea38c510a7e7 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-08-09Merge "Sets baremetal workers to 12"Tim Rozet1-0/+2
2017-08-09Sets baremetal workers to 12Feng Pan1-0/+2
There is an issue where in Newton the number of workers (sub processes) opened per openstack service scales with the number of logical cores on the system. On servers with large amount of processors this causes the cloud to fail after some time due to running out of RAM. This patch will limit the number of worker processes to 12, which is the limit in Ocata and onwards. JIRA: APEX-410 Change-Id: I28c4762830c19cd758a0729017f2d4a9ebe372b4 Signed-off-by: Tim Rozet <trozet@redhat.com> Signed-off-by: Feng Pan <fpan@redhat.com>
2017-08-09Enables SFC scenariosTim Rozet2-2/+22
apex-tripleo-heat-templates: I230b31dc9ed0ecc5046064628ba2f2505e589522 apex-puppet-tripleo: Icd433ddc6ae7de19a09f9e33b410a362c317138a Change-Id: I0b17b4e86eb90b949bd62f7e73944adad77ef1a3 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-04Add support for nosdn-ovs-dpdk scenarioFeng Pan1-4/+5
Change-Id: I31fca214b7d16cecc261137567fa7ecf63abfe04 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-08-03Merge "Builds and installs ovs 2.6.1 with NSH support"Feng Pan2-4/+3
2017-08-02Builds and installs ovs 2.6.1 with NSH supportTim Rozet2-4/+3
Change-Id: I369b9d24880ebdb0836e42740ebf27082be9de99 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-02Merge "Add overlay_ip_version config for IPv6 tenant networks"Tim Rozet1-0/+2
2017-08-01Merge "Adds Barometer service"Tim Rozet3-3/+9
2017-08-01Add overlay_ip_version config for IPv6 tenant networksFeng Pan1-0/+2
Change-Id: I03b28bdcc6d0649920fd58fb3400b2a4e5891e68 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-07-31Adds Barometer servicejhinman13-3/+9
Adds Barometer service as a deploy option to Compute nodes by specifying barometer as true in deploy settings. Barometer packages are installed only for x86_64. Adds scenarios os-nosdn-bar-ha and os-nosdn-bar-noha. Add scenarios to opnfv-apex-common.spec. Temporarily remove references to snmp packages. apex-tripleo-heat-templates: I397d2557639c87ab8afacd076a5b9fd7c056dce7 apex-puppet-tripleo: I878ff8d1e0a8b96f3380bb77f168cd5a4c3f6543 Puppet module is at: https://github.com/johnhinman/puppet-barometer. Change-Id: Ic087c2052f7849ee2cf6c63224558c2b36a8ca1f Signed-off-by: jhinman1 <john.hinman@intel.com>
2017-07-29Add support for fdio scenariosFeng Pan1-6/+15
Add support for the following scenarios: - os-odl-fdio-ha - os-odl-fdio-noha - os-nosdn-fdio-noha - os-nosdn-fdio-ha apex-tripleo-heat-templates: If11092e6581445a70e63c8f6c48518698b3cc8fc apex-puppet-tripleo: If498c41d706c8f14a5b0bbee64cb4d26cd78c2d0 apex-os-net-config: If7a2c6119bf613f1fc8846237b077cd8f0e26015 Change-Id: Id3fdd09f6e0d2b7666d08c0dc7802165797eefdc Signed-off-by: Feng Pan <fpan@redhat.com>
2017-07-28Increases mininum virtual controller RAMTim Rozet1-2/+6
nosdn virtual deployments are hitting OOM on controllers. This patch bumps controller minimum ram from 8 to 10 for nosdn, and 10 to 12 for ODL. Also, the maximum workers for gnocchi are limited to 1 for virtual deployments. JIRA: APEX-496 Change-Id: I50d38c60a682f00c14489c65ee8ee6305bc3dc62 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-07-06Merge "Adapting BGPVPN scenario to new composable service"Michael Chapman1-1/+1
2017-07-05Missing brackets on x86_64 conditionalDan Radez1-1/+1
Change-Id: I5436317075ceffa18c34e213795ed3816627d121 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-07-04Adapting BGPVPN scenario to new composable serviceRicardo Noriega1-1/+1
Depends-On: I4af82d456c9d999667f2ef4d16e8f6822463d331 Depends-On: Id28df6ed307976fbb20fa1300f7349b743d96569 Change-Id: I8b6c909ea801491e524206ee4270d453164f3c46 Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>