Wednesday, 2017-09-06

*** shuyingya has joined #openstack-sahara00:30
*** dave-mccowan has quit IRC00:49
*** shuyingya has quit IRC00:52
*** caowei has joined #openstack-sahara01:04
*** shuyingya has joined #openstack-sahara01:20
*** tellesnobrega has quit IRC01:51
*** tellesnobrega has joined #openstack-sahara03:03
*** tellesnobrega has quit IRC03:08
*** links has joined #openstack-sahara03:28
*** pcaruana has joined #openstack-sahara05:27
*** links has quit IRC06:29
*** ssmith has quit IRC06:43
*** links has joined #openstack-sahara06:55
*** anshul has joined #openstack-sahara06:55
*** rcernin has joined #openstack-sahara06:57
*** pgadiya has joined #openstack-sahara07:12
*** zemuvier has joined #openstack-sahara07:22
*** tesseract has joined #openstack-sahara07:30
*** hoonetorg has quit IRC07:58
*** shuyingya has quit IRC08:07
*** shuyingya has joined #openstack-sahara08:08
*** hoonetorg has joined #openstack-sahara08:14
*** shuyingy_ has joined #openstack-sahara08:37
*** shuyingya has quit IRC08:41
*** caowei_ has joined #openstack-sahara08:58
*** caowei has quit IRC08:59
*** caowei_ is now known as caowei08:59
*** esikachev has joined #openstack-sahara09:11
*** openstackgerrit has quit IRC09:18
*** tosky has joined #openstack-sahara09:32
*** tianqing has joined #openstack-sahara09:35
tianqinghello...09:36
tianqingsahara use ssh to push config to node....09:36
tianqingif use namespace, how does sahara choose host to connect?09:37
tianqingDoes the sahara engine should be placed together with the neutron node?09:38
toskytianqing: by default it uses the floating IP to access the system09:44
tianqingfrom horizon can not set fip pool09:44
tianqingnewton...09:44
toskyif the floating IP are disabled, it builds a proxy command: http://git.openstack.org/cgit/openstack/sahara/tree/sahara/utils/ssh_remote.py?h=stable/pike#n72409:44
toskyif you can't set the floating ip pool, you may have disabled the option when installing09:45
toskybut even without the floating IP, it should work (at most with a custom proxy command)09:59
tianqingwhich host will proxy command use....10:03
*** shuyingya has joined #openstack-sahara10:11
*** shuyingy_ has quit IRC10:11
toskycheck the code above10:12
toskyit uses the router defined for the tenant network in use, if I read that file correctly10:13
toskybut you can define a custom proxy command and force the namespace that you want10:13
*** shuyingya has quit IRC10:15
*** caowei has quit IRC10:22
tianqingthe host to exec proxy command is instance.management_ip10:33
tianqingI do not know what does the management_ip is....10:33
tianqingthe host will return from func _get_access_ip  http://git.openstack.org/cgit/openstack/sahara/tree/sahara/utils/ssh_remote.py?h=stable/pike#n9710:34
*** esikachev has quit IRC10:35
toskytianqing: probably initialized here: do http://git.openstack.org/cgit/openstack/sahara/tree/sahara/service/networks.py?h=stable/pike#n9710:41
*** tianqing has quit IRC10:44
*** pgadiya has quit IRC11:19
*** anshul has quit IRC11:20
*** links has quit IRC11:20
*** links has joined #openstack-sahara11:32
*** anshul has joined #openstack-sahara11:32
*** pgadiya has joined #openstack-sahara11:32
*** dave-mccowan has joined #openstack-sahara11:39
*** pgadiya has quit IRC11:48
*** shuyingya has joined #openstack-sahara12:28
*** tianqing has joined #openstack-sahara13:05
*** lucasxu has joined #openstack-sahara13:11
tianqingyes. it is there, but it use instance's internal ip13:13
tianqingfrom sahara server, it will surely not conntect into instance.....13:14
tianqingMay be we should put sahara engine into network node......13:15
toskytianqing: but then enabling the namespace, it should use the ip netns command that its showed before, so it needs access to the network namespace13:16
toskytianqing: either that, or change the proxy command so that it does some magic to get the correct namespace13:16
tianqingoh...13:17
tianqingit is too indirect....13:17
tianqingwhat about put sahara engine on all nework node?13:17
tianqingCan we run more than one sahara engine?13:18
toskymore than one sahara-engine should work, but I'm not sure we ever tested multiple -engine on multiple network nodes13:18
tianqingThere is no scheduler here, the engine will be select by rabbitmq?13:18
toskyI didn't do that test, but I think yes13:19
* tosky looks for tellesnobrega13:19
tianqingThen, the most simplest method is use fip?13:19
* tosky tries to nag elmiko if he remembers about using more sahara-engine services on more nodes13:19
toskyfloating IP is probably simpler, yes13:20
tianqingI think we should add deploy info into our doc....13:20
toskythat's not to say that other methods do not work, but they depend on the topology and the deployment, so there is no "one fit for all" solution13:20
tianqingyes....13:20
tianqingbut we expose the fip option...13:21
tianqingif we force user use fip... then, it is okay...13:21
tianqingif not, i think we should add more info into our doc.....13:21
tianqingI test, and after long time, the stack is failed....13:22
tianqingAfter review source code, i found, it uses ssh, and find, if i did not put it on neutron node, it will not connect into instance...13:23
tianqingand exec the configuration ....13:23
tianqingHorizon can choose fip...13:38
*** ssmith has joined #openstack-sahara13:40
*** tianqing has quit IRC13:43
*** tellesnobrega has joined #openstack-sahara13:43
* elmiko pokes his head in13:49
* tellesnobrega reads logs13:50
elmikotosky: i concur with you, i don't remember ever trying a multi-engine deploymnet13:51
toskyelmiko: I think we had it on the Sahara CI before it was dismantled13:52
toskyI remember two log files for sahara-engine (-1 and -2)13:52
toskybut they were on the same host iirc13:52
elmikonot sure how well it would work, i mean the db should help keep the state synchronized but i would guess there will be weird race issues if multiple engines received instructions13:52
elmikoahh, ok13:52
elmikotosky: it might be just as simple as making sure they don't collide with each other then13:54
tellesnobregatosky, I agree with you and elmiko, although I have not tested multiple engine deploy13:57
tellesnobregaspecially on different machines13:57
tellesnobregaabout the rabbitmq question, I don't really know13:58
tellesnobregamaybe jeremy has an answer for that13:58
*** jeremyfreudberg has joined #openstack-sahara14:17
* jeremyfreudberg reads logs14:17
jeremyfreudbergprobably untested recently but we do have this https://docs.openstack.org/sahara/latest/admin/advanced-configuration-guide.html#distributed-mode-configuration14:21
jeremyfreudbergand elise said it worked two years ago https://github.com/openstack/sahara/commit/d0f99977dbfeccd5939825def37f96dae6c6b09214:21
toskyyeah, I was asking more on the distributed mode on different networking nodes, as described by tianqing (if I understood it correctly)14:22
toskybut probably yes14:23
jeremyfreudbergi mean, the answer there is basically what you said, that it works fine with floating-ip (because then it doesn't matter where sahara lives), otherwise you have to do your "neutron homework"14:23
tellesnobregajeremyfreudberg, you either have the best memory or the best search tool14:24
tellesnobregalol14:24
jeremyfreudbergthat commit was pretty tricky to find. but `git blame` and `git log --follow` helps14:26
tellesnobregaawesome14:27
*** links has quit IRC14:31
jeremyfreudbergelmiko, i'm dying to know what the "historical sahara issue" was here https://etherpad.openstack.org/p/api-ptg-queens14:34
tellesnobregajeremyfreudberg, assuming we only have one14:35
jeremyfreudbergindeed14:36
* tellesnobrega is curious as well14:39
elmikoi want to use the old job binaries interface as a case study14:44
elmikomy "ask" for the api-sig will basically be to show them how we used to handle job binaries as inputs14:45
tellesnobregaI see14:45
elmikoand allowing for the internal db binaries as well14:45
elmikohow can we bring all those endpoints together and accurately represent the "job binary" resource14:45
elmikoi think it's a small example but has good depth, and covers some interesting api questions14:45
tellesnobregaelmiko, I will try to catch some of the API group meeting14:45
elmikotellesnobrega, it may not be super exciting, but we would love to have more participate =)14:46
*** aolwas has quit IRC14:46
*** aolwas has joined #openstack-sahara14:46
jeremyfreudbergindeed, it's a fun example, i only asked for spoiler because I won't make it to PTG on API days. thanks elmiko for the preview :)14:46
*** shuyingy_ has joined #openstack-sahara14:49
*** shuyingya has quit IRC14:53
*** jeremyfreudberg has quit IRC14:55
*** tianqing has joined #openstack-sahara15:18
tianqingthanks all...15:23
*** anshul has quit IRC15:24
*** tianqing has quit IRC15:27
*** shuyingy_ has quit IRC15:36
*** lucasxu has quit IRC16:00
*** dave-mccowan has quit IRC16:17
*** dave-mccowan has joined #openstack-sahara16:38
*** lucasxu has joined #openstack-sahara16:47
*** dave-mccowan has quit IRC16:56
*** dave-mccowan has joined #openstack-sahara16:57
*** rcernin has quit IRC17:02
*** tosky has quit IRC17:32
*** tosky has joined #openstack-sahara18:03
*** ssmith has quit IRC18:17
*** tesseract has quit IRC18:31
*** pcaruana has quit IRC19:34
*** dave-mccowan has quit IRC20:11
*** dave-mccowan has joined #openstack-sahara20:40
*** lucasxu has quit IRC20:42
*** dave-mcc_ has joined #openstack-sahara21:03
*** dave-mccowan has quit IRC21:05
*** dave-mcc_ has quit IRC21:57
*** tosky has quit IRC23:04

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