summaryrefslogtreecommitdiffstats
path: root/ci/deploy.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-04-03Removing Deprecated ENV handlingDan Radez1-13/+0
Change-Id: I7010fb29bf6927d3d4050d9dd8326a0ec7bc44f1 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-03-29Adding --virtual-computes to deploy.sh help outputDan Radez1-0/+1
JIRA: APEX-426 Change-Id: Id2ea69fd26c1160885cbd532d297ed9d3b89f5f7 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-02-22Allows for specifying compute node RAMTim Rozet1-3/+9
Currently we allow specifying ram per Overcloud VM. If the node is detected as ODL, we bump the RAM to a minimum of 10GB. There is a need to be able to specify the RAM per compute node in cases where we need controller RAM to be high, but want compute nodes to be low (like CSIT) - in order to keep the memory footprint as small as possible. Changes Include: - Adds '--virtual-compute-ram' argument that will override the '--virtual-ram' param for compute nodes - Fixes a bug where if ODL is used and RAM is overridden to 10GB for Control nodes, it was also accidentally being set for compute nodes - Modifies '--virtual-ram' to be '--virtual-default-ram' in order to clarify this parameter sets the default amount of RAM for all overcloud nodes which may be overridden by a role specific arg Change-Id: Ia36082aa2167d9897f3ec6753d08804352301c63 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-12-21Updating ENV var names to better reflect what they point toDan Radez1-3/+16
- 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-0/+6
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-11-30adding option to pass dnslookup siteDan Radez1-0/+7
Change-Id: I73d8e92b97b25b39010380d09f7fad3c65795869 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-11-14Flat is not an option anymoreDan Radez1-1/+0
removing unused option from deploy comments Change-Id: I2cddffebf0246c1b3f8f4adb96549dc1ce29ec80 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-10-19Use ntp parameter from network_settingsFeng Pan1-1/+0
Right now we use a ntp_server parameter set in deploy.sh, but since new network_settings file contains ntp information already, we can use those values instead. JIRA: APEX-266 Change-Id: I717af80b967971ea9111002d657972efd94a163a Signed-off-by: Feng Pan <fpan@redhat.com>
2016-10-12Conditionally install OVS NSH in ONOS deploymentDan Radez1-0/+3
OVS with NSH should be installed only if we're enabling SFC in an ONOS deployment JIRA: APEX-331 Change-Id: I54826bb2d62b20c42f00c856d8458444f2f795e5 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-09-27Removing --flat and network_isolation variablesDan Radez1-16/+1
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-8/+8
- 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-21Merge "Handling file loads and tmp dirs differently"Dan Radez1-1/+2
2016-09-21Merge "Adding a bash completion script"Dan Radez1-6/+6
2016-09-20Handling file loads and tmp dirs differentlyDan Radez1-1/+2
Change-Id: I602279b30b035cfc667e4ee9b83905a638440abb Signed-off-by: Dan Radez <dradez@redhat.com>
2016-09-19Change NTP update failure to warningFeng Pan1-4/+3
We don't want NTP update to fail the entire deployment, as the ntp server is hard coded in deploy.sh and the server is not always accessible. Change-Id: I044484e4f81d7580ce4d4824a4bcc4b6b8f7d0f1 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-09-19Adding a bash completion scriptDan Radez1-6/+6
- allows tab completion for deploy and clean script's subcommands Change-Id: If5f5718a3695993767671ab823f434f463c593f2 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-09-12Correct time on jump host prior to launching VMsrandyl1-0/+7
Since the VMs use ntpdate to set the correct time, the host should also have the correct time. JIRA: APEX-246 Change-Id: I55ba59398f56ad25df283336c8ed75e6a3652fe4 Signed-off-by: Randy Levensalor <r.levensalor@cablelabs.com>
2016-09-07moving inventory file parsing to pythonDan Radez1-14/+14
Change-Id: Ib03728e8ffe9c65044b32b4348e9c1c88862c6e3 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-08-22correcting the virtual baremetal defaultsDan Radez1-1/+1
Defaults for virtual deployments was not correct, there were three baremetal nodes being created by default for a noha deployment. JIRA: APEX-221 Change-Id: I8b13ffb620d8ebaed4308725edbc7e84279872dd Signed-off-by: Dan Radez <dradez@redhat.com>
2016-08-11Fix VPP deploy failuresFeng Pan1-4/+4
- Move deploy option parsing to before network settings parsing, as performance options are needed during networking setting parsing. - Fix numa fdio_enabled option setting - Add numa to controller hiera hierarchy in tht opnfv-tht-pr: 53 Change-Id: I0a87c557c8bf653d5a86eccdbb3172733c06716a Signed-off-by: Feng Pan <fpan@redhat.com>
2016-08-04Fix network_isolation argparse issueFeng Pan1-0/+2
JIRA: APEX-222 Change-Id: I435852fbe1597bf03f617dc14a6718de699b648f Signed-off-by: Feng Pan <fpan@redhat.com>
2016-07-06Splitting out common functions to lib filesDan Radez1-33/+0
trying to reduce the monolith deploy.sh to smaller parts Change-Id: Ie2d2d74de5b8cacbb1c57d3d397bede0b659c0af Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-06Splitting post-install into functions fileDan Radez1-145/+1
trying to reduce the monolith deploy.sh to smaller parts Change-Id: Ie7068473e4ddd8eeca28ebd03de57781222ad761 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-06Splitting out overcloud functions to lib filesDan Radez1-272/+2
trying to reduce the monolith deploy.sh to smaller parts Change-Id: Iceeda2be0539563163bceaacbb54c6cc2d07b87b Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-06Splitting out deploy.sh undercloud to functions fileDan Radez1-267/+1
trying to reduce the monolith deploy.sh to smaller parts Change-Id: Ia92c055021073dc72f46a970cd03206ddd8df8da Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-06Splitting out virt functions to functions filesDan Radez1-142/+1
trying to reduce the monolith deploy.sh to smaller parts Change-Id: Ic40a7327d95a290d83f9c0b18ad87a280b0da3c4 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-06Splitting out deps configuration to a functions fileDan Radez1-135/+1
trying to reduce the monolith deploy.sh to smaller parts Change-Id: Ic788748969819637171a51d10b87b018fe286ae1 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-06Merge "Moving parser functions to a sourced file"Michael Chapman1-161/+1
2016-07-05Moving parser functions to a sourced fileDan Radez1-161/+1
Trying to split the monolith deploy.sh Change-Id: Ib145e01696384b1b27e8a79263647235e7d68e2a Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-05Finishes dpdk post installTim Rozet1-0/+10
After dpdk finishes install, br-phy needs to be brought up and ovs-agent needs to be restarted. This cannot happen in tripleO because os-collect-config will try to ping from dpdk interfaces to the controller to validate network connectivity. This doesn't work with dpdk, so we leave br-phy down until end of deployment. JIRA: APEX-119 Change-Id: I3d36d02b773fcbb3c5527b85fd00a2fa1b3cc25d Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-07-05Merge "Adds overcloud ssh support and other fixes"Dan Radez1-0/+13
2016-07-01Adds overcloud ssh support and other fixesTim Rozet1-0/+13
Changes include: - Copies root pub key to overcloud nodes - Introduces overcloud util command to login control/computes - Minor fixes to undercloud util command JIRA: APEX-192 Change-Id: I903fda4b1d232fc623137490630ac905ebb781d7 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-07-01Adding congress supportDan Radez1-0/+9
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-30Syntax updates and new testsDan Radez1-4/+4
- syntax updates to match pep8 standards - tests to cover apex_python_utils.py Change-Id: Ifac06fdbb97266f1b574b20610979b6965d6dd55 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-06-30Fixes nic template renderingTim Rozet1-1/+1
Issue where in default network_settings, api_network is not specified. This means that the settings do not have api_network in its output, but the nic template checks to see if api_network vlan is native in its logic. This patch assumes a vlan will be numeric. A blank value or a value of 'native' will not be numeric therefore default is expanded to allow blank values as non-vlan networks. Also fixes controller to always have br-ex. Change-Id: Ibebb231901e653127175aef194eec708e8507da2 Signed-off-by: Tim Rozet <trozet@redhat.com> Signed-off-by: Dan Radez <dradez@redhat.com> Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-28Merge changes from topics 'fix_dpdk', 'vlan_support'Tim Rozet1-3/+26
* changes: Fixes IP failure during os-collect-config ping check Adding VLAN support
2016-06-28Merge "Remove sahara endpoint"Tim Rozet1-0/+7
2016-06-28Merge "Adds initial FDIO support"Dan Radez1-0/+2
2016-06-28Adding VLAN supportDan Radez1-3/+26
JIRA: APEX-136 JIRA: APEX-30 Change-Id: I7cbbe11f4c1f1455dba253733c78fe8dc215de97 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-06-27Merge "Add ovs-dpdk deploy options check"Tim Rozet1-0/+11
2016-06-22Adds initial FDIO supportTim Rozet1-0/+2
JIRA: APEX-133 opnfv-tht-pr: 29 Change-Id: I3080c91c3995ed946b902a75907ef11cb349fc33 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-22Merge "Fixes setting dns server for undercloud"Dan Radez1-1/+5
2016-06-17Fixes setting dns server for undercloudTim Rozet1-1/+5
JIRA: APEX-177 Change-Id: I6ee95a3c525fb58699fb3af795a66639f217214c Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-17Add ovs-dpdk deploy options checkFeng Pan1-0/+11
- Make sure flat network is not used when ovs-dpdk is used - Make sure private network is enabled when ovs-dpdk is used JIRA: APEX-174 Change-Id: I595b142124033392145b28221d64088d45c3e8d5 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-06-16Remove sahara endpointMichael Chapman1-0/+7
Sahara isn't installed, and having the endpoint confuses testing services. This patch removes the endpoint after deployment. Change-Id: Iaab227d398704c31911feaf7ea3bfbfa655d0f54 JIRA: APEX-176 Signed-off-by: Michael Chapman <michapma@redhat.com>
2016-06-15Fixes nic templates for ovs dpdkTim Rozet1-1/+7
JIRA: APEX-119 Change-Id: Ia66f2ef4c169187b0cb575b10292d02f530b9902 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-15Merge "Change virtual deployment VMs nic model to virtio for dpdk support"Tim Rozet1-1/+1
2016-06-15Merge "Add DPDK test app for ovs_dpdk deployment"Tim Rozet1-0/+16
2016-06-15Change virtual deployment VMs nic model to virtio for dpdk supportFeng Pan1-1/+1
Also make sure we update ipxe-roms-qemu to support pxe booting VMs with multiple virtio interfaces defined (bz 1234601). JIRA: APEX-119 Change-Id: I6fdecbd365450dec80e41f8407498d884b0bd79e Signed-off-by: Feng Pan <fpan@redhat.com>
2016-06-14Merge "Print undercloud IP after deployment"Michael Chapman1-1/+2