/srv/irclogs.ubuntu.com/2023/08/31/#ubuntu-server.txt

BebefOkay, so I think I have tried everything, but I can't get the Ubuntu installer to work.05:36
BebefI see the boot menu, then the kernel messages, but when the installer itself starts, I end up with a black screen. Same happens on two different displays. Signal is active (the displays aren't complaining "no signal") but the screen is black and I can't do anything.05:37
BebefI reckon it's some issue with the framebuffer console.05:38
BebefIs there any way to influence/change the installer to a different graphics mode?05:39
lotuspsychjewich ubuntu release are you trying on what kind of machine/server ?05:40
BebefIt's 22.04 server on a HP MicroServer Gen10. The desktop installer works, funnily enough...05:42
lotuspsychjehmm05:42
BebefJust firing up the 20.04 installer, just to see if that behaves differently in any way.05:43
BebefI assumu that, when I can run the desktop graphical installer, it shouldn't be an issue regarding the grapics card settings, like VRAM.05:43
lotuspsychjeits weird, as subiquity should rather work better then a GUI installer on a server05:44
BebefYes. 20.04 is the same btw.05:44
lotuspsychjecan you F1 at setup boot to see at wich point it bottlenecks?05:44
BebefI start to wonder how I installed the machine in the first place 05:45
Bebeflotuspsychje: Start the installer via grub menu, then hit f1?05:45
lotuspsychjeonce the installer start try to hit F105:46
lotuspsychjemaybe we can catch text boot errors05:46
Bebefhmm. I briefly see the kernel messages and the screen turns black after that05:47
lotuspsychjewhats the last line you see05:47
lotuspsychjemaybe catch it in a real screenshot and share to the volunteers here05:47
BebefCan't really say, it's so quick05:48
BebefI wanted to try the serial console yesterday, but the PCIe card didn't survive shipping :(05:48
lotuspsychjethere's no uefi settings in that?05:48
lotuspsychjeor other bios settings that could prevent the installer going through?05:49
lotuspsychjeusualy the ubuntu installer doesnt stall at the very start05:49
BebefI wouldn't know what setting that would be. I mean, if it was BIOS/UEFI, the kernel wouldn't boot, right?05:50
BebefI assume it's an issue with my graphics hardware and a mode that's chosen, but not supported. Something the like.05:50
lotuspsychjewell black screens at boot level sounds uefi05:50
lotuspsychje!nomodeset05:50
ubottuSystems with certain graphics chipsets may not boot properly out of the box. "Temporarily Add a Kernel Boot Parameter for Testing" as discussed at https://wiki.ubuntu.com/Kernel/KernelBootParameters to add the "nomodeset" parameter there.05:50
BebefNot at boot. The Installer!05:50
lotuspsychjecan try this too^^05:50
BebefLike I said, I can boot the USB and I can see the kernel messages. Once the installer itself starts, the screen turns black.05:51
lotuspsychjeweird05:51
lotuspsychjehave to bbl a bit, try to catch errors in a screenshot or !paste Bebef 05:52
BebefYeah, me too. Just testing the 18.04 installer, which doesn't work either...05:53
Bebefhah yes!05:55
BebefThanks to the nomodeset, I can now see the systemd boot output05:56
BebefAnd I can see the installer!05:56
BebefOh boy, now that I have a running installer, it crashes after partitioning :(06:27
BebefIs there a (easy) way to modify the Ubuntu USB installer so it already includes "nomodeset" in the boot parameters?06:50
lotuspsychje!yay Bebef 07:17
lotuspsychje!yay07:17
ubottuGlad you made it! :-)07:17
lotuspsychjeBebef: try to catch subiquity in text mode to see why it crashes under the hood07:30
BebefYeah, probably my own fault, tried to use pre-configured (partitioned) disks. I discarded everything and installed everything from scratch with blank disks, now it works.07:31
niroxUbuntu 22.04 netplan question. I have two interfaces, ens192 with public IP and ens224 with 10.10.0.2 IP. im using "routes to 10.10.0.0/24 on-link: true" and also tried "scope: link" on ens224, but it does not add this route and im unable to ping two machines with same config. But if i do "ip route add 10.10.0.0/24 dev ens224" i get correct route and stuff works. I do not have a GW/router 07:31
niroxon 10.10.0.0/24.07:31
fricklernirox: what netmask do you have on ens224? do you use dhcp or are these static addresses?07:33
niroxStatic IP, "- 10.10.0.2/24"07:36
niroxhttps://pastebin.com/TTw0n2bB - This is netplan server1, tried to reorder ens224 before ens192 just to make sure it wasnt order that mather.. server2 is same, but ens224 10.10.71.12 and ens192 123.123.123.102.. This works after doing "ip route add 10.10.71.0/24 dev ens224" that i understand should be equal to "scope: link"/"on-link: true"07:43
weedmicnirox: every/each subnet needs its own gateway.  the one with the public IP you need to get from them.  are you sure you have the right gateway?07:43
niroxPublic is working correct07:44
niroxIts the LAN 10.10.71.11<->10.10.71.12 i do not get to work before i do "ip route add 10.10.71.0/24 dev ens224"07:44
weedmicok, that's the hard one - the other is what you set.  is it a vm or physical device?07:45
niroxVM07:45
weedmicnat or bridged?07:45
niroxSame physical virtual host. Just virtual switch07:46
weedmicseems to me you should pick bridged - in the host esxi (or equivalent) you need to assign a bridged adapter to the vm.  inside the vm, just ensure it is set to dhcp.  it will work (if the host has connectivity which it does).07:46
weedmicif you decide to use NAT, you need to create the NAT device on the esxi (or equivalent) which many people forget - but bridged is really best unless you have many machines and want to assign IPs manually etc.07:48
niroxHum, as i see it the problem is that ubuntu never set which interface it should use and it uses default that is public ip net..07:48
niroxbecause when i manually set 10.10.71.0/24 should use ens224, it works. So how can changing on VM attached interface change this behave?07:49
niroxI do want both the public IP and the private IP. Because there is internal cluster data in applications ont this servers that should talk via LAN07:49
weedmicnirox: for the most part, a vm is the same as a physical machine.  but... you did not actually plug the vm into anything.  so you have the tell the "chassis" what it is plugged into.  what are you using?  virtualbox vmware?07:52
weedmicI can walk you through07:52
niroxESXI07:52
weedmicok, let me open that07:52
niroxI need to ask again if you got the part that when i do "ip route add 10.10.71.0/24 dev ens224" everything is working as i want. its just that netplan does not apply that..07:55
weedmicunder virtual machines, highlight the machine you need to edit, click edit, go down to "network adapter"> click LAN (you might have WAN), check connect at poweron - let me know if it was wan07:55
frickler10.10.0.0/24 and 10.10.71.0/24 are different subnets07:55
weedmiceverysubnet needs a gateway07:55
niroxyea, forget 10.10.0.0/24. it was just a lacy example. im now using the correct range07:55
weedmicgateway is not a mask /24 is a mask07:56
niroxSorry if that made it confused. i posted the correct netplan file as link07:56
niroxNo, you should not need a GW if its a LAN that talks on same mask07:56
weedmicnp, at all.  correct, but.. you have two lans07:57
fricklernot sure why you need a routes: statement at all. the normal onlink connected route will be added automatically like for any network07:57
niroxI tried without defining routes, but it does not work before adding it manually..07:58
weedmicI have now checked a few machines, I do not have such in my ip tables either07:58
weedmicjust sets in esxi and inside the machine.  07:58
weedmicbut, seriously, ensure the esxi chassis for networks is correct - else you are wasting your time.  07:59
weedmicif it is, then remove that line in iptables and ensure each subnet has a gateway (and mask - which i'm sure you have).08:00
weedmicu can use this command (change the nic) to see the items grouped nicely - ip -4 a show enp0s31f608:03
niroxThere is no "LAN"/"WAN" in network settings. Everything is by esxi a "LAN" afaik, as a public IP is also a LAN untill its routet into the internet08:05
weedmicI have both - interesting - however, you have ensured it is LAN, so the problem is inside the VM.08:06
niroxIn esxi its a VLAN on the "Distributed virtual group"/"DSwitch"08:06
weedmicfrom esxi interface, does it say "connected = yes"?  also what does it say under "Pass-through (Direct-path I/O)"?08:07
niroxyes, both enabled08:08
niroxUsing vcenter, but also checked directly on host - there is nothing about LAN/WAN08:09
weedmicdo you have other vms that work on that network?  08:11
niroxhttps://postimg.cc/ts7RDW0b - this is dswitch layout.08:12
weedmicesxi>network>LAN>edit settings>virtual switch - what do you see?08:12
weedmicoic, under the physical adapters, did you setup those under their tabs after creation?  they need to have the correct range entered.08:13
nirox10.10.71.0/24 on physical adapters?08:14
weedmicyou should be able to click on the one you need to ensure is correct, for example vmnic2 and it should open the sets - or you can go to the tab and find it and open the sets.  down near the bottom (a lot of scrolling) it should say the subnet data (probably called "discovered subnets".  is anything there?08:17
niroxNo, its not listed in "discovered subnets"08:17
weedmicthis might be your prolbem.  for me, this is what I see (many of them - i'm just going to pick the one I'm on right now)08:18
weedmici click on my machine in the list, go to network, click on LAN, it opens up the LAN that it is on - i see a graphical representation of a switch, 5 ports are empty, but the others are full, i click on the "physical adapters" and see how that switch was seutp.  at the bootm I see my seubnet.08:19
weedmicI should guess that if you do not see a lot of things there, you need to setup a LAN.  but.. I should not delete the one you have now.  Just create a new one called perhaps LAN0, setup the LAN with your sets and then connect the VM to that LAN0.08:21
weedmicor reask the question and someone could offere a different path to solution.08:21
niroxWe have the same on other VLAN. where we just use LAN IP (10.10.53.2+3), but have GW. trace goes from 10.10.53.2 to 10.10.53.3 directly, not via GW. But route shows up for dest 10.10.53.0 on iface08:22
niroxThe problem i see, is that netplan does not set route for dest 10.10.71.0, it uses default route and thats going thrue wrong interface on VM guest08:23
BebefNext issue. I have full disk encryption running, so I set up dropbear-initramfs and configured everything. In the boot screen, I can see "Begin: Starting dropbear ... " right after the NIC config. I can ping the right IP, but there seems to be no SSH running.08:24
niroxIf i set route via ens224 manually, it works. so i do not think its the vm host the prblem.. i will check more and give next issue your time. thanks for help08:25
weedmicnp, i'm here to help - but I concur it is not the host if you can manually get it to work inside the vm - i just have a set way to hone things down - always starts with hardware (which in a vm is the esxi).08:26
niroxMy solution will be to use ifup-hooks with "ip route add 10.10.71.0/24 dev ens224". Allready doing this for another problem where i do not want autoadded route for public ip to work without going via GW, as machines within same /26 is isolated to talk to each other directly - only possible via GW/FW rules..09:29
niroxUh, it was this fix that without me knowing it beeing added to this servers too :facepalm: Script that deletes public route was not specific enough, so it delete all routes except default.. :some-embarrassed-emoji:10:31
faekjarzGidday, mates! Anyone competent in virtio networking? I'd like to control the throughput of a virtual network IF, to numbers below 100/fast ethernet. It's software defined networking, right? …i'd like to simulate a "variable width pipe", down to 1mbit/s. Which search terms would you suggest?11:18
faekjarzi hope this is feasible on the libvirt level - if not, well, i'll set up another OPNsense/OpenWRT VM, which does the throtteling11:20
faekjarzI've x-posted in the #virt channel …yeah, that's more on-topic11:26
weedmicfaekjarz: define "virtual network IF"11:27
weedmicand are you using vmware or virtualbox?11:28
faekjarzweedmic: i'm invoking the virtualisation context, libvirt / virt-manager - THOSE virtual network interfaces11:29
weedmicok if=interface11:29
faekjarzaye11:29
weedmicand are you using vmware or virtualbox?11:29
faekjarzweedmic: neither, it's vanilla libvirt / virt-manager …some call it Linux-KVM11:30
faekjarz(qemu)11:30
weedmici have aqemu - hoping it is gelijk11:34
weedmicalike11:35
weedmichmm - i regret to inform you I saw no options like what request - actually, I see it is under the phone project, so it was part of the plan to make a vm on a phone.  others have read it, give them time to help.11:38
faekjarzweedmic: danpb in the #virt channel just posted a link - https://libvirt.org/formatdomain.html#quality-of-service - this seems to do exactly what i'm looking for.11:40
faekjarzthanks for bothering, anyway, weedmic :) 11:51
weedmictks for reporting back - very nice12:01
faekjarzsure, this is open source! <3 …everyone should help, proliferating education ("back-porting" relevant posts from other channels) …almost, but not quite, like Leninism - everyone should know how the "beans of production" work xD LOL12:10
=== jelly-home is now known as jelly
=== lord_black is now known as lord_daemon
J_DarnleyIs there a way to specify "Before" in systemd "A.service" all instances of another "B@.service"?15:31
J_DarnleyCan I use a glob in these files like I can on the command line?15:31
Niclos98Hello  All, I tried to join the second Domain for Ubuntu 22.04  and its not able to join the second domain by using this command "# realm join --user=ments.ldap domain2.com" and the output is --> realm: couldn't join realm: Already joined to another domain: domain1.com16:51
=== chris14_ is now known as chris14
Niclos98I tried to join the second Domain for Ubuntu 22.04  and its not able to join the second domain by using this command "# realm join --user=ments.ldap domain2.com" and the output is --> realm: couldn't join realm: Already joined to another domain: domain1.com19:04

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