We already catch TimeoutExpired exceptions here but we don't
actually specify a timeout
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit
ade46fda791ee2c2e1cac1c2376d56acf7ae4766)
'-n', f'mgr.{self.mgr.get_mgr_id()}',
'-p', cast(str, spec.pool),
'rm',
- 'gateway.conf'])
+ 'gateway.conf'],
+ timeout=5)
logger.info(f'<gateway.conf> removed from {spec.pool}')
except subprocess.CalledProcessError as ex:
logger.error(f'Error executing <<{ex.cmd}>>: {ex.output}')