/srv/irclogs.ubuntu.com/2017/03/01/#ubuntu-server.txt

PryMar56is there dh* suite tool for grub2 updates?00:28
PryMar56maybe dh_autoconf?00:29
PryMar56to save the trouble of scripting it myself and crafting a package.postinstall thing00:29
yoinkis there a method to redirect logs collected and managed by upstart to rsyslog?01:47
sarnoldI didn't think upstart 'managed' logs.. do you have an example?01:48
yoinksorry - rather the logs that find themselves in /var/log/upstart/01:49
sarnoldyoink: aha. hrm. upstart doesn't look very configurable there http://upstart.ubuntu.com/cookbook/#console-log01:54
=== CodeMouse92 is now known as CodeMouse92__
yoinksarnold: thank you. My research led me to the same cookbook recipe. :/ Time to start building our packages for 16.04 I guess! :)01:59
sarnoldyoink: yeah, there's more options there02:19
=== Malediction_ is now known as Malediction
fn-2I was wondering if anyone knows of a way to have an encrypted folder/partition/container on an openvz vps?06:35
sarnoldwhat's the goal?06:36
fn-2I want to have a folder with private data that requires user input to decrypt the data if it is either unmounted or the vps/host is restarted.06:38
sarnoldit's just that if the domain or the kernel is cracked, it's not _really_ safe.. perhaps it'd be overlooked by hasty automated data scrapers or something, but the machine's owner really _owns_ it..06:40
sarnoldcan you use ecryptfs from within openvz?06:40
sarnoldif not, how about truncating a huge file and doing LUKS on a loopback mount? is that allowed?06:41
temhaaHello07:43
temhaaI decided to use lxc for virtualization at least to has contaninerized server.07:43
temhaaMy host machine has like 192.168.1.150 local ip. and netmask 255.255.255.0 . I think I am able to give ip from same network of host to guest.07:44
temhaaAm I right07:44
temhaafor example. can I assign 192.168.1.200 local ip to guest07:45
temhaaAnd should I start from where? should I search "lxc bridge network"07:45
sarnoldtemhaa: hopefully useful https://insights.ubuntu.com/2016/04/07/lxd-networking-lxdbr0-explained/07:47
temhaasarnold: thanks for replying. so lxc, lxd which one of them should I use?07:49
sarnoldtemhaa: probably lxd; I think its simplified a lot of what was learned via lxc to work well vs not work well07:52
temhaasarnold: I got it07:58
cpaelzerjamespage: hi, in the past to fix up bug 1495895 qemu-block-extra was added as dependency09:11
ubottubug 1495895 in qemu (Ubuntu) "Unable to attach rados block device to instances" [High,Fix released] https://launchpad.net/bugs/149589509:11
cpaelzerjamespage: I wonder if we could drop that to a recommends09:11
cpaelzerjamespage: it really is not a depends and it has an -extra in its name for a reason09:12
cpaelzerjamespage: Debian would go the "recommends" with me and we could drop some delta09:12
cpaelzerjamespage: IMHO this should still solve all issues we had09:12
cpaelzerjamespage: but at the same time allow users to install qemu without (if they want)09:12
cpaelzerjamespage: since we default to install recommends we should be fine right09:13
cpaelzerjamespage: Debian is integrating the recommend right now, and I want to use that next re-merge in a few days09:13
cpaelzerjamespage: but an ack from you as the original reporter would be nice, to ensure there was no hidden context I don't see09:13
cpaelzerjamespage: might be traveling so also highlighting coreycb and rharper who worked on that^^09:14
jamespagecpaelzer: that sounds OK to me09:16
freakynlHi, (automatic) upgrades is killing my server during kernel upgrades (more specifically recreating the initramfs images) with OOM messages. Server only has 256M. Odd thing is, it also has 1G of swap and it only uses 4M of that ever. Any ideas?09:16
zioprotojamespage, cpaelzer good morning09:17
zioprotojamespage, we officially have a new 13.1.3 tag in the git repo for Nova09:18
zioprotojamespage, I have a question, when I do `gbp import-orig` where is exactly that you download the tarball from on the openstack website ? or do you generate the tarball using the git repository of nova at the given tag ?09:19
jamespagezioproto: tarballs.openstack.org is normally used as that is where all of the release tarballs endup09:20
zioprotojamespage, https://tarballs.openstack.org/nova/nova-13.1.3.tar.gz09:20
zioprotogreat09:20
jamespagezioproto: the git packaging repo and the project repo are distinct09:20
zioprotoyes sure, the packaging repo is in launchpad09:20
zioprotook I try to do some work refreshing this nova package09:21
cpaelzerthanks for the ack jamespage09:23
cpaelzerfreakynl: depends what your applications do with the memory09:23
cpaelzerfreakynl: are you interested (independent of your upgrade issue) to test to get it swapping more?09:24
cpaelzerfreakynl: stress-ng --vm 2 --vm-populate should give you ~512MB pressure that is swappable - in a second console you can check if it does indeed swap while these are running09:26
freakynlcpaelzer: Actually have 2 of these VM's. They run powerdns and mysql which usually leaves enough room in memory. The difference is, one is running under vmware the other under hyper-v. The one under hyper-v uses much more swap and gets through the kernel upgrades just fine. Both have 256M RAM. The vmware one has 1G of swap, the hyper-v one only 512M. Both are running ubuntu 14.04.5 LTS server and09:31
freakynlhave little differences besides open-vm-tools on one and the hyper-v tools on the other09:31
freakynlDon't get why one uses the swap for recreating the initramfs images and the other doesn't however :)09:32
cpaelzerfreakynl: some sort of memory balooning maybe09:32
cpaelzerfreakynl: it is common in virt environments to try to adapt guest sizes instead of swapping09:33
cpaelzerfreakynl: maybe something like that prevents it from behaving as expecte?09:33
cpaelzer+d09:33
freakynlcpaelzer: could very well be. Can't even run dpkg --configure -a, it will kill my SSH session and nearly every other proces on the server09:34
cpaelzerfreakynl: can you cat /proc/meminfo to see roughtly where mem is?09:34
cpaelzerpastebinit maybe09:34
freakynlcpaelzer: might be something with the open-vm-tools and the kernel, I updated the kernel to xenial on the 14.04 instances09:37
freakynlNot sure what that does with the open-vm-tools09:37
freakynlcpaelzer: Hmm was getting those results but had to reboot it first for fresh values, 3rd time I rebooted it, completed the upgrades now. Only 2.6M in swap now09:40
cpaelzerfreakynl: I read a bit, it really could be the ballooning which has issues with your too constrained system09:45
cpaelzerfreakynl: usually you'd rather slighly oversize a guest and balloon it down (+swap in the host if ever needed) instead of swapping in the guest09:46
cpaelzerfreakynl: there can be weird cases of double faults if the guest swaps in itself - onto a page that is swapped out by the host, to be swapped in by the host , ...09:47
cpaelzerfreakynl: so I can't blame anybody to try to avoid, but I'd think in your super small system that might cause problems09:47
cpaelzerfreakynl: I'm happy you could pass the update09:47
freakynlcpaelzer: system runs fine when not updating :). Really doesn't do that much. 18MB mysql database + powerdns. Normally doesn't hit swap, but needs some more ram during initramfs creation. It's not swapping in the hypervisor at all09:47
cpaelzerfreakynl: but you might try the workload I sent and disable ballooning to see if your system could swap fine then09:47
cpaelzerfreakynl: depending on that insight you can then either keep it balooning but increase size or disable it or ... (whatever you choose)09:48
freakynlcpaelzer: Yea I'll disable ballooning, the host has plenty of memory anyways, vmware charges for RAM assigned to VM under VSPP though :)09:48
cpaelzerfreakynl: I'd hope they do not charge for what is ballooned down09:49
cpaelzerfreakynl: I like the business case - you have to pay in your supermarket for a full cart, no matter how full you make it :-)09:49
cpaelzerbecause you could fill it up09:50
freakynlcpaelzer: well under VSPP you get charged by the memory assigned to a VM. Or more accurately the *reserved* RAM for an instance, but if nothing is reserved they'll count a minimum of 50% of the RAM. Billing is capped at 24G, so a VM with 128G of RAM would still only cost 24G of RAM. But that's the only thing you pay, no CPU's, storage, etc. They have to base it on something I guess. Flat fee per09:52
freakynlinstance wouldn't be doable either09:52
cpaelzeryep, with that details it sounds ok09:53
ren0v0hi, i just ran some updates and now mysql won't start..  systemctl just shows this   >  Failed to start MySQL Community Server.09:59
ren0v0https://paste.ubuntu.com/24089202/10:00
ren0v0i can't take a dump and do anything else without it10:00
freakynlren0v0: databases are under /var/mysql usually, you could take copies of those, but it's binary form. Try starting mysqld manually10:01
freakynlren0v0: might be /var/lib/mysql btw10:01
ren0v0freakynl, how to start it manually ?10:01
freakynlren0v0: run mysqld as root (sudo mysqld OR sudo -i <enter> mysqld)10:02
lordievaderGood morning10:02
ren0v0doesn't do anything10:02
freakynlren0v0: no output at all?10:03
ren0v0freakynl, the only mysql process i have is  >    root      2907  0.0  0.0   9596  2604 ?        Ss   10:02   0:00 /bin/bash /usr/share/mysql/mysql-systemd-start post10:03
ren0v0nope, no output at all10:03
ren0v0if i kill this process above it just comes back, clearly this is some major issue with systemd10:03
freakynlren0v0: not really, systemd is supposed to watch services and restart them when they die unexpectedly which is pretty much what happens if you kill it10:05
ren0v0not that specifically, the fact my whole mysql server broke when i ran updates (which i think included new systemd units)10:05
freakynlren0v0: should go away if you run: systemctl stop mysql (not sure what the service name is)10:06
ren0v0yea just did that ^10:06
ren0v0so, trying to find out how to run it manually,  i tried  "sudo /usr/bin/mysql" but think thats client10:06
freakynlren0v0: yes the daemon is mysqld10:06
ren0v0ah  >  /usr/sbin/mysqld10:07
ren0v0doens't do anything when i run it like that10:07
freakynlren0v0: should normally be in the $PATH10:07
freakynlren0v0: try backing up /var/lib/mysql and removing and reinstall mysql-server after that10:07
ren0v0freakynl, would much rather get it running and take a proper dump, thats a last resort really10:08
freakynlren0v0: yes the main goal of that would be to get it running, the back-up is just in case, afaik removing mysql-server doesn't remove the databases10:09
freakynlren0v0: just a safety precaution10:09
ren0v0i see ok10:10
ren0v0here are some logs from syslog   https://paste.ubuntu.com/24089229/10:10
freakynlren0v0: hmm seems to have issues with the container. Did you reboot the machine after the updates?10:11
ren0v0yea, i'll try it again now10:11
ren0v0mysql5.7 is kept back10:11
ren0v0not sure if thats related10:11
freakynlren0v0: I'd personally migrate to mariadb, usually drop-in replacement10:11
ren0v0thats what i'm trying to do!10:12
ren0v0but i need my DB backups first10:12
ren0v0this is for zoneminder10:12
freakynlren0v0: they're binary compatible10:12
ren0v0freakynl, i took a snapshot of this container luckily, when i upgraded my ZM database was gone.10:12
ren0v0freakynl, ok backed up, force installed 5.7 and it works10:17
freakynlmariadb or mysql?10:17
ren0v0mysql10:17
ren0v0now i can move onto install mariadb10:17
ren0v0thanks for the help10:17
freakynlren0v0: last time I did it it was just removing mysql-server and installing mariadb-server10:19
=== JanC is now known as Guest86538
=== JanC_ is now known as JanC
temhaahello. I need your helps11:01
temhaaI installed lxd . I started container from ubuntu11:01
temhaaI want to access network of host to container. I tried bridge network but I couldnt success it11:01
cpaelzercoreycb: ok, over the unrelated image issues now - verification done and bug update11:40
cpaelzer+d11:40
cpaelzerit seems I loose a lot of trailing "d" today :-/11:40
zioprotojamespage, coreycb I was able to compile the nova package versione 13.1.3 I pushed stable/mitaka and pristine-tar branches to https://code.launchpad.net/~zioproto/ubuntu/+source/nova/+git/nova    How does it work for the merge request on launchpad ? I have to do 1 MR for each branch ? I will be testing the new package on our staging cluster. I will do the merge request when I am sure it is okay.11:57
jamespagezioproto: yeah its one merge for each branch - so rather than do that I'd suggest that you just propose the review for the stable/mitaka branch, and note on the review that the upstream and pristine-tar branches will also need a review11:58
zioprotogreat, the gbp import magic also updated the upstream branch ad added a tag, you are right12:00
=== disposable3 is now known as disposable2
zioprotoI am trying to setup a new machine for building and I have a problem with debcheckout12:29
zioprotoW: Unable to locate package nova12:29
zioprotoI was pretty sure I never did anything special12:30
zioprototo have debcheckout download sources12:30
zioprotoops, I think I am missing a lot of deb-src stuff in my list files ...12:31
zioprotoanyone ever had a problem like12:50
zioprotogbp:error: Couldn't commit to 'pristine-tar' with upstream 'upstream':12:50
cpaelzerzioproto: if the branch called upstream is not there or has a different name12:53
zioprotocpaelzer, it is there12:53
zioprotoit is called upstream12:53
zioprotothat is why I dont get it12:53
zioprotoit gets also updated12:53
zioprotobut the pristine-tar does not12:53
zioprotocpaelzer, I found the problem, I was missing a package calles pristine-tar13:01
zioprotoapt-get install pristine-tar13:01
zioprotobut I have no idea why this was not installed automatically13:01
zioprotoI had it already in another xenial system13:01
zioprotocoreycb, jamespage for Nova Newton the ubuntu packages are updated at nova_14.0.2 but there is already a 14.0.4 release. In this case I just import the 14.0.4 tarball and I ignore the missing 14.0.3 release ?13:36
zioprotozul, ?13:36
coreycbzioproto, yes that should be fine13:36
jamespagezioproto: yes skipping a release is OK13:36
zioprotook great, so I will refresh and newton now13:36
zulyes13:36
zioprotoI guess most of the work is to figure out what to drop in debian/patches13:37
jamespagezioproto: headers on patches may help there13:37
jamespagehopefully the answer is 'all of them' but its depends13:37
zioproto:)13:37
zioprotofor the mitaka refresh I could not drop anything13:38
zioprotodiff origin/stable/mitaka stable/mitaka shows that really a small portion of the code changes13:38
nea1hi, is there lately a error known with lxc + systemd (host, and container ubuntu server 16.04) - I'm getting the error 'Unexpected status from systemd "Failed to connect to bus: No such file or directory\n"' if trying to start the service I want to run in the container13:53
=== mwsb is now known as Guest70562
zioprotocoreycb, I sent merge requests and I assigned them to you, or is it zul working on it ?16:05
zioprotoMitaka https://code.launchpad.net/~zioproto/ubuntu/+source/nova/+git/nova/+merge/31863016:05
zioprotoNewton: https://code.launchpad.net/~zioproto/ubuntu/+source/nova/+git/nova/+merge/31862816:06
zulzioproto: im just about to upload it thanks though16:06
zioprotozul, what are you uploading ? :)16:06
zulzioproto; nova 14.0.4/13.1.316:07
zioprotogreat, so we were working on the same thing ? :D16:07
zioprotowell you I tested my branch on our cluster. Can you confirm you did not drop any debian/patches in this refresh ?16:08
zioprotozul, it might be worth to look at MR anyways, just tell me if I am doing the thing right, I can help out with future releases16:09
zulzioproto: sure16:09
zioprotoI am doing this upgrade Mitaka to newton, if nova works fine next week I have to upgrade cinder and neutron. I might send more patches16:10
zulzioproto:yeah looks good..in the future you would need to include the bug number16:11
zioprotoHow do I find it ? You open a LP bug when the new release is out ?16:11
coreycbzioproto, for any stable update we need to add the bug number to the d/changelog according to the SRU process16:15
coreycbzioproto, you can find more reading about the process here: https://wiki.ubuntu.com/StableReleaseUpdates16:15
zioprotozul, I have a comment about nova 14.0.416:17
zulzioproto: basically https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1668313 and https://bugs.launchpad.net/ubuntu/+source/ceilometer/+bug/166430616:18
ubottuLaunchpad bug 1668313 in nova (Ubuntu) "[SRU] mitaka point release" [Undecided,Confirmed]16:18
ubottuLaunchpad bug 1664306 in swift (Ubuntu Yakkety) "newton stable SRU releases" [Undecided,New]16:18
zulzioproto:  is it about the certificate warning?16:19
zioprotozul, no it is about commit 1ad5c7305c37079ced24bf623810e63d5eac266116:19
zioprotoit is 1 commit on top of release in the nova upstream16:19
zioprotoI had to workaround my nova database16:19
zioprotoso I am not sure if you are safe with bug #1668310 with the current 14.0.4. You might want to cherry-pick this in debian/patches16:20
ubottubug 1668310 in OpenStack Compute (nova) ocata "PCI device migration cannot continue with old deleted service records" [High,Fix committed] https://launchpad.net/bugs/166831016:20
=== vonsyd0w_ is now known as vonsyd0w
zulzioproto: loking16:20
zioprotoI managed to have that commit in the release for stable/mitaka, but there was not a release for stable/newton16:21
zioprotoI would check with Dan Smith if it is safe to run without that patch16:21
zulzioproto: should already be in the 13.1.316:22
zioprotoyes it is, but it is not in 14.0.416:22
zulok ill have a look16:23
zioprotobasically after you upgrade from 13.1.3 to 14.0.4 you have a regression on16:23
zioproto166831016:23
zulcoreycb/jamespage/zioproto/anyone else: mitaka uploaded pending ubuntu-sru16:24
zioprotozul, LGTM16:24
fricklerzul: as you didn't respond earlier, can you confirm that you saw my two issues regarding new Newton pkgs? https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1668676 https://bugs.launchpad.net/ubuntu/+source/neutron/+bug/166857816:26
ubottuLaunchpad bug 1668676 in nova (Ubuntu) "Newton package needs to bump dependency on python-rfc3986" [Undecided,New]16:27
ubottuLaunchpad bug 1668578 in neutron (Ubuntu) "Newton package needs to bump dependency on python-pecan" [Undecided,New]16:27
zulfrickler: sorry  i had the day off yesterday16:27
fricklerzul: np, thats why I'm bringing it up again ;) just wanting to avoid you having to make double releases16:28
jayjoI'm trying to start a service (systemd unit file) so I can have jupyterhub - an ipython tool - to run a server constantly. I followed these steps https://github.com/jupyterhub/jupyterhub/wiki/Run-jupyterhub-as-a-system-service but when I do sudo service jupyterhub start - i get no error or output whatsoever, but the server is not running. How do I investigate this further?16:51
jayjoHow can I check if a service is running properly?17:41
madwizardsystemctl status service.name17:42
madwizard£17:42
madwizardI would try that17:42
jayjomadwizard: service.jupyterhub.service, Loaded: not-found (Reason: No such file or directory),    Active: inactive (dead)17:51
madwizardjayjo: try systemctl alone and search for jupyterhub17:53
madwizardMaybe the name is different17:53
madwizardI epect its jupyterhub.service rather that service.jupyterhub.service17:54
axisysserver is stuck at here http://dpaste.com/0AK3DZD while rebooting from console. Is there a way to break this from console?20:46
axisysit rebooted almost all the way and all other services seems started.. but no network yet.. so cannot ssh to it either20:46
=== beisner- is now known as beisner
patdk-wkaxisys, have to know what is starting up after that21:12
patdk-wksounds like some service is stuck on wanting networking, but didn't specify so it was started before21:12

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