Wednesday, 2017-06-14

*** lucasxu has joined #openstack-sahara01:00
*** lucasxu has quit IRC01:01
openstackgerritrocky proposed openstack/sahara master: Add test to 2 edp_engine.py  https://review.openstack.org/47378101:36
*** tuanluong has joined #openstack-sahara02:56
*** links has joined #openstack-sahara03:14
*** dave-mccowan has quit IRC03:31
*** hoonetorg has quit IRC04:11
*** hoonetorg has joined #openstack-sahara04:21
*** EmilienM has quit IRC04:30
*** EmilienM has joined #openstack-sahara04:38
*** qwertyco has joined #openstack-sahara04:58
*** anshul has joined #openstack-sahara05:22
*** anshul has quit IRC05:27
*** rcernin has joined #openstack-sahara06:08
*** xuhaigang has joined #openstack-sahara06:19
*** pgadiya has joined #openstack-sahara06:23
openstackgerritrocky proposed openstack/sahara master: Add test to sahara/plugins/vanilla/hadoop2/starting_scripts.py  https://review.openstack.org/47407506:26
*** sudipto has joined #openstack-sahara06:33
*** sudipto has quit IRC06:33
*** sudipto has joined #openstack-sahara06:33
*** sudipto_ has joined #openstack-sahara06:33
*** anshulbehl has joined #openstack-sahara06:49
*** zemuvier has joined #openstack-sahara07:04
openstackgerritrocky proposed openstack/sahara master: Add test to edp_engine.py  https://review.openstack.org/47378107:12
openstackgerritAlina Nesterova proposed openstack/sahara-ci-config master: Remove participants for nightly and weekly jobs  https://review.openstack.org/47408907:14
*** sudipto_ has quit IRC07:16
*** sudipto has quit IRC07:16
*** tesseract has joined #openstack-sahara07:16
*** sudipto has joined #openstack-sahara07:17
*** sudipto has quit IRC07:17
*** sudipto has joined #openstack-sahara07:17
*** sudipto_ has joined #openstack-sahara07:17
openstackgerritAlina Nesterova proposed openstack/sahara-ci-config master: Remove participants for nightly and weekly jobs  https://review.openstack.org/47408907:27
*** mgoddard has joined #openstack-sahara07:37
openstackgerritrocky proposed openstack/sahara master: Add test to sahara/plugins/vanilla/hadoop2/starting_scripts.py  https://review.openstack.org/47407508:05
openstackgerritMerged openstack/sahara-ci-config master: Remove participants for nightly and weekly jobs  https://review.openstack.org/47408908:44
*** pgadiya has quit IRC09:05
*** pgadiya has joined #openstack-sahara09:11
*** anshulbehl has quit IRC09:15
*** anshulbehl has joined #openstack-sahara09:28
*** tosky has joined #openstack-sahara09:32
*** abalutoiu has quit IRC09:48
*** abalutoiu has joined #openstack-sahara09:53
*** anshulbehl has quit IRC10:14
*** anshulbehl has joined #openstack-sahara10:14
*** tosky has quit IRC10:52
*** tuanluong has quit IRC11:16
*** qwertyco has quit IRC11:25
*** shuyingya has joined #openstack-sahara11:26
*** sudipto has quit IRC11:43
*** sudipto_ has quit IRC11:43
*** qwertyco has joined #openstack-sahara12:01
*** zemuvier has quit IRC12:04
*** tosky has joined #openstack-sahara12:11
openstackgerritMerged openstack/sahara master: Add test to edp_engine.py  https://review.openstack.org/47378112:19
*** chlong has quit IRC12:20
*** xuhaigang has quit IRC12:25
*** jeremyfreudberg has joined #openstack-sahara12:39
*** abalutoiu has quit IRC12:44
*** links has quit IRC12:46
*** sudipto_ has joined #openstack-sahara12:50
*** sudipto has joined #openstack-sahara12:50
*** pgadiya has quit IRC13:00
*** pgadiya has joined #openstack-sahara13:00
*** lucasxu has joined #openstack-sahara13:15
*** openstackgerrit has quit IRC13:18
*** dave-mccowan has joined #openstack-sahara13:18
*** xuhaigang has joined #openstack-sahara13:23
*** pgadiya has quit IRC13:51
*** chlong has joined #openstack-sahara14:01
*** chlong has quit IRC14:06
*** masber has quit IRC14:06
*** masber has joined #openstack-sahara14:07
*** qwertyco has quit IRC14:13
*** qwertyco has joined #openstack-sahara14:13
*** links has joined #openstack-sahara14:19
*** qwertyco has quit IRC14:22
*** qwertyco has joined #openstack-sahara14:22
*** shuyingya has quit IRC14:23
*** openstackgerrit has joined #openstack-sahara14:23
openstackgerritMerged openstack/sahara master: Add test to sahara/plugins/vanilla/hadoop2/starting_scripts.py  https://review.openstack.org/47407514:23
*** chlong has joined #openstack-sahara14:34
*** chlong has quit IRC14:35
*** links has quit IRC14:36
*** chlong has joined #openstack-sahara14:38
*** anshulbehl has quit IRC15:01
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara master: Image generation for CDH Plugin  https://review.openstack.org/44871215:03
*** qwertyco has quit IRC15:03
*** qwertyco has joined #openstack-sahara15:04
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara master: Image generation for CDH Plugin  https://review.openstack.org/44871215:06
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara master: Image generation for CDH Plugin  https://review.openstack.org/44871215:08
*** qwertyco has quit IRC15:12
*** exploreshaifali has joined #openstack-sahara15:38
*** tosky has quit IRC15:53
*** tosky has joined #openstack-sahara15:53
*** masber has quit IRC16:27
*** masber has joined #openstack-sahara16:28
*** jeremyfreudberg has quit IRC16:34
*** tosky has quit IRC16:37
*** tosky has joined #openstack-sahara16:37
*** lucasxu has quit IRC16:43
*** mgoddard has quit IRC16:44
*** rcernin has quit IRC16:49
*** sudipto has quit IRC16:51
*** sudipto_ has quit IRC16:51
*** tesseract has quit IRC16:56
*** pcaruana has quit IRC17:29
*** jeremyfreudberg has joined #openstack-sahara17:35
*** lucasxu has joined #openstack-sahara17:39
*** tosky has quit IRC17:42
*** sudipto has joined #openstack-sahara17:45
*** sudipto_ has joined #openstack-sahara17:46
*** sudipto_ has quit IRC18:01
*** sudipto has quit IRC18:01
*** qwertyco has joined #openstack-sahara18:16
iwonkatellesnobrega: ping18:37
tellesnobregaiwonka, pong18:37
iwonkatrying to deal with screen18:38
iwonkayou wrote that i should restart sahara-eng and sahara-api18:38
iwonkaonly?18:38
tellesnobregayes18:38
tellesnobregayou only need to restart the sahara services to actually get the new sahara code to work18:39
tellesnobregaI'm supposing that you are working on the files that are being used by devstack (/opt/sahara/sahara)18:39
iwonkayes18:39
iwonkawhat is ^a?18:40
iwonkai mean, it probably a silly question18:40
iwonkabut what to press to make it work? O_O18:40
tellesnobregait should be ctrl a18:42
iwonkaoh, thanks18:42
tellesnobregano worries18:42
tellesnobregathere is a command to list all running services on the screen18:43
iwonka^a "18:44
iwonkafound that18:44
tellesnobregacool18:44
tellesnobregasahara should be around 25 and 26 iirc18:44
iwonkabut i'm not sure how to stopsahara-api18:44
iwonkaand how to start it again18:45
tellesnobregaonce into the sahara-api screen18:45
tellesnobregayou can just stop it with ctrl+c18:45
tellesnobreganormal bash18:45
tellesnobregaand then you press up arrow and enter18:45
iwonkaokay18:45
iwonkaand start again?18:45
tellesnobregaso it runs the last command which starts the service again18:46
iwonkasahara-eng seems to be ok18:47
iwonkabut sahara-api gives errors18:47
iwonkaidentation error?18:47
*** qwertyco has quit IRC18:47
tellesnobregayou probably have some part of your code written in different indentation than expected18:48
tellesnobregamore spaces or tabs than it should18:48
tellesnobregaor even less18:48
iwonkaoh, so it also saved my code?18:49
tellesnobregaiwonka, jeremyfreudberg just pointed to me that devstack is using systemd now, and you can restart services with systemctl restart blah18:49
*** exploreshaifali has quit IRC18:49
iwonkai mean, i tried to remove all my code and then paste it again18:49
tellesnobregait is trying to start using current code version under /opt/sahara18:49
iwonkaok, I'm more familiar with systemd, i'll use that18:49
tellesnobregacool18:50
tellesnobregabut yeah, take a look at the code you changed, try to find some problems with identation18:50
iwonkaand if i wanted to get newer code from repo?18:51
*** exploreshaifali has joined #openstack-sahara18:51
iwonkathat's what i actually wanted to do18:51
jeremyfreudberg(if you're using vim you can use :set list to show spaces and stuff, helps it out for indent stuff) I think the /opt/sahara folder will be a git repo, so you can do a `git pull origin master` or something like that18:52
iwonkajeremyfreudberg: thanks, it wasn't identation, but unfinished function, didn't remove all my code18:53
iwonkahow does git pull work? I mean, if I have sshfs mounted directory, can i do git pull or things will break and i should do it from normal ssh session?18:54
tellesnobregaiwonka, I didn't understand the question, what are you trying to accomplish with git pull?18:55
jeremyfreudbergi suggested it to get the latest master, I thought /opt/stack/sahara was a git repo, right? tellesnobrega18:56
iwonkatellesnobrega: yes, what jeremyfreudberg is suggesting18:56
tellesnobregaoh, I see18:56
tellesnobregaI believe she is using latest master18:56
tellesnobregabut she did some modifications to it18:57
iwonkai'm not sure i'm using the latest master18:57
tellesnobregaiwonka, probably not latest but late enough for what we are doing18:57
tellesnobregayou can always fetch and rebase your code on top of master18:58
iwonkaok, it's runing for two weeks now18:58
tellesnobregamy suggestion is to work on a branch so it is easier to rebase with master later on18:58
jeremyfreudbergiwonka, can you do a "git show" from the sahara folder, I'm thinking two weeks is slightly too old18:59
jeremyfreudbergbut generally telles is right, you can have your own branch and rebase it when your done18:59
iwonkai'm one commit behind19:00
tellesnobregaeither way19:01
iwonkaso i should do git checkout -b export_node_group_templates and it will be fine?19:01
tellesnobregathat is the first step19:01
tellesnobregaafter that you can git checkout master19:01
tellesnobregagit pull origin master19:01
tellesnobregatry to override your code19:01
tellesnobregareplace it with upstream master19:01
tellesnobregaand then you can git checkout export_node_group_templates19:02
tellesnobregaand finally git rebase -i master19:02
tellesnobregathis will allow you to put your code on top of master19:02
tellesnobregaremember to commit before changing branches19:02
jeremyfreudberg+1 to those steps, solid workflow there19:02
*** exploreshaifali has quit IRC19:02
iwonkathere's one untracked file19:04
iwonkaetc/sahara/sahara.conf.sample19:05
iwonkai think tox created it19:05
tellesnobregasimple solution is to add to .gitignore19:06
tellesnobregaso it won't be compared, but you can't commit that .gitignore19:06
iwonkai'll just ignore it19:07
iwonkagit rebase didn't complain19:07
tellesnobregacool19:08
iwonkahttp://paste.openstack.org/show/612583/19:09
iwonkai didn't even touch these files19:09
iwonkawhat's going on…19:09
tellesnobregayeah, I actually looking into it right now19:09
tellesnobregaI just ran test locally and it had the same issue19:10
iwonkasame with sahara-eng19:10
iwonkashould i just wait?19:10
*** rcernin has joined #openstack-sahara19:10
tellesnobregamaybe oslo_messaging updated something19:10
jeremyfreudbergtellesnobrega, https://review.openstack.org/#/c/472589/ ? seems related. I think what it is is we do a git pull to get new code, but not new dependencies19:11
tellesnobregatrue19:11
tellesnobregaiwonka, there you go, you have to update your dependencies19:11
jeremyfreudbergeasier said than done I think, but not impossible19:12
iwonkadoes restack deal with dependencies?19:13
tellesnobregaI'm not sure19:13
iwonkai think it installs everything19:13
jeremyfreudbergI _think_ unstack then restack fresh clones and fresh isntalls everythig19:13
tellesnobregaI think so too19:13
tellesnobregabut let me check if there is a simpler way19:13
iwonkaok19:14
tellesnobregasince this is a server, maybe you can just pip install --upgrade oslo_messaging ?19:16
tellesnobregajeremyfreudberg, ^19:16
jeremyfreudbergwell, I would grab the exact one from global reqs, but I think it would work19:16
*** exploreshaifali has joined #openstack-sahara19:17
tellesnobregayeah19:18
jeremyfreudbergoslo.messaging===5.27.0 I guess19:19
jeremyfreudbergwell, as long as you meet this https://github.com/openstack/requirements/commit/6b127b67ec0f9e0653b3f8ae2209512398c68d5c you're good19:20
jeremyfreudbergsorry iwonka, usually it's not such a pain to deal with this stuff, I hope it's at least interesting19:21
tellesnobregaiwonka, did it work?19:34
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara master: Image generation for CDH Plugin  https://review.openstack.org/44871219:53
*** exploreshaifali has quit IRC20:15
*** jeremyfreudberg has quit IRC20:16
iwonkatellesnobrega: sorry for disappearing, it didn't (first version without version)20:55
iwonkaproblems with oslo again20:56
iwonkahttp://paste.openstack.org/show/612596/20:58
*** lucasxu has quit IRC21:06
*** dave-mccowan has quit IRC21:26
*** dave-mccowan has joined #openstack-sahara21:27
*** dave-mcc_ has joined #openstack-sahara21:31
*** dave-mccowan has quit IRC21:31
*** hoonetorg has quit IRC21:34
tellesnobregaiwonka, no worries, irc is good because we can pick up where we left off22:14
tellesnobregai solved mine by installing sudo pip install oslo.messaging=5.24.222:15
iwonkatellesnobrega: ok, didn't work for me22:15
iwonkai did sudo pip install oslo.messaging22:15
iwonkaand then unstacked and started stack.sh again22:15
iwonkabut it takes a while22:16
*** chlong has quit IRC22:37
iwonkatellesnobrega: sahara won't start now22:51
iwonkahttp://paste.openstack.org/show/612602/22:54
iwonkadifferent error22:55
iwonkabut still, i have no idea what's going on22:55

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