summaryrefslogtreecommitdiffstats
path: root/build/undercloud.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-09-28Fix RT KVM scenarioFeng Pan1-2/+1
Also change first-boot.yaml to handle updated kernel for rt kvm Change-Id: I66b7159731dd286c4a97ba4f3583e229afbb73b3 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-09-25Applies Tacker upstream patches and fixes fernet dir permsTim Rozet1-0/+2
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/+1
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-14Fix broken build dependencyTim Rozet1-0/+1
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-07Adds missing packages for undercloudTim Rozet1-0/+1
JIRA: APEX-511 Change-Id: If8ed2b5409e450c39f4fffd5a0b3cb96560c5d26 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-09Merge "Sets baremetal workers to 12"Tim Rozet1-0/+1
2017-08-09Sets baremetal workers to 12Feng Pan1-0/+1
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 Rozet1-0/+1
apex-tripleo-heat-templates: I230b31dc9ed0ecc5046064628ba2f2505e589522 apex-puppet-tripleo: Icd433ddc6ae7de19a09f9e33b410a362c317138a Change-Id: I0b17b4e86eb90b949bd62f7e73944adad77ef1a3 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-30Moving to forks on gerrit.opnfv.orgDan Radez1-8/+7
Migrating off of github onto opnfv.org to host our forked projects that are side loaded into our builds apex-tripleo-heat-templates: Ic65cfeee4a55e993629f831c8c9d9addf6f3dff4 apex-puppet-tripleo: If498c41d706c8f14a5b0bbee64cb4d26cd78c2d0 apex-os-net-config: I5281a57640f388e984b061702362f9c82d08da78 Change-Id: Ieb5cf293ad06d90fce7a9467e32ac0f2d8731a0a Signed-off-by: Dan Radez <dradez@redhat.com> Signed-off-by: Feng Pan <fpan@redhat.com>
2017-05-09Updating Apex to OpenStack OcataDan Radez1-16/+2
- power management updated to virtualbmc, pxe_ssh is deprecated - removing custom tacker build - removing custom congress build - disabling yum update in undercloud on the cli instead of in a patch - Undercloud is direct kernel booted now, there are no kernel and initrd in the disk image from upstream - remove OpenDaylight previous to Carbon JIRA: APEX-433 JIRA: APEX-432 JIRA: APEX-431 Change-Id: I6963f16e65eacade5607a3082b58b6150331406c Signed-off-by: Dan Radez <dradez@redhat.com>
2017-04-06Remove OpenwsmanDan Radez1-3/+0
- AMT is no longer supported in Triple-O Change-Id: Iddca225b0b40ae237ed9dcf754051a38cdafec9e Signed-off-by: Dan Radez <dradez@redhat.com>
2017-03-30Moving undercloud root pw to debug onlyDan Radez1-1/+0
Change-Id: I380d39b6c78519487dec3b053c53a9579df57f06 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-03-24Fixes OVS DPDK scenariosTim Rozet1-0/+1
This fixes nosdn OVS DPDK scenarios to work with OVS 2.6. It also adds support for the ODL DPDK scenario. OVS DPDK configuration is done during preconfig on compute nodes. All nodes make use of first boot script to get kernel params like hugepages. The network settings are modified to use real nic names for the virtual network settings file. This is required due to a timing bug with os-net-config and using first-boot script. The network settings file also contains the UIO driver to use with DPDK. JIRA: APEX-314 opnfv-tht-pr: 117 Change-Id: I46b6fca71ecec38981968133ba2411f64d7c6445 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-16Move modified enable_rt_kvm.yaml to .build directoryFeng Pan1-2/+2
We should not be modifying files in our repo directly during build. This patch moves the modified version of enable_rt_kvm.yaml into $BUILD_DIR rather than modifying it in place. Change-Id: Ibe160d0e5bc0f1d6633fde11de9f125ed49f58e2 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-03-09Adding "Real Time KVM" supportdavidjchou1-0/+5
Adding the support to run the "Real Time KVM" kernel in the compute node(s) to reduce the network latency caused by the virtualization of the network functions. Since the current "Real Time KVM" kernel doesn't support physical to logical network interface mapping yet, we need to use the real physical interface name rather than the logical interface name for all compute interfaces in network_settings.yaml. Also updates tests for the network settings changes and fixes a bug where interface was being queried on the controller nics before it interfaces were validated. JIRA: APEX-128 Change-Id: Iccb6c9fbdcf7e3b482f4283039ef17c38e0a6df7 Signed-off-by: davidjchou <david.j.chou@intel.com> Signed-off-by: Tim Rozet <trozet@redhat.com> Signed-off-by: Dan Radez <dradez@redhat.com>
2017-03-06Build cleanupsDan Radez1-1/+1
- moved patch files into patches dir - python-etcd is packaged upstream Change-Id: I2ad33460e1a8b3e57d30976d92c7423a30a68fc9 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-02-22Adding congress support back into DanubeDan Radez1-4/+1
opnfv-tht-pr: 97 opnfv-puppet-tripleo-pr: 10 Change-Id: Idfc109fc984f20b096a23d12864a027146a9c74c Signed-off-by: Dan Radez <dradez@redhat.com>
2017-02-18Add support for odl-fdio scenarioFeng Pan1-8/+1
Changes: - Kernel parameters are now set through first-boot.yaml during deployment. No custom images will be built. Note that all nodes will be configured the same way, we only use compute's kernel parameter settings currently (from deploy settings file) - Add support for VPP interface type in network settings file, it is now possible to specify vpp_interface type and uio_driver for tenant nic in network settings file. A new example config, network_settings_vpp.yaml is added. - Add support for odl_l2-fdio scenario. Limitations: - Physical NIC names must be specified in network settings file, numbered nic names such as nic1 are not supported for fdio scenarios. - The same kernel parameters will be configured for all nodes. The paramters will be taken from compute kernel parameter section in deploy settings file. opnfv-tht-pr: 104 opnfv-puppet-tripleo-pr: 12 os-net-config-pr: 3 Change-Id: Ie9d6151e6e58d11da3c66fbcabe4a0886c3fa152 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-02-13Adding tacker support back into DanubeDan Radez1-5/+2
opnfv-tht-pr: 98 opnfv-puppet-tripleo-pr: 11 Change-Id: I971bb2c94eb9500c81b25adf5019fd02f8e90053 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-02-08Adds default root password to undercloudTim Rozet1-0/+1
Adds default password 'stack' Change-Id: Ib45c0382f09b4d772d83eb984eee227cb3e23083 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-01-25Fixes yum update on undercloudTim Rozet1-1/+2
We had already disabled this via puppet, but the code upstream was moved into python. This patch now disables it in python. JIRA: APEX-382 Change-Id: Ib8bb82945244818b1de0f26e3e80f599be72e8f6 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-12-13Adds stripped down ODL CSIT deploymentTim Rozet1-0/+1
Introduces new (hidden) cli option to change composable env config. This parameter then will use the provided file, for example, csit-environment.yaml instead of the typical opnfv-environment.yaml. The effect is using less services required for ODL CSIT snapshots. Note: this will not work with perf options, but those are not required currently for ODL CSIT. CSIT also does not need ceph, so providing a new deploy option to allow disabling it. JIRA: APEX-362 Change-Id: If3833b1acceeb23ef9e12c90df6cc9607bd8c724 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-12-12Update networking-vpp packagingFeng Pan1-0/+2
- Change package to python-networking-vpp - Turn off autoreq for /bin/python - Update vpp to 17.01 - Disables undercloud package updating Change-Id: I9743e73ca9c36cc5162076580dc0a6b8861c7149 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-12-08Fixes and cleans up build/cache directory usageTim Rozet1-20/+19
Changes include: - Building is isolated to a .build directory that is git ignored - Caching is isolated to a .cache directory that is git ignored - Build scripts have been variablized, and relative paths have been removed - Unused files removed - build.sh, make file cleaned up - Fixed broken building of markupsafe and jinja2 packages - make clean-cache will remove the cache now - per item cleans are removed in place of simple clean .build now - includes fix for OSC issue with LP# 1642301 Change-Id: I42b8e4eb694bf0a2c398858814f8b73785931896 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-12-01Updates to CachingDan Radez1-2/+2
- updates cache to use the cache dir as a linked representation of the build dir - fixing cache build/extract JIRA: APEX-325 Change-Id: I80bf67e5d55ca2e069ca72e6b47303368bda0433 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-11-29Adding git commit to RPM releasesDan Radez1-2/+2
Preparing for better caching by adding the git hash to the rpm release We can skip building the RPMs if they are cached and would be built off the same hash JIRA: APEX-325 Change-Id: I9b0e26f123667673d126362a2501abb13830e44b Signed-off-by: Dan Radez <dradez@redhat.com>
2016-11-17Disable reverse DNS lookup on the undercloudDan Radez1-0/+2
Change-Id: I02328d7cff977fc55cb325b9714d8a5857c00255 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-11-11Migrate to stable/newtonTim Rozet1-4/+4
os-odl_l2_nofeature is now deprecated since new netvirt only supports odl_l3. JIRA: APEX-299 Change-Id: I3557ecb85fa4cd11bba96aa9410e56a8e8cceb00 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-09-22migrating to proposed common network settings fileDan Radez1-1/+1
- proposed in genesis https://wiki.opnfv.org/display/genesis/Common+Network+Settings - This patch updates the network_settings files in the config/network dir and updates the associated bash, python and python tests relative to the new yaml structure and nomenclature used in the proposed settings file JIRA: APEX-262 Change-Id: Ib0dc9d0f21465b38f2a53cff20f71fb9230bfc48 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-09-07Fix tacker endpoint portMichael Chapman1-1/+1
JIRA: APEX-260 Change-Id: Ie6a546b9cdde8fa016cf1d50c4641ed97f51306d Signed-off-by: Michael Chapman <michapma@redhat.com>
2016-08-17adding tackerclient to the buildDan Radez1-11/+3
JIRA: APEX-235 Change-Id: Ie3ead17f1f82bc74dc38413bb4a3118fbcb82e9c Signed-off-by: Dan Radez <dradez@redhat.com>
2016-08-16Fix tacker endpointMichael Chapman1-1/+1
Tacker endpoint is currently configured to be on the same port as congress (1789) when it should be 8888. JIRA: APEX-229 Change-Id: I239c1200668dd50d0e4f104c33b658132a906f67 Signed-off-by: Michael Chapman <michapma@redhat.com>
2016-08-12Adds missing packages to undercloudTim Rozet1-0/+4
JIRA: APEX-226 Change-Id: Icadf8eee603e753fcaaff0465bd4f9c1596a9804 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-07-20Adding tacker supportDan Radez1-0/+16
opnfv-tht-pr: 34 opnfv-puppet-tripleo-pr: 4 JIRA: APEX-126 Change-Id: I050e7ae2e94779c1886f670841aa4e2dec4aa8d2 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-11Adding doctor driver and datasourceDan Radez1-0/+3
opnfv-tht-pr: 37 JIRA: APEX-158 Change-Id: I079d22e8ee7798bddf7f2f1b6cc3f1b49f1d5773 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-01Adding congress supportDan Radez1-0/+6
JIRA: APEX-135 opnfv-tht-pr: 16 opnfv-puppet-tripleo-pr: 2 Change-Id: Ic14abd13e2aa46d7ef37b74dd7b005ebf9977bdd Signed-off-by: Dan Radez <dradez@redhat.com>
2016-06-13puppet-tripleo fork integrationDan Radez1-40/+9
moving the github integration with pull requests into a function so we can continue to service opnfv-tht and also service opnfv-puppet-tripleo with the same code opnfv-puppet-tripleo-pr: 3 Change-Id: Ief2b1e7309defce9ed2029f6baade3c1371b7d96 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-06-09updating undercloud buildDan Radez1-4/+5
if the undercloud build fails and make is rerun make will think that the undercloud is already built, this fix updates the undercloud build to match the overcloud builds such that the image file is appended with _build until the build is completed. Change-Id: I4640a1b3c4024778bbab8fbd2f65a320baaabe4b Signed-off-by: Dan Radez <dradez@redhat.com>
2016-06-08Fixes setting kernel boot arguments with perf optionsTim Rozet1-0/+6
JIRA: APEX-168 opnfv-tht-pr: 22 Change-Id: I224b16be24b34e245d22c9321ca94ebe52c52dfd Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-24Add pinning supportMichael Chapman1-2/+6
Add support for CPU pinning of libvirt guests and also restricting host processes to selected CPUs via isolcpus. Hugepage support is added using the same mechanism as isolcpus, along with a perf scenario where all 3 performance options are enabled. Deploy options are now parsed in python JIRA: APEX-127 JIRA: APEX-105 JIRA: APEX-106 Change-Id: I438e80fb88e596cc017595d43bc1efda1001325c opnfv-tht-pr: 8 Signed-off-by: Michael Chapman <woppin@gmail.com>
2016-05-23Limits engine workers for virtual deploymentsTim Rozet1-0/+1
Heat uses sub-process forking for increasing number of workers to handle tasks. This patch limits number of workers in undercloud and overcloud for virtual deployments to help battle resource contention. Change-Id: I70edff708b7dcaf114b285046af3138a67167150 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-04-20Deploy ceph OSDs on the compute nodes tooDan Radez1-16/+17
- Also fixing the github PR json parsing opnfv-tht-pr: 7 JIRA: APEX-89 Change-Id: I5c27209ed006309285bd24d77cc2392513325116 Signed-off-by: Dan Radez <dradez@redhat.com> Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-04-12fixing PR_NUMBER evaluation when there is no opnfv-tht-pr in the commit messageDan Radez1-1/+5
Change-Id: I5abd9efe48a665f7a65201ec20805cd1a4001763 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-04-12Get tht from github instead of rpmMichael Chapman1-4/+34
Use apex fork of tht instead of relying on rpms. Can get specific pull requests instead of default branch if specified in the commit message using the syntax: opnfv-tht-pr: [pull-request-number] Change-Id: Ib4c8edd1a94258406d06dd7e80b4ae4ec8ca6c53 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-04-07Fixes controller Image to be overcloud-fullTim Rozet1-0/+2
New param introduced into THT that exposes the image to use for the Controller. The new var is defaulted to use overcloud-control and is causing master to fail. Changes Include: - Adds opnfv-environment yaml file to use for common parameters required in all deployments - Defaults controllerImage to be overcloud-full Change-Id: I5da8921d9c9efd167748a3d6f42866d18f46d2b7 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-04-01Migrating to MitakaDan Radez1-26/+5
- Only support for NOSDN for this patch - Other SDN controllers will not be tested for this patch - AODH is now upstream and not needed to be carried in Apex - puppet-cinder-quota-fix.patch is now upstream and not needed to be carried in Apex - puppet-neutron-force-metadata.patch is now upstream and not needed to be carried in Apex - removing the catalog of nic files and creating a templatization for them JIRA: APEX-108 JIRA: APEX-93 JIRA: APEX-92 Change-Id: Ic1a24baec7ef295e9dc1b8b72ac36ca5b05578ea Signed-off-by: Dan Radez <dradez@redhat.com>
2016-03-23updating vm creation for virt deploymentDan Radez1-0/+57
- replacing brbm with logical names br-netname - replacing instack-virt-setup with tripleo scripts JIRA: APEX-90, APEX-80 Change-Id: I58a15dee8de882e034c8af8a3368ca0647741b13 Signed-off-by: Dan Radez <dradez@redhat.com>