*** shuyingya has joined #openstack-sahara | 00:30 | |
*** dave-mccowan has quit IRC | 00:49 | |
*** shuyingya has quit IRC | 00:52 | |
*** caowei has joined #openstack-sahara | 01:04 | |
*** shuyingya has joined #openstack-sahara | 01:20 | |
*** tellesnobrega has quit IRC | 01:51 | |
*** tellesnobrega has joined #openstack-sahara | 03:03 | |
*** tellesnobrega has quit IRC | 03:08 | |
*** links has joined #openstack-sahara | 03:28 | |
*** pcaruana has joined #openstack-sahara | 05:27 | |
*** links has quit IRC | 06:29 | |
*** ssmith has quit IRC | 06:43 | |
*** links has joined #openstack-sahara | 06:55 | |
*** anshul has joined #openstack-sahara | 06:55 | |
*** rcernin has joined #openstack-sahara | 06:57 | |
*** pgadiya has joined #openstack-sahara | 07:12 | |
*** zemuvier has joined #openstack-sahara | 07:22 | |
*** tesseract has joined #openstack-sahara | 07:30 | |
*** hoonetorg has quit IRC | 07:58 | |
*** shuyingya has quit IRC | 08:07 | |
*** shuyingya has joined #openstack-sahara | 08:08 | |
*** hoonetorg has joined #openstack-sahara | 08:14 | |
*** shuyingy_ has joined #openstack-sahara | 08:37 | |
*** shuyingya has quit IRC | 08:41 | |
*** caowei_ has joined #openstack-sahara | 08:58 | |
*** caowei has quit IRC | 08:59 | |
*** caowei_ is now known as caowei | 08:59 | |
*** esikachev has joined #openstack-sahara | 09:11 | |
*** openstackgerrit has quit IRC | 09:18 | |
*** tosky has joined #openstack-sahara | 09:32 | |
*** tianqing has joined #openstack-sahara | 09:35 | |
tianqing | hello... | 09:36 |
---|---|---|
tianqing | sahara use ssh to push config to node.... | 09:36 |
tianqing | if use namespace, how does sahara choose host to connect? | 09:37 |
tianqing | Does the sahara engine should be placed together with the neutron node? | 09:38 |
tosky | tianqing: by default it uses the floating IP to access the system | 09:44 |
tianqing | from horizon can not set fip pool | 09:44 |
tianqing | newton... | 09:44 |
tosky | if 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#n724 | 09:44 |
tosky | if you can't set the floating ip pool, you may have disabled the option when installing | 09:45 |
tosky | but even without the floating IP, it should work (at most with a custom proxy command) | 09:59 |
tianqing | which host will proxy command use.... | 10:03 |
*** shuyingya has joined #openstack-sahara | 10:11 | |
*** shuyingy_ has quit IRC | 10:11 | |
tosky | check the code above | 10:12 |
tosky | it uses the router defined for the tenant network in use, if I read that file correctly | 10:13 |
tosky | but you can define a custom proxy command and force the namespace that you want | 10:13 |
*** shuyingya has quit IRC | 10:15 | |
*** caowei has quit IRC | 10:22 | |
tianqing | the host to exec proxy command is instance.management_ip | 10:33 |
tianqing | I do not know what does the management_ip is.... | 10:33 |
tianqing | the host will return from func _get_access_ip http://git.openstack.org/cgit/openstack/sahara/tree/sahara/utils/ssh_remote.py?h=stable/pike#n97 | 10:34 |
*** esikachev has quit IRC | 10:35 | |
tosky | tianqing: probably initialized here: do http://git.openstack.org/cgit/openstack/sahara/tree/sahara/service/networks.py?h=stable/pike#n97 | 10:41 |
*** tianqing has quit IRC | 10:44 | |
*** pgadiya has quit IRC | 11:19 | |
*** anshul has quit IRC | 11:20 | |
*** links has quit IRC | 11:20 | |
*** links has joined #openstack-sahara | 11:32 | |
*** anshul has joined #openstack-sahara | 11:32 | |
*** pgadiya has joined #openstack-sahara | 11:32 | |
*** dave-mccowan has joined #openstack-sahara | 11:39 | |
*** pgadiya has quit IRC | 11:48 | |
*** shuyingya has joined #openstack-sahara | 12:28 | |
*** tianqing has joined #openstack-sahara | 13:05 | |
*** lucasxu has joined #openstack-sahara | 13:11 | |
tianqing | yes. it is there, but it use instance's internal ip | 13:13 |
tianqing | from sahara server, it will surely not conntect into instance..... | 13:14 |
tianqing | May be we should put sahara engine into network node...... | 13:15 |
tosky | tianqing: but then enabling the namespace, it should use the ip netns command that its showed before, so it needs access to the network namespace | 13:16 |
tosky | tianqing: either that, or change the proxy command so that it does some magic to get the correct namespace | 13:16 |
tianqing | oh... | 13:17 |
tianqing | it is too indirect.... | 13:17 |
tianqing | what about put sahara engine on all nework node? | 13:17 |
tianqing | Can we run more than one sahara engine? | 13:18 |
tosky | more than one sahara-engine should work, but I'm not sure we ever tested multiple -engine on multiple network nodes | 13:18 |
tianqing | There is no scheduler here, the engine will be select by rabbitmq? | 13:18 |
tosky | I didn't do that test, but I think yes | 13:19 |
* tosky looks for tellesnobrega | 13:19 | |
tianqing | Then, 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 nodes | 13:19 | |
tosky | floating IP is probably simpler, yes | 13:20 |
tianqing | I think we should add deploy info into our doc.... | 13:20 |
tosky | that'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" solution | 13:20 |
tianqing | yes.... | 13:20 |
tianqing | but we expose the fip option... | 13:21 |
tianqing | if we force user use fip... then, it is okay... | 13:21 |
tianqing | if not, i think we should add more info into our doc..... | 13:21 |
tianqing | I test, and after long time, the stack is failed.... | 13:22 |
tianqing | After 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 |
tianqing | and exec the configuration .... | 13:23 |
tianqing | Horizon can choose fip... | 13:38 |
*** ssmith has joined #openstack-sahara | 13:40 | |
*** tianqing has quit IRC | 13:43 | |
*** tellesnobrega has joined #openstack-sahara | 13:43 | |
* elmiko pokes his head in | 13:49 | |
* tellesnobrega reads logs | 13:50 | |
elmiko | tosky: i concur with you, i don't remember ever trying a multi-engine deploymnet | 13:51 |
tosky | elmiko: I think we had it on the Sahara CI before it was dismantled | 13:52 |
tosky | I remember two log files for sahara-engine (-1 and -2) | 13:52 |
tosky | but they were on the same host iirc | 13:52 |
elmiko | not 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 instructions | 13:52 |
elmiko | ahh, ok | 13:52 |
elmiko | tosky: it might be just as simple as making sure they don't collide with each other then | 13:54 |
tellesnobrega | tosky, I agree with you and elmiko, although I have not tested multiple engine deploy | 13:57 |
tellesnobrega | specially on different machines | 13:57 |
tellesnobrega | about the rabbitmq question, I don't really know | 13:58 |
tellesnobrega | maybe jeremy has an answer for that | 13:58 |
*** jeremyfreudberg has joined #openstack-sahara | 14:17 | |
* jeremyfreudberg reads logs | 14:17 | |
jeremyfreudberg | probably untested recently but we do have this https://docs.openstack.org/sahara/latest/admin/advanced-configuration-guide.html#distributed-mode-configuration | 14:21 |
jeremyfreudberg | and elise said it worked two years ago https://github.com/openstack/sahara/commit/d0f99977dbfeccd5939825def37f96dae6c6b092 | 14:21 |
tosky | yeah, I was asking more on the distributed mode on different networking nodes, as described by tianqing (if I understood it correctly) | 14:22 |
tosky | but probably yes | 14:23 |
jeremyfreudberg | i 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 |
tellesnobrega | jeremyfreudberg, you either have the best memory or the best search tool | 14:24 |
tellesnobrega | lol | 14:24 |
jeremyfreudberg | that commit was pretty tricky to find. but `git blame` and `git log --follow` helps | 14:26 |
tellesnobrega | awesome | 14:27 |
*** links has quit IRC | 14:31 | |
jeremyfreudberg | elmiko, i'm dying to know what the "historical sahara issue" was here https://etherpad.openstack.org/p/api-ptg-queens | 14:34 |
tellesnobrega | jeremyfreudberg, assuming we only have one | 14:35 |
jeremyfreudberg | indeed | 14:36 |
* tellesnobrega is curious as well | 14:39 | |
elmiko | i want to use the old job binaries interface as a case study | 14:44 |
elmiko | my "ask" for the api-sig will basically be to show them how we used to handle job binaries as inputs | 14:45 |
tellesnobrega | I see | 14:45 |
elmiko | and allowing for the internal db binaries as well | 14:45 |
elmiko | how can we bring all those endpoints together and accurately represent the "job binary" resource | 14:45 |
elmiko | i think it's a small example but has good depth, and covers some interesting api questions | 14:45 |
tellesnobrega | elmiko, I will try to catch some of the API group meeting | 14:45 |
elmiko | tellesnobrega, it may not be super exciting, but we would love to have more participate =) | 14:46 |
*** aolwas has quit IRC | 14:46 | |
*** aolwas has joined #openstack-sahara | 14:46 | |
jeremyfreudberg | indeed, 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-sahara | 14:49 | |
*** shuyingya has quit IRC | 14:53 | |
*** jeremyfreudberg has quit IRC | 14:55 | |
*** tianqing has joined #openstack-sahara | 15:18 | |
tianqing | thanks all... | 15:23 |
*** anshul has quit IRC | 15:24 | |
*** tianqing has quit IRC | 15:27 | |
*** shuyingy_ has quit IRC | 15:36 | |
*** lucasxu has quit IRC | 16:00 | |
*** dave-mccowan has quit IRC | 16:17 | |
*** dave-mccowan has joined #openstack-sahara | 16:38 | |
*** lucasxu has joined #openstack-sahara | 16:47 | |
*** dave-mccowan has quit IRC | 16:56 | |
*** dave-mccowan has joined #openstack-sahara | 16:57 | |
*** rcernin has quit IRC | 17:02 | |
*** tosky has quit IRC | 17:32 | |
*** tosky has joined #openstack-sahara | 18:03 | |
*** ssmith has quit IRC | 18:17 | |
*** tesseract has quit IRC | 18:31 | |
*** pcaruana has quit IRC | 19:34 | |
*** dave-mccowan has quit IRC | 20:11 | |
*** dave-mccowan has joined #openstack-sahara | 20:40 | |
*** lucasxu has quit IRC | 20:42 | |
*** dave-mcc_ has joined #openstack-sahara | 21:03 | |
*** dave-mccowan has quit IRC | 21:05 | |
*** dave-mcc_ has quit IRC | 21:57 | |
*** tosky has quit IRC | 23:04 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!