/srv/irclogs.ubuntu.com/2020/10/05/#ubuntu-server.txt

jayjoI noticed that the ubuntu server docs has virtualization info for GUIs: https://ubuntu.com/server/docs/virtualization-virt-tools .. mainly saying to use a workstation to connect to a server. I do have a workstation that I can use to connect to a local server, but what00:20
jayjois the recommendation for on the server itself?00:20
mybalzitchyou can install x and run virt-manager locally01:35
mybalzitchproxmox is worth looking at if all you are doing is virtualization01:35
cpaelzer__Soni: yes s390x fully works05:30
=== cpaelzer__ is now known as cpaelzer
cpaelzerSoni: a friend once wrote this blog which shows various ways to run it (and there would be more obviously) and all of them have network :-) http://ubuntu-on-big-iron.blogspot.com/2020/08/12-different-ways-of-running-ubuntu-server-on-kvm.html05:31
cpaelzerSoni: s390x has some special quirks, unrelated to KVM but at the Host/HW Level e.g. that you need to set the OSA card to level2+primary_router for most "bridge-through" use cases05:33
cpaelzerSoni: if you have troubles feel free to reach out if it doesn't become a day long support session :-)05:33
jayjo_I think I've got the bridge networking figured out for my two NIC VM (pfsense). But I'm installing on a headless ubuntu server. Is there way to connect to the console of pfsense through KVM on the server machine, as opposed to using something like `virt-manager -c qemu+ssh://virtnode1.mydomain.com/system` on a workstation?06:13
jayjo_this was my attempt: "virt-install --virt-type kvm --name pfsense --ram 2048 --vcpus 2 --cdrom=/home/jayjo/pfSense-CE-2.4.5-RELEASE-p1-amd64.iso --disk /home/jayjo/kvm/images/pfsense.qcow2,bus=virtio,size=10,format=qcow2 --network default --network bridge=virbr0 --graphics none --console pty,target_type=serial --os-type=linux --os-variant=freebsd10.0" but that gives me "connected to domain pfsense;06:29
jayjo_Escape character is ^]"06:29
cpaelzer__jayjo_: that means it connected you to the (virtual) console of the system06:40
=== cpaelzer__ is now known as cpaelzer
cpaelzerif nothing appears thre at all then your ISO is not booting in there06:40
jayjo_hmm. Does that mean that no serial console is available in that iso? There are two memstick installations available at https://docs.netgate.com/pfsense/en/latest/install/download-installer-image.html, one VGA and one serial, and then the ISO.06:47
cpaelzerI don't know the pfsesne iso enough, but I'd at least expect the kernel messages to fly by initially06:48
mgedminiirc qemu supports emulating vga via an ncurses-based text UI06:48
mgedminthe problem with serial consoles is the OS has to be configured to use it06:48
cpaelzermgedmin: that would be "--curses" as qemu arg, the config jayjo_ uses presents no graphics (--graphics none)06:49
jayjo_that was just my attempt at installing and interacting on a server. I think I should read more into "--curses" and see if that could help with the image I have06:50
cpaelzerjayjo_: FYI the first 3/3 search engine results I've seen on this use --graphics vnc,listen=0.0.0.0 so maybe it needs a graphic to be presented to the guest06:56
cpaelzerone was different and mentioned that there the cpu passed to the guest was "too new" https://forum.netgate.com/topic/148138/stuck-at-booting-kvm-ubuntu18-04-server but I can't be sure from here which case you are hitting06:57
lordievaderGood morning07:04
xnoxRoyK:  quite out of date. Soni: yeap, we do have OpenStack on s390x and everything it needs. thus yes, there is qemu kvm with networking.09:15
Sonixnox: cpaelzer: https://paste.ubuntu.com/p/pCxshZq35p/ ?11:45
xnoxSoni:  using debian, not ubuntu? debian compiles for much older cpu-arch, and doens't have toolchain vectorization on, nor hw compression enabled, nor encryption accelerated at all. Thus io, network performance, http, tls, will all be a lot slower. compared to e.g. using Ubuntu 20.04 focal.13:23
xnoxSoni:  also Ubuntu has support together with IBM, thus one can esclalate ubuntu issues to either Canonical or IBM, with Ubuntu. Not with debian.13:23
Sonixnox: this is qemu-system-s390x on x86_64, for what it's worth13:24
xnoxSoni:  i generaly don't do things quite the same, but i guess that's taste. FOr example, instead of virtio ccw scsi, instead of ccw. ccw is very new.13:24
xnoxSoni:  right, but qemu-system-s390x on x86_64 ubuntu? or debian?13:25
Sonion arch :v13:25
Sonibut sure let's try ubuntu server on qemu13:25
Sonibecause you can never try enough distros13:25
xnoxSoni:  please use ubuntu, i cannot speak for qemu on non-ubuntu. We had to build qemu correctly, with backported s390x features, and with the correct s390x firmware build as well to support ipl.13:25
xnoxSoni:  when we say that s390x qemu/kvm works correctly, we do mean ubuntu host.13:26
Sonioh13:26
Sonihm13:26
xnox(hint, channel name ;-) )13:26
xnoxbecause we did a _lot_ of work to make it work.13:26
Soniso, ubuntu on qemu on ubuntu on qemu on arch?13:26
xnoxhahahahhahahhahahhaa13:26
xnoxi wish one could load a co-processor kernel, on a subset of cpus, and ask to launch a process using that kernel. Such that i.e. one could do true hw isolation for containers.13:27
Soniwait, how do you download ubuntu server for s390x?13:34
Sonioh, found it13:37
Soniso uh, this is the only big-endian ubuntu, yeah?13:41
ahasenackyes13:50
xnoxSoni:  with current and future releases => yes14:07
xnoxSoni:  for qemu, we have cloud-images which one can just launch in place; just add a cloud config drive, to enable ssh authentication on first boot (or install things you need, etc)14:07
xnoxSoni:  http://cloud-images.ubuntu.com/releases/focal/release/14:07
Soniokay14:08
xnoxSoni:  we also used to have powerpc (big endian 32bit), but it's all about ppc64el these days (64bit, little endian, openpower)14:08
Soniyeah it seems nobody wants to break (and then fix) little-endian software14:08
Sonixnox: oh okay so ubuntu server has network15:03
Sonithanks :315:04
Soni(didn't need to run qemu on qemu)15:06
antonHello, I tried enabling livepatch on a VPS running Ubuntu 20.04 and it's saying "2020/10/05 19:41:31 error executing enable: cannot enable machine: bad temporary server status 500 (URL: https://livepatch.canonical.com/api/machine-tokens) server response: machine token already exists". It shouldn't be enabled or exist on this machine. Is there something I have to set to get it to work, since19:48
antonit shouldn't already exist on the machine?19:48
iceyddstreet: regarding the OpenStack package set, I can propose an update to it in the morning (assuming I find the right repo ;-) ) - I'd appreciate your thoughts on updating it with the list of subscribed packages from https://bugs.launchpad.net/~ubuntu-openstack/+packagebugs20:01
rbasakrafaeldtinoco: ^20:02
iceyah - wondered who would be better as I saw rafaeldtinoco in some commit logs, thanks rbasak!20:03
rafaeldtinocoicey: yes, please, let me know20:03
tomreynanton: this message sounds to me like this vps has the same machine id as another system which livepatch was already enabled on20:03
tomreynanton: maybe you or the host clones it and didn't regenerate the machine id20:03
iceyrafaeldtinoco: easier to email you a list, create a merge proposal, something else entirely?20:04
rafaeldtinocorbasak: are we going for a seed update <-> pkgset automatic sync ?20:04
rbasakrafaeldtinoco: based on https://git.launchpad.net/~developer-membership-board/+git/packageset/tree/pkgset-report.py, looks like openstack is still a manually managed packageset and openstack seeded packages end up in the ubuntu-server packageset?20:04
rafaeldtinocoyep20:04
rbasakI don't mind how you approach it20:05
rafaeldtinocothats where I was going to (and in a meeting now so I might be unresponsive soon)20:05
rafaeldtinocoicey: lets start with an email to myself ?20:05
rbasakBetween you and icey I guess20:05
rafaeldtinocoand let me tackle it20:05
iceyrafaeldtinoco: I'm going to bed soon so will also be unresponsive! I'll send you an email tomorrow to start the conversation20:05
rbasakIt might turn out to be tricky because doing it automatically doesn't work so well when there are multiple seeds "claiming" a package and I think there might be quite a few of those in the openstack team managed packages20:05
rafaeldtinocoicey: take your time, tomorrow morning we're in a sprint .. can be the afternoon20:06
rafaeldtinocoicey: =) thanks a lot!20:06
tomreynanton: see also: machine-id man page, section 520:06
rafaeldtinocorbasak: yep, we're stuck there right now (in the automation)20:06
iceyrafaeldtinoco: no worries :) it's 22h here right now, so might be a late start in the morning!20:06
rafaeldtinocobut its been hard to find time to take this and fix20:06
rafaeldtinocoill have to do a PTO to fix DMB related stuff #)20:06
rbasakYeah it's far from trivial20:06
rbasakMaybe in the short term doing it manually would be easier20:06
rafaeldtinocoyep20:06
rafaeldtinocoill do it manually based in the list for now20:06
rafaeldtinocoand come up with a way to update it20:07
rafaeldtinoco(perhaps an email to dmb list or something)20:07
antonok20:07
rbasakrafaeldtinoco: as long as you're happy that the list all meet the packageset definition "Upstream OpenStack components" - if they don't then they shouldn't be in that packageset.20:11
rafaeldtinocorbasak: and Ill try to cross check with other seeds20:11
rafaeldtinocojust to make sure we're good in responsibilities20:11
rbasak+120:11
=== eruditass_ is now known as eruditass
=== trobotham1 is now known as trobotham
znfIs there a way to find packages that are installed, but not part of any currently enabled repository?22:39
znfI've just did a 14.04 -> 20.04 upgrade22:40
znfand I feel like there's SO much stuff left behind22:40
TJ-znf yes, "apt list --installed | grep ,local"22:46
znfthanks22:47
Sonihow long does it take to install ubuntu server s390x on qemu? it's been like 8 hours...23:35
znfuhm23:39
znfsounds like your qemu is very slow :)23:39
JanCit's transcompiling s390x code to amd64 code23:48
JanCI assuma23:48
JanC*assume23:48
JanCbut 8 hours seems like a lot23:49
JanCbut 8 hours seems like a lot23:50
Soniuh hm23:50
Soniwait, how many cores does qemu emulate by default?23:51
Sonisorry, CPUs23:51
Soni(actually we have no idea, we don't know anything about mainframes lol)23:51

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!