Leap 15.2: Autoinstall via network hängs at system configuration
Hello, I install a Leap 15.2 via autoyast. Installation via USB Key is no problem, workls like acharm. But installing via network with "ssh=1" hangs at "System COnfiguration". The last messages I see at the y2log are: 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] modules/PackageSystem.rb:354 Query installed package with '/usr/bin/rpm -q --whatprovides firewalld' and result no package provides firewalld 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] network/runtime.rb:39 Updating sendmail and/or postfix configuration. 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] modules/Lan.rb:186 link_status $["e0:3f:49:47:9e:42":true] 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/lan_auto.rb:122 Lan auto finished () 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/lan_auto.rb:123 ---------------------------------------- 2021-03-03 14:10:15 <1> instze32(3683) [Interpreter] modules/Call.rb:40 Called YaST client returned. 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:161 current resource: auth-client 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:161 current resource: users 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:161 current resource: files 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:161 current resource: firewall 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:161 current resource: host 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:161 current resource: http-server 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:161 current resource: iscsi-client 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:161 current resource: keyboard 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:176 Writing configuration for keyboard 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:216 Calling auto client with: $["keymap":"english-us"] 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:389 current step: 9 desc:Configuring keyboard 2021-03-03 14:10:15 <1> instze32(3683) [Interpreter] modules/Call.rb:40 Calling YaST client keyboard_auto 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] yast/wfm.rb:313 Call client /usr/share/YaST2/clients/keyboard_auto.rb 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] installation/auto_client.rb:58 Called Keyboard::AutoClient.run with Write and params 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] modules/Keyboard.rb:131 Saving keyboard english-us/us to system 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] lib/cheetah.rb:160 Executing "localectl set-keymap us". 2021-03-03 14:10:16 <1> instze32(3683) [Ruby] lib/cheetah.rb:180 Status: 0 2021-03-03 14:10:16 <1> instze32(3683) [Interpreter] modules/Call.rb:40 Called YaST client returned. 2021-03-03 14:10:16 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:161 current resource: language 2021-03-03 14:10:16 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:176 Writing configuration for language 2021-03-03 14:10:16 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:216 Calling auto client with: $["language":"en_US", "languages":"en_US"] Any Ideas? Best Regards Daniel -- Daniel Spannbauer Systemadministration marco Systemanalyse und Entwicklung GmbH Tel +49 8333 9233-27 Fax -11 Rechbergstr. 4-6, D 87727 Babenhausen Mobil +49 171 4033220 http://www.marco.de/ Email ds@marco.de Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München
Hi Daniel, did you also set a password with ssh.password=something? I seem to remember, that yast asks on the console for the password if none is given. Regards, Andreas On Mittwoch, 3. März 2021 15:16:44 CET Daniel Spannbauer wrote:
Hello,
I install a Leap 15.2 via autoyast.
Installation via USB Key is no problem, workls like acharm.
But installing via network with "ssh=1" hangs at "System COnfiguration".
The last messages I see at the y2log are:
2021-03-03 14:10:15 <1> instze32(3683) [Ruby] modules/PackageSystem.rb:354 Query installed package with '/usr/bin/rpm -q --whatprovides firewalld' and result no package provides firewalld 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] network/runtime.rb:39 Updating sendmail and/or postfix configuration. 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] modules/Lan.rb:186 link_status $["e0:3f:49:47:9e:42":true] 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/lan_auto.rb:122 Lan auto finished () 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/lan_auto.rb:123 ---------------------------------------- 2021-03-03 14:10:15 <1> instze32(3683) [Interpreter] modules/Call.rb:40 Called YaST client returned. 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:161 current resource: auth-client 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:161 current resource: users 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:161 current resource: files 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:161 current resource: firewall 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:161 current resource: host 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:161 current resource: http-server 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:161 current resource: iscsi-client 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:161 current resource: keyboard 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:176 Writing configuration for keyboard 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:216 Calling auto client with: $["keymap":"english-us"] 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:389 current step: 9 desc:Configuring keyboard 2021-03-03 14:10:15 <1> instze32(3683) [Interpreter] modules/Call.rb:40 Calling YaST client keyboard_auto 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] yast/wfm.rb:313 Call client /usr/share/YaST2/clients/keyboard_auto.rb 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] installation/auto_client.rb:58 Called Keyboard::AutoClient.run with Write and params 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] modules/Keyboard.rb:131 Saving keyboard english-us/us to system 2021-03-03 14:10:15 <1> instze32(3683) [Ruby] lib/cheetah.rb:160 Executing "localectl set-keymap us". 2021-03-03 14:10:16 <1> instze32(3683) [Ruby] lib/cheetah.rb:180 Status: 0 2021-03-03 14:10:16 <1> instze32(3683) [Interpreter] modules/Call.rb:40 Called YaST client returned. 2021-03-03 14:10:16 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:161 current resource: language 2021-03-03 14:10:16 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:176 Writing configuration for language
2021-03-03 14:10:16 <1> instze32(3683) [Ruby] clients/inst_autoconfigure.rb:216 Calling auto client with: $["language":"en_US", "languages":"en_US"]
Any Ideas?
Best Regards
Daniel
-- Mit freundlichen Gruessen, Andreas Vetter
Am 3/3/21 um 4:30 PM schrieb Andreas Vetter:
Hi Daniel,
did you also set a password with ssh.password=something? I seem to remember, that yast asks on the console for the password if none is given.
Regards, Andreas
Hello Andreas, yes, a password was given. I have a few packages, which have to be installed after a first reboot at the second stage. So I have to log in with "ssh -X " and start the second stage of the yast. This works. Best Regards Daniel -- Daniel Spannbauer Systemadministration marco Systemanalyse und Entwicklung GmbH Tel +49 8333 9233-27 Fax -11 Rechbergstr. 4-6, D 87727 Babenhausen Mobil +49 171 4033220 http://www.marco.de/ Email ds@marco.de Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München
On Mittwoch, 3. März 2021 16:36:21 CET Daniel Spannbauer wrote:
Am 3/3/21 um 4:30 PM schrieb Andreas Vetter:
Hi Daniel,
did you also set a password with ssh.password=something? I seem to remember, that yast asks on the console for the password if none is given.
Regards,
Andreas
Hello Andreas,
yes, a password was given. I have a few packages, which have to be installed after a first reboot at the second stage. So I have to log in with "ssh -X " and start the second stage of the yast.
This works.
Best Regards
Daniel
I'm trying a autoinstallation with ssh=1, but since I install a lot of packages, this will take some time until I reach second stage. In the meantime another wild guess: Did you enable sshd service in the profile? -- Mit freundlichen Gruessen, Andreas Vetter
Am 03.03.2021 um 17:16 schrieb Andreas Vetter:
Am 3/3/21 um 4:30 PM schrieb Andreas Vetter:
Hi Daniel,
did you also set a password with ssh.password=something? I seem to remember, that yast asks on the console for the password if none is given.
Regards,
Andreas Hello Andreas,
yes, a password was given. I have a few packages, which have to be installed after a first reboot at the second stage. So I have to log in with "ssh -X " and start the second stage of the yast.
This works.
Best Regards
Daniel I'm trying a autoinstallation with ssh=1, but since I install a lot of
On Mittwoch, 3. März 2021 16:36:21 CET Daniel Spannbauer wrote: packages, this will take some time until I reach second stage.
In the meantime another wild guess: Did you enable sshd service in the profile?
Jup. But don't get me wrong: the ssh connection is functionable. The connection isn't broken. But after a few minutes it claims about a X connection, that seems to be broken.
Daniel
I'm trying a autoinstallation with ssh=1, but since I install a lot of packages, this will take some time until I reach second stage.
In the meantime another wild guess: Did you enable sshd service in the profile?
Jup. But don't get me wrong: the ssh connection is functionable. The connection isn't broken. But after a few minutes it claims about a X connection, that seems to be broken.
Seems to be an X problem. When I log in with "ssh -X root@...." it hangs. WHen I do a console installation by "ssh root@...." (without a X display) the installation goes on and hangs later, but this is a other problem I think. Regards Daniel -- Daniel Spannbauer Systemadministration marco Systemanalyse und Entwicklung GmbH Tel +49 8333 9233-27 Fax -11 Rechbergstr. 4-6, D 87727 Babenhausen Mobil +49 171 4033220 http://www.marco.de/ Email ds@marco.de Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München
On Thursday, 4 March 2021 08:54:41 CET Daniel Spannbauer wrote:
Daniel
I'm trying a autoinstallation with ssh=1, but since I install a lot of packages, this will take some time until I reach second stage.
In the meantime another wild guess: Did you enable sshd service in the profile?
Jup. But don't get me wrong: the ssh connection is functionable. The connection isn't broken. But after a few minutes it claims about a X connection, that seems to be broken.
Seems to be an X problem.
When I log in with "ssh -X root@...." it hangs. WHen I do a console installation by "ssh root@...." (without a X display) the installation goes on and hangs later, but this is a other problem I think.
How do you specify the reboot before doing second stage? My second stage is without reboot, so my experience is different: Hm, my X connection suddenly stops working in System Configuration after installing additional rpms (stuff I need for sssd, but not explicitly selected in <packages>). In fact the machine stops network (unpingable) and on tty10 it says: wicked: device eth0: operation timed out So I think it fails to configure eth0 by DHCP. Since no ttys allow login, I have to send ctrl+alt+del, does not work, so I have to reset. After that machien comes up fully configured. -- Mit freundlichen Gruessen, Andreas Vetter Stellv. IT-Bereichsmanager Fakultaet fuer Physik und Astronomie Tel.: +49 (0)931 31-82264 Informations- und Kommunikationstechnik Tel: +49 (0)931 31-85890 Ticketsystem: it@physik.uni-wuerzburg.de
How do you specify the reboot before doing second stage?
My second stage is without reboot, so my experience is different:
Hm, my X connection suddenly stops working in System Configuration after installing additional rpms (stuff I need for sssd, but not explicitly selected in <packages>). In fact the machine stops network (unpingable) and on tty10 it says: wicked: device eth0: operation timed out So I think it fails to configure eth0 by DHCP. Since no ttys allow login, I have to send ctrl+alt+del, does not work, so I have to reset. After that machien comes up fully configured.
Hi, my ssh connections only breaks at the reboot before the second stage. I set: <mode> <confirm config:type="boolean">false</confirm> <halt config:type="boolean">false</halt> <second_stage config:type="boolean">true</second_stage> <final_reboot config:type="boolean">true</final_reboot> <forceboot config:type="boolean">true</forceboot> </mode> Thats all. The wicked timeout is a bug in my opinion. Regards Daniel -- Daniel Spannbauer Systemadministration marco Systemanalyse und Entwicklung GmbH Tel +49 8333 9233-27 Fax -11 Rechbergstr. 4-6, D 87727 Babenhausen Mobil +49 171 4033220 http://www.marco.de/ Email ds@marco.de Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München
On Thursday, 4 March 2021 10:09:49 CET Daniel Spannbauer wrote:
How do you specify the reboot before doing second stage?
My second stage is without reboot, so my experience is different:
Hm, my X connection suddenly stops working in System Configuration after installing additional rpms (stuff I need for sssd, but not explicitly selected in <packages>). In fact the machine stops network (unpingable) and on tty10 it says: wicked: device eth0: operation timed out So I think it fails to configure eth0 by DHCP. Since no ttys allow login, I have to send ctrl+alt+del, does not work, so I have to reset. After that machien comes up fully configured.
Hi,
my ssh connections only breaks at the reboot before the second stage.
I set:
<mode> <confirm config:type="boolean">false</confirm> <halt config:type="boolean">false</halt> <second_stage config:type="boolean">true</second_stage> <final_reboot config:type="boolean">true</final_reboot> <forceboot config:type="boolean">true</forceboot> </mode>
Thats all.
The wicked timeout is a bug in my opinion.
Hm, i come to the same problem when I use this settings (reboot, then second stage), but I don't run into your problem - maybe its important what is to be done in 2nd stage. Sorry, no more ideas apart from the usual: Do xmllint and jing accept your autoyast.xml ? xmllint --noout --relaxng /usr/share/YaST2/schema/autoyast/rng/profile.rng ay.xml jing /usr/share/YaST2/schema/autoyast/rng/profile.rng ay.xml -- Mit freundlichen Gruessen, Andreas Vetter Stellv. IT-Bereichsmanager Fakultaet fuer Physik und Astronomie Tel.: +49 (0)931 31-82264 Informations- und Kommunikationstechnik Tel: +49 (0)931 31-85890 Ticketsystem: it@physik.uni-wuerzburg.de
Hm, i come to the same problem when I use this settings (reboot, then second stage), but I don't run into your problem - maybe its important what is to be done in 2nd stage.
Sorry, no more ideas apart from the usual: Do xmllint and jing accept your autoyast.xml ? xmllint --noout --relaxng /usr/share/YaST2/schema/autoyast/rng/profile.rng ay.xml
jing /usr/share/YaST2/schema/autoyast/rng/profile.rng ay.xml
I don't think that this is a problem of the xml file. Normally I install the systems without ssh...works as expected (if not a UEFI boot) Regards Daniel -- Daniel Spannbauer Systemadministration marco Systemanalyse und Entwicklung GmbH Tel +49 8333 9233-27 Fax -11 Rechbergstr. 4-6, D 87727 Babenhausen Mobil +49 171 4033220 http://www.marco.de/ Email ds@marco.de Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München
participants (2)
-
Andreas Vetter
-
Daniel Spannbauer