[07:21] morning all [08:09] Kilos: you need more permissions for what? [08:09] oh and good mornings to all and sundry [08:27] um [08:27] oh [08:27] to be able to say wb to anyone anytime [08:45] * inetpro lost him [08:45] Kilos: please explain [08:50] oh [08:50] lol [08:50] just playing man [08:50] i did wb to fly and he asked was he even away [08:51] instead of ty [08:52] hmm, ok [08:53] * inetpro clearly failed to make the connection there [08:54] old age catches all of us sooner or later [08:54] nothing serious, was just packet losses [08:57] i have many of them so dont worry about your few losses [08:58] use wget -c to fill up gaps [09:05] wbb [10:38] Maaz coffee on [10:38] * Maaz puts the kettle on [10:42] Coffee's ready for Kilos! [10:42] Maaz ty [10:42] You are welcome Kilos [10:49] Maaz: dankie [10:49] Groot plesier inetpro my vriend [10:50] at least one persona always there to keep Kilos happy [10:51] yeah [10:51] and before too long well have new ibids [10:51] haha, says who? [10:52] just this debconf holding things up [10:52] already we have an ibid that uses ddg [10:52] says me [10:53] i have friends in high places you know [10:54] google is still your friend as well [10:55] nono your friend [10:55] google drives me crazy [10:55] ask him anything, he'll have an answer for you [10:55] yes it is a good search engine [10:56] but too tied in to everything [10:59] Google’s mission is to organize the world’s information and make it universally accessible and useful [11:01] it's biggest search competitor is actually Amazon [11:05] I just wish people would stop to flock to Facebook for everything [11:06] it's such a bad platform for information, makes me want to run away [11:09] interestingly the most severe forms of competition for Google is people simply asking their friends [11:31] lol [11:32] facebook and youtube [11:32] peeps put everything on youtube as well [11:32] hi gremble [11:33] ok ty and you [12:00] Hey Kilos [12:00] I am well thank you [13:26] hmm... [13:43] Kilos: what's wrong? [13:54] missed rwbx [14:05] you know him? [14:08] Greeting from #ubuntu-bd :) [14:14] hi ashabadi_ [14:14] nope inetpro but i dont like missing new guys [14:15] Kilos: I'm sure I've seen him before [14:15] oh [14:15] i dont remember [14:16] whom? [14:16] rwbx === ashabadi_ is now known as ashabadi [15:44] theblazehen: I found some nice reading re Linux VM Performance Tuning [15:44] see: https://lonesysadmin.net/tag/linux-vm-performance-tuning/ [15:50] Ah, ty inetpro [15:50] RE the RAM disk, using bcache with ssd there, using paravirtualized devices, don't have a swap file, and using relatime [15:51] what hypervisor are you using? [15:51] kvm [15:51] And lxd for containers [15:51] lxd inside a vm? [15:53] Nah, on the host directly [15:53] Gonna use docker inside a vm though [15:53] That's not touching my main host [15:55] so when you say bcache, is that like a RAM disk? [15:56] and I guess you set vm.swappiness to zero? [15:57] bcache is a disk cache on ssd [15:57] And it won't swap without a swap file :) [15:58] ah cool... so no need to set swappiness then? [15:58] * inetpro likes the idea [15:59] Yup. Although swap on ssd isn't bad [16:00] am still a newb when it comes to running stuff on VM infrastructure but am catching up [16:00] Cool [16:00] inetpro: Dunno if you can help me [16:00] So I have a script that sources a virtualenv, then does a pip instal -r requirements.txt [16:01] It works from a normal terminal [16:01] Yet it doesn't work from a saltstack cmd.run [16:01] I've even done script /dev/null -c "sudo -i -u theblazehen bash -c 'env; cd /srv/www/dev/theblazehen/saleor/; . ./bin/activate; pip install -r requirements.txt'" [16:01] To make sure that it's not a weird tty issue [16:02] still works from actual term [16:02] but not saltstack [16:02] the salt $TERM is shown as dumb, and even if I set local term to that then it still works [16:02] hmm... [16:02] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 2470: ordinal not in range(128) [16:02] from google-i18n-address==1.0.7 [16:03] I checked, it is using correct python version [16:03] is it not a LOCALE issue? [16:03] I've compared output ov `env` [16:03] not a locale issue [16:03] s/ov/of [16:03] If I remove that module from requirements.txt it works. hmm [16:05] have never used saltstack [16:05] Was thinking maybe a weird tty issue [16:05] It also runs as the corrcet user [16:07] theblazehen: http://stackoverflow.com/questions/18649512/unicodedecodeerror-ascii-codec-cant-decode-byte-0xe2-in-position-13-ordinal [16:08] inetpro: I saw that [16:08] thing is, not my module [16:08] And why does it work from an actual shell? [16:09] and the script + sudo should result in identical terminals etc [16:09] maybe any path issues? [16:09] nope [16:10] Because of the sudo -i it has the same startup environment [16:10] and all other modules get installed [16:16] theblazehen: which version of python? [16:16] inetpro: 3.5 [16:16] hmm... [16:16] * theblazehen is trying to start an xterm over ssh forwarding.. [16:16] see if it works [16:17] yay. finally loaded [16:18] have you checked LC_ALL? [16:19] theblazehen: is that line the first one in your requires.txt? [16:19] superfly: Nah, near the middle [16:19] K. Looks kinda like a BOM [16:19] output of `env` https://bin.snyman.info/mmmnqzmy [16:22] https://github.com/saltstack/salt/issues/16139#issuecomment-97554285 [16:22] Salt sets the locale to LC_ALL=C but running on the minion directly had LC_ALL="en_US.UTF-8"... [16:23] theblazehen: did you check requirements.txt in an editor that shows you "hidden" characters? [16:24] good point... do 'cat -ev requirements.txt' [16:24] > sudo salt svn cmd.run "bash -c 'echo $LC_ALL'" /srv/www/dev/theblazehen/saleor/ runas=theblazehen [16:24] svn: [16:24] No output [16:24] vim shows hidden chars right? [16:25] cat -ev requirements.txt | less [16:25] Also, was generated with pip-compile which should error out before? [16:25] Nothing fishy there [16:26] https://bin.snyman.info/mmmmgvdu [16:26] And I've tried deleting venv etc of course [16:26] Nothing [16:27] BTW theblazehen I was looking at asciinema the other day, what an awesome piece of software [16:28] superfly: Yeah, I love it. Perfectly complements our step by step instructions [16:28] I need to use it to do some tutorials on using mock [16:28] Easy to self host too [16:29] Hrm, I was wondering about that [16:29] looks interesting [16:30] X forwarding over ssh with 120 ms latency :( [16:30] ah theres an xterm [16:32] ffs. Works in an xterm [16:32] I've installed Windows software on my headless Linux VPS like that [16:32] I am NOT gonna run Xvfb and start an xterm for this [16:34] good evening [16:34] hi Maaz [16:34] magespawn: [16:34] theblazehen: have you tried setting LC_ALL explicitly to something like en_US.UTF-8? [16:34] watching the slow output from an xterm over ssh forwarding.. [16:35] inetpro: Let me give it a go [16:35] it worked via an xterm [16:35] dinnertime for me... [16:35] * inetpro wbbl [16:35] alright, ty for the help inetpro [16:38] what are you trying to do, theblazehen ? [16:42] magespawn: Installing pip packages via saltstack [16:42] magespawn: https://bin.snyman.info/mmmmgvdu [16:43] Works via ssh [16:43] And xterm launched via ssh.. Which inherits environment.. [16:43] i might not understand all of that [16:44] give me something to go and read though [16:45] s/give/gives [16:45] magespawn: https://bin.snyman.info/mmmvwhvk [16:45] above irc chat [16:46] thanks [17:02] Okay. Using an xterm launched via saltstack also gives the error [17:07] Getting somewhere. env -i ./dopip.sh fails [17:09] Seriously?! ex clears the display.. Back to ed then [17:19] * theblazehen has 86 browser tabs open.. [17:19] night all. sleep tight [17:19] night Kilos [17:37] theblazehen: close them all and start again [17:37] you'll never read them all anyway [17:38] inetpro: Got up to 92. did just that [17:38] so satisfying watching them all close [17:42] hi all [17:42] hey captineza [17:46] hey theblazehen . need to figure out what machine i am connected to IRC on as captine... annoys me using a second nick. lol [17:49] captineza: Can't you GHOST it with nickserv? [17:52] no idea about that stuff. dont know all the IRC things [17:52] wb captineza [18:01] inetpro: I finally got it [18:02] in saltstack $LC_CTYPE=C [18:02] whereas in normal term it's unset [18:02] magespawn: ^ [18:02] hey paddatrapper [18:02] pavlushka: [18:02] Every time.. [18:05] lol [18:05] whassup theblazehen ! [18:05] Hello magespawn ! [18:05] And Hi everyone! [18:06] aha [18:06] Hello inetpro ! [18:08] * pavlushka thanking theblazehen for making me laugh [18:08] you see theblazehen, it's a locale issue [18:08] inetpro: Yeah.. [18:09] so setting LC_ALL did not help? [18:10] Well, what I did was take output of `env` from salt stae [18:10] then add it to my ./dopip.sh, and tried running it from my shell [18:10] And it feiled [18:10] So I then removed them as needed [18:12] ok [18:13] setting LC_ALL overwrites all selections by the other LC_* variables or LANG [18:13] ty [18:16] Locales and Internationalization https://www.gnu.org/savannah-checkouts/gnu/libc/manual/html_node/Locales.html#Locales [18:21] Cool. Only took me like 4-5 hours.. [18:42] theblazehen: I think it was many years ago on Solaris when it was still the norm to compile everything from source where I remember spending hours and hours troubleshooting simple locale issues [18:43] inetpro: Ouch :( [18:43] * theblazehen no longer wants to try Gentoo or LFS [18:45] it's only when you find the real solution in the end that you can kick yourself for wasting all the time [18:46] inetpro: Too ture.. Too true [18:50] back then, setting your enviornment to en_ZA was like looking for trouble [18:51] I still set it to en_US.UTF-8 [18:58] what do you guys say about this? Do Not Collect System Performance Data From Guest OSes https://lonesysadmin.net/2013/12/12/collect-system-performance-data-guest-oses/ [19:00] like one guy says, "just looking at the hypervisor, you will miss a ton of detail" [19:27] inetpro: Well, I think even if data is skewed it's better than no data [19:28] that's what I was thinking, because it's about seeing the trends [19:38] anyway, tomorrow is another day, time to go recharge the batteries [19:38] good night [19:38] cheers inetpro [20:06] good night inetpro ! [20:07] and cheers, :) [20:14] Maaz: seen Kilos ? [20:14] pavlushka: Kilos was last seen 2 hours, 55 minutes and 11 seconds ago in #ubuntu-za on freenode [2016-06-11 10:19:24 PDT], and has been offline on freenode since 2016-06-11 10:19:38 PDT [20:15] theblazehen: Good night then, and everyone! [20:16] night pavlushka [22:54] good night all