Monday, 2018-03-19

*** caowei has joined #openstack-sahara00:44
*** shuyingya has joined #openstack-sahara01:32
*** shuyingy_ has joined #openstack-sahara02:51
*** shuyingya has quit IRC02:54
*** rcernin_ has joined #openstack-sahara03:23
*** rcernin has quit IRC03:25
*** rcernin_ has quit IRC03:29
*** rcernin has joined #openstack-sahara03:29
*** rcernin has quit IRC03:33
*** rcernin has joined #openstack-sahara03:49
*** shuyingya has joined #openstack-sahara05:06
*** shuyingya has quit IRC05:09
*** shuying__ has joined #openstack-sahara05:09
*** shuyingy_ has quit IRC05:10
*** pgadiya has joined #openstack-sahara05:14
*** shuyingya has joined #openstack-sahara05:14
*** shuying__ has quit IRC05:18
*** shuyingy_ has joined #openstack-sahara05:21
*** shuyingya has quit IRC05:24
*** openstackgerrit has quit IRC05:49
*** openstackgerrit has joined #openstack-sahara06:32
openstackgerritwangqi proposed openstack/sahara-specs master: update links in readme  https://review.openstack.org/55413506:32
openstackgerritwangqi proposed openstack/sahara-tests master: update links in readme  https://review.openstack.org/55413806:34
openstackgerritShangXiao proposed openstack/sahara-tests master: Update old links in CONTRIBUTING.rst and README.rst  https://review.openstack.org/55414006:49
*** shuyingya has joined #openstack-sahara06:52
*** shuyingy_ has quit IRC06:56
openstackgerritShangXiao proposed openstack/sahara-specs master: Fix the old or invalid links in docs  https://review.openstack.org/55414107:01
openstackgerritShangXiao proposed openstack/sahara-specs master: Fix the old or invalid links in CONTRIBUTING.rst  https://review.openstack.org/55414107:04
*** rcernin has quit IRC07:07
openstackgerritShangXiao proposed openstack/sahara-tests master: Fix the old or invalid links in CONTRIBUTING.rst  https://review.openstack.org/55414307:17
*** pcaruana has joined #openstack-sahara07:39
*** tesseract has joined #openstack-sahara08:17
openstackgerritNguyen Hai proposed openstack/python-saharaclient master: Remove pypy from envlist in tox.ini  https://review.openstack.org/55341908:26
*** caowei has quit IRC08:46
*** caowei has joined #openstack-sahara09:01
*** hoonetorg has quit IRC09:19
*** hoonetorg has joined #openstack-sahara09:32
*** pgadiya has quit IRC10:14
*** tosky has joined #openstack-sahara10:15
*** pgadiya has joined #openstack-sahara10:22
openstackgerritwangqi proposed openstack/sahara-tests master: update links in readme  https://review.openstack.org/55413810:50
*** chason has quit IRC10:57
*** chason has joined #openstack-sahara10:58
*** chason has quit IRC11:35
*** chason has joined #openstack-sahara11:35
*** pgadiya has quit IRC11:35
*** pgadiya has joined #openstack-sahara11:36
openstackgerritNguyen Hai proposed openstack/python-saharaclient master: Follow the new PTI for document build  https://review.openstack.org/55420111:36
openstackgerritNguyen Hai proposed openstack/python-saharaclient master: Follow the new PTI for document build  https://review.openstack.org/55420111:37
openstackgerritLuigi Toscano proposed openstack/sahara-tests master: WIP Fix the multinode scenario job (spark)  https://review.openstack.org/54766911:47
*** caowei_ has joined #openstack-sahara11:52
*** caowei has quit IRC11:53
*** caowei_ is now known as caowei11:53
*** pgadiya has quit IRC12:05
*** chason has quit IRC12:19
*** chason has joined #openstack-sahara12:19
openstackgerritLuigi Toscano proposed openstack/sahara-tests master: WIP Fix the multinode scenario job (spark)  https://review.openstack.org/54766912:20
*** tosky has quit IRC12:24
*** chason has quit IRC12:25
*** chason has joined #openstack-sahara12:25
*** tosky has joined #openstack-sahara13:02
*** knylander has quit IRC13:05
openstackgerritLuigi Toscano proposed openstack/sahara-tests master: WIP Fix the multinode scenario job (spark)  https://review.openstack.org/54766913:09
*** shuyingya has quit IRC13:18
openstackgerritMerged openstack/sahara-specs master: update links in readme  https://review.openstack.org/55413514:05
openstackgerritMerged openstack/sahara-tests master: update links in readme  https://review.openstack.org/55413814:10
*** efuzss has joined #openstack-sahara14:21
*** tellesnobrega has quit IRC14:22
*** shuyingya has joined #openstack-sahara14:35
*** tellesnobrega has joined #openstack-sahara14:40
*** caowei has quit IRC15:07
*** abalutoiu has joined #openstack-sahara15:12
*** knylander has joined #openstack-sahara15:17
*** shuyingya has quit IRC15:51
*** shuyingya has joined #openstack-sahara15:51
*** shuyingya has quit IRC15:56
*** pcaruana has quit IRC16:07
*** tesseract has quit IRC18:07
*** dave-mccowan has joined #openstack-sahara18:28
*** openstackgerrit has quit IRC18:48
*** openstackgerrit has joined #openstack-sahara19:43
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara master: Preload soci-mysql and soci on RHEL7 images  https://review.openstack.org/55433419:43
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara master: Preload soci-mysql and soci on RHEL7 images  https://review.openstack.org/55433419:46
*** openstackgerrit has quit IRC19:48
tellesnobregaltosky[m], are you around?20:10
toskytellesnobrega: yep20:23
tellesnobregaI have python2 vs pyhton3 issue20:23
tellesnobregait probably solved now20:23
tellesnobregabut wanted to run by you20:24
tellesnobregapython io.StringIO on python2 expects a unicode or none and python3 expects str20:24
tellesnobregathere is no unicode in python3 as you probably know20:24
tellesnobregaI didn't find a way to use stringIO with both python versions, because there was no way to manipulate the data to fit what the expect20:25
tellesnobregaI'm just testing now using io.BytesIO20:25
tellesnobregabecause it expects str on python2 and bytes on python3 and that can be achieved by doing data.encode()20:25
tellesnobregadoes that make sense to you?20:25
tellesnobregatosky, nevermind, encode failed20:31
tellesnobregaUnicodeDecodeError: 'ascii' codec can't decode byte 0xa5 in position 10: ordinal not in range(128)20:31
tellesnobreganot sure how to proceed with this, should I get python2 or python3 code on?20:31
tellesnobregait will fail if running a different python version20:32
tellesnobregawe need to find a way that is compatible with both python versions or make a way to test python version20:33
toskyuhm, I'm not too expert in that20:41
tellesnobregado you know someone I can bounce ideas of on that?20:42
tellesnobregabaseline is I don't want to do something that tests which version of python is running20:42
tellesnobregathat won't look too good20:42
toskyno, but I would surprised if the six documentation does not say anything about that20:45
toskyso is the issue coming from the fact that the image used on the gates has python3 by default?20:45
toskythat would explain why you didn't it - I guess you executed it on devstack/centos7?20:45
tellesnobregano, the issue is that the gate is python220:50
tellesnobregaI think I found a solution20:51
tellesnobregaparamiko.py3compat.StringIO20:51
tellesnobregaI'm not sure why it doesn't show here20:52
tellesnobregaI'm running sahara on python2.720:52
toskytellesnobrega: but isn't that code executed on the remote node? Doesn't xenial only provide python3 by default?21:03
tellesnobregaI don't think this code is executed remotely, read from swift write on remote21:04
toskyuhm, the error is in ssh_remote.py21:05
tellesnobregayes, but this file runs locally, parts of it ssh into the client to execute21:06
tellesnobregafor example the write I'm doing, it ssh'd to remote and write the file21:06
tellesnobregabut the read part is locally21:06
toskytellesnobrega: did you see this? https://stackoverflow.com/questions/6479100/python-stringio-replacement-that-works-with-bytes-instead-of-strings21:07
tellesnobregayes, tried with it21:07
tellesnobregafor that to work properly, I need to encode the data on python321:07
tellesnobregabecause otherwise it will get str and not bytes21:07
tellesnobregaon python2 it works21:08
tellesnobregaand if I encode on python2 it still is a str which works21:08
tellesnobregabut it failed when decoding21:08
tellesnobrega"UnicodeDecodeError: 'ascii' codec can't decode byte 0xa5 in position"21:08
toskyargh21:12
toskythe python3-porting-hero is vstinner, if he still around21:12
tellesnobregaI will try the paramiko one see if works, if not I will ping him21:13
toskybut not in this timezone; he is Europe21:13
tellesnobreganot today21:15
tellesnobregayou should get out as well21:15
tellesnobregalol21:15
toskyI'm doing other stuff :)21:15
tellesnobregaoh21:15
tellesnobregaok, enjoy, I won't be bothering you today anymore21:16
*** knylander has quit IRC21:31
*** openstackgerrit has joined #openstack-sahara21:36
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara master: File copy timesout when file is too big  https://review.openstack.org/55225621:36
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara master: Preload soci-mysql and soci on RHEL7 images  https://review.openstack.org/55433421:37
*** rcernin has joined #openstack-sahara22:34
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara master: File copy timesout when file is too big  https://review.openstack.org/55225622:44
*** masber has joined #openstack-sahara23:27

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