Remove the SW RAID configuration
Does not tear down the raid set, but removes the configuration that may unduely influence the deployment process of future nodes. Change-Id: I0f282fb327e075b2897c46c45273d443c8f30e47
This commit is contained in:
parent
84fe6671e4
commit
790bf18d2e
@ -607,6 +607,9 @@ class BaremetalStandaloneScenarioTest(BaremetalStandaloneManager):
|
||||
'op': 'remove'}]
|
||||
self.update_node(self.node['uuid'], patch=patch)
|
||||
|
||||
def remove_raid_configuration(self):
|
||||
self.baremetal_client.set_node_raid_config(self.node['uuid'], {})
|
||||
|
||||
def rescue_unrescue(self):
|
||||
rescue_password = uuidutils.generate_uuid()
|
||||
self.rescue_node(self.node['uuid'], rescue_password)
|
||||
|
@ -110,6 +110,11 @@ class SoftwareRaidIscsi(bsm.BaremetalStandaloneScenarioTest):
|
||||
# remove the root device hint, so it is best for us to go ahead
|
||||
# and remove it before exiting the test.
|
||||
self.remove_root_device_hint()
|
||||
# Removes RAID configuration
|
||||
# TODO(TheJulia): We _should_ tear the raid configuration down
|
||||
# however bouncing neutron ports with known DHCP reload bugs
|
||||
# is not a super great idea for tempest tests.
|
||||
self.remove_raid_configuration()
|
||||
|
||||
|
||||
class SoftwareRaidDirect(bsm.BaremetalStandaloneScenarioTest):
|
||||
@ -146,3 +151,8 @@ class SoftwareRaidDirect(bsm.BaremetalStandaloneScenarioTest):
|
||||
# remove the root device hint, so it is best for us to go ahead
|
||||
# and remove it before exiting the test.
|
||||
self.remove_root_device_hint()
|
||||
# Removes RAID configuration
|
||||
# TODO(TheJulia): We _should_ tear the raid configuration down
|
||||
# however bouncing neutron ports with known DHCP reload bugs
|
||||
# is not a super great idea for tempest tests.
|
||||
self.remove_raid_configuration()
|
||||
|
Loading…
Reference in New Issue
Block a user