Bug 907634 - [abrt] system-storage-manager-0.2-1.fc18: misc.py:397:run:RuntimeError: ERROR running command: "lvm lvcreate guests -L 52428800.00K -n ipa"
Summary: [abrt] system-storage-manager-0.2-1.fc18: misc.py:397:run:RuntimeError: ERROR...
Keywords:
Status: CLOSED WONTFIX
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:0dfe568d60311a12564bfc3eac0...
: 907633 912549 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-04 21:52 UTC by Dean Hunter
Modified: 2014-01-22 13:15 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-01-22 13:15:54 UTC
Type: ---
Embargoed:


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

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

Additional info:
cmdline:        /usr/bin/python /bin/ssm create -n 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: "lvm lvcreate guests -L 52428800.00K -n 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 952, in create
    name=args.name)
  File "/usr/lib/python2.7/site-packages/ssmlib/main.py", line 356, in _new_func
    return func(self.name, **kwargs)
  File "/usr/lib/python2.7/site-packages/ssmlib/backends/lvm.py", line 186, in create
    self.run_lvm(command, noforce=True)
  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 lvcreate guests -L 52428800.00K -n ipa"

Local variables in innermost frame:
return_stdout: True
cmd: ['lvm', 'lvcreate', 'guests', '-L', '52428800.00K', '-n', 'ipa']
stdout: None
show_cmd: False
stdin_data: None
stdin: None
err_msg: 'ERROR running command: "lvm lvcreate guests -L 52428800.00K -n ipa"'
can_fail: False
stderr: -2
error: None
output: None
proc: <subprocess.Popen object at 0x7f94aa49cc10>

Comment 1 Dean Hunter 2013-02-04 21:52:09 UTC
Created attachment 693007 [details]
File: backtrace

Comment 2 Dean Hunter 2013-02-04 21:52:10 UTC
Created attachment 693008 [details]
File: core_backtrace

Comment 3 Dean Hunter 2013-02-04 21:52:12 UTC
Created attachment 693009 [details]
File: environ

Comment 4 Dean Hunter 2013-02-22 21:20:59 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
*** Bug 907633 has been marked as a duplicate of this bug. ***

Comment 6 Lukáš Czerner 2013-02-25 08:14:40 UTC
*** Bug 912549 has been marked as a duplicate of this bug. ***

Comment 7 Lukáš Czerner 2013-02-25 08:16:33 UTC
Hi Dean,

thanks for the bug report. Error handling in ssm is know to have some problems and I am working on resolving it.

Thanks!
-Lukas

Comment 8 Fedora End Of Life 2013-12-21 11:09:03 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 9 Lukáš Czerner 2014-01-22 13:15:54 UTC
This is not a bug, but rather wrong usage of ssm. Missing devices in the example case. Even though error handling can be improved, we're not going to do this in f18.

Thanks!
-Lukas


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