Bug 912549 - [abrt] system-storage-manager-0.2-1.fc18: misc.py:397:run:RuntimeError: ERROR running command: "lvm vgcreate Guests /dev/sdb"
Summary: [abrt] system-storage-manager-0.2-1.fc18: misc.py:397:run:RuntimeError: ERROR...
Keywords:
Status: CLOSED DUPLICATE of bug 907634
Alias: None
Product: Fedora
Classification: Fedora
Component: system-storage-manager
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukáš Czerner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:aefdfb95dcaa9e1770a3a40ddf2...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-19 00:18 UTC by Dean Hunter
Modified: 2013-02-25 08:14 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-25 08:14:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.30 KB, text/plain)
2013-02-19 00:18 UTC, Dean Hunter
no flags Details
File: core_backtrace (801 bytes, text/plain)
2013-02-19 00:18 UTC, Dean Hunter
no flags Details
File: environ (1.98 KB, text/plain)
2013-02-19 00:18 UTC, Dean Hunter
no flags Details

Description Dean Hunter 2013-02-19 00:18:06 UTC
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>

Comment 1 Dean Hunter 2013-02-19 00:18:09 UTC
Created attachment 699228 [details]
File: backtrace

Comment 2 Dean Hunter 2013-02-19 00:18:11 UTC
Created attachment 699229 [details]
File: core_backtrace

Comment 3 Dean Hunter 2013-02-19 00:18:12 UTC
Created attachment 699230 [details]
File: environ

Comment 4 Dean Hunter 2013-02-22 21:20:36 UTC
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.

Comment 5 Lukáš Czerner 2013-02-25 08:14:40 UTC

*** This bug has been marked as a duplicate of bug 907634 ***


Note You need to log in before you can comment on or make changes to this bug.