Bug 913515

Summary: Yast2-Bootloader module starta with error 'Unknown udev device'
Product: [openSUSE] openSUSE Distribution Reporter: Forgotten User clscCQKGhp <forgotten_clscCQKGhp>
Component: YaST2Assignee: systemd maintainers <systemd-maintainers>
Status: RESOLVED WONTFIX QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: aschnell, chri, christian_haegele, fazerxlo, forgotten_3EC324wqaZ, forgotten_6Bw0Ifx-X6, forgotten_7bbI62VZki, forgotten_clscCQKGhp, forgotten_DAOOQRPXab, forgotten_dBpEIsMMD7, forgotten_NX4nrDp_bN, forgotten_PMIZxl2pGW, forgotten_xRcrmyYBVX, forgotten_zxeoRDWLI0, forgotten__01A_dEXgn, jreidinger, mpluskal, pastas4, philip.raets, rmilasan, stifi.s, strzol, thomi.schmid, trenn, tschaefer, varkoly, vovochka13
Version: 13.2Flags: rmilasan: needinfo? (forgotten_clscCQKGhp)
Target Milestone: ---   
Hardware: HP   
OS: openSUSE 13.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on: 902385    
Bug Blocks:    
Attachments: several occurences of the error,
in YaST2 when bootloader module is used this error is thrown
yast error log where the bootloader 'Unknown udev device' appears
journalctl output
zip packet of y2log files.
output of: save_y2logs /tmp/y2logs.tgz

Description Forgotten User clscCQKGhp 2015-01-16 21:43:44 UTC
Created attachment 619897 [details]
several occurences of the error,

+++ This bug was initially created as a clone of Bug #902385 +++

I am getting error message when starting the yast2 bootloader module in a openSUSE 13.2.

Attached is also y2log.

Information for package yast2-bootloader:
-----------------------------------------
Repository: Main Repository (OSS)
Name: yast2-bootloader
Version: 3.1.101a-5.1
Arch: x86_64
Vendor: openSUSE
Installed: Yes
Status: up-to-date
Installed Size: 384.6 KiB
Summary: YaST2 - Bootloader Configuration
Description: 
  This package contains the YaST2 component for bootloader configuration.

Information for package yast2-storage:
--------------------------------------
Repository: Main Update Repository
Name: yast2-storage
Version: 3.1.50-4.1
Arch: x86_64
Vendor: openSUSE
Installed: Yes
Status: up-to-date
Installed Size: 1.5 MiB
Summary: YaST2 - Storage Configuration
Description: 
  This package contains the files for YaST2 that handle access to disk
  devices during installation and on an installed system.
Comment 1 Forgotten User clscCQKGhp 2015-01-16 21:52:37 UTC
Created attachment 619898 [details]
in YaST2 when bootloader module is used this error is thrown
Comment 2 Forgotten User clscCQKGhp 2015-01-16 22:12:19 UTC
Created attachment 619902 [details]
yast error log where the bootloader  'Unknown udev device' appears

Disregard previous y2log attachment, please, was attached by mistake.
Errors related to this bug appears first 01 15 2015.
Comment 3 Josef Reidinger 2015-01-19 15:48:10 UTC
Hi Jiri,
I will probably need complete logs as there is device /dev/disk/by-id/scsi-SHP_LOGICAL_VOLUME_PDNLH0BRH7K331-part2 used for booting, but it looks like such device do not exists.
When it appear? during installation or on already installed system? And do you modify somehow your storage configuration?
Comment 4 Forgotten User clscCQKGhp 2015-01-19 16:25:38 UTC
Created attachment 620036 [details]
journalctl output

journalctl output
Comment 5 Josef Reidinger 2015-01-19 16:33:04 UTC
by complete logs I mean yast ones - en.opensuse.org/openSUSE:Report_a_YaST_bug#I_reported_a_YaST2_bug.2C_and_now_I_am_asked_to_.22attach_y2logs.22_.28for_package_installation_also_.22libzypp_logging.22.29._What_does_that_mean.2C_and_how_do_I_do_that.3F
Comment 6 Forgotten User clscCQKGhp 2015-01-19 17:04:22 UTC
Hello Josef,
please tell me what exactely you need, i.e. what should I do to gather it.
Appologize, I have rather basic opensuse knowledge only, same for Bugzilla (wrote the answer already and would like to attache the file, but the answer text gone!?).

Basicaly I would like to test Xen virtualization on opensuse 13.2. After fresh installation Bootloader module was fine, but I was unable to setup VM guest.
I posted this to opensuse forum - by the way: 
https://forums.opensuse.org/showthread.php/504096-Xen-opensuse-13-2-unable-to-install-vm-guest-quot-End-of-file-while-reading-data-Input-output-error-quot

Then I added VirtualBox, which works fine, and after that I would like to change bootloader preference to desktop kernel. Dont know exactely when it appears, but after manipulation with VirtualBox it is no more possible to open Bootloader module with described ERROR. Both Xen and VirtualBox setting I did with GUI wizards, I did not changed storage configuration intentionaly.

