/srv/irclogs.ubuntu.com/2022/11/17/#ubuntu-server.txt

fooI'm looking for a self-hosted system to read all python logs online. Someone suggested Vector. Anyone else want to cast their vote for this? https://vector.dev - got multiple systems pushing logs, I want them in something other than a text file so others can read them/filter them/sort 07:54
fricklerhttps://grafana.com/oss/loki/ seems to be interesting, but I did't look at it in more detail yet08:00
foofrickler: thank you, I've heard about grafana08:05
foofrickler: but didn't consider it for logs, will research08:05
eeahello all, after habing read through the ubuntu discourse and several other sites and tools... i am not able to get a 20.04 server stood up in an unattended fashion15:20
eeausing cloud-config15:20
eealooking for advice on how to acheive a working automated install15:20
eeaon bare metal, not using maas15:21
eeaor landscape15:21
rbasakeea: are you aware of https://ubuntu.com/server/docs/install/autoinstall ?15:38
eearbasak: yes15:39
rbasakDoes https://ubuntu.com/server/docs/install/autoinstall-quickstart not work for you?15:39
eeathe only bit i can get to work is adding the user15:40
eeaadding anything else results in installer stopping to ask questions15:41
eeapasses yamllint and cloud-init checks15:41
eeai guess my real question here is how to best debug this process15:42
eeamy log grok fu is failing me15:43
rbasakIf you follow the quickstart instructions precisely step by step and without any adjustments, does it work?15:50
rbasakc15:50
znfhow does your user-data look like?15:53
znfoh wait, cloud-config15:53
znfthat's not the subiquity stuff, is it?15:53
eeai may be conflating terms15:53
eeasubiquity is the beast i am currently fighting15:53
znfis this subiquity or the old debian installer?15:53
znfand which part is failing?15:54
eeagreat question, it does not tell me15:54
eeai will sanitize and post my config in a bit15:54
znfI'm using this bare-bones: https://pastie.dev/vwrCZq.yaml15:54
znfbut I keep network and storage interactive on purpose15:54
eeamy goal is to.automate both15:55
eeathis installer will be used by very non technical.folk15:55
eeaand all the hardware is identical15:57
eeaeven better question... how are the cool kids automating server/desktop deployments today?16:00
eeais my current issue specific to 20.04 i wonder16:00
elyogragI am having a problem with ubuntu-bug.  It opens chrome but never goes from the "refresh page every 10 seconds" page to the place where a bug summary can be entered.  Here to find out if I did something wrong or there is something about my server config that is making ubuntu-bug not work.  I did manually open the bug in launchpad, I'm here about the problem with ubuntu-bug itself.16:22
znfeea, the easiest way is to install a system manually, then copy the generate file16:29
znfand use that16:29
eeaznf: that was one of my tests, but removing the serial number lines from the drives section broke something16:59
eeawhich reminds me... don't think i ran that mod thru the config checker17:01
blackboxsweea: seeing autoinstall questions you had about the installer prompting for responses during the install instead of "just doing it".  Can you append the kernel commandline "autoinstall" at your boot menu? That tells autoinstall to do what you have configured with #cloud-config\nautoinstall: directives without waiting for prompts17:02
eeablackboxsw: i used https://github.com/covertsh/ubuntu-autoinstall-generator and did not double check the kernel params...17:04
blackboxswI know in testing some autoinstall: directives myself that if I typo'd the -append kernel commandline, or forgot the "autoinstall" string then the instlaller sits and waits17:04
blackboxswI haven't honestly used that script before, though I've seen it. I *looks like" it manipulates the kernel commandline to inject that autoinstall for you in the image From within the running install (if stopped at the installer prompt) you should be able to hit the "help" menu item "enter shell" and cat /proc/cmdline to see if autoinstall was presented there properly17:10
blackboxswgenerally for testing locally, I had justspun up a local python http server with the examples rbasak pointed at from https://ubuntu.com/server/docs/install/autoinstall-quickstart  which allows you to use stock ubuntu server images and present your #cloud-config\nautoinstall: directives from that web service.17:12
konstruktoidseems easier to use Packer imo17:14
blackboxswyet with that approach I mentioned, I had to edit the grub boot menu option with "e" and append the "--- autoinstall ds=nocloud-net;s=http://<IP_OF_YOUR_SERVICE>:<SOME_PORT>/" 17:14
blackboxswI've seen examples like https://gitlab.com/kilo40/Packer_templates/-/blob/main/ubuntu-server-jammy.pkr.hcl for packer which look like (through boot_commands) they edit the kernel cmdline through the grub menu to append that autoinstall and ds=nocloud-net type directives as well. Though I haven't gone down that path myself17:24
rbasakkonstruktoid: packer seems to use facilities that aren't expected to be stable, and then packer users complain to us about it when things change. So I wouldn't recommend that.17:24
rbasakOh, maybe that's how people use packer, rather than packer itself?17:24
blackboxsw+1 rbasak on that sentiment... it's a maintenance the user undertakes to try to inject that content automatically17:24
rbasakAnyway, it seems like it's prone to being done wrong. There's really no need for packer when using Ubuntu, unless you want to use the same pattern for not-Ubuntu as well. We have cloud images which cover the VM use case much better, and for bare metal we have subiquity autoinstall.17:25
konstruktoidi guess we just have had different experiences then17:27
konstruktoid<blackboxsw> "I've seen examples like https..." <- yeah, that is basically the standard way of doing it using packer; one of mine https://github.com/konstruktoid/hardened-images/blob/master/ubuntu-hardened-box.pkr.hcl#L16-L2317:30
eeawell, thanks to all who engaged with me earlier fumbling around with cloud-config18:52
eeai think i now have a working setup :)18:52
PhibsAnyone know how this is generated and how I can regenerate it myself since it's old? https://kernel.ubuntu.com/~kernel-ppa/info/kernel-version-map.html22:43

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