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