If I understand Your last message well, I should attach all y2logs and some libzypp. I have y2log-x.gz x=1-7 and where is libzypp ?
I will add all y2log-x briefly.
Comment 7 Josef Reidinger 2015-01-19 17:07:49 UTC
in link I post there is recommendation to use our tool to collect all needed logs by:

save_y2logs /tmp/y2logs.tgz

and then attach /tmp/y2logs.tgz that would be enough.
Comment 8 Forgotten User clscCQKGhp 2015-01-19 17:11:35 UTC
Created attachment 620041 [details]
zip packet of y2log files.
Comment 9 Forgotten User clscCQKGhp 2015-01-19 17:19:12 UTC
Created attachment 620043 [details]
output of:    save_y2logs /tmp/y2logs.tgz
Comment 10 Josef Reidinger 2015-01-20 17:49:43 UTC
arvin - any idea why /dev/disk/by-id/scsi-SHP_LOGICAL_VOLUME_PDNLH0BRH7K331-part2 disappeared?
Comment 11 Arvin Schnell 2015-01-21 09:15:07 UTC
The links created by udev are incomplete. From the logs:

2015-01-16 22:21:11 <1> Osuse13(10772) [libstorage] DevAndSys.cc(probe):127 data[sda] -> scsi-0HP_LOGICAL_VOLUME_00000000 scsi-3600508b1001c8fb66b42c88e3c3ec2c6 wwn-0x600508b1001c8fb66b42c88e3c3ec2c6
2015-01-16 22:21:11 <1> Osuse13(10772) [libstorage] DevAndSys.cc(probe):127 data[sda1] -> scsi-0HP_LOGICAL_VOLUME_00000000-part1 scsi-3600508b1001c8fb66b42c88e3c3ec2c6-part1 wwn-0x600508b1001c8fb66b42c88e3c3ec2c6-part1
2015-01-16 22:21:11 <1> Osuse13(10772) [libstorage] DevAndSys.cc(probe):127 data[sda2] -> scsi-0HP_LOGICAL_VOLUME_00000000-part2 scsi-3600508b1001c8fb66b42c88e3c3ec2c6-part2 scsi-SHP_LOGICAL_VOLUME_PDNLH0BRH7K331-part2 wwn-0x600508b1001c8fb66b42c88e3c3ec2c6-part2

libstorage constructs the device names for partitions from the device names of the disk and there scsi-SHP_LOGICAL_VOLUME_PDNLH0BRH7K331 is missing.
Comment 12 Josef Reidinger 2015-02-10 14:38:47 UTC
ok, so looks like problem of udev. Reassign to udev maintainer as udev link missing
Comment 13 Dr. Werner Fink 2015-02-10 14:41:59 UTC
(In reply to Josef Reidinger from comment #12)

Wrong maintainer:

osc maintainer --email systemd
Defined in package: Base:System/systemd 
  bugowner of systemd : 
   systemd-maintainers@suse.de

  maintainer of systemd : 
   crrodriguez@opensuse.org, jjolly@suse.com, werner@suse.com, fcrozat@suse.com, rmilasan@suse.com, systemd-maintainers@suse.de, thomas.blume@suse.com
Comment 14 Josef Reidinger 2015-02-10 14:43:20 UTC
(In reply to Dr. Werner Fink from comment #13)
> (In reply to Josef Reidinger from comment #12)
> 
> Wrong maintainer:
> 
> osc maintainer --email systemd
> Defined in package: Base:System/systemd 
>   bugowner of systemd : 
>    systemd-maintainers@suse.de
> 
>   maintainer of systemd : 
>    crrodriguez@opensuse.org, jjolly@suse.com, werner@suse.com,
> fcrozat@suse.com, rmilasan@suse.com, systemd-maintainers@suse.de,
> thomas.blume@suse.com

Sorry, my fault.
Comment 15 Robert Milasan 2015-02-10 14:45:03 UTC
What the hell is: scsi-SHP_LOGICAL_VOLUME_PDNLH0BRH7K331 ?
Comment 16 Dr. Werner Fink 2015-02-10 14:58:13 UTC
(In reply to Robert Milasan from comment #15)

Wild guess ... HP based device with HP based driver and HP based udev rules (or missed HP based rules) .. ?!

Nevertheless enabling

  LogLevel=debug

in /etc/systemd/system.conf might help a bit
Comment 17 Dr. Werner Fink 2015-10-13 09:27:13 UTC
Ping! @ Jiří Krautwurm: any feedback on question in comment #15
Comment 18 Tomáš Chvátal 2018-04-12 13:58:45 UTC
This version of openSUSE changed to end-of-life (EOL [1]) status. As such
it is no longer maintained, which means that it will not receive any
further security or bug fix updates.
As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
openSUSE, or consider the bug still valid, please feel free to reopen this
bug against that version, or open a new ticket.

Thank you for reporting this bug and we are sorry it could not be fixed
during the lifetime of the release.

[1] https://en.opensuse.org/Lifetime