Bug 1649364 - ValueError: is not a valid name for this device
Summary: ValueError: is not a valid name for this device
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: blivet-gui
Version: 29
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vojtech Trefny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:b0e41a0637b22cd0722b92ec2b4...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-13 13:32 UTC by Alex
Modified: 2018-12-26 02:47 UTC (History)
8 users (show)

Fixed In Version: blivet-gui-2.1.10-2.fc29
Clone Of:
Environment:
Last Closed: 2018-12-26 02:47:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (1.21 MB, text/plain)
2018-11-13 13:33 UTC, Alex
no flags Details
File: anaconda.log (40.58 KB, text/plain)
2018-11-13 13:33 UTC, Alex
no flags Details
File: blivet-gui-utils.log (2.93 KB, text/plain)
2018-11-13 13:33 UTC, Alex
no flags Details
File: dbus.log (3.13 KB, text/plain)
2018-11-13 13:33 UTC, Alex
no flags Details
File: dnf.librepo.log (237.96 KB, text/plain)
2018-11-13 13:33 UTC, Alex
no flags Details
File: environ (637 bytes, text/plain)
2018-11-13 13:33 UTC, Alex
no flags Details
File: hawkey.log (43.15 KB, text/plain)
2018-11-13 13:33 UTC, Alex
no flags Details
File: lorax-packages.log (24.91 KB, text/plain)
2018-11-13 13:33 UTC, Alex
no flags Details
File: lsblk_output (1.25 KB, text/plain)
2018-11-13 13:33 UTC, Alex
no flags Details
File: nmcli_dev_list (1.60 KB, text/plain)
2018-11-13 13:33 UTC, Alex
no flags Details
File: os_info (651 bytes, text/plain)
2018-11-13 13:33 UTC, Alex
no flags Details
File: program.log (34.57 KB, text/plain)
2018-11-13 13:33 UTC, Alex
no flags Details
File: storage.log (91.53 KB, text/plain)
2018-11-13 13:33 UTC, Alex
no flags Details
File: syslog (251.46 KB, text/plain)
2018-11-13 13:33 UTC, Alex
no flags Details
File: ifcfg.log (2.29 KB, text/plain)
2018-11-13 13:33 UTC, Alex
no flags Details
File: packaging.log (14.45 KB, text/plain)
2018-11-13 13:33 UTC, Alex
no flags Details

Description Alex 2018-11-13 13:32:59 UTC
Description of problem:
Attempting to create LVM volume in newly created volume group in blivet.

Version-Release number of selected component:
anaconda-29.24.7

The following was filed automatically by anaconda:
anaconda 29.24.7 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.7/site-packages/blivetgui/blivetgui.py", line 232, in _reraise_exception
    raise type(exception)(str(exception) + "\n" + traceback)
  File "/usr/lib/python3.7/site-packages/blivetgui/blivetgui.py", line 470, in add_device
    self._reraise_exception(result.exception, result.traceback)
ValueError:  is not a valid name for this device
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/blivetgui/blivet_utils.py", line 1169, in add_device
    actions = add_function(self, user_input)
  File "/usr/lib/python3.7/site-packages/blivetgui/blivet_utils.py", line 980, in _create_lvmvg
    pe_size=user_input.advanced["pesize"])
  File "/usr/lib/python3.7/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/blivet/devices/lvm.py", line 143, in __init__
    exists=exists, sysfs_path=sysfs_path)
  File "/usr/lib/python3.7/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/blivet/devices/container.py", line 66, in __init__
    super(ContainerDevice, self).__init__(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/blivet/devices/storage.py", line 142, in __init__
    raise ValueError("%s is not a valid name for this device" % name)
ValueError:  is not a valid name for this device


Additional info:
addons:         com_redhat_docker, com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-S-dvd-x86_64-29 quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.18.16-300.fc29.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        29

Potential duplicate: bug 1442020

Comment 1 Alex 2018-11-13 13:33:08 UTC
Created attachment 1505253 [details]
File: anaconda-tb

Comment 2 Alex 2018-11-13 13:33:10 UTC
Created attachment 1505254 [details]
File: anaconda.log

Comment 3 Alex 2018-11-13 13:33:11 UTC
Created attachment 1505255 [details]
File: blivet-gui-utils.log

Comment 4 Alex 2018-11-13 13:33:13 UTC
Created attachment 1505256 [details]
File: dbus.log

Comment 5 Alex 2018-11-13 13:33:15 UTC
Created attachment 1505257 [details]
File: dnf.librepo.log

Comment 6 Alex 2018-11-13 13:33:16 UTC
Created attachment 1505258 [details]
File: environ

Comment 7 Alex 2018-11-13 13:33:18 UTC
Created attachment 1505259 [details]
File: hawkey.log

Comment 8 Alex 2018-11-13 13:33:20 UTC
Created attachment 1505260 [details]
File: lorax-packages.log

Comment 9 Alex 2018-11-13 13:33:21 UTC
Created attachment 1505261 [details]
File: lsblk_output

Comment 10 Alex 2018-11-13 13:33:22 UTC
Created attachment 1505262 [details]
File: nmcli_dev_list

Comment 11 Alex 2018-11-13 13:33:24 UTC
Created attachment 1505263 [details]
File: os_info

Comment 12 Alex 2018-11-13 13:33:26 UTC
Created attachment 1505264 [details]
File: program.log

Comment 13 Alex 2018-11-13 13:33:28 UTC
Created attachment 1505265 [details]
File: storage.log

Comment 14 Alex 2018-11-13 13:33:30 UTC
Created attachment 1505266 [details]
File: syslog

Comment 15 Alex 2018-11-13 13:33:31 UTC
Created attachment 1505267 [details]
File: ifcfg.log

Comment 16 Alex 2018-11-13 13:33:33 UTC
Created attachment 1505268 [details]
File: packaging.log

Comment 17 Vojtech Trefny 2018-11-13 14:40:41 UTC
Thank you for the report. The log suggest you've tried to use "/" as name for the volume group. This is not a valid name, please use something else (only letters, numbers and these special characters: "+_.-" are allowed).

Upstream PR: https://github.com/storaged-project/blivet-gui/pull/115 (showing error dialog instead of crashing)

Comment 18 Fedora Update System 2018-12-12 13:17:53 UTC
blivet-gui-2.1.10-1.fc29 python-blivet-3.1.2-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-5827b58873

Comment 19 Fedora Update System 2018-12-13 03:36:16 UTC
blivet-gui-2.1.10-1.fc29, python-blivet-3.1.2-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-5827b58873

Comment 20 Fedora Update System 2018-12-18 02:11:59 UTC
blivet-gui-2.1.10-2.fc29, python-blivet-3.1.2-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-5827b58873

Comment 21 Fedora Update System 2018-12-26 02:47:42 UTC
blivet-gui-2.1.10-2.fc29, python-blivet-3.1.2-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.


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