/srv/irclogs.ubuntu.com/2016/10/28/#ubuntu-server.txt

=== kicksled_ is now known as leavd
=== leavd is now known as kicksled
fishcookerhow to know/check that the repo is synced?03:23
=== nchambers is now known as god
caliculkHey, I am getting a TON of messages being flooded in syslog. It appears to be something related to this: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1402039 but I don't recall ever setting that flag. So, where can I modify this, to fix it?04:23
ubottuLaunchpad bug 1402039 in systemd (Ubuntu) "systemd spams kernel log with debug kernel cmdline option" [Medium,Opinion]04:23
caliculkEither way, systemd is really verbose in syslog and other things.04:25
=== sikun__ is now known as sikun
=== pavlushka is now known as praisetheSun
=== praisetheSun is now known as pavlushka
cpaelzerrbasak: do you think uvtool should destroy the pool on purge?08:36
cpaelzerrbasak: I've had several cases now where I couldn't cleanly install because the configure failed08:36
cpaelzerrbasak: reason the old pool was still around as inactive definitio08:37
cpaelzerrbasak: I admit - I kind of f$%& up the system with my conf, but I wonder if at least on purge it should rip away the pool and its definiton?08:37
sonunkhttps://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-16-04 with this tutrial in installed phpmyadmin but it not working on my end.. means when i m running it myip/phpmyadmin its showing 40408:44
rbasakcpaelzer: it's supposed to: http://paste.ubuntu.com/23391960/08:52
temhaahello08:57
cpaelzerrbasak: hmm, thanks for the info - I'll take a deeper look at that next time I run into it then08:57
temhaaI faced disk problem. Actualy My disk seemed full. I want to check but I dont know should I start from where..08:58
temhaaFirst: I checkt disk usage: https://paste.debian.net/890547/08:58
temhaaAfter than I used du command under root directory08:59
temhaahttps://paste.debian.net/890548/08:59
temhaaUsed disk size seems 27GB when I use df command but If I check du command under root directory total seems 6.7 GB. Where are differences09:01
cpaelzertemhaa: http://sysunconfig.net/aixtips/df_du_diff_out.txt09:02
cpaelzertemhaa: are you actually having out of space issues or only wondering about the difference?09:02
rbasakIt seems like he has rather a big difference.09:02
rbasakDeleted files still in use perhaps? Or does he have dotfiles in / that aren't picked up by *?09:02
temhaacpaelzer: Actualy I wonder what is reason of my disk fullness09:03
cpaelzertemhaa: than rbasak had good suggestions09:04
temhaacpaelzer: Sometimes my root partition usage seems %100 . How should I proceed? When I face this problem09:04
cpaelzertemhaa: like files deleted but still held open09:04
cpaelzertemhaa: those for example you can get a status with "lsof | grep deleted"09:04
cpaelzernot so sure no non picked up files09:05
cpaelzeradd sudo to the lsof to get them all09:05
rbasakdu -hs /09:05
temhaacpaelzer: ok got it. I saw lots of outputs when I run "lsof | grep deleted "09:05
rbasakor "set -s dotglob" IIRC09:05
cpaelzertemhaa: yeah you have to filter out all the virtual oes like /dev and so, but that could help to spot the issue09:06
cpaelzeralso sometimes people are actually out of inodes "df -i" can help there09:06
cpaelzerI quickly checked and found another suggestion being files hidden behind mounts09:07
temhaarbasak: I tried du -sh / but I see 6.7 gb I guess It is true what cpaelzer said09:07
cpaelzerso if you have /root/foo/10G file09:07
cpaelzerbut /root/foo as MP the tools won't pick ut up09:07
* rbasak wonders if a bind mount of / to somewhere else should show that09:08
temhaacpaelzer: rbasak I am using logstash in docker. It's writing file I sometimes remove output log that is created by logstash inside of docker. But docker doesnt leave09:08
temhaacpaelzer: My problem seems like that: https://forums.docker.com/t/dockers-log-rotation-doesnt-release-space-after-deleting-container-logs/2050609:14
rbasakSounds like a bug in Docker.09:24
rbasakMaybe try the latest upstream Docker to see if it is fixed there?09:24
rbasakOtherwise, you'd probably get better help in a suitable docker forum rather than this channel.09:24
=== iberezovskiy|off is now known as iberezovskiy
=== Guest91977 is now known as ahasenack
=== ahasenack is now known as Guest60864
=== Ussat is now known as We_Are_Screwed_2
=== We_Are_Screwed_2 is now known as WeAreScrewed2016
=== BioKee is now known as Guest59718
=== Ussat is now known as WeAreScrewed2016
=== galeido_ is now known as galeido
slabgrhaHi!  I'm using the Ubuntu 14.40 base AMI and I'm having an odd issue.  During the initial setup, I'm trying to execute "apt-get install -y python-boto" in a userdata script.  That is failing to execute, as it cannot find the "python-boto" package.  However, if i just run the instance, hop on and do an "install -y python-boto" it installs fine.15:58
slabgrhaputting "apt-cache search boto" in userdata shows that it cannot find it15:59
naccslabgrha: do you ensure you've done an `apt updated` first?15:59
slabgrhayeah15:59
slabgrhaapt-get update and upgrade15:59
slabgrhaI'm going to cat sources.list during the boot to see what's there16:00
slabgrha"deb http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty main restricted" is present16:04
=== god is now known as SpookyNchambers
slabgrhathe base AMI being used is - ubuntu/images/hvm-ssd/ubuntu-trusty-14.04-amd64-server-2016102016:07
=== SpookyNchambers is now known as Frankenstien
=== Frankenstien is now known as Frankenstein
slabgrhai was able to add netcat w/o an issue16:09
slabgrhahmm16:10
slabgrhai'll try 2016101016:11
slabgrhanope.. but falling back to 20160919 worked!16:17
slabgrha"    base_ubuntu: Setting up awscli (1.2.9-2) ..."16:18
slabgrhanacc: ^16:18
naccslabgrha: interesting16:23
naccjgrimm: who should we refer the above to?16:23
jgrimmrcj ^^16:24
naccjgrimm: thanks :)16:24
slabgrhawhat other info would be helpful?16:28
=== Guest42345 is now known as ahasenack
=== ahasenack is now known as Guest79971
slabgrhaaaannnd now that's not working16:34
slabgrhasigh16:34
slabgrhai'm getting ready to blame aws16:35
slabgrha:)16:35
rcjslabgrha, the prior ami isn't working now?16:35
slabgrhai know this sounds lame, but it worked once16:36
slabgrhai'm going to try a different region16:36
rcjslabgrha, You're putting the package install in a user-data script? (http://cloudinit.readthedocs.io/en/latest/topics/format.html#user-data-script)16:36
rcjslabgrha, Could you also try installing the package in cloud config to see if that is failing in the same way for you? http://cloudinit.readthedocs.io/en/latest/topics/examples.html#install-arbitrary-packages16:37
rcjslabgrha, I'll also fire up instances now but I'm asking in case I can't recreate it.16:37
slabgrhai'm actually building this out with packer ...16:38
slabgrhashell provisioner16:38
slabgrhahttp://paste.ubuntu.com/23393499/16:39
slabgrha"    base_ubuntu: E: Unable to locate package awscli"16:39
rcjslabgrha, can you grab /var/lib/cloud/instance/user-data.txt from that instance so I can see how packer is constructing this?16:44
slabgrhai'll try to cat that during provisioning16:45
=== lordievader is now known as Guest63143
rcjslabgrha, thank you16:47
rcjslabgrha, I'm launching in a few different ways to recreate as well.16:48
slabgrhai believe the user-data.txt file is empty16:49
=== degorenko is now known as _degorenko|afk
slabgrhait's ssh-ing into the instance as the 'ubuntu' user and executing the commands directly16:49
rcjah16:50
slabgrhai'll capture the shell script it's executing16:52
slabgrhaeh.. not very interesting - http://paste.ubuntu.com/23393566/16:54
slabgrhathat's the first script16:55
rcjslabgrha, You can ssh into the instance after it has run or no?16:55
=== freyes__ is now known as freyes
slabgrhai'll see if i can get it to sleep or something16:55
slabgrhait's a temporary instance that is spun up to build the AMI16:56
slabgrhalol "    base_ubuntu: Setting up awscli (1.2.9-2) ..."16:56
rcjIf you add a sleep at the end so you can ssh in, then you might add "| tee --append /root/provision.log" to each of those commands to get the output laid down in the instance16:56
slabgrhaits's dodgy16:56
rcjIt certainly sounds like a timing issue.  I'm wondering if there is a race with cloud-init finishing before packer is ssh'ing in to do this.16:57
rcjAdd "cat /etc/apt/sources.list | tee --append /root/provision.log" as the first command.  It's possible that cloud-init hasn't yet set up the archive sources and you're racing with that.16:59
slabgrhayeah, i'm going to reach out to hashcorp as well16:59
rcjslabgrha, and you get get ssh output with PACKER_LOG=1 in the environment which you might already be aware of (from https://www.packer.io/docs/other/debugging.html)17:01
slabgrhaaah17:01
rcjand there's the issue you're having17:01
rcjhttps://www.packer.io/docs/other/debugging.html#issues-installing-ubuntu-packages17:02
rcjIt is a race with cloud-init finishing17:02
slabgrhading!17:02
slabgrhaI'll give that a wack.  Thank you so much.17:02
rcjnp17:02
naccrcj: thanks for the help!17:04
rcjHonestly, you should use that whether or not you're installing packages.  It would not serve you well to change /etc/apt/sources.list (or something else that cloud-init will touch) before it is complete as it will overwrite it.17:04
rcjslabgrha, ^17:04
rcjnacc, np17:04
slabgrhayeah.  i've run into cloud-init timing issues with other things ... I'm glad to see it's at least consistent. ;)17:05
=== iberezovskiy is now known as iberezovskiy|off
=== tomreyn_ is now known as tomreyn
=== JanC_ is now known as JanC
eu__Hi all. I have installed Ubuntu Mate 16.10, AppArmor 2.10.95-4ubuntu5.1, QEMU emulator version 2.6.1, libvirtd (libvirt) 2.1.0. I'm create shared directory with virt-manager and successfully mount it inside guest. But i cannot nor write nor `ls' inside it. How to fix it?22:46

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