/srv/irclogs.ubuntu.com/2016/06/16/#ubuntu-server.txt

=== pleia2_ is now known as pleia2
=== adam_g` is now known as adam_g
hallynrharper`: all tests pass with that qemu merge, so pushing.01:04
=== Bray90820_ is now known as bray90820
=== bigjools_ is now known as bigjools
=== jelly-home is now known as jelly
=== zopsi_ is now known as zopsi
=== rharper` is now known as rharper
=== sarnold_ is now known as sarnold
=== athairus is now known as afkthairus
=== remix_auei is now known as remix_tj
=== iberezovskiy|off is now known as iberezovskiy
Yuri4_What port should be opened to do sudo git clone?09:42
RoyK^Yuri4_: from the client?09:46
Yuri4_RoyK^, from terminal09:46
RoyK^and why sudo git? git works well as a normal user09:46
cpaelzerYuri4_: also depends on the url format you clone, could be http, https, ssh - all different ports09:46
Yuri4_sudo git clone git@github.com:TelescopeJS/Telescope.git09:46
Yuri4_Permission denied (publickey).09:46
RoyK^don't use sudo with that09:47
cpaelzerand it is not a port issue09:47
RoyK^and you probably need just the right key09:47
Yuri4_What key?09:47
RoyK^Yuri4_: is this your repo?09:47
Yuri4_RoyK^, no it is a public repo that guide says to copy09:48
RoyK^Yuri4_: git clone https://github.com/TelescopeJS/Telescope.git09:48
Yuri4_Like "step 2 Clone this repository locally:"09:48
Yuri4_RoyK^, thank you!09:48
Yuri4_You are supposed to add your nick at nick@github.com:blabla ?09:49
RoyK^you only need to login to git if you're member of the project and submitting code09:49
cpaelzerYuri4_: as RoyK^ said you don't need user for just clone and can use https, other wise if you need authentication e.g. to submit, this is about your issue https://help.github.com/articles/error-permission-denied-publickey/09:49
Yuri4_cpaelzer, RoyK^ thank you09:50
=== RoyK^ is now known as RoyK
=== _degorenko|afk is now known as degorenko
NorbinI edited crontab to run a python script every minute: "* * * * * python /home/shay/scripts/my_script.py"10:54
NorbinIf I run the very same command ("python ...") directly, it works. I can see under /var/log/syslog the CMD executed every minute,10:54
NorbinI even tried to output (>>) to a file, and the file gets created, and remains empty. Eventually the script doesn't get executed which is my problem. any idea what else I can check?10:54
Norbinvar sys log shows this every minute: Jun 16 13:21:01 elk CRON[2903]: (shay) CMD (python /home/shay/scripts/my_script.py)10:54
bekksYou are not using a full path to the python binary.10:55
Norbini tried that10:55
Norbini had /usr/bin/python10:55
Norbinsame problem10:55
bekksYou need that, in every case. Cron does not use the users environment.10:56
bekksAnd all paths inside your script need to be absolute as well.10:56
Norbinoh, so doing something like open('filehere.txt') is not good?10:57
Norbinbecause i do that often in my script10:57
RoyKNorbin: just chmod +x my_script.py and add #!/usr/bin/python in the first line of the script10:58
bekksNorbin: open('/full/path/to/file.txt')10:58
sarnoldNorbin: does your script ensure its current working directory is as expected before using relative paths?11:00
Norbinnope it does not, fixing that right now11:04
Norbinworks, did both the absolute path and the chmod11:07
Norbincheers11:07
tewardwith regards to dovecot I have one question.  If it's using mbox format, and the mbox doesn't exist yet in /var/mail/${USERNAME} but INBOX is configured to be in that directory, will Dovecot attempt to create the mailbox for INBOX before having mail delivered to it?12:17
RoyKteward: it will, and don't use mbox12:19
RoyKteward: use maildir - it scales12:20
RoyKmbox sucks12:20
tewardRoyK: yes it does.12:20
RoyKit's like 30 years old12:20
tewardRoyK: existing setup uses Postfix to receive and deliver mail to mailboxes, will that work with dovecot in maildir format?12:21
tewardRoyK: remember, I inherited this migration project from someone else :P12:22
tewardthe less I have to 'switch over' in the short term the better12:22
RoyKold distro too?12:24
tewardmhm12:26
tewardnew issue: can't get mail box data from old -> new without new locking when rsync maxes the CPUs12:26
tewards/locking/locking up/12:26
tewardso......12:26
tewardconfigs are already moved.12:27
RoyKlocking up?12:27
tewardRoyK: CPU softlock12:27
RoyKI/O wait?12:27
RoyKoh12:27
tewardCPUs peg at 100% on all 4, and seizes up12:27
RoyKbad kernel, perhaps12:27
tewardRoyK: well, i reapplied the latest kernel now12:27
tewardso we'll see this evening when I rsync data over12:27
RoyKdon't we all love that sort of jobs12:27
tewardbut if, with the mbox config, we can just "fire it up" with empty INBOXes that may solve things12:27
tewardit's for a home-grown listserv solution so it was never 'built' to scale it seems12:27
tewardand it involves Linux / MSSQL stuff12:28
tewardso... *shivers*12:28
tewardRoyK: but if mbox will recreate the INBOX if it doesn't exist, I can just say "SCREWIT!" and switch to the new server, keeping a backup of the old mbox files12:28
teward:P12:28
RoyKteward: if the customer/boss/something allows for that, fine12:29
tewardthere's a meeting today :P12:29
tewardbut yes.12:29
tewardshort of a drive-to-drive sync via disk IO instead of network/rsync/scp i have no other options12:29
tewardwith USB passthrough'd drives and what not *shivers*12:29
teward(VMware house, otherwise we'd be using qemu or something)12:31
=== lamont` is now known as lamont
adacI have some ssl keys I need for an app. is there a special place where they are usually saved?12:56
sarnoldweb servers often store theirs in /etc/ssl/private -- I don't know if that overlap would be beneficial or harmful for your application, but it's a starting point12:57
adacsarnold, kk thanks!13:00
=== dannf` is now known as dannf
fernando_Hey guys, I would like to lear how you create Ubuntu 16.04 AMI at cannonical, since is not possible to the import-image api call. The latest supported version is 15.1013:51
fernando_thanks13:51
sarnoldfernando_: have you found this yet? https://cloud-images.ubuntu.com/locator/13:54
fernando_Yes sarnold, thanks btw. But I want to have custom partitions with LVM13:55
fernando_So I'd like to know how cannonical guys build their own AMIs for Ubuntu 1613:56
rbasakOdd_Bloke: ^13:56
rbasakOdd_Bloke: worth an FAQ entry somewhere?13:56
tewardRoyK: barring the evil method of indexing that we have which requires reaching into one of the inboxes temporarily, is there a way to completely trim old messages from mbox-format storage?  Assuming a conversion to maildir is in "phase two" of the migration.13:58
tewardRoyK: (the evil indexing requires us to keep the messages around, so 'clean' mboxes for all the accounts is a no-go but we need to have only one of the inboxes remain intact)14:00
Odd_Blokefernando_: The way we build images is, unfortunately, pretty obscure (and depends on some services that aren't publicly available); I can point you at the scripts, but you may be better served by another way of producing an image.14:02
Odd_Blokefernando_: (We do things the way we do because we want to produce a very generic image that makes few assumptions about what users will do with it; you are probably not constrained in the same way)14:02
Odd_Blokefernando_: Why is the import-image API call unusable?14:02
fernando_Odd_Bloke: import-image is the API call14:05
fernando_AWS documentation says Ubuntu 16 is still unsupported14:05
coreycbbeisner, qemu 1:2.2+dfsg-5expubuntu9.7~cloud5 is ready to promote to kilo-updates when you get a chance14:05
Odd_Blokefernando_: Oh?  Can you give me a link to that?14:05
fernando_What I'm thinking is to mounting ebs volume, use qemu-nbd to mount vhd and then dd to the clear EBS14:06
fernando_does that make sense?14:06
fernando_http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/VMImportPrerequisites.html#vmimport-operating-systems14:07
Odd_Blokefernando_: A VHD which you've created locally with your LVM configuration?14:07
fernando_yes14:07
fernando_with VirtualBox14:07
RoyKteward: just convert it to maildir14:07
coreycbbeisner, also everything in mitaka-staging is ready to promote to mitaka-proposed14:08
Odd_Blokefernando_: I expect that is just out-of-date documentation; for example, Ubuntu 15.04 is out of its support lifetime.14:08
Odd_Blokefernando_: (As are 12.10, 13.04, and 13.10, by several years)14:08
sarnoldhah, out of that list only two are still supported14:08
fernando_ups sorry guys14:09
fernando_bad link14:09
fernando_let me update it14:09
fernando_http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/VMImportPrerequisites.html14:10
fernando_and in fact14:10
fernando_the api call returns14:10
Odd_Blokefernando_: That's the same link. :)14:10
fernando_"Unsupported kernel 4.4"14:10
Odd_BlokeAhh, interesting.14:10
Odd_Blokefernando_: What type of image are you trying to import it as?14:11
Odd_Blokefernando_: (I've never used this command, apologies if my questions don't make sense :)14:11
fernando_Is the right link, isn't it? "Ubuntu 12.04, 12.10, 13.04, 13.10, 14.04, 14.10, 15.04"14:11
sarnoldof that list only 12.04 and 14.04 are still supported14:12
fernando_I converted vmdk to ova and then did the call14:13
Odd_Blokefernando_: Would you be able to pastebin the command that you ran?14:13
guampaesta bueno14:15
guampaoops sry14:15
fernando_Odd_Bloke14:15
fernando_yes sure14:15
fernando_Odd_Bloke: http://pastebin.com/RdjfkjM214:20
sarnoldno error?14:21
tewardRoyK: okay... how do I do that when I cant get it to the new system14:21
tewardagain, stuck with the E:NoRSYNC issue14:22
teward(CPU softlockup)14:22
sarnoldcall vmware and ask em why it falls over?14:22
RoyKteward: just google it14:24
RoyKteward: that sucks - something wrong with the hardware?14:24
tewardi'm assuming kernel, I was able to replicate the issue on a Wily box on completely different hardware14:25
RoyKteward: pull out the disk and put it into something else (like a shredder)14:25
* teward shrugs14:25
sarnoldheh14:25
tewardI'll fix it heh14:25
tewardjust gotta salvage that one mailbox :P14:25
RoyKteward: got a backup of the data?14:25
RoyKteward: last time I moved a mail server I just backed it up and restored from backup (using bareos, a bacula fork)14:26
tewardRoyK: if we do it's inside the copy of the VM14:26
tewardand not 'standalone backup'14:26
tewardi didn't set up the environment heh14:26
RoyKwell, it's a VM, setup a new one and attach the disk to that and rsync it14:27
Odd_Blokefernando_: Thanks, and what error do you see?14:29
tewardRoyK: again, not my call.  If i had eternal god power here, I'd create a separate VMdisk, format it the filesystem I need, put the data there, detach it, put it on the new VM that already exists, copy data that way14:30
RoyKthen tell the gods to do that14:30
RoyKit's not like it takes a lot of time14:31
tewardyep14:31
tewardprobably a Monday task14:31
teward:P14:32
* teward has a long weekend coming up, if he can push that to Monday he will :P14:32
maddawg2you taking tomorrow off14:32
RoyKteward: it'd take me about five minutes :P14:33
fernando_Odd_Bloke: Unsupported kernel version 4.4...14:36
fernando_which does not happen with trusty14:36
tewardRoyK: yes.  It would.  :P14:36
tewardif I had that power :)14:36
tewardoops i need to update these VMs... eheheheheheh14:36
RoyKteward: heh - I work with vmware - it's not hard ;)14:37
tewardRoyK: so do I - my two hypervisors at my apartment (HAIL GODMODE!) are VMware14:37
tewardit's a VMware house here14:37
tewardbut i don't have the VMware access14:37
tewardthe one who does?14:37
tewardout until tomorrow14:37
tewardand I'm not here tomorrow :)14:37
Odd_Blokefernando_: If you could paste the entire command and output together, it would make it much easier to point our EC2 contact at the issue. :)14:37
teward(here at work, not necessarily 'not here on the internet')14:37
RoyKteward: you could ask the admin to give you access to your vm, though14:38
fernando_Ok, I will run it again :)14:38
Odd_Blokefernando_: Thanks. :)14:38
RoyKteward: if things are setup with SSO correctly, it *really* shouldn't be a problem14:38
tewardRoyK: we can discuss system setup another dat14:38
tewardday*14:38
tewardoutside my purview to comment on how things're set up :p14:38
tewardthat said... I love my own to Vmware hypervisors :)14:38
RoyKwe have 15ish nodes in our clusters14:40
RoyKworks rather well14:40
RoyKeven when one guy (that was me, btw) managed to pull out the wrong blade once (just started working there) - the VMs just popped up on other nodes in the cluster14:41
sarnoldwow, nice14:43
fernando_Odd_Bloke, takes some time, hang on a second. Thanks, btw :)14:43
Odd_Blokefernando_: Sure, no rush. :)14:44
* RoyK was sweating a bit right then - wanted to hard reboot a blade that was troublesome and just yanked it and had a ping running at it which just continued and found that - oops - wrong blade centre - called my boss .... that was just two months after I started working there14:45
beisnercoreycb, qemu pushed to uca kilo-updates re: bug 158703914:45
ubottubug 1587039 in Ubuntu Cloud Archive kilo "aio: strengthen memory barriers for bottom half scheduling" [Undecided,Fix released] https://launchpad.net/bugs/158703914:45
fernando_Odd_Bloke: http://pastebin.com/mTFpeXw114:51
Odd_Blokefernando_: Brilliant, thanks!14:54
fernando_thanks to you :)14:54
coreycbbeisner, thanks and I see the packages moving to mitaka-proposed \o/15:03
beisnercoreycb, * @ mitaka-staging (http://pastebin.ubuntu.com/17397848/) pushed to mitaka-proposed in uca15:06
coreycbbeisner, awesome15:07
EmilienMjamespage: I think I already reported this issue but in case I missed it, when running tempest/master and your newton repo: http://logs.openstack.org/88/330188/3/check/gate-puppet-openstack-integration-3-scenario002-tempest-ubuntu-xenial/d5cefca/console.html#_2016-06-16_13_33_34_85615:27
ApocopeI'm trying to get either icinga or icinga2-classicui working in Xenial. Under both, the menu on the left displays for a moment and then slides up and is invisible. Anyone seen this?15:28
RoyKApocope: no - perhaps try #icinga - haven't used it much for years... moving to zabbix now15:31
=== pitastrudl_ is now known as pitastrudl
ApocopeRoyK: Yeah, maybe. I'm suspicious that it's something to do with the packaging, it's not really anything to do with the functioning itself. I have it running fine on 12.04.15:35
RoyKreally, no iea15:36
RoyKidea15:36
naccApocope: i can try and help you out, otp right now15:36
naccApocope: i don't know much about either, but i am probably responsible (php7 migration) for any breakage :)15:36
RoyKoh - php changes15:37
RoyKthose usually break things15:37
naccRoyK: :)15:44
Apocopenacc: Ok, I'll poke around a bit..15:45
naccApocope: spinning up a container16:06
Apocopenacc: Ok, in icinga, it's the menu.html that's displaying the unwanted behaviour. I copied the menu from the 12.04 install, it does the same thing. In fact, it's exactally the same between the distributions.16:07
naccApocope: right, it's probably some underlying thing -- what's the URL normally?  I know nothing about icinga :)16:07
Apocopenacc: It's $SERVER/icinga/menu.html16:08
naccApocope: thanks16:09
naccApocope: give me about 5 minutes to get setup16:09
naccApocope: if i can reproduce it, i'll probably ask you to file a bug :)16:09
naccApocope: what's the admin username?16:15
naccApocope: ah, icingaadmin, of course :-P16:15
naccApocope: reproduced16:16
nacc(with icinga)16:16
Apocopenacc: Glad it's not just me.16:16
naccApocope: can you file a bug please?16:16
naccApocope: i'll try and figure out how to debug :)16:16
Apocopenacc: Ok.16:17
naccApocope: feel free to subscribe me, as well (same lp username as my nick)16:17
naccApocope: have you tried 14.04, btw?16:17
Apocopenacc: Yes. I believe it works properly there. Let me verify.16:18
naccApocope: ack, i'm checkign too16:18
naccApocope: also, thanks for bringing this to our (my) attention ...16:19
cdustonHey all, I'm looking for some help with a new Landscape (on premises) install16:19
cduston(also new to IRC, so sorry in advance for anything annoying I do!)16:20
cdustonSo, Landscape appears to be working fine, (for example I can update packages), but when I click on one of the alerts, I get a System Error, an apology, and very long OOPS ID. Any thoughts?16:23
Apocopenacc: I've filed a bug and subscribed you. Thanks.16:33
naccApocope: thanks, trusty does seem to be fine16:34
naccApocope: hrm, the contents of icinga-cgi are quite different16:47
nacci wonder if it's a js issue16:47
Apocopenacc: I wouldn't be suprized.16:47
naccApocope: digging into it, like i said; probably not my highest priority, but will do my best16:48
naccApocope: unfortunately nothing is throwing any errors, so it's tricky to debug :)16:48
Apocopenacc: I understand exactally how it goes.16:48
naccApocope: in chrome, the developer console indicates the size of the menu is 1073 x 0 :)16:49
ApocopeThat doesn't seem right.16:50
naccnope, and it's a computed value, i think ... i wonder how that's happening16:50
=== iberezovskiy is now known as iberezovskiy|off
=== sivir_ is now known as sesevi
=== afkthairus is now known as athairus
EmilienMcoreycb: good afternoon!19:16
=== iberezovskiy|off is now known as iberezovskiy
EmilienMcoreycb: we're facing issues with OpenStack packages that try to start services when running apt-get. It's a problem if you deploy your API in WSGI with Apache for example (Nova, Ironic, etc).19:17
EmilienMyou need to stop nova-api service before starting apache otherwise you have binding issues19:17
EmilienMof course we can do that with automation tools but I thought this feedback would help you to understand why it's not helping to start services automatically19:18
coreycbEmilienM, didn't this discussion already occur?19:41
EmilienMcoreycb: indeed19:41
TodPunkI have a Dell Poweredge 850 (kinda old, 4 years-ish I think) that I ran the 16.04 installer on, and after the reboot it goes past POST and then to  a solid black screen (At 1280x1024) and does some hard drive access but never goes anywhere else.19:47
TodPunkI'm trying to figure out what is happening to it, but it doesn't do any network traffic, let alone start SSH, and I get not keyboard response19:48
TodPunkI have also tried to login without a monitor to confirm I'm doing it right, and just reboot.  This doesn't seem to do anything either19:48
TodPunkNo errors from the grub install, and it is going to the right hard drive when it does so19:49
TodPunkAny ideas to point me at?19:49
=== iberezovskiy is now known as iberezovskiy|off
naccit seems like LP: #1544296 is marked as affecting the wrong package20:19
ubottuLaunchpad bug 1544296 in symfony (Ubuntu) "IPv6 autoconfiguration adds default route to Neutron tenant networks on qbr- interfaces" [Undecided,Confirmed] https://launchpad.net/bugs/154429620:19
bekks!nomodeset | TodPunk20:34
ubottuTodPunk: A common kernel (boot)parameter is nomodeset, which is needed for some graphic cards that otherwise boot into a black screen or show corrupted splash screen. See http://ubuntuforums.org/showthread.php?t=1613132 on how to use this parameter20:34
TodPunkI shall try that.  I saw that before and it seemed unrelated, but I presume we'll find out20:36
=== tinoco is now known as tinocoff
=== spammy is now known as Guest95181
=== Guest95181 is now known as spammy
=== esde_ is now known as esde

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