Tuesday, 2017-07-18

*** dave-mccowan has quit IRC00:42
*** lucasxu has joined #openstack-sahara00:45
*** lucasxu has quit IRC00:45
*** dave-mccowan has joined #openstack-sahara00:46
*** logan- has left #openstack-sahara01:06
*** shuyingy_ has quit IRC01:18
*** shuyingya has joined #openstack-sahara01:19
*** shuyingya has quit IRC01:21
*** shuyingya has joined #openstack-sahara01:21
*** shuyingy_ has joined #openstack-sahara01:24
*** shuyingya has quit IRC01:26
*** shuyingya has joined #openstack-sahara01:40
*** shuyingy_ has quit IRC01:44
openstackgerritOpenStack Proposal Bot proposed openstack/sahara master: Updated from global requirements  https://review.openstack.org/48458901:57
*** shuyingy_ has joined #openstack-sahara02:02
*** dave-mccowan has quit IRC02:02
*** shuyingya has quit IRC02:05
*** esikache1 has joined #openstack-sahara02:06
*** esikache1 has quit IRC02:11
*** ltosky[m] has quit IRC02:13
openstackgerritNgo Quoc Cuong proposed openstack/python-saharaclient master: Clone sahara hacking checks to saharaclient  https://review.openstack.org/48322302:16
*** ltosky[m] has joined #openstack-sahara02:18
*** dave-mccowan has joined #openstack-sahara02:26
*** rodrigods has quit IRC02:43
*** dave-mccowan has quit IRC02:44
*** rodrigods has joined #openstack-sahara02:55
*** chlong has quit IRC03:11
*** tuanluong has joined #openstack-sahara03:46
*** RayLei has joined #openstack-sahara03:52
RayLeiHas someone used hadoop tempauth patch which was called swiftfs?03:55
*** links has joined #openstack-sahara03:55
*** RayLei has quit IRC04:24
*** Poornima has joined #openstack-sahara04:58
*** Poornima has quit IRC04:58
*** rcernin has joined #openstack-sahara05:29
*** Poornima_K has joined #openstack-sahara06:02
*** Poornima_K has quit IRC06:02
*** esikache1 has joined #openstack-sahara06:07
*** esikache1 has quit IRC06:11
openstackgerritHangdong Zhang proposed openstack/python-saharaclient master: Update and optimize links in docs  https://review.openstack.org/48464306:49
*** Poornima_K has joined #openstack-sahara06:52
*** Poornima_K has quit IRC06:55
*** anshul has joined #openstack-sahara07:08
*** tesseract has joined #openstack-sahara07:18
*** esikache1 has joined #openstack-sahara07:39
*** zemuvier has joined #openstack-sahara07:58
openstackgerritHangdong Zhang proposed openstack/python-saharaclient master: Update and optimize documentation links  https://review.openstack.org/48464308:08
*** mgoddard_ has joined #openstack-sahara08:12
*** Poornima_K has joined #openstack-sahara08:18
*** Poornima_K has quit IRC08:19
*** Poornima_K has joined #openstack-sahara08:19
*** anshul has quit IRC08:35
*** Poornima_K has quit IRC08:40
*** Poornima_K has joined #openstack-sahara08:41
*** Poornima_K has quit IRC08:42
*** Poornima_K has joined #openstack-sahara08:43
*** Poornima_K has quit IRC08:43
*** Poornima_K has joined #openstack-sahara08:47
*** tmckay has joined #openstack-sahara08:50
*** anshul has joined #openstack-sahara08:51
*** Poornima_K has quit IRC08:51
*** esikache1 has quit IRC09:30
*** esikachev has joined #openstack-sahara09:31
*** anshul has quit IRC09:32
*** anshul has joined #openstack-sahara09:45
*** tosky has joined #openstack-sahara09:47
*** dave-mccowan has joined #openstack-sahara11:16
*** dave-mccowan has quit IRC11:23
tellesnobregatosky, ping11:26
toskytellesnobrega: pong11:26
tellesnobregamorning11:26
tellesnobregaI started checking yesterday how to setup a proxy command11:27
tellesnobregaright now I have the following command ssh ubuntu@10.0.0.8 nc {host} {port}11:28
tellesnobregaunfortunately it is not working11:29
tellesnobregabut my guess is that the problem is just my machine (proxy machine) not the command itself11:29
toskyand the command itself work, I guess?11:30
tellesnobregaI tried from the controller and it works11:31
tellesnobrega{host} {port} are replaced in code for the sahara vms11:31
toskyand on the proxy machine?11:31
toskyfrom the proxy machine11:31
tellesnobregathat is part I didn't test, what do I need inside the proxy machine?11:33
tellesnobregadoes it need to have the key pair?11:33
tellesnobregaI'm not entirely sure how sahara handles it11:33
toskyis it a proxy node that you create and set manually independently from sahara?11:36
tellesnobregayes11:36
tellesnobregatrying to replicate the scenario that was mentioned11:37
toskywhat I would do is check where 'ssh ubuntu@10.0.0.8 nc etc' is executed11:38
tellesnobregaI believe this is on the controller (where sahara is running)11:38
tellesnobregajeremy 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 IRC11:42
tellesnobregathat uses namespaces11:42
*** zhuli has joined #openstack-sahara11:42
tellesnobregaI'm trying the basic one first and will move to namespaces later11:42
*** zhuli has quit IRC11:43
*** zhuli has joined #openstack-sahara11:43
tellesnobregatosky, looks like it is working :)11:45
tellesnobregacluster is starting11:45
toskytellesnobrega: the basic or the namespaced?11:45
tellesnobregabasic11:45
toskyoh11:45
toskyoooooh11:45
tellesnobregaso, the problem was that my sahara didn't have access to the proxy_machine11:46
tellesnobregawrong keypair11:46
tellesnobregaadded the controller but my sahara runs on a different machine11:47
toskyso basically sahara tries to use the same keypair that you set for the rest of the cluster?11:48
tellesnobregaI think it tries to access directly using the command11:50
tellesnobregabut it fails because the vm doesn't trust the source of the ssh11:50
toskynow I'm confused, if it's working what does it fail?11:52
toskyor what it did fail?11:52
*** tmckay has quit IRC11:53
tellesnobregait is working11:53
tellesnobregait failed before because my vms didn't have that my sahara uses11:54
tellesnobregaso ssh would fail, now it worked and cluster is running11:54
toskyoh, by "the vm doesn't truest the source of the ssh" you meant that source of ssh didn't have the key11:55
toskygot it11:55
tellesnobregayes11:55
toskythen it's easier than expected11:55
tellesnobregayes :)11:56
tellesnobregawe should update documentation on this11:56
tellesnobregait is a bit confusing11:56
tellesnobregaon my first read I thought I had to replace {host} {port} values11:56
tellesnobregabut this is replaced by sahara, they are keywords11:56
tellesnobregaanyway, I'm replying to the thread with this info11:57
*** chlong has joined #openstack-sahara11:59
*** tuanluong has quit IRC12:15
*** tellesnobrega has quit IRC12:21
*** tellesnobrega has joined #openstack-sahara12:24
*** tellesnobrega has quit IRC12:32
*** shuyingy_ has quit IRC12:33
*** tellesnobrega has joined #openstack-sahara12:37
*** jeremyfreudberg has joined #openstack-sahara12:41
*** tosky_ has joined #openstack-sahara12:41
*** tosky has quit IRC12:41
jeremyfreudbergtellesnobrega, just caught up on the irc logs, sounds like you got it working12:41
*** tellesnobrega has quit IRC12:44
*** tmckay has joined #openstack-sahara12:48
*** tellesnobrega has joined #openstack-sahara12:50
openstackgerritMerged openstack/python-saharaclient master: Updated from global requirements  https://review.openstack.org/48458312:57
openstackgerritMerged openstack/sahara master: Updated from global requirements  https://review.openstack.org/48458912:57
*** zemuvier has quit IRC12:59
openstackgerritJeremy Freudberg proposed openstack/sahara-image-elements master: Configurable Spark version for Vanilla image  https://review.openstack.org/48446313:00
*** esikache1 has joined #openstack-sahara13:20
*** esikachev has quit IRC13:23
*** lucasxu has joined #openstack-sahara13:31
*** shuyingya has joined #openstack-sahara13:35
*** shuyingy_ has joined #openstack-sahara13:37
*** links has quit IRC13:38
*** shuyingya has quit IRC13:40
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara master: Updating default templates  https://review.openstack.org/48402813:40
*** akuznetsov has joined #openstack-sahara13:51
*** tosky has joined #openstack-sahara13:52
*** tosky_ has quit IRC13:53
openstackgerritJeremy Freudberg proposed openstack/sahara-dashboard master: Check for volumev2 and volumev3 too  https://review.openstack.org/48480914:06
jeremyfreudbergtosky, 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-sahara14:23
*** jeremyfreudberg_ has quit IRC14:24
*** jeremyfreudberg_ has joined #openstack-sahara14:24
*** jeremyfreudberg_ has left #openstack-sahara14:24
*** jeremyfreudberg_ has joined #openstack-sahara14:25
*** jeremyfreudberg has quit IRC14:26
*** jeremyfreudberg has joined #openstack-sahara14:27
*** jeremyfreudberg_ has quit IRC14:30
iwonkaping tellesnobrega14:36
*** esikache1 has quit IRC14:46
tellesnobregaiwonka, pong14:48
iwonkaexport _almost_ works14:53
iwonkait runs curl and recieves an answer14:54
iwonkabut the flags are bad an it's not downloadable14:54
iwonkai use saharaclient.api.client.HTTPClient.get14:55
iwonkaand the docs says it has **kwargs14:56
iwonkabut nothing about what exactly put there14:57
iwonkaand how to change the flags there?14:57
tellesnobregaiwonka, I'm leaving for lunch now, I will get back to you when I'm back, ok?14:59
iwonkasure14:59
*** ukaynar has joined #openstack-sahara15:03
*** shuyingy_ has quit IRC15:14
*** akuznetsov has quit IRC15:22
*** rcernin has quit IRC15:32
*** logan- has joined #openstack-sahara15:35
*** jeremyfreudberg has quit IRC15:35
*** logan- has left #openstack-sahara15:41
*** shuyingya has joined #openstack-sahara15:55
*** shuyingya has quit IRC15:55
*** shuyingya has joined #openstack-sahara15:56
*** brad[] has quit IRC16:00
*** shuyingya has quit IRC16:01
*** rcernin has joined #openstack-sahara16:02
*** shuyingya has joined #openstack-sahara16:12
*** shuyingya has quit IRC16:16
*** shuyingya has joined #openstack-sahara16:27
tellesnobregaiwonka, im back16:31
tellesnobregacan you show me what part are you talking about? is that on sahara-dashboard?16:32
*** shuyingya has quit IRC16:32
*** brad[] has joined #openstack-sahara16:40
*** anshul has quit IRC16:48
*** shuyingya has joined #openstack-sahara16:55
*** shuyingya has quit IRC16:59
*** shuyingya has joined #openstack-sahara17:07
*** ukaynar has quit IRC17:10
*** shuyingya has quit IRC17:12
iwonkatellesnobrega: no, python-saharaclient17:23
iwonkain saharaclient/api/base.py17:24
iwonkathere's resourcemanager class17:24
iwonkaand iadded export there17:24
iwonka_export  to be exact17:25
iwonkaand i know this function is ran when i press "export template" button in gui17:25
iwonkaand 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
iwonkawhile 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 -J17:26
iwonkaso i need to chage curl's flagsfrom -i to -O -J i think17:27
iwonkabecause now it gets a response17:27
iwonkaand headers are set (it's in the logs)17:27
iwonkabut it's not downloadable17:27
*** tosky has quit IRC17:32
tellesnobregaiwonka, here again17:34
* tellesnobrega reads17:34
tellesnobregaI see17:40
tellesnobregaiwonka, just thinking out loud here17:41
tellesnobregamaybe the downloadable part should be done on the UI side. So the UI gets a json and prepares for download17:41
tellesnobregadoes that make sense?17:41
iwonkayes17:43
iwonkabut i have no idea how to do it17:43
tellesnobregaI'm checking it right now17:43
tellesnobregahttps://github.com/openstack/horizon/blob/86028ea5a67bbce4ad6c1746e92c6ed7c97b7624/openstack_dashboard/dashboards/project/api_access/tables.py17:43
tellesnobregatake a look at this, this if from horizon17:44
tellesnobregathis is how it downloads some files17:44
*** mgoddard_ has quit IRC17:44
iwonkadoesn't seem to do anything i'm not doing17:44
iwonkai mean17:44
iwonkait has different icon?17:45
iwonkabut i have17:45
iwonkaclass 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
tellesnobregano worries17:47
tellesnobregamaybe this will help17:49
tellesnobregahttps://github.com/openstack/horizon/blob/04c3e96643e0028ecbd4de6eb09e6ea5bf98c74e/openstack_dashboard/dashboards/project/api_access/views.py#L172-L18917:49
iwonkai'll try that, thanks17:50
tellesnobregano problem17:50
tellesnobregalet me know how it goes17:50
*** ukaynar has joined #openstack-sahara17:52
*** tosky has joined #openstack-sahara17:57
*** tesseract has quit IRC17:58
*** esikache1 has joined #openstack-sahara18:23
*** ukaynar has quit IRC18:37
*** ukaynar has joined #openstack-sahara18:46
*** deep-book-gk_ has joined #openstack-sahara18:50
*** deep-book-gk_ has left #openstack-sahara18:51
*** chlong_ has joined #openstack-sahara19:03
*** chlong has quit IRC19:05
*** esikache1 has quit IRC19:23
*** remix_tj has quit IRC19:49
*** remix_tj has joined #openstack-sahara19:51
*** dave-mccowan has joined #openstack-sahara19:58
*** dave-mccowan has quit IRC20:17
*** dave-mccowan has joined #openstack-sahara20:24
*** dave-mccowan has quit IRC20:27
*** rcernin has quit IRC20:57
*** lucasxu has quit IRC21:02
*** lucasxu has joined #openstack-sahara21:06
*** tmckay has quit IRC21:15
*** lucasxu has quit IRC21:17
*** tmckay has joined #openstack-sahara22:31
*** ukaynar_ has joined #openstack-sahara22:49
*** ukaynar has quit IRC22:51
*** tmckay has quit IRC23:04
*** tmckay has joined #openstack-sahara23:13
*** tosky has quit IRC23:18
*** dave-mccowan has joined #openstack-sahara23:29
*** dave-mcc_ has joined #openstack-sahara23:37
*** dave-mccowan has quit IRC23:38
*** dave-mcc_ has quit IRC23:45
*** lucasxu has joined #openstack-sahara23:55

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