Bug 907633 - [abrt] system-storage-manager-0.2-1.fc18: misc.py:397:run:RuntimeError: ERROR running command: "mkfs.ext4 /dev/guests//dev/guests/ipa"
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:70f84745e4e8529ed47a9893edb...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-04 21:51 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:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.05 KB, text/plain)
2013-02-04 21:51 UTC, Dean Hunter
no flags Details
File: core_backtrace (481 bytes, text/plain)
2013-02-04 21:51 UTC, Dean Hunter
no flags Details
File: environ (2.00 KB, text/plain)
2013-02-04 21:51 UTC, Dean Hunter
no flags Details

Description Dean Hunter 2013-02-04 21:51:12 UTC
Version-Release number of selected component:
system-storage-manager-0.2-1.fc18

Additional info:
cmdline:        /usr/bin/python /bin/ssm create -n /dev/guests/ipa --size 50G --fs ext4 -p guests
executable:     /bin/ssm
kernel:         3.7.4-204.fc18.x86_64
uid:            0

Truncated backtrace:
misc.py:397:run:RuntimeError: ERROR running command: "mkfs.ext4 /dev/guests//dev/guests/ipa"

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 955, in create
    if self._create_fs(args.fstype, lvname) != 0:
  File "/usr/lib/python2.7/site-packages/ssmlib/main.py", line 757, in _create_fs
    return misc.run(command, stdout=True)[0]
  File "/usr/lib/python2.7/site-packages/ssmlib/misc.py", line 397, in run
    raise RuntimeError(err_msg)
RuntimeError: ERROR running command: "mkfs.ext4 /dev/guests//dev/guests/ipa"

Local variables in innermost frame:
return_stdout: True
cmd: ['mkfs.ext4', '/dev/guests//dev/guests/ipa']
stdout: None
show_cmd: False
stdin_data: None
stdin: None
err_msg: 'ERROR running command: "mkfs.ext4 /dev/guests//dev/guests/ipa"'
can_fail: False
stderr: -2
error: None
output: None
proc: <subprocess.Popen object at 0x7f9248ce7f90>

Comment 1 Dean Hunter 2013-02-04 21:51:16 UTC
Created attachment 693004 [details]
File: backtrace

Comment 2 Dean Hunter 2013-02-04 21:51:17 UTC
Created attachment 693005 [details]
File: core_backtrace

Comment 3 Dean Hunter 2013-02-04 21:51:18 UTC
Created attachment 693006 [details]
File: environ

Comment 4 Dean Hunter 2013-02-22 21:21:34 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:38 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.