summaryrefslogtreecommitdiffstats
path: root/lib/undercloud-functions.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-06-22Adding conditionals dependent on archDan Radez1-0/+41
There are x86 specific build items that can't be used when building on aarch64. Adding conditionals so that the items only get built in when building on x86_64. There are aarch64 specific settings that need to be set for deployment. JIRA: APEX-381 Change-Id: I63e1c99d5d22bbb523c88be7e973a6c834a38b01 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-05-17Merge "Removing sdn_l3 and _l2 scenario features"Tim Rozet1-6/+4
2017-05-15Removing sdn_l3 and _l2 scenario featuresDan Radez1-6/+4
JIRA: APEX-429 Change-Id: Ifb28bb27f8e58ac5b180454719dfb329c3edf000 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-05-10Couple cleanups related to ocata updateDan Radez1-7/+0
- remove glance v2 enable - remove bgpvpn Change-Id: I2e09067e4f81c8a48e8f12475451b2a3c40289a7 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-05-09Updating Apex to OpenStack OcataDan Radez1-65/+22
- 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-10Disable tripleo_uiFeng Pan1-0/+1
Change-Id: Ib35bc67d15c306b416801838bba48b7090bff174 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-03-30Moving undercloud root pw to debug onlyDan Radez1-0/+4
Change-Id: I380d39b6c78519487dec3b053c53a9579df57f06 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-03-10Add support for odl_l3-fdioFeng Pan1-3/+7
This patch adds support for ODL L3 FDIO scenario. Introduces a new deploy settings parameter, odl_routing_node, to indicate the routing node's hostname. This parameter will only be used for this scenario. Change-Id: I8df3eb701299007761c6cec42c4ca318b124a0b8 opnfv-tht-pr: 108 os-net-config-pr: 4 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-12-21Updating ENV var names to better reflect what they point toDan Radez1-5/+5
- Also removing a stale file Change-Id: Ice2f9b4f9961bcd7f05278f11995aa0af237ac8e Signed-off-by: Dan Radez <dradez@redhat.com>
2016-12-13Adds stripped down ODL CSIT deploymentTim Rozet1-1/+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-02Fixes using single network (previously called flat) for deployTim Rozet1-0/+2
Also contains various network parsing fixes. JIRA: APEX-361 Change-Id: I5e40ed67267d5ded85adc2982a8726ebbceaeae5 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-11-17Allow passing a device name to cephDan Radez1-0/+4
JIRA: APEX-347 Change-Id: Ibc6d141e20faf613e0f6314286b55aff01ce862e Signed-off-by: Dan Radez <dradez@redhat.com>
2016-11-17Skip ip resolution during arp lookupsDan Radez1-2/+2
Change-Id: I58dcdb3f0b42be8354e7298923ba94d8052d3ee5 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-10-08set undercloud VM to autostartDan Radez1-0/+1
When an apex deployment reboot's it fails to come back clean because it expects to connect to the undercloud which is not set to autostart. JIRA: APEX-289 Change-Id: Ia4984a3de68067d7c68aeb5ae955ff358865ce79 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-09-27Removing --flat and network_isolation variablesDan Radez1-47/+42
VLAN support allows a set of nodes with a single nic to deploy removing the need for --flat. flat was not well maintained or tested. Change-Id: Ieae1c2350c83544ce50048b44300fa0b8e68dd43 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-09-22migrating to proposed common network settings fileDan Radez1-20/+20
- 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-20Handling file loads and tmp dirs differentlyDan Radez1-2/+2
Change-Id: I602279b30b035cfc667e4ee9b83905a638440abb Signed-off-by: Dan Radez <dradez@redhat.com>
2016-09-15Increase ironic undercloud timoutsrandyl1-0/+2
Increase the tollerence for installing on slower networks. "/etc/ironic/ironic.conf" [disk_utils] iscsi_verify_attempts=30 [disk_partitioner] check_device_max_retries=40 Using openstack-config, since that is being used to configure other attributes. Jira : APEX-267 Signed-off-by: RandyL <r.levensalor@cablelabs.com> Change-Id: I9da3a1ee6a5e6767462c0135c45aadee64790ab4
2016-09-07moving inventory file parsing to pythonDan Radez1-5/+0
Change-Id: Ib03728e8ffe9c65044b32b4348e9c1c88862c6e3 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-08-22removing enabled_network_list as an argument to network envDan Radez1-2/+2
NetworkSettings Object is being rendered and passed to net env object already. We can get the enabled network list from the network settings object instead of passing it in as an arg. Basically just removing duplicate arguments to the network env object. Change-Id: I828c60878a0432cae2b37c08ae1896dce49071d0 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-08-04Fix network_isolation argparse issueFeng Pan1-2/+2
JIRA: APEX-222 Change-Id: I435852fbe1597bf03f617dc14a6718de699b648f Signed-off-by: Feng Pan <fpan@redhat.com>
2016-08-03Enable nested kvm for virtual deploymentFeng Pan1-1/+0
For virtual deployment, we will attempt to enable nested kvm, if that is not possible, qemu will be used instead. Only support Intel for now. Change-Id: I951835c3e3faedfc698a4c879366d6c96249e5c1 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-07-19Allows specifying domain name for overcloud/undercloudTim Rozet1-0/+11
Can be set by setting domain_name in network_settings. Defaults to dummy opnfvapex.com. JIRA: APEX-183 JIRA: APEX-182 Change-Id: Ib7c279a1c8432b8635f72e5cc667f16b9cd65159 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-07-06Splitting out deploy.sh undercloud to functions fileDan Radez1-0/+277
trying to reduce the monolith deploy.sh to smaller parts Change-Id: Ia92c055021073dc72f46a970cd03206ddd8df8da Signed-off-by: Dan Radez <dradez@redhat.com>