*** dave-mccowan has quit IRC | 00:42 | |
*** lucasxu has joined #openstack-sahara | 00:45 | |
*** lucasxu has quit IRC | 00:45 | |
*** dave-mccowan has joined #openstack-sahara | 00:46 | |
*** logan- has left #openstack-sahara | 01:06 | |
*** shuyingy_ has quit IRC | 01:18 | |
*** shuyingya has joined #openstack-sahara | 01:19 | |
*** shuyingya has quit IRC | 01:21 | |
*** shuyingya has joined #openstack-sahara | 01:21 | |
*** shuyingy_ has joined #openstack-sahara | 01:24 | |
*** shuyingya has quit IRC | 01:26 | |
*** shuyingya has joined #openstack-sahara | 01:40 | |
*** shuyingy_ has quit IRC | 01:44 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/sahara master: Updated from global requirements https://review.openstack.org/484589 | 01:57 |
---|---|---|
*** shuyingy_ has joined #openstack-sahara | 02:02 | |
*** dave-mccowan has quit IRC | 02:02 | |
*** shuyingya has quit IRC | 02:05 | |
*** esikache1 has joined #openstack-sahara | 02:06 | |
*** esikache1 has quit IRC | 02:11 | |
*** ltosky[m] has quit IRC | 02:13 | |
openstackgerrit | Ngo Quoc Cuong proposed openstack/python-saharaclient master: Clone sahara hacking checks to saharaclient https://review.openstack.org/483223 | 02:16 |
*** ltosky[m] has joined #openstack-sahara | 02:18 | |
*** dave-mccowan has joined #openstack-sahara | 02:26 | |
*** rodrigods has quit IRC | 02:43 | |
*** dave-mccowan has quit IRC | 02:44 | |
*** rodrigods has joined #openstack-sahara | 02:55 | |
*** chlong has quit IRC | 03:11 | |
*** tuanluong has joined #openstack-sahara | 03:46 | |
*** RayLei has joined #openstack-sahara | 03:52 | |
RayLei | Has someone used hadoop tempauth patch which was called swiftfs? | 03:55 |
*** links has joined #openstack-sahara | 03:55 | |
*** RayLei has quit IRC | 04:24 | |
*** Poornima has joined #openstack-sahara | 04:58 | |
*** Poornima has quit IRC | 04:58 | |
*** rcernin has joined #openstack-sahara | 05:29 | |
*** Poornima_K has joined #openstack-sahara | 06:02 | |
*** Poornima_K has quit IRC | 06:02 | |
*** esikache1 has joined #openstack-sahara | 06:07 | |
*** esikache1 has quit IRC | 06:11 | |
openstackgerrit | Hangdong Zhang proposed openstack/python-saharaclient master: Update and optimize links in docs https://review.openstack.org/484643 | 06:49 |
*** Poornima_K has joined #openstack-sahara | 06:52 | |
*** Poornima_K has quit IRC | 06:55 | |
*** anshul has joined #openstack-sahara | 07:08 | |
*** tesseract has joined #openstack-sahara | 07:18 | |
*** esikache1 has joined #openstack-sahara | 07:39 | |
*** zemuvier has joined #openstack-sahara | 07:58 | |
openstackgerrit | Hangdong Zhang proposed openstack/python-saharaclient master: Update and optimize documentation links https://review.openstack.org/484643 | 08:08 |
*** mgoddard_ has joined #openstack-sahara | 08:12 | |
*** Poornima_K has joined #openstack-sahara | 08:18 | |
*** Poornima_K has quit IRC | 08:19 | |
*** Poornima_K has joined #openstack-sahara | 08:19 | |
*** anshul has quit IRC | 08:35 | |
*** Poornima_K has quit IRC | 08:40 | |
*** Poornima_K has joined #openstack-sahara | 08:41 | |
*** Poornima_K has quit IRC | 08:42 | |
*** Poornima_K has joined #openstack-sahara | 08:43 | |
*** Poornima_K has quit IRC | 08:43 | |
*** Poornima_K has joined #openstack-sahara | 08:47 | |
*** tmckay has joined #openstack-sahara | 08:50 | |
*** anshul has joined #openstack-sahara | 08:51 | |
*** Poornima_K has quit IRC | 08:51 | |
*** esikache1 has quit IRC | 09:30 | |
*** esikachev has joined #openstack-sahara | 09:31 | |
*** anshul has quit IRC | 09:32 | |
*** anshul has joined #openstack-sahara | 09:45 | |
*** tosky has joined #openstack-sahara | 09:47 | |
*** dave-mccowan has joined #openstack-sahara | 11:16 | |
*** dave-mccowan has quit IRC | 11:23 | |
tellesnobrega | tosky, ping | 11:26 |
tosky | tellesnobrega: pong | 11:26 |
tellesnobrega | morning | 11:26 |
tellesnobrega | I started checking yesterday how to setup a proxy command | 11:27 |
tellesnobrega | right now I have the following command ssh ubuntu@10.0.0.8 nc {host} {port} | 11:28 |
tellesnobrega | unfortunately it is not working | 11:29 |
tellesnobrega | but my guess is that the problem is just my machine (proxy machine) not the command itself | 11:29 |
tosky | and the command itself work, I guess? | 11:30 |
tellesnobrega | I tried from the controller and it works | 11:31 |
tellesnobrega | {host} {port} are replaced in code for the sahara vms | 11:31 |
tosky | and on the proxy machine? | 11:31 |
tosky | from the proxy machine | 11:31 |
tellesnobrega | that is part I didn't test, what do I need inside the proxy machine? | 11:33 |
tellesnobrega | does it need to have the key pair? | 11:33 |
tellesnobrega | I'm not entirely sure how sahara handles it | 11:33 |
tosky | is it a proxy node that you create and set manually independently from sahara? | 11:36 |
tellesnobrega | yes | 11:36 |
tellesnobrega | trying to replicate the scenario that was mentioned | 11:37 |
tosky | what I would do is check where 'ssh ubuntu@10.0.0.8 nc etc' is executed | 11:38 |
tellesnobrega | I believe this is on the controller (where sahara is running) | 11:38 |
tellesnobrega | jeremy told me yesterday that on his production env they run proxy_command like this one proxy_command='ip netns exec ns_for_{network_id} nc {host} {port}' | 11:42 |
*** zhuli_ has quit IRC | 11:42 | |
tellesnobrega | that uses namespaces | 11:42 |
*** zhuli has joined #openstack-sahara | 11:42 | |
tellesnobrega | I'm trying the basic one first and will move to namespaces later | 11:42 |
*** zhuli has quit IRC | 11:43 | |
*** zhuli has joined #openstack-sahara | 11:43 | |
tellesnobrega | tosky, looks like it is working :) | 11:45 |
tellesnobrega | cluster is starting | 11:45 |
tosky | tellesnobrega: the basic or the namespaced? | 11:45 |
tellesnobrega | basic | 11:45 |
tosky | oh | 11:45 |
tosky | oooooh | 11:45 |
tellesnobrega | so, the problem was that my sahara didn't have access to the proxy_machine | 11:46 |
tellesnobrega | wrong keypair | 11:46 |
tellesnobrega | added the controller but my sahara runs on a different machine | 11:47 |
tosky | so basically sahara tries to use the same keypair that you set for the rest of the cluster? | 11:48 |
tellesnobrega | I think it tries to access directly using the command | 11:50 |
tellesnobrega | but it fails because the vm doesn't trust the source of the ssh | 11:50 |
tosky | now I'm confused, if it's working what does it fail? | 11:52 |
tosky | or what it did fail? | 11:52 |
*** tmckay has quit IRC | 11:53 | |
tellesnobrega | it is working | 11:53 |
tellesnobrega | it failed before because my vms didn't have that my sahara uses | 11:54 |
tellesnobrega | so ssh would fail, now it worked and cluster is running | 11:54 |
tosky | oh, by "the vm doesn't truest the source of the ssh" you meant that source of ssh didn't have the key | 11:55 |
tosky | got it | 11:55 |
tellesnobrega | yes | 11:55 |
tosky | then it's easier than expected | 11:55 |
tellesnobrega | yes :) | 11:56 |
tellesnobrega | we should update documentation on this | 11:56 |
tellesnobrega | it is a bit confusing | 11:56 |
tellesnobrega | on my first read I thought I had to replace {host} {port} values | 11:56 |
tellesnobrega | but this is replaced by sahara, they are keywords | 11:56 |
tellesnobrega | anyway, I'm replying to the thread with this info | 11:57 |
*** chlong has joined #openstack-sahara | 11:59 | |
*** tuanluong has quit IRC | 12:15 | |
*** tellesnobrega has quit IRC | 12:21 | |
*** tellesnobrega has joined #openstack-sahara | 12:24 | |
*** tellesnobrega has quit IRC | 12:32 | |
*** shuyingy_ has quit IRC | 12:33 | |
*** tellesnobrega has joined #openstack-sahara | 12:37 | |
*** jeremyfreudberg has joined #openstack-sahara | 12:41 | |
*** tosky_ has joined #openstack-sahara | 12:41 | |
*** tosky has quit IRC | 12:41 | |
jeremyfreudberg | tellesnobrega, just caught up on the irc logs, sounds like you got it working | 12:41 |
*** tellesnobrega has quit IRC | 12:44 | |
*** tmckay has joined #openstack-sahara | 12:48 | |
*** tellesnobrega has joined #openstack-sahara | 12:50 | |
openstackgerrit | Merged openstack/python-saharaclient master: Updated from global requirements https://review.openstack.org/484583 | 12:57 |
openstackgerrit | Merged openstack/sahara master: Updated from global requirements https://review.openstack.org/484589 | 12:57 |
*** zemuvier has quit IRC | 12:59 | |
openstackgerrit | Jeremy Freudberg proposed openstack/sahara-image-elements master: Configurable Spark version for Vanilla image https://review.openstack.org/484463 | 13:00 |
*** esikache1 has joined #openstack-sahara | 13:20 | |
*** esikachev has quit IRC | 13:23 | |
*** lucasxu has joined #openstack-sahara | 13:31 | |
*** shuyingya has joined #openstack-sahara | 13:35 | |
*** shuyingy_ has joined #openstack-sahara | 13:37 | |
*** links has quit IRC | 13:38 | |
*** shuyingya has quit IRC | 13:40 | |
openstackgerrit | Telles Mota Vidal Nóbrega proposed openstack/sahara master: Updating default templates https://review.openstack.org/484028 | 13:40 |
*** akuznetsov has joined #openstack-sahara | 13:51 | |
*** tosky has joined #openstack-sahara | 13:52 | |
*** tosky_ has quit IRC | 13:53 | |
openstackgerrit | Jeremy Freudberg proposed openstack/sahara-dashboard master: Check for volumev2 and volumev3 too https://review.openstack.org/484809 | 14:06 |
jeremyfreudberg | tosky, your commit message here is delightfully vague https://review.openstack.org/#/c/402657/ , but am I to assume that the "other packages and dependencies" on vanilla and storm will become obvious if I try to force xenial instead? | 14:20 |
*** jeremyfreudberg_ has joined #openstack-sahara | 14:23 | |
*** jeremyfreudberg_ has quit IRC | 14:24 | |
*** jeremyfreudberg_ has joined #openstack-sahara | 14:24 | |
*** jeremyfreudberg_ has left #openstack-sahara | 14:24 | |
*** jeremyfreudberg_ has joined #openstack-sahara | 14:25 | |
*** jeremyfreudberg has quit IRC | 14:26 | |
*** jeremyfreudberg has joined #openstack-sahara | 14:27 | |
*** jeremyfreudberg_ has quit IRC | 14:30 | |
iwonka | ping tellesnobrega | 14:36 |
*** esikache1 has quit IRC | 14:46 | |
tellesnobrega | iwonka, pong | 14:48 |
iwonka | export _almost_ works | 14:53 |
iwonka | it runs curl and recieves an answer | 14:54 |
iwonka | but the flags are bad an it's not downloadable | 14:54 |
iwonka | i use saharaclient.api.client.HTTPClient.get | 14:55 |
iwonka | and the docs says it has **kwargs | 14:56 |
iwonka | but nothing about what exactly put there | 14:57 |
iwonka | and how to change the flags there? | 14:57 |
tellesnobrega | iwonka, I'm leaving for lunch now, I will get back to you when I'm back, ok? | 14:59 |
iwonka | sure | 14:59 |
*** ukaynar has joined #openstack-sahara | 15:03 | |
*** shuyingy_ has quit IRC | 15:14 | |
*** akuznetsov has quit IRC | 15:22 | |
*** rcernin has quit IRC | 15:32 | |
*** logan- has joined #openstack-sahara | 15:35 | |
*** jeremyfreudberg has quit IRC | 15:35 | |
*** logan- has left #openstack-sahara | 15:41 | |
*** shuyingya has joined #openstack-sahara | 15:55 | |
*** shuyingya has quit IRC | 15:55 | |
*** shuyingya has joined #openstack-sahara | 15:56 | |
*** brad[] has quit IRC | 16:00 | |
*** shuyingya has quit IRC | 16:01 | |
*** rcernin has joined #openstack-sahara | 16:02 | |
*** shuyingya has joined #openstack-sahara | 16:12 | |
*** shuyingya has quit IRC | 16:16 | |
*** shuyingya has joined #openstack-sahara | 16:27 | |
tellesnobrega | iwonka, im back | 16:31 |
tellesnobrega | can you show me what part are you talking about? is that on sahara-dashboard? | 16:32 |
*** shuyingya has quit IRC | 16:32 | |
*** brad[] has joined #openstack-sahara | 16:40 | |
*** anshul has quit IRC | 16:48 | |
*** shuyingya has joined #openstack-sahara | 16:55 | |
*** shuyingya has quit IRC | 16:59 | |
*** shuyingya has joined #openstack-sahara | 17:07 | |
*** ukaynar has quit IRC | 17:10 | |
*** shuyingya has quit IRC | 17:12 | |
iwonka | tellesnobrega: no, python-saharaclient | 17:23 |
iwonka | in saharaclient/api/base.py | 17:24 |
iwonka | there's resourcemanager class | 17:24 |
iwonka | and iadded export there | 17:24 |
iwonka | _export to be exact | 17:25 |
iwonka | and i know this function is ran when i press "export template" button in gui | 17:25 |
iwonka | and in logs there's curl command that's being ran: curl -g -i -X GET http://192.168.0.7:8386/v1.1/998700d862c04b8b90a032c53d79faef/node-group-templates/0483abc2-b015-4d46-b140-f65a92aab21d/export -H "User-Agent: python-saharaclient" -H "X-Auth-Token: {SHA1}d6625a0e2986ea4c5a1d1bb8a9c1a9ef72e63a07" | 17:26 |
iwonka | while the one that works is curl -g -X GET http://192.168.0.7:8386/v1.1/998700d862c04b8b90a032c53d79faef/node-group-templates/0483abc2-b015-4d46-b140-f65a92aab21d/export -H "User-Agent: python-saharaclient" -H "X-Auth-Token: {SHA1}d6625a0e2986ea4c5a1d1bb8a9c1a9ef72e63a07" -O -J | 17:26 |
iwonka | so i need to chage curl's flagsfrom -i to -O -J i think | 17:27 |
iwonka | because now it gets a response | 17:27 |
iwonka | and headers are set (it's in the logs) | 17:27 |
iwonka | but it's not downloadable | 17:27 |
*** tosky has quit IRC | 17:32 | |
tellesnobrega | iwonka, here again | 17:34 |
* tellesnobrega reads | 17:34 | |
tellesnobrega | I see | 17:40 |
tellesnobrega | iwonka, just thinking out loud here | 17:41 |
tellesnobrega | maybe the downloadable part should be done on the UI side. So the UI gets a json and prepares for download | 17:41 |
tellesnobrega | does that make sense? | 17:41 |
iwonka | yes | 17:43 |
iwonka | but i have no idea how to do it | 17:43 |
tellesnobrega | I'm checking it right now | 17:43 |
tellesnobrega | https://github.com/openstack/horizon/blob/86028ea5a67bbce4ad6c1746e92c6ed7c97b7624/openstack_dashboard/dashboards/project/api_access/tables.py | 17:43 |
tellesnobrega | take a look at this, this if from horizon | 17:44 |
tellesnobrega | this is how it downloads some files | 17:44 |
*** mgoddard_ has quit IRC | 17:44 | |
iwonka | doesn't seem to do anything i'm not doing | 17:44 |
iwonka | i mean | 17:44 |
iwonka | it has different icon? | 17:45 |
iwonka | but i have | 17:45 |
iwonka | class ExportTemplate(tables.Action): | 17:45 |
iwonka | name = "export" | 17:45 |
iwonka | verbose_name = _("Export Template") | 17:45 |
iwonka | classes = ("ajax-modal", ) | 17:45 |
iwonka | def single(self, data_table, request, object_id): | 17:45 |
iwonka | saharaclient.nodegroup_template_export(request, object_id) | 17:45 |
iwonka | file = open("/opt/stack/test/debug.txt", "w") | 17:45 |
iwonka | file.write(str(object_id)) | 17:45 |
iwonka | file.close() | 17:45 |
iwonka | (it will be without writing to file later, sorry for that) | 17:45 |
tellesnobrega | no worries | 17:47 |
tellesnobrega | maybe this will help | 17:49 |
tellesnobrega | https://github.com/openstack/horizon/blob/04c3e96643e0028ecbd4de6eb09e6ea5bf98c74e/openstack_dashboard/dashboards/project/api_access/views.py#L172-L189 | 17:49 |
iwonka | i'll try that, thanks | 17:50 |
tellesnobrega | no problem | 17:50 |
tellesnobrega | let me know how it goes | 17:50 |
*** ukaynar has joined #openstack-sahara | 17:52 | |
*** tosky has joined #openstack-sahara | 17:57 | |
*** tesseract has quit IRC | 17:58 | |
*** esikache1 has joined #openstack-sahara | 18:23 | |
*** ukaynar has quit IRC | 18:37 | |
*** ukaynar has joined #openstack-sahara | 18:46 | |
*** deep-book-gk_ has joined #openstack-sahara | 18:50 | |
*** deep-book-gk_ has left #openstack-sahara | 18:51 | |
*** chlong_ has joined #openstack-sahara | 19:03 | |
*** chlong has quit IRC | 19:05 | |
*** esikache1 has quit IRC | 19:23 | |
*** remix_tj has quit IRC | 19:49 | |
*** remix_tj has joined #openstack-sahara | 19:51 | |
*** dave-mccowan has joined #openstack-sahara | 19:58 | |
*** dave-mccowan has quit IRC | 20:17 | |
*** dave-mccowan has joined #openstack-sahara | 20:24 | |
*** dave-mccowan has quit IRC | 20:27 | |
*** rcernin has quit IRC | 20:57 | |
*** lucasxu has quit IRC | 21:02 | |
*** lucasxu has joined #openstack-sahara | 21:06 | |
*** tmckay has quit IRC | 21:15 | |
*** lucasxu has quit IRC | 21:17 | |
*** tmckay has joined #openstack-sahara | 22:31 | |
*** ukaynar_ has joined #openstack-sahara | 22:49 | |
*** ukaynar has quit IRC | 22:51 | |
*** tmckay has quit IRC | 23:04 | |
*** tmckay has joined #openstack-sahara | 23:13 | |
*** tosky has quit IRC | 23:18 | |
*** dave-mccowan has joined #openstack-sahara | 23:29 | |
*** dave-mcc_ has joined #openstack-sahara | 23:37 | |
*** dave-mccowan has quit IRC | 23:38 | |
*** dave-mcc_ has quit IRC | 23:45 | |
*** lucasxu has joined #openstack-sahara | 23:55 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!