Description of problem: ssm create -s 2T -n Guests -p Guests /dev/sdb Version-Release number of selected component: system-storage-manager-0.2-1.fc18 Additional info: cmdline: /usr/bin/python /bin/ssm create -s 2T -n Guests -p Guests /dev/sdb executable: /bin/ssm kernel: 3.7.7-201.fc18.x86_64 uid: 0 Truncated backtrace: misc.py:397:run:RuntimeError: ERROR running command: "lvm vgcreate Guests /dev/sdb" Traceback (most recent call last): File "/bin/ssm", line 33, in <module> sys.exit(main.main()) File "/usr/lib/python2.7/site-packages/ssmlib/main.py", line 1485, in main args.func(args) File "/usr/lib/python2.7/site-packages/ssmlib/main.py", line 940, in create self.add(args) File "/usr/lib/python2.7/site-packages/ssmlib/main.py", line 1006, in add args.pool.new(args.device) File "/usr/lib/python2.7/site-packages/ssmlib/main.py", line 358, in _new_func return func(self.name, *args) File "/usr/lib/python2.7/site-packages/ssmlib/backends/lvm.py", line 138, in new self.run_lvm(command) File "/usr/lib/python2.7/site-packages/ssmlib/backends/lvm.py", line 60, in run_lvm misc.run(command, stdout=True) File "/usr/lib/python2.7/site-packages/ssmlib/misc.py", line 397, in run raise RuntimeError(err_msg) RuntimeError: ERROR running command: "lvm vgcreate Guests /dev/sdb" Local variables in innermost frame: return_stdout: True cmd: ['lvm', 'vgcreate', 'Guests', '/dev/sdb'] stdout: None show_cmd: False stdin_data: None stdin: None err_msg: 'ERROR running command: "lvm vgcreate Guests /dev/sdb"' can_fail: False stderr: -2 error: None output: None proc: <subprocess.Popen object at 0x7fa047872e50>
Created attachment 699228 [details] File: backtrace
Created attachment 699229 [details] File: core_backtrace
Created attachment 699230 [details] File: environ
Bugs 912549, 907634, and 907633 all appear to be cases where prerequisites were not met and were not handled gracefully by ssm. I am sorry, but I can no longer recreate the errors as, now that I have learned how to use ssm correctly, I can not remember what I was doing wrong. I hope the bug report captured the information necessary to improve the error handling.
*** This bug has been marked as a duplicate of bug 907634 ***