[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
@hws also note that we have patched Ubuntu's virt-install & worked with upstream on landing things there too. If one is using non-Ubuntu virt-install, they need to patch it first, to be usable to deploy focal. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
I'm not sure what is expected to happen from your side. The patch is included in virt-manager version 1:2.2.1-3ubuntu2 an newer: virt-manager (1:2.2.1-3ubuntu2) focal; urgency=medium * Fix legacy-images path for focal. LP: #1872941 and we got positive feedback that it works. And I just retried again: $ virt-install --name ubu-vm-focal --memory 2048 --vcpus 2 --disk "size=4" --location http://ports.ubuntu.com/ubuntu-ports/dists/focal/main/installer-s390x --network "network=default" $ virt-install --name ubu-vm-bionic --memory 2048 --vcpus 2 --disk "size=4" --location http://ports.ubuntu.com/ubuntu-ports/dists/bionic/main/installer-s390x --network "network=default" and both worked for me (the installation started and I didn't got any errors). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
FYI: It seems that the issue is still present in the currently available focal/universe packages: virt-manager 1:2.2.1-3ubuntu2 If you run into this issue, like I did, the upstream version like Christian Ehrhardt mentioned above is needed. See also: https://github.com/virt-manager/virt-manager/issues/171 ** Bug watch added: github.com/virt-manager/virt-manager/issues #171 https://github.com/virt-manager/virt-manager/issues/171 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
FYI Upstream implemented it similar in https://github.com/virt-manager/virt-manager/commit/b55b7e94622dd039d00b6e21b5d28d44ab944693 I submitted the one missing bit in https://github.com/virt-manager/virt-manager/pull/115 Neither of the above is in a new release yet. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
I am working on implementing network config & network .iso discovery On s390x, when using virt-install, do you really want to configure networking at all or do you want it to simply dhcp, self-find the right iso, download that and attempt booting that? Or do you still want interactive experience to ask for any chzdev devices to activate, dhcp or static, ip address, gateway (? or just always use default), dns (? or just always use gateway), vlan id, http_proxy, url to iso? Because it feels like the best experience is no questions asked, just works. Which might be the case with DPM autoconfigured networking devices & qemu autoconfigured devices. Also virt-install can download & import boot off .iso. Have you tried to point virt-install just at the live-server.iso? On s390x, I expect it to be downloaded, added as a SCSI disk, and el-torito boot to be performed. And if kernel params are needed, virt-install knows how to extract kernels from iso, and it can then do direct kernel boot with kernel params, which iso attached. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
RFE got created: # 141996 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
I guess you want for ftp://cdimage.ubuntu.com/cdimage/releases/20.04/release/ to publish an .ins file that HMC could load, and then be able to bring up network and possibly default to said url to use .iso from there to complete the install. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
Upstream pull request to resolve this for virt-install is not merged https://github.com/virt-manager/virt-manager/pull/101 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
Hi Peter, for the (s390x) kernel and initrd of d-i (legacy) usage, the URL is still: http://ports.ubuntu.com/ubuntu-ports/dists/bionic/main/installer-s390x The problem was that virt-install expected .../current/images as tail and refused to work with .../current/legacy-images, but this is solved now. (full path/URL: http://ports.ubuntu.com/ubuntu-ports/dists/focal/main/installer-s390x/current/legacy-images/ ) But you need to have your 'virtinst' package (that contains virt-install) updated to the very latest level (that incl. Dimitri's modification). The URL is different depending on the architecture: For example for amd64 the location/URL is: http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64 (full path/URL: http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/ ) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
hi, all, while reading this thread I can't really follow which link would work with virt-install. I've tried all of them but virt-install keep telling there is no distro. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
Hi Christian - there is a separate ticket open for this, it's LP 1854513. May I suggest to leave a comment there and/or clicking the link "Does this bug affect you?" at the top left? That would be helpful - thank you! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
I think that's a brilliant question. I can go on explaining that how we build & publish the new thing, is unlike how we build and publish the old thing, and that it's all a bit non-trivial, but literary that's all irrelevant from the virt-install users' point of view. We are discussing subiquity plans for the next cycle this week. I'm not sure if we can squeeze this in, or not. But at least I can try. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
** Changed in: ubuntu-z-systems Status: Won't Fix => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
If the legacy d-i netboot images are not going to be published/supported 20.04.1 onwards, do we have an equivalent replacement that's able to perform the same function? The mini.iso allows me to boot my 384 Mb ram VPS without a cd-rom drive into the installation environment by just loading the kernel/initrd from grub and complete a minimal setup by downloading only the necessary components from the internet. It also allows me to keep my existing disk layout (LVM volumes hosted in an encrypted luks partition) and install over it. Are we expecting the new netboot/subiquity setup to be able to do this by the 20.04.1 release? Or are we just going to drop the legacy installer that works well to address these use cases in favor of something that must download and load a 1 Gb ISO image in RAM to work? What about the ability to install over existing LVM volumes within an encrypted partition? Is that planned to be incorporated before d-i is dropped completely? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
This bug was fixed in the package virt-manager - 1:2.2.1-3ubuntu2 --- virt-manager (1:2.2.1-3ubuntu2) focal; urgency=medium * Fix legacy-images path for focal. LP: #1872941 -- Dimitri John Ledkov Fri, 17 Apr 2020 18:26:25 +0100 ** Changed in: virt-manager (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
** Changed in: ubuntu-z-systems Assignee: Canonical Server Team (canonical-server) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
** Description changed: + + For 20.04.0 d-i is changing from /images/ to /legacy-images/ in it's directory structure. + + For 20.04.1+ it will not exist at all. + + For all Ubuntu releases virt-install should learn how to use cloud- + images from https://cloud-images.ubuntu.com/ which are preinstalled + cloud-init enabled qcow2 images, with unpacked kernels. Allowing to + change kernel cmdline parameters and boot in-place. Which is the best & + default Ubuntu experience on VMs. + + --- + Installer version: Latest https://ports.ubuntu.com/ubuntu-ports/dists/focal/main/installer-s390x Description/Reproduction: Start virt-install with the following options: virt-install \ --name ubuntu20-guest1 \ --memory 4096 \ --vcpus 4 \ --disk "size=4" \ --location http://ports.ubuntu.com/ubuntu-ports/dists/focal/main/installer-s390x \ - --network "network=default" + --network "network=default" Error: ERRORError validating install location: Could not find an installable distribution at 'http://ports.ubuntu.com/ubuntu-ports/dists/focal/main/installer-s390x' The location must be the root directory of an install tree. See virt-install man page for various distro examples. - - Looking at previous releases I would guess it expects an "images" directory instead of the new "classic-images" directory. I'm aware of the workaround to specify kernel/initramfs directly but that shouldn't be a solution. + Looking at previous releases I would guess it expects an "images" + directory instead of the new "legacy-images" directory. I'm aware of the + workaround to specify kernel/initramfs directly but that shouldn't be a + solution. == Comment: #2 - Andre Wild1 - 2020-04-15 03:51:21 == (In reply to comment #0) > Installer version: Latest > https://ports.ubuntu.com/ubuntu-ports/dists/focal/main/installer-s390x - > + > Sorry I've copied the wrong link. This is the link I've used successfully in the past: http://ports.ubuntu.com/ubuntu-ports/dists/focal/main/installer-s390x -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
** Changed in: virt-manager (Ubuntu) Status: Invalid => Confirmed ** Changed in: virt-manager (Ubuntu) Importance: Undecided => Wishlist -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
Unfortunately installer-arch/ is hardcoded portion of the prefix in the internal archive publishing, internal mirroring, and external mirroring, thus I cannot change it to legacy-installer-arch. Also these will only exist for a short period of time until June, so I don't see the point of investing into redoing all of our archive publishing to support this. If you use an internal mirror, you can modify it with extra symlinks to symlink legacy-images to images to fix your internal deployment. However, we should work together on moving away your virt-install deployments away from d-i. ** Changed in: ubuntu-z-systems Status: Triaged => Won't Fix ** Changed in: debian-installer (Ubuntu) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
** Branch linked: lp:~xnox/debian-installer/legacy-installer-arch-images -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
** Branch linked: lp:~xnox/debian-cd/legacy-installer-arch-images -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
Frank pointed out that virt-install uses: --location http://ports.ubuntu.com/ubuntu-ports/dists/focal/main /installer-s390x Meaning, it is sensitive to "/images/" changing to "/legacy-images/". However, instead of changing images to legacy-images, we could instead change "installer-" prefix to "legacy-installer-". The change of URL is achieved, yet virt-install would then work with like: --location http://ports.ubuntu.com/ubuntu-ports/dists/focal/main/legacy- installer-s390x which strikes a better balance of incompatibility & friction. ** Also affects: debian-installer (Ubuntu) Importance: Undecided Status: New ** Changed in: debian-installer (Ubuntu) Status: New => Confirmed ** Changed in: debian-installer (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
** No longer affects: linux (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
Renaming the artefacts was a compromise. the other option was to not publish them at all. d-i artefacts will not exist for 20.10 release, nor for 20.04.1 release, on any architecture. Thus renamed d-i artefacts is a transitional period of ~3 months until 20.04.1 is released. cloud-images for s390x with working cloud-init existed since the pre- release of the very first s390x architecture build. And work with xenial, bionic, and focal, and all intermediate releases. Why is using cloud-images not suitable for your test team which works for all Ubuntu s390x releases, and are pre-built and refreshed for every new kernel SRU? Unlike the d-i based images which are only refreshed every 6 months? https://cloud-images.ubuntu.com/ are genuinely more up to date, and are quicker to provision than d-i based installs. There are tested/curated release streams with ~2-3 week cadence, and daily streams which are updated ~1-3 days, with all packages up to date from the first boot. Can we help you move away from virt-instal d-i, to booting cloud images with any configuration applied on first-boot with cloud-init? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
** Also affects: ubuntu-cdimage Importance: Undecided Status: New ** Changed in: ubuntu-cdimage Status: New => Opinion ** Changed in: virt-manager (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
The URL is changed intentionally, to notify all users that these images are deprecated and will not be updated after 20.04.0 GA, and will no longer be published in the future. You should not be using virt-install, and simply boot the s390x cloud- image in-place, with suitable cloud-config drive attached. This way, you simply directly boot into installed ubuntu server, which executes cloud- init and reconfigures the instance on first boot as desired without performing installation & reboot. If you want to test the installer, please use the new installer interactively or with auto-install config provided as a cloud-config drive as mentioned on the download page itself http://ports.ubuntu.com/dists/focal/main/installer-s390x/current/legacy- images/ We felt that we had to rename and change URLs, to notify all automated systems that these images are going away. This communication / notification mechanism seems to be working as intended. Because it broke your current setup. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
First of all, both examples from comment #3 work (subiquity also installs that way). I guess it's obvious that the '--location' doesn't work with the directory tree anymore due to the change in the URL from http://ports.ubuntu.com/ubuntu-ports/dists/focal/main/installer-s390x/current/images/ to: http://ports.ubuntu.com/ubuntu-ports/dists/focal/main/installer-s390x/current/legacy-images/ (notice that http://ports.ubuntu.com/ubuntu-ports/dists/eoan/main/installer-s390x still works). As far as I can tell the URL change was done by intention and to indicate that the default installer for 20.04 is no longer d-i, but subiquity. The '--cdrom' is a valid option for many cases, but unfortunately not for all, since it doesn't allow the '-extra-args' argument - '-extra- args' only works in combination with '--location', not with '--cdrom'. I currently see two options, one is renaming the URL back and the second option is to directly specify kernel and initrd, like: ubuntu@s1lp11:~$ virt-install --name ubuntu20-guest1 --memory 4096 --vcpus 4 --disk "size=4" --install kernel=http://ports.ubuntu.com /ubuntu-ports/dists/focal/main/installer-s390x/current/legacy- images/generic/kernel.ubuntu,initrd=http://ports.ubuntu.com/ubuntu- ports/dists/focal/main/installer-s390x/current/legacy- images/generic/initrd.ubuntu --network "network=default" As far as I can tell netboot images/files at 'ports.ubuntu.com' are all d-i only. For subiquity one needs to grab kernel and initrd for potential netbooting from the focal-live-server-s390x.iso or the iso itself. Btw. preseed is the non-interactive installation method based on d-i. With the new subiquity installer the preseed successor is 'autoinstallation' - for more details let me refer to: Automated Server Installs for 20.04 https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls Automated Server Installs Config File Reference https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls/ConfigReference JSON Schema for autoinstall config https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls/ConfigSchema Autoinstall Quick Start https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls/QuickStart Autoinstall Quick Start for s390x https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls/QuickStart/s390x -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
Agreed @cborntra, if that is your use case then those two ways are not equivalent. Then for now I only know of the "workaround to specify kernel/initramfs directly" that you are aware of as well. Let's see what feedback Andrew gets when asking to change the path back. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
Actually the following works pretty well for getting to the old-style installer on s390x. Instead of a location to the install-dir, just hand it an ISO (can also be a local file). virt-install --name ubuntu20-guest1 --memory 4096 --vcpus 4 --disk "size=4" --cdrom http://cdimage.ubuntu.com/ubuntu-server/daily/current /focal-server-s390x.iso --network "network=default" And for the new installer: virt-install --name ubuntu20-guest1 --memory 4096 --vcpus 4 --disk "size=4" --cdrom http://cdimage.ubuntu.com/ubuntu-server/daily-live/current/focal-live-server-s390x.iso --network "network=default" P.S. I haven't tried the latter recently, but I know JFH is filing and pushing on related fixes. Never the less this should solve your issue in case the path as published can't be renamed back. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
in the function _set_url_paths it makes up the defaults: # generic url_prefix = "current/images" ... # s390x specific as it can't find "normal" kernel/initrd there hvmroot = "%s/generic/" % url_prefix kernel_basename = "kernel.%s" % self._debname That will construct http://ports.ubuntu.com/ubuntu-ports/dists/bionic/main/installer-s390x/current/images/generic/kernel.ubuntu Which was the correct old path. The new path would be the new path. http://ports.ubuntu.com/ubuntu-ports/dists/focal/main/installer- s390x/current/legacy-images/generic/kernel.ubuntu But that differs based on the version, if you want to install a bionic guest the old code works. @Andrew - you might want to ask to keep the old layout instead of changing this (and probably many other tools/scripts)? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
Note that the virt-manager package is in the "universe" archive. ** Changed in: ubuntu-z-systems Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
** Changed in: ubuntu-z-systems Assignee: (unassigned) => Canonical Server Team (canonical-server) ** Changed in: ubuntu-z-systems Importance: Undecided => Critical ** Also affects: virt-manager (Ubuntu) Importance: Undecided Status: New ** Changed in: linux (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed
** Also affects: ubuntu-z-systems Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1872941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs