ubuntu server installer serial console not preserved after update

Bug #1898614 reported by Michael Richardson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subiquity
Incomplete
Undecided
Unassigned
subiquity (Ubuntu)
New
Undecided
Unassigned
Focal
New
Undecided
Unassigned

Bug Description

I booted ubuntu 20.04.1 from a USB key to install a server.
(It would be great if that was a regular option, and if grub could be more easily tuned to include console ttyS1)
Ubuntu nicely discovered that I had booted from serial console, and I opted to stay with the non-rich mode, since I was using an xterm and serial console (SOL) via IPMI.
I agreed to update my installer. Then I lost everything.
It seems that the installer was then running on the tty0.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1898614/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Brian Murray (brian-murray) wrote :

Exactly what image did you download and were installing?

Changed in ubuntu:
status: New → Incomplete
Revision history for this message
Michael Richardson (mcr-sandelman) wrote :

I think that the ubuntu installer is called subiquity now. But, I could be wrong.

affects: ubuntu → subiquity (Ubuntu)
Revision history for this message
Brian Murray (brian-murray) wrote :

While subiquity is the new server installer for Ubuntu it is not the installer for the Ubuntu Core product, so it'd be helpful if you were to answer my original question.

Revision history for this message
Michael Richardson (mcr-sandelman) wrote :

I used: ubuntu-20.04.1-live-server-amd64.iso written to a USB key.

summary: - ubuntu core 20 installer serial console not preserved after update
+ ubuntu server installer serial console not preserved after update
Changed in subiquity (Ubuntu):
status: Incomplete → New
tags: added: rls-ff-incoming
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Hm the installer is definitely *meant* to restart on the serial line after refresh but I haven't tested this in a while. Logs should have been written to the USB stick, can you attach them to this report?

Changed in subiquity (Ubuntu):
status: New → Incomplete
Changed in subiquity:
status: New → Incomplete
Revision history for this message
Michael Richardson (mcr-sandelman) wrote :

This is the time that I tried it.
After this, I just didn't accept the upgrade.
The machine is installed.
I got the console= option on the grub menu by hitting F6, then ESC, and then typing in what I wanted. That used to just involve TAB.
I can't easily edit the grub menus on the USB key, since it is an ISO9660 image really.
Given how difficult it is to do this I'm not surprised this option hasn't been tested.

(I would like to always install VMs with kvm -nographic, but all the stuff makes this so hard.
But my physical servers always get a serial console)

(Note that I ran into some issues with bad HDs, which I eventually solved by using older ones)

Changed in subiquity (Ubuntu):
status: Incomplete → New
Changed in subiquity:
status: Incomplete → New
tags: removed: rls-ff-incoming
tags: added: fr-828
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Well I finally got around to testing this, using kvm -nographic (and booting with -kernel/-initd/-append console=ttyS0) and it seemed to work fine. I agree it would be nice to be able to get grub to run on the serial console but my understanding is that this is harder than it should be on intel platforms.

Are those logs from the attempt where you had issues? I don't see any evidence in the logs of an attempt to update.

Revision history for this message
Michael Richardson (mcr-sandelman) wrote :

I may have grabbed the wrong log file, I will search the USB key again.

I also tried to get the process I followed (F6/ESC/type console=ttyS0) to work on KVM, but I couldn't get the serial port to work at all. I have gotten serial consoles to work with KVM in the past, even without -kernel/-initrd.

Steve Langasek (vorlon)
description: updated
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

I'm going to mark this incomplete, as far as I can tell the installer restarts on the serial line just fine but I'm certainly interested to hear if you can reproduce the problem or find the logs!

Changed in subiquity:
status: New → Incomplete
Revision history for this message
Michael Richardson (mcr-sandelman) wrote :

Hi, the USB key in question wandered around a bit, but I have it back now.
I am grepping the logs to locate the attempt to upgrade/update the installer.
What should I be looking for?

Revision history for this message
Michael Richardson (mcr-sandelman) wrote :

Hi. I got KVM+serial console to work this time. (I think that by default, kvm doesn't give the installer enough ram). Going through my proceedure, I allow the installer to upgrade, and it does in fact continue on the serial console. It also continues on the tty0, so perhaps I was confused by this.
Sorry for the false report.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.