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

curiousx-rwxr-xr-x 1 root root  434 Nov  7 23:41 /etc/rc.local00:01
curiousx-rwxrw-r-- 1 urt  urt  2185 Nov  7 23:14 /opt/spunky/debian-startscript.sh00:01
sarnoldaha, try chmod 775 /opt/spunky/debian-startscript.sh -- or chown root:root /opt/spunky/debian-startscript.sh -- depending upon which you would prefer00:02
curiousxthe script gotta be run as root cuz opens up a pid file in /var/run/00:02
curiousxok mate lemme try00:03
curiousxok chmoding didn't worked, will try chowning00:06
curiousxI thought maybe rc.local doesn't support parameters, does it ?00:06
sarnoldit should, it's just posix shell00:11
curiousxnope, no luck neither =(00:11
curiousxIs it any other way i coul run that script maybe at loggin time, maybe addin' a line in .bashrc ?00:12
curiousxusing systemd maybe ?00:13
sarnoldthe cron service allows you to use @reboot specifiers; you could add a line like "@reboot root /opt/spunky/debian-startscript.sh start" to /etc/cron.d/spunky00:13
curiousxOh! thanks will try that00:14
sarnoldsystemd service and unit files could also work. I found them a bit of a pain in the ass to get working, but once they work they work :)00:14
sarnoldhttps://www.freedesktop.org/software/systemd/man/systemd.unit.html00:15
sarnoldhttps://www.freedesktop.org/software/systemd/man/systemd.service.html#00:15
sarnoldhttps://www.freedesktop.org/software/systemd/man/systemd.exec.html#00:15
curiousxit wasn't added, should i 'crontab -e' ?00:16
curiousxi mean, when i: 'contab -l'  can't see the job there -.-00:16
sarnoldthe cronjobs in /etc/ aren't managed via the 'user' cronjobs; crontab -e and crontab -l work with the user-cronjobs instead00:17
sarnolduser root does have the standard user cronjobs too, but when it's system services, it feels like they ought to live in /etc instead00:18
curiousxHm!00:18
curiousxthanks bruh! now i'll reboot to see if works :)00:19
curiousxOh! gosh, it didn't worked =(00:21
sarnolddang00:21
curiousxMaybe i'll try systemd00:21
sarnoldokay, next steps: ls -ld /opt/ /opt/spunky/   -- and head -2 /opt/spunky/debian-startscript.sh00:21
curiousxwait a second, i just removed spunky's pid file in /var/run/ will reboot again, maybe that was the issue00:22
tarpmancuriousx: is your debian-startscript the same as https://github.com/SpunkyBot/spunkybot/blob/master/debian-startscript ? that one looks like it's designed to be used as an init.d script ...00:25
curiousxtarpman: lemme see00:26
tarpmanin which case, the way to have it start on boot would be using update-rc.d(8)00:27
curiousxtarpman: yeah, the same one00:27
sarnoldtarpman++00:27
tarpmancuriousx: it's documented right there in the script how to install it00:28
curiousxtarpman: update-rc ? lemme check00:28
tarpmancuriousx: read the comments in the script, all of that is covered, even the update-rc.d part00:28
curiousxrly ?00:28
curiousxok00:28
tarpmanhttps://github.com/SpunkyBot/spunkybot/blob/master/debian-startscript#L13-L1700:28
tarpmanmuch better than nasty crontab hacks :)00:29
curiousxOh! my... wth, sry, so dumb of me :D00:29
curiousxI mean, well, i'm not a sofisticated guy no more :p but i used tobe :p00:30
curiousxNo can't do =(00:42
curiousxidk why tho00:43
curiousxTo execute a scrip in 'bashrc' should i prefix a dot ? like: . /etc/init.d/spunkybot start  )00:51
curiousx?*00:51
=== Amgine_ is now known as Amgine
xnoxdo we still need juju-mongodb3.2 if src:mongodb is at the same version number?09:52
rbasakJuju would need to know which package to use, AFAIK. Also, what happens when Juju's mongodb needs get bumped? As it does get updated in stable releases.09:53
rbasakTo be clear, I'm not objecting, just thinking of potential areas that need consideration.09:53
xnoxrbasak, i have no idea how juju-mongodb* is different from mongodb* packages =)09:55
* xnox simply has to fix boost 1.62 FTBFS twice at the moment, in both mongos09:55
rbasakxnox: it drops in binaries only, in a special path (IIRC). Then when Juju deployds, it sets up a system service specifically for itself using those binaries.09:56
rbasakIIRC, this was a requirement for promoting Juju to main, since the security team didn't want mongodb-at-large to be in main (due to the colossal Javascript engine maintenance burden, etc)09:58
rbasakAnd at least at that time, Juju's mongodb was built without a bunch of that stuff.09:58
=== Amgine_ is now known as Amgine
=== _degorenko|afk is now known as degorenko
hypermistwhat can cause kernel panic VFS ?10:48
cpaelzerhypermist: are you referring to a panic due to being unable to mount root on boot?10:49
hypermistyea cpaelzer10:50
cpaelzerhypermist: (IMHO) mostly broken bootloader configs, followed by broken lvm or rootfs setup, followed by more rare and special cases10:51
hypermistcpaelzer, its just that it was a fresh install so i was like whaat how can that be10:51
hypermistxD10:51
cpaelzerhypermist: I'd even think that this is the most likely place - on install either manual config was done wrong or the system/HW has a certain setup that leads the automations done on install into a trap creating a broken install10:52
hypermisti'll try re-install and see if it works this time10:52
hypermist:)10:52
hypermistill change some stuff in the bios and such10:53
cpaelzerhypermist: ah ok, otherwise I'd assume it would just reproduce10:53
cpaelzerhypermist: if running into it again I tihnk that covers the most basic solution worth for maybe 75% of the cases http://askubuntu.com/questions/532835/kernel-panic-not-syncing-vfs-unable-to-mount-root-fs-on-unknown-block0-210:55
cpaelzerhypermist: otherwise the recovery mode you reach from there might still be the best way to start understanding what is wrong10:55
hypermistalright  thanks cpaelzer :)10:56
ronatorHi. Does anyone know if and when canonical is going release the patch for memcached (CVE-2016-8704 and two others)?10:57
cpaelzerronator: I tihnk that is done already10:59
ronatordid not find any updates neitehr in 14 or 16 repos10:59
cpaelzerronator: not sure, but are these links externally reachable http://people.canonical.com/~ubuntu-security/cve/2016/CVE-2016-8704.html10:59
cpaelzerronator: https://www.ubuntu.com/usn/usn-3120-1/11:00
ronatorthank you gyus. btw this is what I see in Ubuntu 16: Version: memcached 1.4.25-2ubuntu1.211:00
cpaelzerronator: which is the latest update and has the CVE listed in the changelog11:01
cpaelzerronator: https://launchpad.net/ubuntu/+source/memcached/1.4.25-2ubuntu1.211:01
cpaelzerronator: glad I could help11:01
ronatorah i see .25 is the patched version11:01
cpaelzerronator: as it is a released version the fix will go in as SRU, so it will stay 1.4.25-2 in your case but got a .2 at the end for this update11:02
ronatorokay, i was confused because i read version > 1.4.31 is patched but I tend to forget that canonicals folows a different numbering scheme ;-) thx again11:02
ronatorcpaelzer: yes, I see that now11:02
cpaelzerronator: see here if you want to learn more https://wiki.ubuntu.com/StableReleaseUpdates11:03
ronatorcpaelzer: thx - will do (have to) :)11:03
hypermisterror'd out when it was installing the kernel cpaelzer so maybe thats got something to do with it ?11:08
cpaelzerhypermist: yeah that should be almost 100% related11:08
hypermistfresh iso download too haha11:09
hypermist:(11:09
hypermistmy life today has been so far a fail11:09
hypermistshould i just redownload ?11:10
cpaelzerhypermist: the chance that this is a broken iso by the download is almost 0%, in any case just check the checksum11:11
cpaelzerhypermist: more likely some sort of incompatibility/issue with your HW11:11
hypermistits an amd apu11:12
=== mehrdadv is now known as CuriousMind
=== CuriousMind is now known as mehrdadv
ronatorcpaelzer: "Regarding Dirty Cow": From the nice website you sent, I can find this info for fixed version: Ubuntu 16.04 LTS (Xenial Xerus): released (4.4.0-45.66) - but the newest kernel I have on ubuntu (16) server is Version: 4.4.0.45.48 - does that mean they are vulnerable?11:32
ronator(afk/brb/coffee)11:33
maxbpet peeve: there is no such thing as Ubuntu 1611:33
maxbthere is 16.04 and 16.10 but these are no more closely related than consecutive versions that don't share a calendar year11:36
maxbTo answer the actual question, I can tell from the pattern of dots and dashes that you are comparing a linux-meta version with a linux version. They are different packages and the version numbers are not directly comparable11:41
ronatori will read SRU now :D11:42
maxbhttps://www.ubuntu.com/usn/usn-3106-1/the package names you should be looking at are the ones in the USN : https://www.ubuntu.com/usn/usn-3106-1/11:42
maxbugh, weird paste, but you get the idea11:42
hypermisttried 16.04 also no kernel install error just wont install packages cpaelzer ;(11:47
ronatorwhat does "DNE" mean in context of security cve patches?11:48
cpaelzerronator: 4.4.0-45.66 is latest and available to my machine - maybe just an apt update away?11:50
hypermistSo what can i do about that haha :(11:50
cpaelzerhypermist: from the given info it is hard to recommend more11:51
hypermistyea it's sort of like why does freebsd based OS's install fine xD11:51
cpaelzerhypermist: on install issues it can be hard to share screen and logs, but often you can use the console fallback for that11:52
hypermisti just have no idea why its failing. considering any other os i've installed has never done that haha :D11:53
ronatorcpaelzer: I did a dist-ugrade right before, that's why I went to check with the cve page ...11:55
=== JanC_ is now known as JanC
ronatorcpaelzer: what could be the reason for our difference in kernel versions?11:56
cpaelzerronator: are you behind an apt mirror that isn't updated?11:56
ronator(basic ubuntu 16 installation from iso, no repos removed) - no I use the usual repos, e.g. I see this OK:2 http://security.ubuntu.com/ubuntu xenial-security InRelease11:57
ronatorand the german archive repos11:57
cpaelzerronator: https://launchpad.net/ubuntu/+source/linux/4.4.0-45.66 here you see it was published on 20th October11:57
ronatorI do believe you11:58
cpaelzerlet me check this more in detail for you11:58
ronatorcpaelzer: I am sorry, I am really confused, so I really do appreciate your help. If I do "aptitude show linux-image-generic" it show me "Version: 4.4.0.45.48". The server is located is Germany.11:59
cpaelzerronator: be careful with the various linux-* package names - I often run into that as well12:02
cpaelzerronator: what does apt-cache policy linux-image-4.4.0-45-generic tell you?12:02
ronatoroh :)12:03
ronatorcpaelzer: you are the man: Installed: 4.4.0-45.6612:03
cpaelzerso I it should be12:04
ronatorbad aptitude :)12:04
ronatorcpaelzer: I guess I learned sth. - thx12:04
cpaelzerronator: and for even more security please check out http://blog.dustinkirkland.com/2016/10/canonical-livepatch.html12:04
ronatoryeah, I read sth that ubuntu also wants to offer kernel-live patching. thx, will read.12:05
=== Ussat is now known as NoLube2016
=== NoLube2016 is now known as BendOver2016
SipriusPT_hello guys12:59
cpaelzerhi SipriusPT_12:59
SipriusPT_I am in a big trouble trying do config my mail server to receive mails12:59
SipriusPT_i have wasted a lot of time trying to set this up but still no success13:00
SipriusPT_https://ubuntuforums.org/showthread.php?t=234251313:00
SipriusPT_dont know if you can help me =/13:00
SipriusPT_i have created a tread in ubuntuforuns13:00
SipriusPT_with all the data, if you could help me and need more info i can provide without problem13:01
SipriusPT_P.S. is my first time trying to set a mail server13:02
cpaelzerSipriusPT_: from reading tzhat a bit this is more on port forwarding and such than mail13:06
cpaelzerSipriusPT_: right?13:06
cpaelzerSipriusPT_: as your issue still is that you can't connect at all, not that any part of the mail setup fails13:06
cpaelzerSipriusPT_: if I read that correctly you have no smtp port bound right?13:08
cpaelzerSipriusPT_: e.g. no 2513:08
cpaelzerSipriusPT_: I can't parse and validate all of your config, but you should focus on getting something bound to a port serving smtp13:10
cpaelzerSipriusPT_: all the forwarding and such comes later13:10
cpaelzeras long as your check for e.g. port 25 or equiv shows nothing something is missing13:10
cpaelzerSipriusPT_: check this for testing (as you did) but also log files https://help.ubuntu.com/lts/serverguide/postfix.html#postfix-testing13:11
SipriusPT_but i have my server in DMZ13:11
SipriusPT_i already made a ping to SMTP and IMAP ports from a outside web site13:11
SipriusPT_and those are all open13:11
cpaelzerSipriusPT_: you reported this as empty netstat -tnlp tcp | grep '\.25 '13:12
cpaelzerso nothing can connect to ..:2513:12
SipriusPT_ah yes that is from the service13:12
SipriusPT_ah yes13:13
SipriusPT_you are right i used the wrong dns name when was doing ping13:13
SipriusPT_with the right one i got all of them closed13:13
SipriusPT_just the 80 is open as expected i have a web service there13:14
cpaelzerSipriusPT_: so you can reiterate locally with your mail server setup until you can LOCALLY connect to :2513:14
cpaelzerSipriusPT_: then and only then you enter the domain of all the forwarding, maybe MX dns entries and such stuff13:14
SipriusPT_cpaelzer i will come back in a hour, thanks in advance for the help!13:15
cpaelzerbzr is a memory hog :-/13:23
rbasakcpaelzer: thank you for the review!13:29
rbasakcpaelzer: I am setting self.running = False on close.13:30
cpaelzerrbasak: maybe it was not part of the same commit where I thought it was missing13:32
* cpaelzer is checkking full diff13:32
cpaelzerrbasak: yeah I see13:33
cpaelzerrbasak: the good part is that my assumption was right, the bad part that I missed to read that you have already done it13:33
rbasakcpaelzer: good to know you're reviewing properly. Thanks :)13:33
rbasak(rather than saying +1 without checking for things like that!)13:33
rbasakHmm. I didn't provide a changelog entry in my MP.13:35
* rbasak adds a commit for that13:35
rbasakcpaelzer: I added strongswan FTBFS in Xenial (bug 1592706) to our backlog. Rationale is that it blocks any SRUs or security updates, so we should prioritise fixing it.14:07
ubottubug 1592706 in strongswan (Ubuntu) "strongswan fails to build in xenial on amd64 (test timeouts)" [High,Confirmed] https://launchpad.net/bugs/159270614:07
cpaelzerrbasak: yeah that is correct14:09
cpaelzerrbasak: I already added a backtrace as I think I was able to hit it on a local build14:09
cpaelzerrbasak: but it is in no way a blocker14:09
cpaelzerrbasak: it is an unwelcome but transient error14:09
cpaelzerrbasak: did you pick that up triaging yesterdays updates?14:10
rbasakAh, only transient? That's not so bad.14:10
rbasakYes, I'm triaging yesterday's bug updates today.14:10
cpaelzerrbasak:  I can't speak on the "transitivity" of the LP builders, but for me it was one of about nine builds14:11
SipriusPT_cpaelzer are you there?14:16
cpaelzerSipriusPT_: busy as always but here14:17
cpaelzerSipriusPT_: and I'm not the #1 postfix expert, so you don't need me in particular :-)14:17
SipriusPT_but i really dont know where the problem is because i can send and receive mail internally14:17
SipriusPT_with local accounts14:17
SipriusPT_at least with mail clients through local host14:18
cpaelzerSipriusPT_: well they might not really use smtp14:18
cpaelzerSipriusPT_: does your host now bind one of the smtp ports?14:18
SipriusPT_i have config those users to connect through smtp port14:18
SipriusPT_i will show you14:18
SipriusPT_internally with a mail client14:19
SipriusPT_http://prntscr.com/d4n6yj14:19
SipriusPT_my web mail service is also connected through IMAP and SMTP14:19
SipriusPT_both clients are connected the same way14:20
SipriusPT_but till now i am just testing this in localhost14:20
SipriusPT_i have not tried to use mail app on other pc in this network14:20
SipriusPT_but i am able to login in my web mail service everywhere and send mails to inside or outside email domains14:21
cpaelzerSipriusPT_: I don't mind the other tests as they could use whatever connection I don't know about14:22
cpaelzerSipriusPT_: but since you fail to connect to port 25 from the outside as your initial issue14:22
cpaelzerSipriusPT_: does netstat other than before now report any of the smtp ports as open?14:22
zulcoreycb: heylo....python-tempest is broken im looking at it right now14:24
SipriusPT_cpaelzer: nop, nothing at 25, 2525, 46514:26
SipriusPT_with netstat14:26
SipriusPT_when i do telnet to the DNS name pointed to my external IP14:27
cpaelzerSipriusPT_: the I think your setup is still not complete14:27
SipriusPT_i got connection refuse14:27
cpaelzerSipriusPT_: sorry my lack of mail server expertise prevents me from suggesting more - but if your test is to connect to port 25 there has to be something binding that port14:27
SipriusPT_it is possible14:27
SipriusPT_all that i could do in my ISP, who is pointing a MX record to this server14:28
SipriusPT_and if i have not receive anything it could be something missing in postfix14:29
SipriusPT_but i have search a lot and all that i can find seems very simple and i already did that =/ it is more easier to receive then send14:29
SipriusPT_from what i have saw of configs14:30
SipriusPT_but thank you very much cpaelzer, at least you try!14:30
tewardI've gotta ask - is your mail server at your home (residential) network on a non-static IP?14:31
cpaelzerSipriusPT_: yeah, sorry - I hope you find one with more postfixiness14:31
tewardSipriusPT_: I've gotta ask - is your mail server at your home (residential) network on a non-static IP?14:32
SipriusPT_those guys dont help easelly14:32
SipriusPT_it is in an office, and right now just for test i have used a dynamic IP (that looks almost static 2 weeks in a row without change), associated with a DNS name with reverse DNS14:34
rbasakteward: o/14:34
SipriusPT_i will have to add a static IP soon14:34
rbasakteward: so we have a renewed effort to triage bugs on the Canonical server team. We have a schedule and have been able to look at all server bugs touched since August 8th so far.14:34
rbasakteward: what should we do with nginx bugs? For example, bug 1639814. I realised that your schedule probably means that you won't have had a chance to look yet, which is fine.14:35
ubottubug 1639814 in nginx (Ubuntu) "nginx package upgrade on ubuntu 14.04 rewrites ssl config" [Undecided,New] https://launchpad.net/bugs/163981414:35
tewardrbasak: that ones' tricky14:35
rbasakteward: the trouble is that with our process, we have one opportunity to see it, and if I ignore it now we won't see it again unless it gets touched again.14:35
tewardrbasak: because that's apt weirdness - ideally apt isn't going to overwrite configs14:36
tewardbut it is doing that14:36
rbasakteward: so in the general case, should I leave all nginx bugs to you unless you flag them up?14:36
tewardrbasak: yeah, unless it's Security related in which case also ping the SEcurity team14:36
tewardwhich is standard process14:36
rbasakOK14:36
tewardrbasak: i get all the nginx bug notices as they come in14:36
tewardto two emails14:36
rbasakFor this bug, apt surely isn't touching those files - it can only happen through postinsts.14:36
tewardrbasak: yeah the trouble is i've tried shoring up the postinsts in the past...14:36
tewardand gotten NACKs14:36
teward(for the "code loss" bugs)14:37
rbasakHandling files in /etc is pretty messy due to the policy of "don't mess with users' local changes".14:37
rbasakThat makes it hard.14:37
rbasakMaking modifications is permitted (seddery) but can lead to conffile prompts, which is also bad.14:37
tewardrbasak: so i'm stuck between the two evils: (1) don't radically change the structure of the postinst, and (2) add changes that only fix the specific issue14:37
tewardrbasak: the *other* problem:14:37
tewardi haven't been able to reproduce14:37
tewardnot even with automated Landscape isntallations of the package code14:38
tewardit's on my radar to look at14:38
tewardthe merge from Debian is higher on my radar though if only because that needs to land before OpenSSL 1.1.0 ever doews14:38
rbasakDoes Debian's packaging have this bug too?14:38
tewardrbasak: if it does, I haven't seen it reported, but they're also at 1.6.x which is at least a year newer than Trusty14:38
rbasakOK14:39
rbasakLet me know if you need any help when you get to it.14:39
rbasakThank you for working on these!14:39
tewardrbasak: my pleasure!  Note that i'm also still handling the evils of the recent security fix14:39
teward(I'll blurb on it during the server team meeting, provided i'm not dragged through oblivion today)14:39
rbasakNoted. I appreciate not having to worry about it :)14:39
tewardrbasak: it may not get rapid-fixes for complex issues, but you can see how some bugs have been filed and rapidly closed by me as not a bug.14:40
tewardso i do see them.14:40
tewardresponse time is dependent on my work and study schedules14:40
tewardand complexity14:40
rbasakSure. I have no problem with your response time. Also happy to back you up as needed. Just need to make sure our processes don't clash.14:41
ronator"Canonical is providing the Canonical Livepatch Service to community users of Ubuntu, at no charge for up to 3 machines." That's ridiculous - but typical. (Just my comment, no offense.)14:41
tewardrbasak: Security issues get forwarded up to the SEcurity team, though i've ended up being the point-of-contact at times to relay14:41
tewardalmost same-day14:41
tewardthough as we all know the SEcurity team is amazing at those thigns14:41
tewardrbasak: no clash on the processes, though it doesn't hurt to prod me if you're unsure14:42
tewardemail is faster than IRC though, teward AT ubuntu14:43
rbasakOK14:43
tewardrbasak: wrt that bug, are we 100% certain apt isn't touching? the 'default' config file is in the .install file not the postinst...14:44
rbasakHave you been able to reproduce, or do we just have one reporter claiming it?14:44
rbasakIt wouldn't be apt, it'd be dpkg.14:45
rbasakAnd if using a modern dpkg-source (IIRC, or is it debhelper?), then anything from a .install file to go into /etc will be automatically marked a conffile, and result in a conffile prompt over overriding a user's changes.14:45
tewardrbasak: i've only seen the one person report14:46
tewardotherwise i'd have dupe-reported14:46
rbasakThen it might be Invalid.14:46
tewards/reported/linked/14:46
rbasakI'm only speculating of course based on what's common. I haven't actually looked.14:46
tewardrbasak: i'm in the process of repairing one of my testing servers, happy to nuke/rebuild/nuke/rebuild to try and reproduce14:46
rbasakThanks14:46
tewardbut i'd need a copy of their configs they had to try and 'test' with14:46
rbasakAlso you can do it in a container pretty easily.14:46
rbasaklxc launch ubuntu:trusty foo14:46
rbasaklxc exec foo bash14:47
tewardrbasak: fun fact: you're right, but I already have a Trusty VM I use for full testing14:47
rbasakOK :)14:47
tewardrbasak: also, Trusty != Xenial, it doesn't like me with lxc on this system14:47
tewardrbasak: also, when doing QA testing, the VM allow for full install tests - another reasons I'm in the "VMs > LXC Containers for Testing" niche :)14:47
tewardoop that reminds me, I need to renew my Landscape licenses...14:48
rbasakIMHO, containers are good enough for most packages. Except for some packages that it isn't.14:48
tewardrbasak: indeed.  But if i have the servers running as test servers to test different things (INCLUDING bad SSL config testing heh), why not use it :)14:49
rbasakContainers tend to be a little quicker :)14:49
teward:)14:49
tewardback in a moment, VPN tunnel construction in progress14:50
coreycbzul, ok I uploaded a new version of tempest yesterday14:57
zulcoreycb: just uploaded a fixed version14:57
zul<-- ninja14:57
coreycbzul, cool14:58
rbasakcpaelzer: the dovecot dep8 test is still failing :-(15:03
cpaelzerrbasak: but it is failing much nicer now15:04
rbasakInteresting though. Different failure.15:04
rbasakYeah15:04
rbasakI wonder if that's because the Python 3 imap library produces better (more helpful) exceptions.15:04
* rbasak requests a retest to see if the results change15:06
coreycbjamespage, when you get a chance can you promote python-glance-store and mistral from newton-staging -> newton-proposed?  also could use a flush of mitaka-staging -> mitaka-proposed for openstack-trove, mistral, and python-django.15:18
rbasakcpaelzer: it passed on retry.15:20
coreycbjamespage, also python-novaclient is ready to promote to mitaka-updates15:20
coreycbjamespage, and one more, python-pylxd 2.0.5 is ready to promote to mitaka-updates15:25
jamespagecoreycb, looking now15:26
jamespagecoreycb, ok shoved the proposed updates for novaclient and pylxd to updates15:28
jamespageflushing staging -> proposed now15:29
jamespagecoreycb, it would be good to get that lot tested and out of the door15:29
jamespagethere is some ceph stuff in that to15:29
coreycbjamespage, thanks. I'll get testing going on those.15:30
zulcoreycb: monasca-statsd with proper license has been packaged i uploaded it to the archive and put it in the ppa for now15:32
coreycbzul, awesome thanks15:33
coreycbzul, can you push to lp:~ubuntu-server-dev?15:33
zulcoreycb: doing it now15:33
coreycbzul, thanks15:34
sikunanyone familiar with Ubuntu OpenStack?15:42
sikunin a production environment15:42
SipriusPT_any expert at postfix here?16:00
joeliosikun: any specific question?16:01
sikunjoelio, I guess just a couple broad questions16:01
sikunmore so on possibly building an OpenStack cluster for a production environment16:02
SipriusPT_well if anyone here have set a postfix server to receive mail from outside please check this tread:16:03
SipriusPT_http://www.linuxforums.org/forum/servers/208607-not-receiving-mail-postfix-external-server-post983645.html?highlight=#post98364516:03
sikunThe Ubuntu O/S site says a requirement of 5 servers with two disks, two with 2x NICs, I'm guessing the two servers with the drives would just be iSCSI storage targets for the VMs?16:04
rbasakSipriusPT_: I suggest that you summarise the question here. Many able and willing people won't bother to follow your link.16:04
sikunand the other three along with those two would be compute nodes16:04
SipriusPT_ok rbasak thanks i will post here16:04
coreycbjamespage, pthon-pytest has some pypy dependencies, so I think i'll drop those via ca-patches vs backporting them if you are ok with that16:04
SipriusPT_i am unable to receive mail with my postfix, i can only send to inside and outside domains, and cannot receive from outside or even from my ISP mail server16:05
SipriusPT_I am trying to do a middle mail server between group of people and my ISP mail server16:06
SipriusPT_till now i am only able to send from multi local users to multi external users created at my ISP mail server16:06
SipriusPT_in my ISP mail server i have set a MX record to my public IP16:07
SipriusPT_right now is a dynamic but its pretty stable for testing16:07
SipriusPT_i have a DNS name pointed to that IP, with reverse DNS16:07
SipriusPT_i was able to telnet port 25 locally and then notice that i was unable to telnet to that port externally16:08
joeliosikun: it depends on what storage backend you chose. You could use local storage or shared storage. Obviously shared storage requires additional nodes, setup etc for the target type (iscsi, ceph etc) but provides true migration capabilities16:08
tewardSipriusPT_: i would keep in mind a lot of 'dynamic IPs' are in mail blacklists16:09
SipriusPT_so i add it for port forwarding to an expecific external IP but i didnt receive any mail and no socket was open to that port as i have saw in netstat16:09
sikunjoelio, preferably I would like to go with local storage.16:09
sikunWondering if 5 nodes is truly necessary16:10
SipriusPT_i know teward but i have check this on before i use it and was just blacklisted in one of a big list16:10
SipriusPT_right now i have no idea on what is doing this16:10
joeliosikun: no, if you're testing you can run a single node with the service on.. multinode I'd go for 3 at least16:10
joeliobut it depends on your requirements really..16:10
sikunI suppose I could just install Ubuntu and the KVM packages and just run it w/o OpenStack but I guess I'm trying to "sell" it as a benefit if we did a full on OpenStack cluster16:11
SipriusPT_it could be from my IP provider? that is blocking this kind of services?16:11
sikunjoelio, I need to condense three 12 year old servers running CentOS 5.? which are the current KVM hosts16:12
sikunthey are going to die soon I just know it, but... I don't want to setup new servers to migrate what's on the VMs as they are all so horribly outdated I just want to move the VMs themselves to a new host16:12
tewardSipriusPT_: most residential ISPs block mail server ports16:14
sikunAs I said in my meeting the other day... Who knows if a freaking butterfly in China is going to flap its wings and I loose 2 of the three KVM hosts due to hardware failure16:14
tewardSipriusPT_: if you're on a dynamic IP host, and it's not a business class connection and is residential class, it's likely being blocked at ingress by the ISP16:14
sikunlol, just as long as I can keep them running for 2 more years tops... that is all I need.16:14
SipriusPT_as i suspect16:14
SipriusPT_i was just counting with the blacklist part of this dynamic IP16:15
tewardthere's also port forwarding that has to be done as well at the NAT level at your connection, but SMTP is probably being blocked16:15
SipriusPT_i am able to send mails from my local server to my ISP mail server and even do SMTP auth16:16
SipriusPT_but receiving it is showing to be a pain in the a**16:16
tewardSipriusPT_: SMTP outbound is usually not filtered, it's inbound that's usually the problem16:17
tewardas I said before, ISPs of a residential grade usually don't allow SMTP mail servers on their network for receiving16:18
SipriusPT_ok ok teward thanks a lot!16:18
tewardsome might, but you'd have to check with that ISP16:18
SipriusPT_this could be a noob problem but it is my first time doing it16:18
joeliosikun: well you could just got native KVM, but you lose all the functionality that openstack provides, API's, Tennencies etc. It entirely depends on your requirements, if you don't need that stuff then maybe just vanilla KVM is fine. If you decide to do anything 'at scale' as it were, you may find openstack (or any other cloud orchestration) a better fit16:19
joeliothere can be quite a lot to take on board when first approaching openstack, I'd recommend looking at devstack first perhaps, get the feel for it (devstack is a cloud in a vagrant vm essentially).16:20
joelioif it's too much and time pressing, then you know early on at least, in terms of workload required to bootstrap it all16:20
sikunoh nice16:20
sikunyeah, I just have to somehow convince 4 people that Ubuntu/Debian is a very reliable production worth OS...16:22
sikunworthy**16:22
joelioWell, we run ubuntu here for pretty much everything (not that that counts for much) - this may count more - http://www.zdnet.com/article/ubuntu-linux-continues-to-dominate-openstack-and-other-clouds/16:24
sikunawesome, it's current too16:24
sikunI've ran Debian/Ubuntu for years, in production, dev, personal.16:25
sikunI'm now in a BSD environment16:25
sikunwhere it is either OpenBSD or FreeBSD, and never is the OS that was chosen actually the proper choice of OS for the situation.16:25
joelioHey, got nothing wrong with BSD.. just tooling different (although bhybe etc is pretty awesome!)16:26
joelio*bhyve16:26
stationdose nfs-kernel-server replace the kernel or is it a module?16:26
joeliosikun: VMM on OpenBSD looks promising too, just they don't support any other OS guests yet16:27
sikunI'd be more apt to use VMM on FreeBSD than OpenBSD16:27
sikunOBSD is just lacking too much in driver support in my opinion16:28
rbasakmysql-5.7 migrated \o/16:53
hallyncpaelzer: new qemu v2.7 hit debian :)18:06
jgrimmhallyn, cool18:11
zulcoreycb: vmware-nsx needs vmware-nsxlib now :(18:20
coreycbzul, yeah, saw that18:20
zulcoreycb: on it18:21
coreycbzul, thanks. good news is we don't need to get it into main.18:21
jgehey all, trying to install libcrypt-ssleay-perl on ubuntu 14.04 but it says is not available, bit reffered to by another package (this may mean that the package is missing, has been obsoleted, or..)19:42
sarnoldssleay was renamed to openssl in 199819:43
jgewoah19:43
jgeso why does it still show as ssleay here http://packages.ubuntu.com/trusty/libcrypt-ssleay-perl19:43
=== mburns_ is now known as mburns
sarnoldwow, it's still packaged? o_O crazy19:45
sarnoldjge: maybe you don't have the 'universe' pocket of the repository enabled?19:45
jgeyeah that could be it, let me check19:45
jgethat was it, thx sarnold rbasak19:47
jgeignore rbasak (keyboard lag) ;)19:47
kukuruzoHi friends. I'm new to linux servers and now choosing distribution for deployment. There is a choise between centos and ubuntu. I like ubuntu, centos seems to conservative for me. But lookin for documentation, i have a question - can you recomended some books or other literature about ubuntu server? Centos = RHEL, and red hat has a dozen manuals at docs.redhat.com. Oficial ubuntu server manual is very short, and don't answers20:33
nacckukuruzo: serverguide maybe?20:33
kukuruzois too easy and short20:34
Picikukuruzo: Whats missing?20:34
nacckukuruzo: are you sure you're not confusing the manual with serverguide? https://help.ubuntu.com/lts/serverguide/20:35
kukuruzoFor example it's don't answers question about apparmor in ubuntu. RH has a lot of docs about selinux. Seems ubuntu supports SElinux, but in server guide are few words about apparmor, and links to novell site.20:36
kukuruzonacc - yep i'm sure20:36
kukuruzofor example - about app armor said "This section is plagued by a bug ( LP #1304134 7 ) and instructions will not work as advertised."20:38
ubottuLaunchpad bug 1378095 in apparmor (Ubuntu) "duplicate for #1304134 aa-complain traceback when marking multiple profiles" [High,Fix released] https://launchpad.net/bugs/137809520:38
nacckukuruzo: and that bug is fixed20:39
kukuruzobut when i read this bugreport - it's from 2014 - is it fixed?20:39
nacckukuruzo: it says "fix released"...20:39
kukuruzoif yes - why there is annotation in manual to 16.04 server version from 2016?20:39
nacckukuruzo: also, if you follow the links from the serverguide, you eventually get to https://wiki.ubuntu.com/AppArmor20:39
nacckukuruzo: feel free to send a patch, if you test that it's fixed in 16.0420:40
sarnoldheh, an example profile from 9.04. Ouch.20:40
sarnoldso little time..20:40
nacckukuruzo: yeah, those sections probably need some love :)20:41
kukuruzonacc: yep - need some work =)20:42
kukuruzowhy ubuntu uses apparmor? seems a lot of people talking that selinux is more secure and more actual. apparmor is novell child, and suse linux is not in good shape now i think.20:43
nacckukuruzo: that's a fair amount of opinion20:44
kukuruzoanyway not too much information about using services in ubuntu server - very few words about apache, links to "necro" books from oreilly (http://shop.oreilly.com/product/9780596001919.do - i think this is not best book about todau apache), nothing about nginx, very strange20:50
kukuruzoit will be very good if ubuntu server sometime will get something like this - https://access.redhat.com/documentation/en/20:51
nacckukuruzo: it's open source, feel free to contribute...20:52
kukuruzobefore contribute i need to learn somewhere and something about using ubuntu-server20:53
kukuruzoi think official documentation is way to go20:53
kukuruzobut ubuntu docs are not complete and sometimes outdated20:54
kukuruzoloiking on amazin gives a lot of "begginers guide", but i'm not absolutely beginner, but need a good docs to start20:55
kukuruzolooking*20:55
kukuruzoo found a very good video lessons from Sander van Vugt - but his ubuntu manual is very outdated, all new lessons are about red hat20:56
kukuruzois there somesing like Sander van Vugt lessons but about ubuntu?20:57
nacckukuruzo: what more do you specifically need to see about apache than what is at: https://help.ubuntu.com/lts/serverguide/httpd.html20:57
SimonKLBhey, trying to run openstack on lxd using conjure-up but im getting: cannot start instance for machine "0": Missing parent 'conjureup0' for nic 'eth1'20:58
SimonKLBis conjureup supposed to setup a network dev or cant it be specified by the user or something?20:58
SimonKLBnvm, just had to run: systemctl start conjure-up21:00
metaf5_I'm using AWS EC2 and I'm trying to switch my base AMI from Ubuntu's official 14.04 to 16.04.  However, when I use my identical provisioning scripts the user-data script doesn't run in 16.04.  Does anyone have a suggestion for things to check?21:37
metaf5_I see the script in /var/lib/instance/cloud/user-data.txt, so it's definitely still getting onto the machine correctly.21:39
rharpermetaf5_: /var/log/cloud-init.log and /var/log/cloud-init-output.log should have some info;  ideally compare those from 14.04 to 16.0421:40
rharpermetaf5_: 16.04 uses systemd, so depending on what your script does, maybe it ran but didn't have the same effect w.r.t services and such;21:40
metaf5_rharper: I already looked at these, but I didn't see anything about "user data" in cloud-init-output.log (nor the output from my very simple script).21:47
metaf5_Interestingly though, in cloud-init.log I see it say something about looking at /var/lib/cloud/seed/nocloud/user-data, which doesn't exist.21:47
metaf5_Is there some bad configuration that has it looking there instead of /var/lib/cloud/instance ?21:48
metaf5_I also see "Failed to get raw userdata in module rightscale_userdata" at one point.21:48
rharpermetaf5_: -output captures stderr/stdout from things run via user-data hooks like run_cmd or bootcmd21:48
rharpernocloud is searched for seeds built into the image (there are no such dirs in the cloud image by default) so that's just noise21:49
rharperI suspect your provising script is included in your user-data as a runcmd or bootcmd?  if so, if it produces any stdout or stderr, that would be captured in the -output.log file21:49
rharpermetaf5_: are you using rightscale config module in your user-data ?21:50
metaf5_I don't know what that is, I was just dumbly looking for things that said "user" in them :)21:50
metaf5_My user data script is just a "#!/bin/bash ..." base64 encoded.21:50
metaf5_I can see from the user-data.txt file that it's decoded successfully.21:51
rharperyou can try to run that by hand21:51
rharperto debug21:51
rharperwhat config keys are in your user-data ? writefiles and runcmd ?21:51
metaf5_Works fine running user-data.txt manually.21:52
metaf5_And like I said, it's just a shebang'd bash script which the documentation claims should work.21:52
metaf5_And I can confirm that -output.log doesn't have output from my script.21:53
metaf5_Just in case I'm really stupid - is there an extra systemd unit I have to enable to get user-data scripts to run?21:53
rharperno21:53
rharpermetaf5_: like this? http://cloudinit.readthedocs.io/en/latest/topics/format.html#user-data-script21:55
metaf5_Precisely.  And to re-iterate, it worked just fine on 14.04 and it doesn't seem to be an issue with the script's contents.21:56
rharperk, testing here too21:56
rharperthat's worth fileing a bug; if you can easily, test with the example script in the docs21:56
rharperthat writes out to a file which should confirm that it's getting executed properly21:56
=== beisner- is now known as beisner
metaf5_So do you suspect that the "base64+shebang'd script" is the problem?21:58
rharperI dunno21:58
rharperthe plain-text script is working for me21:58
rharperin latest xenial image (openstack cloud not ec2, but I the cloud-init code is the same level)21:59
rharperI'll try base-64'ing it21:59
metaf5_I'll try plaintexting my same script via the EC2 console and see if that works...21:59
rharpermetaf5_: it appears that b64'ed script fails in 16.04; testing in trusty now22:02
rharperI just base64  < user-data-script > uds.b64 and passed that instead22:04
metaf5_Hrm.  The sample script from the doc also fails on AWS EC2 if I paste it into their user-data textbox.22:05
metaf5_But I am suspcious that their console's text-box is actually B64ing it22:05
metaf5_Because in the "review intance before launching" page it's displayed as b64....22:05
rharperit fails in trusty too, it needs to be a multi-part mime message with type x/shell-script22:06
rharpertrusty warns with: 2016-11-08 22:04:39,059 - __init__.py[WARNING]: Unhandled non-multipart (text/x-not-multipart) userdata: 'IyEvYmluL3NoCmVjaG8gIkhl...'22:06
rharperhrm22:06
rharperthere's a  raw version of the user-data22:07
rharperthat'd be useful to see what it came over as (confirm they're sending it as multipart mime and using Content-Type: text/x-shellscrip22:07
metaf5_I was doing everything the same way (b64+#!/bin/bash) in trusty and it was working fine for me.22:08
metaf5_Only stopped working when I tried using xenial22:08
rharper sudo cat user-data.txt.i22:08
rharpershould show it as a multi-part message22:08
metaf5_On the one where I pasted the example script into the console?22:08
metaf5_I'll check22:08
rharperyeah, and if we can see that the .i file is the same22:09
rharperthen we can blame cloud-init (I think)22:09
metaf5_That .i file begins "Content-Type:multipart/mixed;"22:10
rharperand what about the parts?22:10
rharperis one of them x-shellscript ?22:10
metaf5_http://pastebin.com/h5MrNsKk (tl;dr "yes")22:11
rharperand does that show up in scripts/  at all ?22:11
metaf5_Yep, part-001  But no /root/output.txt so I'm pretty sure it didn't run.22:12
rharperinteresting, and when we don;'t have it b64'ed, it runs22:13
rharperat least it has for me, not sure how to make it not be b64'ed in ec2 via the console tool22:13
metaf5_Oh is multipart/mixed what comes out out b64?22:14
rharpermetaf5_: do you have the /var/log/cloud-init.log for that example script run ?22:14
metaf5_http://pastebin.com/h1zwBQtj22:15
metaf5_I notice it mentions writing to user-data.txt{,.i} but doesn't seem to say anything about running it.22:16
rharpermetaf5_: so theres scripts/part-001 and it's executable?22:20
metaf5_It's 070022:21
metaf5_Do user data scripts run as root?22:21
rharperyes22:22
rharperexec'ed by cloud-init running as root22:22
rharperso my b64'ed script into the instance as user-data didn't translate, I suspect the console you have does it write if you have a file that 0700 and readable (and runnable)22:23
rharperI'd be super surprised if the file is written out and marked executable but not run22:23
=== Ormm2 is now known as Ormm
rharperbut the example test you did didn't write out /root/output.txt ? and cloud-init-output.log didn't have the "Hello World" line ?22:23
metaf5_What do you mean didn't translate?  Didn't translate from b64->"multipart/mixed", or didn't translate from "multipart/mixed -> executable script"?22:26
=== Amgine is now known as Amgine|voted_a_w
=== Amgine|voted_a_w is now known as Amgine
metaf5_And I can confirm that /var/lib/cloud/instances/scripts/part-001 is definitely 0700, contains the example script, and that there's no "Hello World" in -output.log, nor is there /root/output.txt22:26
rharpermetaf5_: ideally, the part-007 should look exactly like your input script22:26
metaf5_it does22:27
metaf5_Does it need a newline at the end?22:27
rharpershouldn't22:30
rharpermetaf5_: I've got to drop for a bit; it smells like a bug, but I'm not quite sure why it would get written out correctly but not called22:33
rharperso please do file a bug with your steps (against cloud-init) and we'll see if we can get it sorted out22:33
metaf5_rharper: Will do, thanks for the help.  I'd have just assumed I was an idiot and never filed otherwise, haha.22:40
metaf5_rharper: no rush to get back to me, but I believe we've jumped to false conclusions here.  I accidentally used *my* AMI (ubuntu with some provisioning already done).  When tested with stock (ami-40d28157) it seems to work from the AWS EC2 console.23:52
metaf5_I'm investigating further right now, and have marked my bug report incomplete in the meantime in case it's erroneous.23:52

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