summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2016-04-19Adds Utility functions and failure loggingTim Rozet1-0/+49
Patch adds helpful utility functions and automatic parsing of heat output into a readable format indicating where a failure is in a deployment. Example: http://fpaste.org/354210/ New opnfv-util function allows a user to interact with a deployment easily: - opnfv-util undercloud <user> connects user to undercloud VM - opnfv-util debug-stack parses the heat failure output Above arguments also accept partial matches. JIRA: APEX-75 Change-Id: I5ccfee64ee2958de0d00a3b25cd9b29de60c9e20 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 0717bc3c56ab294f860ef99116754c1fd786cae7)
2016-01-28Various fixes and improvementsTim Rozet1-0/+16
Changes Include: - New Interactive mode. Allows you to pause deployments in order to make changes before continuing (or exit and deploy manually). Useful when needing to modify NIC order for baremetal deployments. - deploy_settings -d is now required. - ha_enabled no longer defaults to true. It can be specified in deploy_settings or overridden with via command line. - compute nodes now scale correctly with what is defined by inventory JIRA: APEX-70 APEX-71 APEX-72 Change-Id: Id45808f4d0435d66f12c020bd4455faaa43da191 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-27Fixes various bugs and adds some improvementsTim Rozet1-4/+24
Changes Include: - Disables introspection. We don't currently use introspection for anything other than to just run it. Disabling it to increase deploy speed and reduce pxeboot issues. - Adds timeout to deploy of 90 minutes. Default heat timeout is 3-4 hours. - Fixes OVS bridge attach/detach for users who use PREFIX in their ifcfg instead of NETMASK - Adds nosdn deploy settings file, and allows nosdn deployments - Adds example inventory file to the docs dir Change-Id: Ic13d6c4d5f27bac25365e5951acdd9bd3e641a15 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-16add step to execute gw_mac_update.sh after apex deployedbob2-0/+76
Change-Id: I47c316e26ff8e597c781562645397335e8c5bd70 Signed-off-by: bob zhou <bob.zh@huawei.com> Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-12Enables private and storage networksTim Rozet1-10/+48
Fixes issues with common-functions: - ipcalc in epel is old and does not support HOSTMIN,HOSTMAX. Now BROADCAST and NETWORK values used to find first and last IP in subnet. - fixes to auto-generation where values conflicted for IP ranges - provisioner_ip now generated correctly Change-Id: I03c7f841d2e1edb1a50041f53970318b6a718cd9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-10Fixes attach/detach functions and minor netenv fixTim Rozet1-39/+45
Tested manually and verified on LF pod1 Change-Id: I882ad9beef003a795585ffb8542aa11aecb67949 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-09Fixes attaching instack interfaces to hostTim Rozet1-0/+148
This applies only to baremetal deployments. Interfaces from admin and public networks are attached from the host to the OVS bridges brbm and brbm2 for external connectivity. Change-Id: If3f5b33eab267e05ee9094396daa40f37e69319a Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-06Adds some network parsing for baremetal deployments and other fixesTim Rozet1-0/+314
Changes include: - Fixes Intel Pod 2 inventory file - Check for DHCP server on the host and disable - Adds realistic+common network-settings file - Modifies baremetal deployments to bridge to correct interface - Adds private/storage network OVS bridges - Parses network-settings into valid network-environment variables - If certain network-settings are missing they will be auto-detected Note: The actual settings set forth for deployment only include admin/external networks at the moment. Private/storage networks will be handled in an upcoming patch. JIRA: APEX-50 Change-Id: I0a1a86f37c08702a93fe167688c3149ba5573db4 Signed-off-by: Tim Rozet <trozet@redhat.com>