[Bug 1021062] New: yast2 clone_system fails to work with systemd 232
http://bugzilla.suse.com/show_bug.cgi?id=1021062
Bug ID: 1021062
Summary: yast2 clone_system fails to work with systemd 232
Classification: openSUSE
Product: openSUSE Tumbleweed
Version: Current
Hardware: Other
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: AutoYaST
Assignee: autoyast-maintainers@suse.de
Reporter: mlin@suse.com
QA Contact: qa-bugs@suse.de
Found By: ---
Blocker: ---
Created attachment 710986
--> http://bugzilla.suse.com/attachment.cgi?id=710986&action=edit
complete yast logs
in the TW staging, we see this issue while clone an fresh system
https://openqa.opensuse.org/tests/337891#step/yast2_clone_system/3
2017-01-20 03:32:06 <1> linux-04c2(3587) [Ruby] yast2/systemd_unit.rb:122
`systemctl show iscsid.socket --property=Id --property=MainPID
--property=Description --property=LoadState --property=ActiveState
--property=SubState --property=UnitFileState --property=FragmentPath `
2017-01-20 03:32:06 <3> linux-04c2(3587) [Ruby] yast2/systemd_unit.rb:151
Failed to get properties for unit 'iscsid' ; Command ` LANG=C TERM=dumb
COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show
iscsid.socket --property=Id --property=MainPID --property=Description
--property=LoadState --property=ActiveState --property=SubState
--property=UnitFileState --property=FragmentPath ` returned error:
2017-01-20 03:32:06 <3> linux-04c2(3587) [Ruby] yast/wfm.rb:236 Client call
failed with 'Socket unit 'iscsid' not found' and backtrace
["/usr/share/YaST2/modules/systemd_socket.rb:79:in `find!'",
"/usr/share/YaST2/modules/IscsiClientLib.rb:1089:in `getServiceStatus'",
"/usr/share/YaST2/modules/IscsiClient.rb:210:in `Read'",
"/usr/share/YaST2/clients/iscsi-client_auto.rb:98:in `main'",
"/usr/share/YaST2/clients/iscsi-client_auto.rb:126:in `
http://bugzilla.suse.com/show_bug.cgi?id=1021062
Dominique Leuenberger
http://bugzilla.suse.com/show_bug.cgi?id=1021062
http://bugzilla.suse.com/show_bug.cgi?id=1021062#c1
Dominique Leuenberger
http://bugzilla.suse.com/show_bug.cgi?id=1021062
http://bugzilla.suse.com/show_bug.cgi?id=1021062#c2
--- Comment #2 from Dominique Leuenberger
systemctl show iscsid.socket --property=MainPID returns with error code 1
with systemd 228:
systemctl show iscsid.socket --property=MainPID returns with error code 0
So there is a change in systemctl that impacts yast here, namely: systemctl show -p AnyUnknownProperty returned code '0' up to 228, and returns '1' in 232; I don't think systemd is wrong in telling that you query something that does not make sense... so, yast must not query for MainPID on a .socket -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1021062
http://bugzilla.suse.com/show_bug.cgi?id=1021062#c3
--- Comment #3 from Franck Bui
http://bugzilla.suse.com/show_bug.cgi?id=1021062
http://bugzilla.suse.com/show_bug.cgi?id=1021062#c4
Stefan Schubert
http://bugzilla.suse.com/show_bug.cgi?id=1021062
http://bugzilla.suse.com/show_bug.cgi?id=1021062#c5
Franck Bui
participants (1)
-
bugzilla_noreply@novell.com