Skip to content
Permalink
Browse files
fix: changed default graceful restart on badfish to accomodate
to new dell 640.

closes: #311
Change-Id: Ie49bfcf8a36270a1a7e40095daad7da77631829d
  • Loading branch information
grafuls committed Mar 12, 2020
1 parent 38dc0cf commit acda6ea0a80bcaa72266c81c205e81a8950cd2fd
Showing 1 changed file with 2 additions and 2 deletions.
@@ -547,7 +547,7 @@ async def send_reset(self, reset_type):

await self.error_handler(_response)

async def reboot_server(self, graceful=True):
async def reboot_server(self, graceful=False):
logger.debug("Rebooting server: %s." % self.host)
power_state = await self.get_power_state()
if power_state.lower() == "on":
@@ -576,7 +576,7 @@ async def reboot_server(self, graceful=True):
async def reset_idrac(self):
logger.debug("Running reset iDRAC.")
_url = "%s%s/Actions/Manager.Reset/" % (self.host_uri, self.manager_resource)
_payload = {"ResetType": "GracefulRestart"}
_payload = {"ResetType": "ForceRestart"}
_headers = {'content-type': 'application/json'}
logger.debug("url: %s" % _url)
logger.debug("payload: %s" % _payload)

0 comments on commit acda6ea

Please sign in to comment.