/srv/irclogs.ubuntu.com/2016/11/29/#ubuntu-server.txt

rvinkovichello guys. I have a problem with mariadb on ubuntu server 16.04. It wont bind to specific adress it is binded to 127.0.0.100:15
rvinkovichello guys. I have a problem with mariadb on ubuntu server 16.04. It wont bind to specific adress it is binded to 127.0.0.100:49
sarnoldrvinkovic: can you pastebin anything non-private from the config? (I can't recall if there's anything private in there, just be sure to read it over before pastebinning)00:54
rvinkovicsome1 on #mariadb helped me, i comented all bind-address from conf files, restart mysql few times and nothing. after server restart now it work. -5h of work and i dont know why now it works01:10
jancoow_Hi. When i try to update my ubuntu server i get the following error: https://jancokock.me/f/61ddf/01:52
jancoow_how can i resolve this?01:52
jancoow_I want to keep owncloud but it prevent me for updating my whole machine.01:52
sarnoldjancoow_: looks like they changed the key a few weeks ago https://github.com/owncloud/core/issues/2617601:55
sarnoldvery annoyingly there's no way to verify that the new key is legitimate01:56
jancoow_sarnold: i will try that, thanks01:56
jancoow_sarnold: what do you mean with that?01:56
sarnoldjancoow_: normally when people do a key rotation they'll take some steps to distribute the new key to e.g. /etc/apt/trusted.d/ automatically, so that things keep working and you trust the new key if you trusted the old key; or they'll sign the key with their own developers' keys, so that you can check signatures, or sign the new key with the old key...01:57
jancoow_okay so.. owncloud didn't do that?01:58
jancoow_why didn't they?01:58
sarnoldbut when I run gpg < Release.gpg I just get a bit of data about that key, no signatures. (I'm not _confident_ that it would show signatures, but I think it would if there were any...)01:58
jancoow_are there any security risks now?01:58
sarnoldthe fact that this bug has been open on github since september is slightly re-assuring. if you were being attacked with this thing, probably someone from owncloud would have said something on this bug report if it were 100% wrong..01:59
sarnoldjancoow_: btw, your url is 9.0 but the url in the bug report is 9.1 -- are you sure your version is still supported?02:00
sarnoldowncloud folks didn't want to support multiple versions, that's why they asked us to remove owncloud from the distribution02:00
jancoow_sarnold: i've no clue. My owncloud installation is a mesh. It was a hard to isntall02:07
jancoow_sarnold: and i've upgrade issues right now02:07
sarnoldjancoow_: just be sure to look into 9.0 vs 9.1 once you make apt happy again02:08
sarnoldjancoow_: oh, good news, you've got a few months: https://github.com/owncloud/core/wiki/Maintenance-and-Release-Schedule02:09
jancoow_sarnold: mm.. I can upgrade owncloud through the webUI02:15
jancoow_let's see if that works..02:15
jancoow_first waiting until my backup is finished02:15
jancoow_sarnold: yay upgrade finished02:38
jancoow_it worked, thanks!02:38
sarnoldjancoow_: great :)02:39
jancoow_another question, when i enable the docker service i get al ot of errors: https://jancokock.me/f/d6d00/02:39
jancoow_it something with the new systemd but i cna't find a solution for it02:39
sarnoldjancoow_: eww02:39
sarnoldjancoow_: good news: https://github.com/docker/docker/issues/2878102:41
sarnoldlooks like you can probably delete old docker upstart configs02:41
sarnoldor maybe old docker sysv scripts02:41
sarnoldor both?02:41
jancoow_great!02:42
jancoow_will try that02:42
jancoow_sarnold: that + reinstall worked! great!02:43
jancoow_it didn't regenerated the new config files02:43
sarnoldI'm glad it had an easy solution. it looked annoying. :)02:45
jancoow_sarnold: yeah haha. Thanks for all your help!02:51
sarnoldjancoow_: have fun :)02:51
jancoow_currently trying to setup gluu server ;p02:52
jancoow_looks good02:52
jancoow_any experience with that?02:52
macduffsup sup... Maas install - able to login to the dash but does not display menu bar .. it did at first any thoughts?05:16
macduffolder box install 32bit (i386) was suprised the openstack/05:19
macduffMaas install worked.. to be more specific the MAAS web ui works, I can loggin /intro/user and then the menu bar flickers as it connects but does not display any menu items05:21
=== voidengineer is now known as EvilAngel
=== m1dnight2 is now known as m1dnight_
=== kdoumaz is now known as kdo
kdoHi08:30
kdoI was wondering if installation of ubuntu-server LTS versions work on RAID ? Because it seems to fail on grub-installer08:31
kdohttps://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1315344 for example08:31
ubottuLaunchpad bug 1315344 in grub-installer (Ubuntu) "Grub install failed on disks with software RAID" [Undecided,Confirmed]08:31
kdoI try to make an installation in RAID 6 and the ubuntu installer can't install grub08:32
=== amoralej|off is now known as amoralej
=== JanC is now known as Guest13710
=== JanC_ is now known as JanC
cpaelzerkdo: I think this is outdated - see https://help.ubuntu.com/community/Installation/SoftwareRAID08:44
cpaelzerthat should qualify for "from the installer"08:44
cpaelzerthou I must admit if I've done it I did it via commands due to being used to them08:45
cpaelzerkdo: you should be able to follow the howto in the link and if you encounter issues with it then please literally "bug us" with a bug report08:45
cpaelzerkdo: also there is https://help.ubuntu.com/lts/serverguide/advanced-installation.html08:46
cpaelzerless graphical but a bit more on the explaining side IMHO08:47
cpaelzerkdo: not tested myself, but the doc lists that at least /boot has to be RAID 108:56
cpaelzerkdo: you said raid 6, that the bootloader can't read - maybe that is your issue?08:56
=== voidengineer is now known as EvilAngel
rbasaknacc: if I try "usd import python-django", I get a push failure. It's telling me that the xenial-devel push would be a non-fast-forward09:37
SipriusPThello guys09:41
SipriusPTi have updated my openssl through macports to see if i could substitute the older one that came by default09:45
SipriusPTand it seems that i have done it09:46
SipriusPTbut i am not sure09:46
SipriusPTcan some one see this printscreen just to confirm that i have successfully made the upgrade?09:46
cpaelzerkdo: I tested the linked documentation it works fine for me, I updated the LP bug about it10:01
kdocpaelzer: let me check thank you10:10
kdocpaelzer: http://www.hastebin.com/zolikuyuki.sql then I try grub-install /dev/sda. I reboot but grub is not installed10:20
cpaelzerkdo: did the installer set it up this way for you (because that is what the referred bug was about) ?10:26
cpaelzerkdo: when I check the same I see that my flags are different and that the online raids are seen by parted as well10:26
cpaelzerkdo: http://paste.ubuntu.com/23552683/10:26
kdocpaelzer: I had to tweak it because the installer couldn't install grub10:27
cpaelzer:-/ as I said for me the installer just did as it should10:27
kdo:(10:28
kdoI tried with LTS version 14.04 et 16.04 and the installer couldn't install grub10:28
cpaelzerkdo: to understand your setup - that are 4x 4TB disks10:29
kdoyes10:29
cpaelzerkdo: part 3 on each is 3.9 TB for a raid 5 or 610:29
cpaelzerkdo: part 2 on each is ?10:29
cpaelzerkdo: could you warp up your disk usage in a txt and link it - with some luck we find something10:30
cpaelzers/warp/wrap/10:31
kdocpaelzer: part 2 is / and part 3 is /home10:33
kdocpaelzer: http://www.hastebin.com/xitifizeye.md10:33
cpaelzerkdo: should md128 become /boot then ?10:35
cpaelzerwhich is sdc/sdd part 110:36
cpaelzerand then there is sda1 sda4 and sdb1 left to understand10:36
cpaelzerI think the most important is where is /boot in your case10:36
kdocpaelzer: yes you are right10:37
cpaelzerkdo: so if sdd1 sdc1 should become /boot it needs the boot flag (maybe more, but that for sure)10:38
cpaelzeras you can see in my example I posted10:38
kdocpaelzer: so we need an explicit partition /boot, we can't use the one from / in raid setup ?10:41
cpaelzerkdo: the contraint is more fine grained10:47
cpaelzerkdo: /boot can only be raid110:48
cpaelzerkdo: so you can either all-raid1 or as I did in my example do a small raid1 for /boot and raid-X for the rest10:48
kdook I understand thank you10:48
cpaelzerhttps://help.ubuntu.com/community/Installation/SoftwareRAID10:49
cpaelzerto quote "Warning: the /boot filesystem cannot use any softRAID level other than 1 with the stock Ubuntu bootloader. If you want to use some other RAID level for most things, you'll need to create separate partitions and make a RAID1 device for /boot. "10:49
luxpirJust to double check in with some server folks... If I install php7.1 from ondrej/PPA, that will be installed alongside existing php5 install?11:11
luxpir(from same PPA)11:11
zioprotojamespage: are you around ?12:59
zioprotoUpgrading Horizon from liberty to mitaka on trusty I got stuck with the openstack-dashboard paackage13:00
zioprotohttp://paste.openstack.org/show/590802/13:00
=== amoralej is now known as amoralej|lunch
zulcoreycb: testing with newer libvirt...i dont expect any problems14:00
coreycbzul, ok14:01
=== amoralej|lunch is now known as amoralej
zioprotocoreycb: are you around ? I am having issues upgrading the package openstack-dashboard from liberty to mitaka in trusty. Looks like there is a django upgrade that is not trivial14:59
jgrimmcpaelzer, are you leading irc meeting today?  You are still listed on agenda, but IIRC you led last week.15:05
pk2x3Hello everyone.15:05
pk2x3I have an Ubuntu server 12.04.2 LTS like a web frontal with  (Varnish+ModSecurity+Nginx) in front of it. I have other four fronttal with the same configuratios (hardware and software). One of they with peaks of very high Load Average. CPU normal, RAM normal, SWAP norma, threads normal, like the others.15:05
pk2x3I think the Load Average is false because the web front has the same configuration than others.15:09
cpaelzerjgrimm: I though nacc would do15:10
cpaelzerjgrimm: forgot to update, so maybe I'm on as it is my fault then15:10
lordievaderpk2x3: High io wait can cause a high load but low CPU usage ;)15:10
pk2x3Ok, how can i comprove it?15:11
lordievaderpk2x3: Comprove?15:12
pk2x3check15:12
lordievaderpk2x3: You can see the iowait in many utilities. Top, htop, vmstat, etc15:12
jgrimmcpaelzer, yeah, that's why i thought to poke, as he may not realize he is up15:13
coreycbzioproto, that's not good.  what version of django are you at?15:14
cpaelzerjgrimm: if he is not up its me then15:14
jgrimmcpaelzer, thanks sir15:15
pk2x3Ok, I will check it.15:15
pk2x3Thank you.15:16
zioprotocoreycb: the jump is from 1.7.9 to 1.8.715:18
coreycbzioproto, right, just wanted to make sure you're at 1.8.715:19
zioprotoSouth is now end of lifed in favour of the ​new migrations framework in Django 1.7, which is based on South but with significant design improvements.15:19
zioprotocoreycb: I am stucked in this http://paste.openstack.org/show/590802/15:19
ddellavcoreycb should we be updating the debian sync packages for b1?15:20
coreycbddellav, if there's anything available to sync then yes15:21
ddellavcoreycb i meant if there's nothing to sync from debian but the upstream is still > what we have.15:21
coreycbddellav, probably not worth it until there are ocata packages available15:22
ddellavcoreycb ok15:22
danpawlikHello, quick question about nova debianize: Why http://paste.openstack.org/show/qj6xr3q6tssrFpiq0I7Q/  in condition is exclamation mark?15:25
danpawliknova-manage db sync should be executed only on controllers or hosts which have defined connection parameter, not on compute hosts where connection parameter is not required15:26
jonahHi can anyone help. I'm running two Ubuntu Servers (16.04 LTS) and have a really funky problem. Every time I reboot postfix bounces emails back because a nameserver is removed from /etc/resolv.conf on one of the servers. Yet on the other server the nameserver stays in resolv.conf and that works fine. Does anyone know why one is different or how I am supposed to add them to resolv.conf?15:29
rbasakpowersj: FYI, massive ubuntu-server-triage.py refactor incoming. Please don't change it :)15:38
powersjrbasak: haha ok15:38
coreycbzioproto, i found a few things that may be useful in the django package15:42
coreycbzioproto, http://paste.ubuntu.com/23553748/15:42
coreycbzioproto, http://paste.ubuntu.com/23553750/15:42
nacccpaelzer: yeah, i recall you saying my name last week15:52
cpaelzernacc: ok, would you ming chairing even I forgot to update the wiki?15:55
cpaelzernacc: please  please please15:55
nacccpaelzer: yeah of course15:56
cpaelzernacc: puh, thanks15:56
nacccpaelzer: np!15:57
zioprotocoreycb: not sure this is the right thing: http://paste.openstack.org/show/590850/16:22
zioprotocoreycb: I found my problem16:32
zioprotoI had a django extension16:33
zioprotothat was installing and importing south16:33
zioprotoI need a new version of that extension compatible with django 1.8.716:33
coreycbzioproto, ok good16:33
samba35cpaelzer: hello how r u ?16:39
cpaelzersamba35: good, how are you?16:41
samba35i am fine thanks16:42
samba35dpdk guy right ?16:43
cpaelzerkind of16:43
samba35now i have two nic installed on ubuntu 16.04.1 server and both are dhcp 1 nic is configuer with openvswitch but i want all traffice to be controlled by nic which is not configure with openvswitch for that what i should do ?16:45
samba35this is machine is behind/manage by firewall /utm16:45
jgrimmjamespage, coreycb: fyi, will probably want to get fix for bug 1642763 into the cloud archive as well17:30
ubottubug 1642763 in keepalived (Ubuntu) "keepalived raising VIP apply error" [Medium,Triaged] https://launchpad.net/bugs/164276317:30
jgrimmcoreycb, jamespage: nacc is working that bug17:30
naccimporting it right now, will upload the fix(es) shortly17:30
jgrimmbut wanted you to have heads up17:30
NOVAtechies\]17:30
NOVAtechieswhoops sorry everyone17:30
jamespagejgrimm, nacc: ta - thankfully keepalived is not in the UCA so well just pickup the default from xenial or trusty17:31
jgrimmjamespage, great!17:31
naccjamespage: ok, good to know17:31
john75077hello all18:56
john75077i am spinning up the conjure-up openstack with NOVALXD, and now the follow up question.... Is there a conjure-up that tells a new separate machine to connect and be seen?18:57
jgrimmnacc, "risk is low" everyone says that. more useful would be to additionally document testing done over that codepath, also a mention of testing against some other arch as regression proofing <- jgrimm channels rbasak18:59
jgrimmnacc, wrt SRU template responses on that keepalived bug18:59
naccjgrimm: ack19:01
rbasakjgrimm: right, thanks :)19:14
rbasaknacc: another thing is to consider where a regression might be if it does exist, in order to direct verification testing.19:14
=== amoralej is now known as amoralej|off
naccrbasak: right19:24
naccrbasak: in this particular case, we're *growing* the size of the static buffer, afaict, in all cases where there is any change from the prior binary19:25
ddellavcoreycb aodh newton sru done: lp:~ddellav/ubuntu/+source/aodh19:37
coreycbddellav, ok lemme know when they're all done and i'll do them as a batch19:37
ddellavcoreycb ok, will do19:37
john75077@mmcc - hello19:55
john75077[12:57] <john75077> i am spinning up the conjure-up openstack with NOVALXD, and now the follow up question.... Is there a conjure-up that tells a new separate machine to connect and be seen?19:56
mmcchi john75077, the juju controller that conjure-up uses for the openstack-novalxd spell is only able to control containers on the same host that you run conjure-up on.19:57
mmccif you want to deploy openstack on multiple machines, the way to do it is to install MAAS, enlist those machines into MAAS, then deploy using juju onto that MAAS - conjure-up can help you with the last step, the deploy, if you select the "Openstack Base for MAAS" spell19:59
zulcoreycb: http://pastebin.ubuntu.com/23554792/ :(20:03
coreycbzul, not as good as xenial, but not bad20:04
john75077the problem i have been having with maas is it doesnt use WOL anymore as of the last couple of updates. in launchpad they say to go back to 14.0420:04
zulcoreycb: boot from volume tests fail20:04
coreycbzul, ceph isn't in the ocata cloud archive, i wonder if that's related20:07
roaksoaxjohn75077: MAAS 2.X+ doesn't support WoL anymore20:07
john75077i know thats sad -20:07
roaksoaxjohn75077: you do have a "manual" power type that will allow you to manually power it on/off20:07
john75077i was really looking to either build up from the openstack novalxd install and add more nodes or work with juju and lxd to add more physical machines20:08
zulcoreycb: straight ocata20:11
zulcoreycb: sorry zesty/ocata20:11
coreycbzul, right just saying different versions of ceph may be the difference20:11
zulcoreycb: yeah20:11
coreycbseyeongkim, were you planning to provide kilo patches for bug 1323660?20:16
ubottubug 1323660 in Ubuntu Cloud Archive icehouse "[SRU] Glance image properties not copied to cinder volume with glance V2 API" [Undecided,In progress] https://launchpad.net/bugs/132366020:16
coreycbbeisner, hi can you promote neutron 2:8.3.0-0ubuntu1.2~cloud0 from mitaka-staging to mitaka-proposed?20:35
VillageHello, i was delete all iptables "iptables -F" and now i can't connect to my eggdrop via DCC? It;'s can by that i delete iptables? How i can restore? Thanks20:36
john75077I don't know about that, did you save the rules before you ran the command?20:37
sarnoldVillage: dcc doesn't work well across NAT firewalls unless you've got some funny helpers installed to read your irc traffic (seriously)20:43
Villagejohn75077, no i don't save anything i just enter command "iptables -F" because before i was try pptpd.. and i was want that all entered iptables commands gone, and when now i want connect eggdrop via DCC it's not happens20:45
Village:/20:45
beisnercoreycb, neutron promoted to mitaka-proposed re: https://bugs.launchpad.net/bugs/157307320:46
ubottuLaunchpad bug 1573073 in neutron "[SRU] When router has no ports _process_updated_router fails because the namespace does not exist" [Undecided,In progress]20:46
coreycbbeisner, thx20:46
beisneryw coreycb20:47
Villagesarnold, so iptables no asotiate with eggdrop DCC? Please answer20:47
VillageI know that router must be 113 port that ident be accepted at IRC server and then connect to Eggdrop via DCC, but it's not happens:(20:48
john75077@Village - I dont know about how to recover from that, though I would strongly suggest making this your new best friend as it has some conditions https://help.ubuntu.com/community/IptablesHowTo20:48
sarnoldVillage: this looks useful https://home.regit.org/netfilter-en/secure-use-of-helpers/20:50
Villagefirst link is simplest i think so20:52
Villagenow need understand it20:52
john75077do we have any lxc / lxd folks in here?20:53
rattkinghmm I have been converting some VM's from xen to kvm and I find that when I specify more then 1 cpu in the libvirt/qemu config the VM kernel panics on boot with "BUG: soft lockup - CPU#1 stuck for 22s!" does anyone know why that would be?20:59
naccrattking: fyi, that's not a panic21:00
naccrattking: that's a soft lockup warning/error21:01
rattkingahh right. wrong term.. it sticks there and keeps dumping its stack21:01
rattkinglast thing it does before that is "Trying to unpack rootfs image as initramfs..."21:02
naccrattking: i assume your host actually has sufficient CPUs to run multi-CPU guests?21:02
rattkingit has 8 cores21:02
naccrattking: do you get any messages in the host?21:03
naccrattking: are yu still running xen on the same host, as well?21:03
rattking"kvm [20855]: vcpu0 unhandled rdmsr: 0xc0010001"21:03
rattkingno xen was on another host21:03
naccrattking: is your VM configured to be a particular CPU type? and possibly different than the physical CPU type?21:04
rattkingnacc: this could be.. I have cpu match='exact' and <model>Opteron_G3</model> in the xml file.. and the CPU is a AMD Opteron 621221:06
naccrattking: that would be my guess, i would specify to run the same CPU as the host, or a generic x86 cpu21:07
naccrattking: it's possible the smp code is getting messed up21:07
rattkingok thanks! I will research the various cpu options21:07
naccrattking: i think there's a checkbox in virt-manager for 'use host cpu'21:08
rattkingsadly I cant use virt-manager in my environment.. cli only21:08
rattkingI made a small effort to get virt-manager to jump through anouther ssh node but was unable to get it working21:09
naccrattking: ah ok, just drop your modifications to the <cpu> stanza21:10
nacciirc21:10
nacchttps://libvirt.org/formatdomain.html#elementsCPU21:10
naccrattking: i would guess you want either host-model or host-passthrough, or nothing at all, (and libvirt will dtrt)21:10
naccrattking: is there a reason you want a Opteron G3?21:10
rattkingno, I based my config off an existing xml file.. I suspect that vm has the same issue :)21:11
naccrattking: ah ok21:12
rattkingnacc: thanks a ton for the help21:13
naccrattking: np, gl!21:14
rattkinghmm even with <cpu mode='host-passthrough'/> I cant boot with more then 1 vcpu21:34
naccrattking: try with just no options to <cpu> ?21:34
rattkingthat shows "CPU 0 -> Queue 0" and "CPU 1 -> Queue 0" then stops there21:38
naccrattking: on the kernel messages?21:39
rattkingyes21:39
naccrattking: no idea, sorry :/21:40
rattkingok NP21:40
bitdonhey all, so I have 3 ubuntu boxes all with only -main -security and -universe repos enabled. When I log into all three I get a notfication saying there's 7 security updates but when I do apt-get update && apt-get upgrade it says 0 upgraded22:37
bitdonwhat did I miss?22:38
naccbitdon: maybe try `apt-get dist-upgrade` (meajning a version change maybe?)22:46
bitdonnacc: let me try it22:47
naccbitdon: by which i mean, 'upgrade' tries to be a bit safer, but won't remove pacakges, e.g., iirc22:48
naccbitdon: dist-upgrade will generally do the whole thing, which is why (aiui) `apt` just has 'upgrade' and 'full-upgrade'22:48
bitdonnacc: that did it, so what was the problem? :\22:51
bitdonIn order to install the new kernel, you need to run apt-get dist-upgrade . Notice how an apt-get upgrade will say that the kernel packages have been held back . That's the cue for using apt-get dist-upgrade . ... The apt-get upgrade command will normally only install updates (or fixes) to currently installed packages.22:55
bitdon^ that explained, never mind22:55
bitdonthanks nacc22:55
naccright :)22:55
naccbitdon: you can also look at `man apt-get` to see the differences22:55
bitdonwill do22:55

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