Version-Release number of selected component: system-storage-manager-0.2-2.fc19 Additional info: reporter: libreport-2.1.9 cmdline: /usr/bin/python /bin/ssm list executable: /bin/ssm kernel: 3.11.8-200.fc19.x86_64 runlevel: N 5 type: Python uid: 0 Truncated backtrace: btrfs.py:36:get_real_number:ValueError: invalid literal for float(): 55.67G 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 966, in list self.dev.ptable() File "/usr/lib/python2.7/site-packages/ssmlib/main.py", line 700, in dev self._dev = Devices(options=self.options) File "/usr/lib/python2.7/site-packages/ssmlib/main.py", line 590, in __init__ my_btrfs = btrfs.BtrfsDev(options=self.options) File "/usr/lib/python2.7/site-packages/ssmlib/backends/btrfs.py", line 281, in __init__ super(BtrfsDev, self).__init__(*args, **kwargs) File "/usr/lib/python2.7/site-packages/ssmlib/backends/btrfs.py", line 102, in __init__ fs_used = get_real_number(array[6]) File "/usr/lib/python2.7/site-packages/ssmlib/backends/btrfs.py", line 36, in get_real_number number = float(string[0:-2]) ValueError: invalid literal for float(): 55.67G Local variables in innermost frame: string: '55.67GiB'
Created attachment 827426 [details] File: backtrace
Created attachment 827427 [details] File: environ
Yup, ssm needs to be updated for the latest btrfs-progs see https://bugzilla.redhat.com/show_bug.cgi?id=1025585
*** Bug 1056404 has been marked as a duplicate of this bug. ***
Building in system-storage-manager-0.4-4
system-storage-manager-0.4-4.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/system-storage-manager-0.4-4.fc19
I'm not sure if this is a new bug but I still get a traceback. # ssm list -------------------------------------------------------------------- Device Free Used Total Pool Mount point -------------------------------------------------------------------- /dev/sda 465.76 GB PARTITIONED /dev/sda1 200.00 MB /dev/sda2 27.46 GB /dev/sda3 619.89 MB /dev/sda4 239.93 GB 189.07 GB 429.00 GB fedora_f20s /dev/sda5 250.00 MB /boot/efi /dev/sda6 250.00 MB /dev/sda7 8.01 GB SWAP /dev/sdb 100.05 GB 198.04 GB 298.09 GB 320stuff -------------------------------------------------------------------- ------------------------------------------------------------ Pool Type Devices Free Used Total ------------------------------------------------------------ 320stuff btrfs 1 117.13 GB 298.09 GB 298.09 GB fedora_f20s btrfs 1 406.83 GB 429.00 GB 429.00 GB ------------------------------------------------------------ Traceback (most recent call last): File "/usr/bin/ssm", line 48, in <module> sys.exit(main.main()) File "/usr/lib/python2.7/site-packages/ssmlib/main.py", line 1851, in main args.func(args) File "/usr/lib/python2.7/site-packages/ssmlib/main.py", line 1211, in list self.vol.ptable(more_data=self.dev.filesystems()) File "/usr/lib/python2.7/site-packages/ssmlib/main.py", line 836, in vol self._volumes = Volumes(options=self.options) File "/usr/lib/python2.7/site-packages/ssmlib/main.py", line 737, in __init__ self._data['btrfs'] = btrfs.BtrfsVolume(options=self.options) File "/usr/lib/python2.7/site-packages/ssmlib/backends/btrfs.py", line 321, in __init__ self._fill_subvolumes() File "/usr/lib/python2.7/site-packages/ssmlib/backends/btrfs.py", line 244, in _fill_subvolumes if self._subvolumes[prev_sv]['mount'] == '': KeyError: 'mount'
Created attachment 854172 [details] strace ssm list python-2.7.5-9.fc20.x86_64 system-storage-manager-0.4-4.fc20.noarch btrfs-progs-3.12-1.fc20.x86_64 kernel-3.13.0-1.fc21.x86_64.fc21
Chris, thanks for the report and I'll try to reproduce this, however this is entirely different problem than was originally reported in this BZ. Can you create new BZ for this one please ? Thanks! -Lukas
Package system-storage-manager-0.4-4.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing system-storage-manager-0.4-4.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-1394/system-storage-manager-0.4-4.fc19 then log in and leave karma (feedback).
Installed system-storage-manager-0.4-4.fc20.noarch from updates-testing/20/x86_64 and the output of ssm list is now fine as expected
`ssm list` on BTRFS works now, karma given. Thanks Lukáš!
system-storage-manager-0.4-4.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.