mirror of
https://github.com/projectatomic/atomic.git
synced 2026-02-05 18:45:01 +01:00
Don't call d-s-s on executing atomic storage modify.
Signed-off-by: Shishir Mahajan <shishir.mahajan@redhat.com> Closes: #915 Approved by: rhatdan
This commit is contained in:
committed by
Atomic Bot
parent
5a0138b1bf
commit
4e447bec32
@@ -190,14 +190,6 @@ class Storage(Atomic):
|
||||
self._vgroup(self.args.vgroup)
|
||||
if len(self.args.devices) > 0:
|
||||
self._add_device(self.args.devices)
|
||||
try:
|
||||
util.check_output(["docker-storage-setup"], stderr=subprocess.STDOUT)
|
||||
except subprocess.CalledProcessError as e:
|
||||
util.write_out("Return Code: {}".format(e.returncode))
|
||||
util.write_out("Failure: {}".format(e.output))
|
||||
os.rename(self.dss_conf_bak, self.dss_conf)
|
||||
util.call(["docker-storage-setup"])
|
||||
raise ValueError("docker-storage-setup failed")
|
||||
except:
|
||||
if os.path.exists(self.dss_conf_bak):
|
||||
os.rename(self.dss_conf_bak, self.dss_conf)
|
||||
|
||||
Reference in New Issue
Block a user