/srv/irclogs.ubuntu.com/2020/11/25/#ubuntu-server.txt

chmodI want to upgrade my server from 18.04 to 20.04 but the only 3rd party repositories I ahve are ondrej repository for php7 and weechat.05:11
chmodWhat should I do in this case before I run do release upgrade05:11
quadrathoch2recommended is removing (ppa-purge) and then install it again after upgrade chmod05:25
chmodI see.05:25
=== denningsrogue5 is now known as denningsrogue
technoobGuys07:01
technoobHow do you activate wifi hotspot on an ubuntu server07:01
quadrathoch2technoob the server should be a hotspot?07:07
technoobYes07:07
technoobquadrathoch2:07:09
quadrathoch2technoob https://help.ubuntu.com/community/WifiDocs/WirelessAccessPoint07:09
technoobWhere do i start on that07:10
technoobquadrathoch2:07:12
quadrathoch2probably with point 307:13
technoobquadrathoch2: this section "Setup hostapd, port forwarding, haveged, and dnsmasq"07:15
technoob?07:15
quadrathoch2https://help.ubuntu.com/community/WifiDocs/WirelessAccessPoint#Setting_up_a_bridged_wireless-to-ethernet_router07:15
technoobHmm do i need a switch?07:18
technoobI just want to be able to hotspot without internet07:19
technoobquadrathoch2:07:20
technoobHi07:41
alkisgHi, it is possible to install ubuntu-server.iso and completely purge snap afterwards? Or is snap now a requirement for ubuntu server installations?08:00
quadrathoch2alkisg you can just purge it08:01
alkisgThank you quadrathoch208:01
lordievaderGood morning08:09
quadrathoch2mornin'08:11
eoli3nmwhudson TJ- -> vagrant destroy -f && git checkout dev && vagrant up09:06
mwhudsonwell yes python is segfaulting09:12
mwhudsonthat definitely shouldn't be happening09:12
mwhudsonbut also i shouldn't be working this late09:12
TJ-eoli3n: yeah, looking at it. (Got other important work of my own to do here too)09:14
TJ-mwhudson: we'll add anything useful to the bug report09:15
TJ-I'm on GMT/UTC here09:15
eoli3nno problem09:28
eoli3nplease both confirm me that client IF names are 'ens5' and 'ens6' ?09:29
mwhudsoni have reproduced the failure09:29
mwhudsonand it is very strange09:30
eoli3nmwhudson sleep on it ;)09:30
mwhudsoni intend to :)09:30
eoli3ncan you just please confirm me IF name, if that differs from what i get here, you will be stuck in another issue09:31
eoli3njust want to be sure about this09:31
eoli3ntty2 on client -> ip a09:31
TJ-eoli3n: strangely, server and client started but whilst I wasn't watching both guests have gone into 'paused' state09:39
eoli3nTJ- you miss ram09:39
TJ-eoli3n: I what?09:40
eoli3nthat happened to me when i was reaching maximum RAM09:40
eoli3nfree -h09:40
TJ-eoli3n: 32GB !09:40
eoli3nhm strange09:40
eoli3noh no09:40
eoli3ndf -h09:41
eoli3nthat your storage09:41
eoli3nthats09:41
eoli3ndoes it ?09:41
eoli3nno more disk space09:41
mwhudsonens5 and ens6?09:41
eoli3nthanks mwhudson that's ok09:41
eoli3nTJ- please check if /var/lib/libvirt is mounted on a specific storage space and not on your 'too little' slash :)09:43
mwhudsonargh keyboard layout rage :)09:43
eoli3nyes09:43
eoli3ncomment layout in vagrant file09:43
eoli3nhttps://github.com/eoli3n/vagrant-pxe/blob/dev/Vagrantfile#L4609:43
eoli3ncomment that line then, vagrant reload client09:43
eoli3ni had the same rage when not finding why loadkeys fr didn't work09:44
eoli3nvnc is forcing layout09:44
eoli3nTJ- to manage this, you can tweak it by recreating "default" pool from virt-manager09:45
TJ-eoli3n: yep, /var/ was at 100%09:45
eoli3nso go to virt-manager09:45
eoli3nright clic on your connection09:45
TJ-eoli3n: all fixed now09:45
eoli3nok09:45
TJ-eoli3n: subiquity running09:46
TJ-eoli3n: apt-config stage reached09:47
TJ-eoli3n: crash!09:47
eoli3n:)09:47
eoli3nnow we all use the same env, we can work efficiently09:47
eoli3ndon't forget to comment fr layout in Vagrantfile TJ-09:47
eoli3nto be able to debug from virt-manager09:47
TJ-eoli3n: I know where the keys have mapped to :) / -> ;09:49
eoli3nloadkeys will not work09:49
TJ-eoli3n: looking at /var/log/installer/subiquity-debug lo09:49
eoli3nyep nothing more than in the crash file normally09:50
eoli3ndoes the installer endless loops ?09:50
TJ-eoli3n: it did 3 times until I stopped it ("sudo snap stop subiquity")10:31
TJ-eoli3n: I think I've located the issue; testing it now10:31
mwhudsonit looks like apt is symlinking the package file into /var/lib/apt/partial and then subsequently failing to open it with EACCESS10:33
mwhudsonlet me guess overlayfs over nfs is a cauldron of bugs10:34
TJ-nope :)10:34
TJ-just waiting for the install to finish to be sure I'm correct10:35
mwhudsonor maybe it is root vs _apt10:36
TJ-mwhudson: so far, it looks like what I told eoli3n yesterday early on - incorrect file-system permissions on the server (or rather, only allowing root user access) so _apt cannot traverse or read the NFS.10:38
TJ-mwhudson: the installer is at the "downloading and installing security updates" stage right now10:38
mwhudsonah10:39
mwhudsoni would also like to know why this leads the installer to segfault10:39
TJ-mwhudson: all I did, on server, was "find /exports/focal/dists /export/focal/pool -type d -execdir chmod go+x {} \;"  and "find /exports/focal/dists /export/focal/pool -type f -execdir chmod go+r {} \;"10:40
TJ-mwhudson: the segfaults look to be on the 2nd/3rd runs when /target/ and friends are already mounted10:40
TJ-mwhudson: it just rebooted after install. I've disabled the pxe libvirt network adapter in the guest, and am trying to aboot10:41
mwhudsoni'm attached to the installer in gdb now10:42
TJ-guest is booting the installed OS now from its local storage10:42
mwhudsonhmm that didn't work10:43
TJ-eoli3n: So, it looks like as I said yesterday, you had incorrect file-system permissions on the NFS export10:43
* mwhudson really stops for the night10:43
TJ-mwhudson: I'm guessing that as apt uses the _apt user when it can, that broke it10:43
mwhudsonTJ-: yes, that side of things makes sense10:44
mwhudsoni wonder if we should stop apt doing that during install10:44
mwhudsoncertainly the failure is pretty opaque10:44
TJ-mwhudson: possibly it uses UID 0 to get the Releases{,.gpg} then drops to _apt for the rest10:44
mwhudsonjuliank is the man for that sort of question10:44
TJ-Guest is fully booted and ran cloud-config etc10:44
fricklericey: coreycb: jamespage: please see https://bugs.launchpad.net/bugs/1903531 regarding neutron on stein+train, not sure how to best handle this for UCA11:30
ubottuLaunchpad bug 1903531 in neutron "Update of neutron-server breaks compatibility to previous neutron-agent version" [Critical,Confirmed]11:30
iceyfrickler: saw the email around that :-/11:30
iceyfrickler: is the version currently in the UCA in the middle of that (ie: is impacted)?11:36
fricklericey: for stein that's 14.4.0 and that is affected, like 14.3.1. seems not many deployments are using ipset, so it took a long time to discover11:39
iceyah11:39
frickleror maybe not many deployments updating regularly. for our prod we still have 14.3.0, so would prefer to see a 14.5.0 with the revert in, but of course others may have a different view11:40
iceyfrickler: so I fully understand, the versions of neutron that are currently in for stein&train are affected, and the situation is unchanged with the proposed update for stein (https://bugs.launchpad.net/cloud-archive/+bug/1904563)?11:44
ubottuLaunchpad bug 1904563 in Ubuntu Cloud Archive stein "[SRU] stein stable releases" [Undecided,Fix committed]11:44
frickler14.4.0 and 14.4.1 should be compatible, yes11:48
iceyfrickler: it sounds like we're ok pushing out the 14.4.1 that's currently in proposed for Stein, and then picking up a new stable point release to get 14.5.0 as soon as the release cuts?12:07
fricklericey: that would be one option. the other would be to wait for 14.5.0 or include the revert in 14.4.1 already, allowing for an easier upgrade for deployments that are still on <=14.3.012:11
iceyfrickler: how long would you estimate until the 14.5.0 is cut?12:12
fricklerthere's also the question how you could notify deployers of the incompatibility, like generate a warning in the pre-install script12:12
fricklerneutron folks are trying to get it out as fast as possible, but there's some issue with the CI it seems. hopefully not more than a couple of days anyway12:13
eoli3nthanks mwhudson and TJ-, i will test it in few hours13:07
sheckihi i'm setting up an autoinstall for ubuntu-server 20.04 and am wondering how to set hostname to the DHCP/DNS information. If the installer is run manually, it lists the value I want, but with autoinstall, it comes up as ubuntu-server. Setting it to a value only works for one server but not for a couple servers with different names. is there a way to do this?14:09
eoli3nshecki "to" DHCP or "from"14:42
eoli3n?14:42
eoli3nhttps://serverfault.com/questions/1024584/automated-ubuntu-20-04-server-install-how-can-i-get-hostname-from-dhcp-server14:46
eoli3nhttps://askubuntu.com/a/117779014:48
eoli3ntry to set it to "localhost" it well get it from dhcp14:48
sheckieoli3n: from DHCP. the variant with setting it to localhost will still have localhost as static hostname and only show the given one. is that truly not possible? netcfg/get_hostname= would be the old way and this is quite a must have14:50
eoli3nopen an issue on launchpad14:51
iceyfrickler: it looks like the same change is in Ussuri and Victoria, any idea why the change isn't being reverted there?14:55
eoli3nTJ- your fix doesnt work here15:20
TJ-eoli3n: really?16:16
eoli3nreally16:29
eoli3ntried 3 times16:29
eoli3nwith two differents ways16:29
eoli3nto be sure16:29
eoli3nmaybe you did something more that you forgot ?16:29
eoli3nTJ-: vagrant destroy -f && vagrant up && vagrant ssh server -c "sudo find /exports/focal/dists /exports/focal/pool -type d -execdir chmod go+x {} \; && sudo find /exports/focal/dists /exports/focal/pool -type f -execdir chmod go+r {} \;" && vagrant up client16:31
eoli3nbut i didn't check if this is a different error to be honest, what i can say is that it fails on the same task16:34
eoli3napt-config thing16:34
eoli3nlets recheck if this is the same error16:41
eoli3nTJ- same problem16:49
eoli3nwhen i chroot /target bash16:50
eoli3nand apt update16:50
eoli3nsame apt_ error16:50
eoli3nhttps://x0.at/Xwi.png16:50
eoli3nvagrant ssh server -c "sudo ls -altr /exports/focal" : https://x0.at/fEO.txt16:52
eoli3n-rw-r--r-- 1 root root 18748 Jul 31 17:35 Packages.gz16:53
eoli3nanyway, i use no_root_squash16:54
eoli3nso any user should be root on the export16:54
eoli3nif you made it work, it should be something else, i think16:54
lotuspsychjeeoli3n: failed to fetch, repo issues perhaps?16:57
eoli3nno repo here, that file is local, served by nfs16:58
eoli3nno distant* repo16:58
eoli3nhttps://bugs.launchpad.net/subiquity/+bug/190529616:58
ubottuLaunchpad bug 1905296 in subiquity "autoinstall crash with python3[1872]: segfault" [Undecided,New]16:58
lotuspsychjeah16:58
lotuspsychjelemme dig some subiquity recent bugs16:59
eoli3nhm no_root_squash maps only root perms16:59
eoli3nlotuspsychje i'm talking with the subiquity dev16:59
eoli3nso he's on it16:59
lotuspsychjekk17:00
eoli3nbut sleeping :)17:00
lotuspsychjefresh from the press, not sure if relevant bug #190559917:20
ubottubug 1905599 in cloud-init (Ubuntu Groovy) "sru cloud-init (20.3-2 to 20.4-0ubuntu1) Xenial, Bionic, Focal, and Groovy" [Undecided,New] https://launchpad.net/bugs/190559917:20
Odd_BlokeThat's not a direct response to any subiquity issues, just our regular(ish) SRU of cloud-init into stable releases.17:25
lotuspsychjekk17:25
lotuspsychjei was watching #ubuntu-bugs-announce but nothing other related recently17:26
Odd_Bloke:)17:29
=== ijohnson is now known as ijohnson|lunch
=== ijohnson|lunch is now known as ijohnson
DammitJimwhen joining an ubuntu 18 server to a windows domain20:04
DammitJimwhat is the parameter I need to add to my configs so one doesn't have to specify the domain for a user when logging on?20:04
DammitJimor maybe you guys can help me with keywords to google this?20:04

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