Passing 'process_input' to the running hpssacli process
This commit adds support to pass 'process_input' param of processutils to the running hpssacli process while executing hpssacli commands. The hpssacli process waits for the input as 'y' or 'n' to proceed further which leads to 'OutofMemory Error' if not provided with the input. Closes-Bug: #1589373 Change-Id: Ie3b1a2a42552a347aa0ab548b37d467577440d8b
This commit is contained in:
@@ -392,7 +392,7 @@ class Controller(object):
|
||||
size_mb = logical_drive_info['size_gb'] * 1024
|
||||
cmd_args.append("size=%s" % size_mb)
|
||||
|
||||
self.execute_cmd(*cmd_args)
|
||||
self.execute_cmd(*cmd_args, process_input='y')
|
||||
|
||||
def delete_all_logical_drives(self):
|
||||
"""Deletes all logical drives on trh controller.
|
||||
|
||||
Reference in New Issue
Block a user