summaryrefslogtreecommitdiffstats
path: root/ci/clean.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>
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-10-14Swap br-external and br-public in clean.shDan Radez1-2/+2
confused by the comments in clean.sh, updating it so confusion doesn't continue. Change-Id: Ia3eacba9a5d23a2d1d4030895cde13d006adfa87 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-09-12Adding new network settings cleanDan Radez1-3/+7
- the new network settings patch uses new network names that thet current code can't clean up. This patch adds the clean so that the clean can land before the patch gets reviewed more. Change-Id: I8c8998f24e48929862db40f2d90a2d6c82e70254 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-08-30Adds ability to power off nodes in cleanTim Rozet1-4/+59
Now if an inventory file is provided to clean, those nodes will be powered off. JIRA: APEX-250 Change-Id: I2d78285717726c3d1c9d7d88c38e706d4617e337 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-09Merge "Add API network support"Tim Rozet1-1/+1
2016-06-08Adds cleaning up the tmp netenv file produced by python libTim Rozet1-0/+3
Change-Id: Id9a5dd9a29b6fd70c06c1b053e1d390f5e9f6764 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-06Add API network supportFeng Pan1-1/+1
- Create additional NIC on virtual deployment if API network is enabled. - Include API network in clean - Change keystone admin api network to admin network. This should have no effect when api network is disabled, as today's behavior is to fall back to admin network anyway. However, when api network is defined, we need to be able to reach overcloud from undercloud through keystone admin api network. Change-Id: Ib0aea4a0daeed5878793530c10d8f8a1bbe5fd72 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-06-02Add library sourcing error checkFeng Pan1-1/+4
Change-Id: Ief7fd339fa2ca8661c8e157270aa9b0339d3b637 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-05-31Fixes interface cleanup issue between virtual and baremetalTim Rozet1-0/+1
JIRA: APEX-164 Change-Id: I41bf3869d068812005e2e01c03229b6b4d2628dc Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-31Merge "Updates to CONFIG, RESOURCES and LIB"Dan Radez1-1/+3
2016-05-27Updates to CONFIG, RESOURCES and LIBDan Radez1-1/+3
- removing the -r and -c parameters - relying on ENV vars for non-system locations - abstracting the apex-python-utils to a var Change-Id: I7ff1ca8b741c890647aee029c57e8342f0b5cb07 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-05-24Use linux bridge for virtual deploymentFeng Pan1-2/+6
Changes virtual deployment to use linux bridge rather than OVS bridge on jumphost. Also fixed an issue with network deletion in cleaning code. Change-Id: Ibcfa283c6bf32aafa2ee91b2ffd55355d7d6746e Signed-off-by: Feng Pan <fpan@redhat.com>
2016-04-28Standarizing CONFIG and RESOURCESDan Radez1-1/+1
- first stage in standarizing how custom config values are passed in by moving to using ENV vars to pass in custom params - next stage is to remove the -r and -c options in deploy.sh Moving this direction will reduce managment of custom parameters and rely on ENV vars to make the customizations for development Change-Id: Ibbc171d5e6801b27c1b62ca65c2a9f7830483b97 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-04-22Change storage refresh to pool-refreshFeng Pan1-2/+2
Using pool-refresh should be sufficient to clean up storage pool. Change-Id: I10a58340c4c24b429a2d46d8c9f5a469fd4e18f2 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-04-12Forcing a libvirtd restart on cleanDan Radez1-0/+3
- ensures the storage vols are cleaned up properly Change-Id: I55c0dbcbbc884658b9e37e34aa85d00e29e99b57 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-04-01Migrating to MitakaDan Radez1-16/+13
- 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-24Renaming Instack to UndercloudDan Radez1-11/+14
This commit is not backwards compatible with cleaning. VMs named Instack will need to be manually removed. Change-Id: I6829119e43a0a572da07e6d9757c5208c7fe91d4
2016-03-24Fixes occasional VM stoage deleltion failureFeng Pan1-2/+2
Removes --remove-all-storage option in ci/clean.sh JIRA: APEX-121 Change-Id: Ia8063112333d12d09cfb16dd1a02e14551dae7d7 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-03-23updating vm creation for virt deploymentDan Radez1-6/+6
- 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>
2016-01-29Touch baremetal images before vol-deleteMichael Chapman1-0/+1
Similar to the instack line above, the vol-delete will fail if the baremetal image file is not present. This can happen if the disk runs out of space during copy, for example. Change-Id: Ib3a60dd03c3f7172cb59ade30e745397410e3ef2
2016-01-22Adds licenses and fixes ODL L3Tim Rozet1-0/+8
JIRA: APEX-62 Change-Id: Ide34d9971cd6ac987b5994f5e23b4cfa58f92b29 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-13quick fixes to deploy and cleanDan Radez1-2/+2
- adding a missing exit 1 in the deploy script - setting link up on hypervisor bridges - redirecting error from cleanup commands so they're not so chatty Change-Id: I844c35effb2817948ea096b07a34d83678803e00
2016-01-09Fixes attaching instack interfaces to hostTim Rozet1-2/+9
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-08Moves builds to use local images, minor fix to cleanTim Rozet1-1/+7
Change-Id: Ib8a3baa645c4e2a2b7b5c39e8642bae367981f37 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-06Adds some network parsing for baremetal deployments and other fixesTim Rozet1-13/+11
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>
2015-12-15Fixes various corner cases with clean and deployTim Rozet1-2/+2
Fixes Include: - Fixed info print statement when using flat network - deploy now looks at arp table as well to determine instack IP address as default leases file may not exist - clean now uses --pool with vol-delete command JIRA: APEX-50 Change-Id: I664fd06e92e0890e0b65191851dfa81f8d8ac492 Signed-off-by: Tim Rozet <trozet@redhat.com>
2015-12-07switching to RDO build undercloud instead of building it ourselvesDan Radez1-0/+5
Change-Id: I9f09c195352d2d88a3da4f42e09424d96d39722b
2015-11-18updates to cleanup.shDan Radez1-4/+18
- adding vol-delete to help ensure volumes are cleaned up - adding brbm clean up Change-Id: I3cbb79b09c6ac77dbc3c452938dbd6a6d03c815b
2015-11-17adding basic network isolationDan Radez1-3/+3
- separating external traffic from internal traffic JIRA: APEX-41 Change-Id: Idcd01a514083c53a3133a75d3bcabf824a7a4377
2015-11-09adding variable fix for clean upDan Radez1-1/+1
Change-Id: I4e18bc0ddfb39a11c75070012743e6a68ecb70f6
2015-11-02Adds HA support to deployTim Rozet1-6/+6
Defaults the deploy to use HA and adds new param for using non-HA. JIRA: APEX-40 Change-Id: Ib3fc8b31ea13a3c590ceaa875197b4b9c1bb55a1 Signed-off-by: Tim Rozet <trozet@redhat.com>
2015-10-22Adding deploy.sh that work with RDO ManagerDan Radez1-0/+17
- adding virtual and jenkins support tested - adding config file parameters to deploy - instack virt-sparsify disabled for now - adding clean script Change-Id: I26b5968e64fa79af166b11422f5d73812d8e96d1 Signed-off-by: Dan Radez <dradez@redhat.com>