Bug 1935062 - Drives properties Model, Id, Vendor appear have some encoding issue
Summary: Drives properties Model, Id, Vendor appear have some encoding issue
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-04 10:44 UTC by Katerina Koukiou
Modified: 2021-03-25 00:18 UTC (History)
15 users (show)

Fixed In Version: systemd-248~rc3-1.fc35 systemd-248~rc4-3.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-03-25 00:18:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Katerina Koukiou 2021-03-04 10:44:58 UTC
Description of problem:
Cockpit [1] storage tests are failing on fedora-34 because Vendor/Model/Id properties have changed, namely they now contain a x20x20x20x20 suffix. 

Version-Release number of selected component (if applicable):
udisks2-2.9.2-1.fc34.x86_64

(It works as expected with udisks2-2.9.1-2.fc33.x86_64)

How reproducible:
Always

Steps to Reproduce:
1. Prepare a QEMU VM and attach some qcow2 images 
2. Notice in udisksctl output for the drives corresponding to the attached images the above mentioned problematic properties 

Our test VM's disk setup look like this: 

# lsblk -S
NAME HCTL       TYPE VENDOR   MODEL          REV SERIAL  TRAN
...
sdc  2:0:2:2    disk QEMU     QEMU_HARDDISK 2.5+ DISK3   
...

When looking at the udisks data the Id, Vendor, Model contain x20x20x20x20 suffix. 

(output copied from udisksctl dump)

  org.freedesktop.UDisks2.Drive:
    CanPowerOff:                false
    Configuration:              {}
    ConnectionBus:              
    Ejectable:                  false
    Id:                         QEMUx20x20x20x20-QEMUx20HARDDISKx20x20x20-DISK3
    Media:                      
    MediaAvailable:             true
    MediaChangeDetected:        true
    MediaCompatibility:         
    MediaRemovable:             false
    Model:                      QEMUx20HARDDISKx20x20x20
    Optical:                    false
    OpticalBlank:               false
    OpticalNumAudioTracks:      0
    OpticalNumDataTracks:       0
    OpticalNumSessions:         0
    OpticalNumTracks:           0
    Removable:                  false
    Revision:                   2.5+
    RotationRate:               -1
    Seat:                       seat0
    Serial:                     DISK3
    SiblingId:                  
    Size:                       52428800
    SortKey:                    01hotplug/1614850723221287
    TimeDetected:               1614850723221287
    TimeMediaDetected:          1614850723221287
    Vendor:                     QEMUx20x20x20x20

Comment 1 Katerina Koukiou 2021-03-04 11:00:22 UTC
It seems more of a udev issue:

# udevadm info /dev/sdc
...
E: ID_VENDOR=QEMU
E: ID_VENDOR_ENC=QEMUx20x20x20x20


Previously (f33) the output was like this:

# udevadm info /dev/sda
...
E: ID_VENDOR=QEMU
E: ID_VENDOR_ENC=QEMU\x20\x20\x20\x20

Comment 2 Katerina Koukiou 2021-03-04 11:02:16 UTC
Updating with the udev version that we started seeing this issue:

systemd-udev-248~rc2-1.fc34.x86_64

Comment 5 Yu Watanabe 2021-03-05 00:46:41 UTC
Fix is waiting in https://github.com/systemd/systemd/pull/18885.

Comment 6 Fedora Update System 2021-03-23 14:07:07 UTC
FEDORA-2021-ea92e5703f has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-ea92e5703f

Comment 7 Fedora Update System 2021-03-24 02:44:13 UTC
FEDORA-2021-ea92e5703f has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-ea92e5703f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-ea92e5703f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2021-03-25 00:18:44 UTC
FEDORA-2021-ea92e5703f has been pushed to the Fedora 34 stable repository.
If problem still persists, 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.