New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Current kinetic ISO images not installable on s390x #4007
Comments
Launchpad user Frank Heimes(fheimes) wrote on 2022-08-16T10:42:13.977826+00:00 After having a bit brainstormed with Michael on this, I have some updates: If the installer is at the above stage (using the interactive way to specify the basic network config data , no login credentials are specified (like shown above), z/VM: LPAR: There are just no credentials to login. But on LPAR, there is the additional option to do an installation based on the "Integrated ASCII console" (instead of using a remote ssh session). |
Launchpad user Frank Heimes(fheimes) wrote on 2022-08-16T12:36:04.685226+00:00 ...and here are the logs from that LPAR (copied to a different system from within the "Integrated ASCII console"). |
Launchpad user Dan Bungert(dbungert) wrote on 2022-08-25T16:23:32.045647+00:00 Cloud-init folks, may I get your opinion on this one? 2022-08-16 10:16:29,345 - util.py[WARNING]: failed stage init-local
|
Launchpad user Chad Smith(chad.smith) wrote on 2022-08-26T22:37:44.770372+00:00 Ok in the /var/log/cloud-init.log we can see the network config passed to cloud-init is versoin: 2 (which cloud-init should ultimately write directly to /etc/netplan/50-cloud-init.yaml From cloud-init.log: We can quickly reproduce any specific network rendering tracebacks in cloud-init with the following devel tool (that is included in the installed cloud-init deb):
The failure here seems to be that we have a nameserver clause that doesn't contain a corresponding match: {"macaddress": "f6:4c:f0:f1:ea:27"} on the "encc000.2653" device configuration.Instead of providing this config: We can provide this config where device specific nameservers are being defined: This results in the following /etc/netplan/50-cloud-init.yaml This file is generated from information provided by the datasource. Changesto it will not persist across an instance reboot. To disable cloud-init'snetwork configuration capabilities, write a file/etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:network: {config: disabled}network: |
Launchpad user Michael Hudson-Doyle(mwhudson) wrote on 2022-08-29T09:07:04.052062+00:00 Er, I think you're right that the cloud-init crash is caused by the lack of macaddress in some of the ethernets: entries, but this is a cloud-init bug, not a problem with the input, which is afaict perfectly valid netplan. An ethernets that doesn't have a match matches by name, and even if it does have a match, matching by things other than mac is fine. And vlan: entries never have a match: https://netplan.io/reference/#device-configuration-ids:~:text=Thus%20match%3A%20and%20set%2Dname%3A%20are%20not%20applicable%20for%0Athese%2C%20and%20the%20ID%20field%20is%20the%20name%20of%20the%20created%20virtual%20device I think cloud-init master now handles this kind of "v2 to v2" "conversion" by just dumping it out to disk, which sounds fine. But if you need to convert it to some other kind of format you'll need to fix this. |
Launchpad user Frank Heimes(fheimes) wrote on 2022-08-29T09:46:43.721884+00:00 For comparison reasons, and just from a user pov, this is what I get with a jammy installation (for the same system, having specific the same network data in the early network config steps): $ cat /etc/netplan/00-installer-config.yaml This is the network config written by 'subiquity'network: Which worked perfectly fine so far (no mac addresses at all). |
Launchpad user Chad Smith(chad.smith) wrote on 2022-08-29T16:03:38.024420+00:00 mwhudson and fheimes. Thanks for this. and you both are correct. This bug is a short-coming in cloud-init's internal rendering network_state not being able to "handle" full netplan version: 2 while rendering internal state. I was reminded in our standup that we had a separate bug that was being worked that will resolve this issue. cloud-init shouldn't really be doing anything with network version: 2 on a system that already had netplan as a the network renderer. This was just fixed on Friday due to a related bug This fix will be in the next upload and release of cloud-init. |
Launchpad user Chad Smith(chad.smith) wrote on 2022-08-29T16:19:26.976000+00:00 fheimes, just for future reference, I captured the netplan-rendered systemd files from your working netplan yaml: root@pkg-dev:~# for file in /run/systemd/network/10-netplan-*; do echo $file; cat $file; done [VLAN] [Network] [Network] This network_state bug above is avoided on Ubuntu by the recent commit to upstream in cloud-init passing network version: 2 directly as passthrough config to the netplan renderer instead of converting it to the internal cloud-init network_state. This bug will still exist on other distros which do not have netplan installed. |
Launchpad user Chad Smith(chad.smith) wrote on 2022-08-30T22:11:47.416702+00:00 upstream commit landed 70ce644 |
Launchpad user Chad Smith(chad.smith) wrote on 2022-08-30T22:12:46.354663+00:00 Fix released into Ubuntu Kinetic 22.10 as cloud-init version 22.3-13-g70ce6442-0ubuntu1~22.10.1 |
Launchpad user Michael Hudson-Doyle(mwhudson) wrote on 2022-08-30T22:32:27.919235+00:00 Thanks for fixing this so quickly! |
Launchpad user Chad Smith(chad.smith) wrote on 2022-08-30T23:12:05.483658+00:00 Thanks for the bug triage :) It also happened to align with an SRU we wanted to process and upload so we figured "fix all the things" |
Launchpad user Frank Heimes(fheimes) wrote on 2022-08-31T06:05:34.204135+00:00 Many thanks all. |
Launchpad user Michael Hudson-Doyle(mwhudson) wrote on 2022-09-01T02:28:42.775279+00:00 It looks like the ISO currently in pending has the new version now. |
Launchpad user Frank Heimes(fheimes) wrote on 2022-09-01T09:45:54.235746+00:00 I can confirm that this issue is fixed with the latest 'pending' ISO from today (Sept 1st): I tried that on two systems and I was able to reach subiquity - so, complete the initial basic network configuration. I was able to complete the entire installation on one of the systems, but faced another (independent) problem on the 2nd one - will open a separate bug for that (LP#1988407). But this bug can be closed now as Fix Released. |
This bug was originally filed in Launchpad as LP: #1986551
Launchpad details
Launchpad user Frank Heimes(fheimes) wrote on 2022-08-15T17:28:26.573313+00:00
While wanting to install an kinetic/22.10 system on s390x for testing new and updated packages
I found that the current daily ISO image for s390x is not installable - not on LPAR nor on z/VM - not interactively using subiquity, not non-interactively using autoinstall.
I had the image from August 2nd and the installation ended at the console with these messages (please ignore the weird special characters):
...
Ý Ý0;32m OK Ý0m¨ Started Ý0;1;39mTime & Date Service Ý0m.
connecting... - \ |
waiting for cloud-init... -
It is possible to connect to the installer over the network, which
might allow the use of a more capable terminal and can offer more languages
than can be rendered in the Linux console.
Unfortunately this system seems to have no global IP addresses at this
time.
Ý Ý0;32m OK Ý0m¨ Started Ý0;1;39mTime & Date Service Ý0m.
Ý Ý0;32m OK Ý0m¨ Finished Ý0;1;39mWait until snapd is fully seeded Ý0m.
Starting Ý0;1;39mApply the settings specified in cloud-config Ý0m...
Ý Ý0;32m OK Ý0m¨ Started Ý0;1;39mSubiquity, the installer for Ubuntu Server
hvc0 Ý0m.
Ý Ý0;32m OK Ý0m¨ Started Ý0;1;39mSubiquity, the ins er for Ubuntu Server t
tysclp0 Ý0m.
Ý Ý0;32m OK Ý0m¨ Reached target Ý0;1;39mLogin Prompts Ý0m.
Stopping Ý0;1;39mOpenBSD Secure Shell server Ý0m...
Ý Ý0;32m OK Ý0m¨ Stopped Ý0;1;39mOpenBSD Secure Shell server Ý0m.
Starting Ý0;1;39mOpenBSD Secure Shell server Ý0m...
Ý Ý0;32m OK Ý0m¨ Started Ý0;1;39mOpenBSD Secure Shell server Ý0m.
Ý Ý0;32m OK Ý0m¨ Finished Ý0;1;39mApply the settings specified in cloud-con
ig Ý0m.
Ý Ý0;32m OK Ý0m¨ Reached target Ý0;1;39mMulti-User System Ý0m.
Ý Ý0;32m OK Ý0m¨ Reached target Ý0;1;39mGraphical Interface Ý0m.
Starting Ý0;1;39mExecute cloud user/final scripts Ý0m...
Starting Ý0;1;39mRecord Runlevel Change in UTMP Ý0m...
Ý Ý0;32m OK Ý0m¨ Finished Ý0;1;39mRecord Runlevel Change in UTMP Ý0m.
Ý Ý0;32m OK Ý0m¨ Finished Ý0;1;39mExecute cloud user/final scripts Ý0m.
Ý Ý0;32m OK Ý0m¨ Reached target Ý0;1;39mCloud-init target Ý0m.
...
Then updated to the latest ISO from today (Aug 15th), I got the same:
...
Ý Ý0;32m OK Ý0m¨ Finished Ý0;1;39mHolds Snappy daemon refresh Ý0m.
Ý Ý0;32m OK Ý0m¨ Finished Ý0;1;39mService for snap application lxd.activate
Ý0m.
Ý Ý0;32m OK Ý0m¨ Started Ý0;1;39msnap.lxd.hook.conf -4b29-8a88-87b80c6b731
8.scope Ý0m.
Ý Ý0;32m OK Ý0m¨ Started Ý0;1;39msnap.subiquity.hoo -4a63-9355-e4654a5890c
1.scope Ý0m.
Ý Ý0;32m OK Ý0m¨ Started Ý0;1;39mService for snap a on subiquity.subiquity
-server Ý0m.
Ý Ý0;32m OK Ý0m¨ Started Ý0;1;39mService for snap a n subiquity.subiquity-
service Ý0m.
Starting Ý0;1;39mTime & Date Service Ý0m...
Ý Ý0;32m OK Ý0m¨ Started Ý0;1;39mTime & Date Service Ý0m.
connecting... - \ |
waiting for cloud-init... - \
It is possible to connect to the installer over the network, which
might allow the use of a more capable terminal and can offer more languages
than can be rendered in the Linux console.
Unfortunately this system seems to have no global IP addresses at this
time.
...
Unfortunately I am not able to get any logs at that (very early) stage of the installation.
On top I did a 22.04.1 installation on the same systems, using the same data (IP etc) which worked fine.
(I kept one of the systems in that stage for now ...)
The text was updated successfully, but these errors were encountered: