/srv/irclogs.ubuntu.com/2020/03/06/#ubuntu-server.txt

=== popey7 is now known as popey
=== Napsterbater is now known as Guest14115
=== Napsterbater_ is now known as Napsterbater
=== jamiew0w_ is now known as jamiew0w
jgehey all, I'm trying to get an 802.3ad bond interface going in Ubuntu but when I restart networking it hangs for a long time eventually timing out https://i.imgur.com/CcBaESb.jpg05:59
jgeany idea what I'm doing wrong? my interface config looks like this https://i.imgur.com/0s7ASPL.jpg06:00
lordievaderGood morning07:14
LarsErikPcoreycb: jamespage: Hi there! Can we please get python[3]-openstacksdk 0.27.0 released in the stein UCA? :)11:33
=== cpaelzer__ is now known as cpaelzer
coreycbLarsErikP: any patches in particular or bugs that need fixing?14:24
LarsErikPcoreycb: well it is the latest (last?) release in stable/stein and it seems to fix a rather nasty thread handling bug, where some horizon-dashboard would accumulate threads, and eventually kill the webserver14:31
coreycbLarsErikP: ack if you have some pointers we can likely cherry-pick the patches. would you be able to also help test the fix once we get it in proposed?14:34
LarsErikPI have not managed to get a clear answer to exactly wich commit that fixed it though..14:34
LarsErikPhere is the changes: https://github.com/openstack/openstacksdk/compare/0.26.0...0.27.014:34
LarsErikPI'll be happy to help testing!14:34
LarsErikPThe problem we're having is with octavia-dashboard. If you leave a browser at the load-balancer page, apache starts to accumulate threads, and will eventually run out of memory. I recently tested by installin openstack 0.27.0 with pip, and that fixed the issue14:36
LarsErikPopenstacksdk*14:36
LarsErikPI've spoken with a few guys over at both #openstack-horizon and #openstack-sdks and they were aware of the issue, but they couldn't really tell exaclty what fixed it..14:38
LarsErikPBut it is indeed fixed in 0.27.0, as far as I can see.. :p14:38
coreycbLarsErikP:  it's hard to move forward without a bug. the one commit that seems relevant has a non-existing story board number Story: 200530614:40
coreycbhttps://github.com/openstack/openstacksdk/commit/41740827c4702e8fcaebdf6adf7a2d49a557ec1414:40
coreycb*seems* relevant but if you're installing from pip who knows what other updates are getting pulled in from other dependencies14:41
LarsErikPhttps://paste.ubuntu.com/p/28wsrFjBqJ/ here is the outpupt from pip314:42
LarsErikPso, no other dependecies was pulled, I guess?14:43
LarsErikPI guess I don't fully understand the process here.. Why isn't the new versions "automatically" released in UCA when they are released? There certaninly must have been _some_ bugs leading to the release of 0.27.0 anyways..?14:45
LarsErikPcoreycb: btw, that storyboard number exists: https://storyboard.openstack.org/#!/story/200530614:51
LarsErikPand seems to be relevant; and fixed by the commit you pasted? :)14:52
coreycbLarsErikP: thanks, search fail I guess :)14:52
LarsErikP\o/14:52
LarsErikPit's friday afterall ;p14:52
coreycbLarsErikP: to answer your question we have 300+ dependencies for openstack so we can't just automatically release code all over the place in stable releases14:53
coreycbLarsErikP: we do point releases on a regular cadence with thorough testing for core packages and generally cherry-pick fixes as needed for dependencies with testing as well14:54
LarsErikPaha14:54
LarsErikPI see :)14:54
LarsErikPbut since we found the bug, this can be done? :)14:58
coreycbLarsErikP: Let's track this via https://bugs.launchpad.net/cloud-archive/+bug/1866361 - I'll take some time deal with this probably early next week.15:06
ubottuLaunchpad bug 1866361 in Ubuntu Cloud Archive stein "[SRU] Connections to Neutron are not closed properly in v0.26.0" [Undecided,Triaged]15:06
LarsErikPcoreycb: fantastic! thanks <3 and, I'll be happy to help testing, at least for the issue I am experiencing. Maybe the guy that reported the bug in storyboard is also hanging around in launchpad?15:28
coreycbLarsErikP: I think between your testing + some regression testing on our end we'll be covered15:31
LarsErikPokok :)15:38
LarsErikPi'll be watching the lp bug :)15:38
benl90Hello, I want to ask, I set cron to be 5 0 * * * /home/ben/.bash_scripts/backup-db.sh, but it won;'t run on 00:05 instead it run on 07:05. is there any explanation about why It run on 07:05 instead of 00:05? Thank you16:22
sdezielbenl90: maybe your crond runs with a different timezone than you are using in your own session?16:24
benl90is it because I change the date using timedatectl and not restart the cron service and the rsyslog service could result on it? Thank you.16:24
benl90sdeziel, how to check that sir?16:24
sdezielbenl90: that sounds likely ;)16:24
benl90hmm.. ok. just let16:25
benl90's see if it will trigger on 00:0516:25
benl90sdeziel,  so after setting the timedatectl, we need to restart rsyslog and cron service ?16:25
sdezielbenl90: actually, I'm not even sure that would let crond pick up the new TZ16:26
benl90so crond will still use UTC time zone?16:26
sdezielbenl90: after thinking a bit more, I think restarting cron will do16:27
rbasakcron probably uses /etc/localtime16:28
benl90how to see the localtime?16:28
rbasakls -l /etc/localtime16:28
benl90oh ls -al, I run cat -_-. oops16:28
rbasakBut I agree - a restart is probably required16:28
benl90rbasak, it already set to the zoneinfo of Asia/Jakarta. Hmm..16:29
rbasaktimedatectl might have changed it16:29
benl90seems it require restart, let's see. At first I think I wrote the wrong config.16:29
rbasakI only mention it because it's worth checking if you're confused16:29
sdezielbenl90: yes, that's what your timedatectl probably did16:29
benl90hmm.. okay, let's see. Thank you16:30
sdezielbenl90: but presumably, when cron was started /etc/localtime pointed elsewhere (Etc/UTC)16:30
smoserrbasak: sshd over lxc exec is awesome.16:52
tewardrbasak: do we know what PHP we're shipping for Focal>16:55
tewardis it 7.3 or 7.4?16:55
rbasakteward: I believe the transition to 7.4 is still in progress16:59
rbasaksmoser: thanks :)16:59
tewardrbasak: do we expect it to be 7.4 by release?17:09
tewardbecause if so I have to push a tweak to the nginx default config we ship (match socket version numbering)17:10
rbasakteward: I believe so, yes17:11
tewardok then I should push this now while it's fresh (doesn't add/remove any features, so shouldn't need an FFe)17:11
rbasakteward: https://launchpad.net/ubuntu/+source/php-defaults/73ubuntu1 - when that migrates17:11
tewardok17:11
tewardrbasak: should I push now assuming we're going to be landing 7.4 or should I wait?  (I'd have to push a fix to make it 7.3 anyways even if we're not certain 7.4 will land in time.)17:13
teward(it doesn't affect the default *runtime* but it affects the commented-out example config that would allow PHP to work)17:13
tewardwe've had several bugs about complaints about the version strings not matching up so i'm being extra diligent on that atm17:13
rbasakteward: personally I'd wait17:14
tewardack17:14
tewardi'll prep it on paper my side and wait17:14
teward(I keep watching those PHP Triage messages that go over the lists heh)17:15
rbasakOnly because it saves a bunch of question about the UX for users following the release pocket17:15
rbasakbryce: FYI ^17:15
tewardindeed.17:19
tewardrbasak: that said...17:19
tewardI have an idea for that too.17:19
tewardwhich is to ship a PHP config in /etc/nginx/snippets/ which would contain PHP configuration and then just have an `include` in the nginx site configuration that would include the php location directly.17:21
tewardwhich would allow easier enablement of PHP functions for users17:21
tewardwe'd still have to *edit* the socket version there, but it'd be easier for people to enable PHP interop in their site definitions17:21
Rockwoodhi18:12
Rockwoodany active?18:17
sdezielRockwood: It's better to ask your question and wait for someone to answer :)18:19
Rockwoodi am using webservices from VM's ubuntu 19.10 and my project folder (by sharing) in win 10 and i am attaching the folder to ubuntu18:21
Rockwoodbut i am facing issue --> https://paste.ubuntu.com/p/ZZVmFdM674/ and output is "File not found." on chrome18:24
Rockwoodsdeziel, this is my question how solve this?18:25
sdezielRockwood: looks like your web server (apache?) doesn't have permissions to read from /var/www/html/projects/cyberia/public/18:25
Rockwoodsdeziel, i tried lots of time but its not accepting permissions18:27
Rockwoodwin 10 (projects) and ubuntu (projects)18:28
Rockwoodsdeziel, i am using nginx18:28
sdezielRockwood: OK, then files are accessed as the 'www-data' user by default18:28
sdezielRockwood: you need to make sure this user can access that public dir18:29
Rockwoodhow can tell the win folder that is?18:29
Rockwoodmeans how to add this?18:30
sdezielwhat's the output of "ls -l  /var/www/html/projects  /var/www/html/projects/cyberia" ?18:31
sdezielerr, I wanted "ls -la /var/www/html/projects  /var/www/html/projects/cyberia"18:32
Rockwoodsdeziel, https://paste.ubuntu.com/p/b7FnFy4pDb/18:32
Rockwoodoh18:32
Rockwoodone sec18:32
Rockwoodsdeziel, https://paste.ubuntu.com/p/DB9BFtvSRW/ of https://paste.ubuntu.com/p/DB9BFtvSRW/18:33
Rockwoodlol18:33
Rockwoodls -la /var/www/html/projects  /var/www/html/projects/cyberia18:33
Rockwoodoutput of this command18:33
sdezielRockwood: is /var/www/html/projects shared from a host running VirtualBox?18:34
Rockwoodyes i am using VirtualBox18:34
sdezielOK, I never used those but I'll assume it's mounted "rw". Have you tried this: sudo chmod o+x /var/www/html/projects /var/www/html/projects/cyberia  /var/www/html/projects/cyberia/public18:37
Rockwoodon win C:\Users\Professional\projects\cyberia  this is the path18:37
Rockwoodsdeziel, https://ibb.co/Q9GS6CX18:39
sdezielRockwood: if you don't want to chmod dirs, you will have to tweak the mount options to have the share mounted with different permissions (or owner or group)18:40
sdezielfor that, you'd probably need to look in /etc/fstab18:40
Rockwoodsdeziel, i dont ve any problem with change anything bcz this is my dev server18:42
Rockwoodi applied this -->sudo chmod o+x /var/www/html/projects /var/www/html/projects/cyberia  /var/www/html/projects/cyberia/public18:43
Rockwoodbut isn't help in solve issue18:43
sdezielRockwood: the thing is that only root and members of vboxsf can access your share which means nginx running as www-data won't be able to access those18:43
Rockwoodokay18:44
sdezielRockwood: what do you get from: grep -F /var/www/html/projects /etc/fstab ?18:45
Rockwoodnothing18:45
Rockwoodcyberia@cyberia:~$ grep -F /var/www/html/projects /etc/fstab18:45
Rockwoodcyberia@cyberia:~$ sudo grep -F /var/www/html/projects /etc/fstab18:45
Rockwoodcyberia@cyberia:~$18:45
sdezielmount | grep projects18:46
Rockwoodcyberia@cyberia:~$  mount | grep projects18:47
Rockwoodprojects on /var/www/html/projects type vboxsf (rw,nodev,relatime,iocharset=utf8,uid=0,gid=998,dmode=0770,fmode=0770,tag=VBoxAutomounter)18:47
Rockwoodsdeziel, ^^18:48
sdezielRockwood: not sure that's the proper way but found https://askubuntu.com/questions/323392/how-to-access-shared-folders-in-ubuntu-vmoracle-virtualbox-and-link-them-to-th18:49
sdezielRockwood: so I'd try: sudo adduser www-data vboxsf && sudo service nginx upgrade18:50
Rockwoodsdeziel, https://paste.ubuntu.com/p/BQZxdf5w6V/18:51
sdezielRockwood: try browsing the site now?18:51
Rockwoodno18:52
Rockwoodstill the same error18:52
RockwoodFile not found.18:53
Rockwoodbrowser18:53
sdezielRockwood: are you still seeing the same errors in nginx logs?18:53
Rockwoodi am chking that18:53
Rockwoodhttps://paste.ubuntu.com/p/ckrxJtMM2y/  its changed now in logs i think18:55
Rockwoodsdeziel,18:55
sdezielthat looks better (after 2020/03/06 18:50:39). Your problem seems to be with fastcgi now18:56
sdezielor how you interface with fastcgi from your nginx config18:56
Rockwoodfastcgi_pass   127.0.0.1:9000;18:59
Rockwoodsomething like this18:59
Rockwoodby ip and port18:59
sdezielI'd check fastcgi's logs for clues19:00
Rockwoodi am unable to find the fastcgi logs19:05
Rockwoodsdeziel, i am got new error file there19:07
Rockwoodsdeziel, i got new error file there19:07
Rockwooderror.loges19:07
Rockwoodwhy? its generated19:07
GoopI just bought a domain that is 6 characters long for the sole purpose of giving short URL's, so when I orally tell/write people links and email addresses, it's super long. What's the best solution you guys suggest, as far as putting on the webserver?19:08
lordcirthGoop, you want to run your own link shortener?19:09
Gooplordcirth, yes. For private purposes (in other words, no everyone can create their own link).19:10
Rockwoodsdeziel, what should i do now?19:12
sdezielRockwood: what's in the logs?19:12
Rockwoodfastcgi isn't any separate log file19:12
sdezielRockwood: that's surprising to me. What's the package that provides your fastcgi daemon?19:14
Rockwoodphp-fpm19:14
sdezielnothing in /var/log/php*-fpm.log ?19:15
Rockwoodyes before this i chk another thing i just https://paste.ubuntu.com/p/4jxWStzRDx/19:28
Rockwoodnow i am ppasting logs19:29
Rockwoodhttps://paste.ubuntu.com/p/hN4hpyrdxK/  http://php7.3-fpm.log/     sdeziel19:31
Rockwoodhttps://paste.ubuntu.com/p/hN4hpyrdxK/  <--- php7.3-fpm.log     sdeziel19:31
sdezielRockwood: since php-fpm also runs as www-data, you need to restart that service too19:34
Rockwoodokay doing19:34
Rockwoodsdeziel, same issue at browser19:36
Rockwoodsdeziel, there?19:44
sdezielRockwood: yes, at work19:45
Rockwoodoh sorry19:45
sdezielRockwood: what's in your nginx logs now?19:46
Rockwoodchkig19:46
bryceteward, there's just two php packages left on the 7.4 transition list, which both have weird problems but I have ideas to try today.  Then just need to finish clearing any remaining proposed migration issues.  I'm expecting 7.3 can be removed from the archive next week, and am hoping for early in the week.  If that helps with your planning.19:46
tewardYep it does i’ll follow up next week :)19:47
Rockwoodsdeziel, https://paste.ubuntu.com/p/SKbRqtJzq8/19:48
sdezielRockwood: those log lines are truncated in your paste for some reason.19:49
Rockwoodmeans?19:50
sdezielRockwood: I cannot see the full error19:51
Rockwoodi for get the pastebinit for make output link19:51
Rockwoodi forget the pastebinit for make output link19:51
sdezielRockwood: tail /path/to/log/file.log | pastebinit19:53
sdezielRockwood: that said, I think your problem matches this https://serverfault.com/questions/517190/nginx-1-fastcgi-sent-in-stderr-primary-script-unknown so the first answer should be looked at19:55
halvorsMy /etc/fstab is missing a filesystem mounted on /boot where does my server get the information needed for booting?20:48
kiokomanhalvors: probably from systemd20:52
kiokomanhalvors: ls -l /run/systemd/generator/20:53
kiokomanhalvors: check -.mount20:53
kiokomanwhere -.mount is for / root  filesystem you probably have others20:55
kiokomansystemctl -t mount  List currently mounted systemd units20:56
halvorskiokoman: the file -.mount seems right, but it still boots from the root of the btrfs filesystem not the subvolume @21:29
halvorsjust so that i mention it, the install was installed on the root of the btrfs filesystem without subvolumes.21:30
halvorsAnd i created @ and @hoome21:30
halvorshome*21:30
halvorsthe original root filesystem still exists.21:30
halvorsdoes it scan thru the filesystem or something?21:30
halvorsDo i need to delete anything other than @ and @home?21:30
halvors1With the newest 18.04 server installer iso it does not install on @ and @home subvolumes when using btrfs?22:12
tomreyni wuldn't be surprised. you might need to    snap refresh subiquity    on the installer, but this may not help either and you'll need to use the alternative installer (debian-installer)22:17
tomreynthat is, i do not actually know, have not actually tried.22:17
halvors1ok thanks, trying with the old installer now22:19
=== JanC is now known as Guest12447
=== JanC_ is now known as JanC
jgestrange, so I have a bonded interface (mode 4) but do not see any LACP messages being sent out when doing a tcpdump23:02
tdsjge: what does /proc/net/bonding/foo look like?23:07
jgeactually erase that, I was dumping on bond0 when I do it on the child ifaces I see LACP messages being sent out23:07
jgeit says that is up @tds but Partner churn state is churned, is that expected?23:09
jgethe problem I have is that my upstream switch bundle interface is not coming up..23:11
tdshmm, that doesn't sound normal, checking a box here it's none on all interfaces23:11
tdsdo you see lacp messages from the other side when tcpdumping?23:11
jgeyeah I see it in both directions23:12
jgefrom the switch and from the server23:12
xar-Hello, is it unusual for the major kernel version to change between LTS minor point releases? I couldn't help but notice that 18.04 went from 4.15 to 5.0.23:44
rbasakxar-: see https://wiki.ubuntu.com/Kernel/LTSEnablementStack23:49
xar-rbasak: great, thank you23:50

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