Friday, 2016-01-08

*** egafford has quit IRC00:31
*** openstackgerrit has quit IRC00:32
*** openstackgerrit has joined #openstack-sahara00:33
*** tosky has quit IRC00:47
*** tellesnobrega is now known as tellesnobrega_af01:32
*** tellesnobrega_af is now known as tellesnobrega01:53
*** coolsvap|away is now known as coolsvap03:15
*** links has joined #openstack-sahara04:27
*** flwang has quit IRC04:42
*** flwang1 has joined #openstack-sahara04:46
*** tellesnobrega is now known as tellesnobrega_af05:25
*** jamielennox is now known as jamielennox|away05:27
*** dave-mccowan has quit IRC05:49
*** Poornima has joined #openstack-sahara06:03
*** logan- has quit IRC06:08
*** logan- has joined #openstack-sahara06:08
*** vgridnev has joined #openstack-sahara06:13
*** vgridnev has quit IRC06:20
*** hdd has quit IRC06:31
*** hdd has joined #openstack-sahara06:33
*** coolsvap is now known as coolsvap|away06:52
*** nkrinner has joined #openstack-sahara07:13
*** coolsvap|away is now known as coolsvap07:13
*** logan- has quit IRC07:44
*** coolsvap is now known as coolsvap|away08:00
*** coolsvap|away is now known as coolsvap08:05
*** hdd has quit IRC08:07
*** macjack has quit IRC09:08
*** nkrinner has quit IRC09:10
*** Poornima has quit IRC09:12
*** nkrinner has joined #openstack-sahara09:12
*** Poornima has joined #openstack-sahara09:24
*** witlessb has joined #openstack-sahara09:41
*** sgotliv has joined #openstack-sahara10:08
*** tosky has joined #openstack-sahara10:47
*** Poornima has quit IRC11:16
*** raildo-afk is now known as raildo12:16
*** tellesnobrega_af is now known as tellesnobrega12:28
*** coolsvap is now known as coolsvap|away12:34
openstackgerritJaxon Wang proposed openstack/sahara: Update image address CDH plugin document  https://review.openstack.org/26523512:36
*** sgotliv has quit IRC12:58
*** links has quit IRC13:25
*** dave-mccowan has joined #openstack-sahara14:13
*** hdd has joined #openstack-sahara14:21
*** crobertsrh has joined #openstack-sahara14:39
*** vgridnev has joined #openstack-sahara15:01
*** egafford has joined #openstack-sahara15:04
openstackgerritMerged openstack/sahara-dashboard: Fix Mapreduce selection in job template creation  https://review.openstack.org/26197615:06
*** hdd has quit IRC15:09
openstackgerritEthan Gafford proposed openstack/sahara: SPI Method to Validate Images  https://review.openstack.org/26342415:24
*** nkrinner has quit IRC15:30
*** links has joined #openstack-sahara15:47
*** sgotliv has joined #openstack-sahara15:49
*** sgotliv has quit IRC15:58
*** sgotliv has joined #openstack-sahara16:00
*** zigo has quit IRC16:09
*** zigo has joined #openstack-sahara16:10
*** links has quit IRC16:27
*** jriveram has joined #openstack-sahara16:47
*** hdd has joined #openstack-sahara17:04
*** sgotliv has quit IRC17:18
*** stanchan has joined #openstack-sahara17:27
*** jriveram has quit IRC17:37
*** crobertsrh has quit IRC17:39
elmikozigo: ping17:55
openstackgerritRuslan Kamaldinov proposed openstack/sahara: Removed redundant list declaration  https://review.openstack.org/26538417:56
openstackgerritMichael Krotscheck proposed openstack/sahara: Added Keystone and RequestID headers to CORS middleware  https://review.openstack.org/26538818:08
elmikokrotscheck: that header patch looks interesting, is there some documentation on the latent_allow_headers and latent_expose_headers variables?18:13
krotscheckelmiko: Yep, lemme find it for ya18:13
elmikokrotscheck: awesome, thanks for enabling my laziness ;)18:13
krotscheckelmiko: http://docs.openstack.org/developer/oslo.middleware/cors.html#configuration-for-pastedeploy18:14
krotscheckAlso...18:14
krotscheckhttps://review.openstack.org/#/c/236966/2/doc/admin-guide-cloud/source/cross_project_cors.rst18:14
krotscheckActually, there's no mention of it there.18:14
krotscheckThat's because latent options are more of a dev thing than an operator thing18:15
elmikoah, ok18:15
elmikothanks again, krotscheck++18:15
krotscheckelmiko: No worries :)18:19
*** stanchan has quit IRC18:30
*** stanchan has joined #openstack-sahara18:42
*** crobertsrh has joined #openstack-sahara18:42
*** tellesnobrega is now known as tellesnobrega_af18:45
*** crobertsrh has left #openstack-sahara18:55
*** crobertsrh has joined #openstack-sahara18:56
openstackgerritMichael Krotscheck proposed openstack/sahara: Added Keystone and RequestID headers to CORS middleware  https://review.openstack.org/26538819:30
elmikokrotscheck: one more question,19:43
elmikoi'm looking through our code to see if we have any extra headers19:43
krotscheckshoot19:43
elmikothe cors support is only for our api controllers?19:43
elmikoi *think* we have a custom header that is used between the api controller and our tenant nodes19:44
elmikobut i'm not sure it would hit the cors pipeline19:44
krotscheckUnless the api controller is using a browser, it doesn't matter.19:45
elmikoah, excellent. thanks19:46
*** crobertsrh has quit IRC20:02
*** crobertsrh has joined #openstack-sahara20:02
*** crobertsrh has quit IRC20:07
*** hdd has quit IRC20:28
*** jriveram has joined #openstack-sahara20:37
jriveramHi, I am trying to configure sahara but when I execute any command I have an error message20:41
jriveramERROR: b'Failed to parse response from Sahara. Check if service catalog configured properly.'20:42
elmikohi jriveram, what command are you running to produce that?20:42
jriveramany idea about what is happening, I have tried some approaches but I continue with the same problem20:42
jriveramany command, i.e. sahara cluster-list20:43
elmikoah, ok20:43
jriveramI am new in Sahara20:43
elmikodoes sahara appear in the service catalog?20:43
jriveramyes20:43
elmikoand you are passing the proper credentials to the sahara command?20:43
jriveramwhen I execute openstack catalog list, sahara is listed20:43
jriveramyes20:44
elmikowould you mind pasting the output from `openstack catalog list` into http://paste.openstack.org/20:44
elmikoalso, probably need to check the output from `openstack endpoint list` as well20:45
jriveramit is also visible in the endpoint list20:46
jriveramhttp://paste.openstack.org/show/483349/20:47
elmikoi think you just need to adjust the endpoints20:48
elmikolet me grab the docs real quick20:48
elmikojriveram: see the last part of http://docs.openstack.org/developer/sahara/userdoc/installation.guide.html#common-installation-steps20:48
jriveramok thanks elmiko20:48
elmikothe endpoints need to have the api version and tenant id20:49
elmikonp, good luck!20:49
jriveramlet me review20:49
*** hdd has joined #openstack-sahara21:06
*** raildo is now known as raildo-afk21:17
openstackgerritMerged openstack/sahara: Removed redundant list declaration  https://review.openstack.org/26538422:26
vgridnevelmiko, are you around?22:29
elmikovgridnev: yup22:30
vgridnevgreat, I need some basic help with improved secret storage. actually I'm interested how to correctly handling secrets? Can you give me some quick examples how to do so?22:32
elmikosure22:33
elmikothere are 3 main things to do with the key_manager, as we use it, 1. store keys, 2. retrieve keys, 3. delete keys22:34
elmikoand there are 2 components when dealing with the manager; the manager and a key22:34
elmikoi'm gonna dig up some examples from our code22:35
elmiko(i'm also working on a refactor based on your comments about duplicated code, should be up next week)22:35
elmikothis is an example of standard key generation and storage, https://github.com/openstack/sahara/blob/master/sahara/utils/proxy.py#L6522:36
elmikothe value returned from the store operation is an ID for the stored key22:37
elmiko(in the case of our SaharaKeyManager, this operation is transparent and the key itself is returned)22:37
elmikolikewise, this is an example of a standard key deletion, https://github.com/openstack/sahara/blob/master/sahara/utils/proxy.py#L9122:38
elmikoit's important that when we create keys and store them, that we also delete them when we are finished using them22:38
elmikoalso, when the key is going to be used, we need to retrieve it from the manager22:38
elmiko(let me find an example of that)22:39
elmikohttps://github.com/openstack/sahara/blob/master/sahara/plugins/vanilla/hadoop2/config.py#L18622:40
elmikothat is a standard key retrieval from the manager22:40
elmikothe manager will always take and return key objects, not the actual clear text key22:40
elmikoso you will need to retrieve get the encoded version of the key when retrieving22:41
elmikothis reminds me though, i need to finish our developer docs for the keymanager...22:41
vgridnevGreat, big thanks!22:41
elmikocool, hope that helps =)22:42
elmikoare you gonna fix that todo on the passwordless ssh review?22:42
vgridnevyep22:45
vgridnevIt looks like I came up with solution when we need to delete key from key manager22:46
vgridnevthere is method not used method on_terminate_cluster in plugin spo22:46
vgridnevspi*22:46
elmikoyea, i saw that too. i'm gonna use it for the cdh passwords22:47
elmikoat first i was thinking, how will i get the notification about cluster deletion, then surprise!22:48
elmikooh, btw. happy new year! =)22:48
elmikohope you had a nice holiday22:48
openstackgerritVitaly Gridnev proposed openstack/sahara: Enable passwordless ssh beetween vanilla nodes  https://review.openstack.org/25083023:06
openstackgerritVitaly Gridnev proposed openstack/sahara: Enable passwordless ssh beetween vanilla nodes  https://review.openstack.org/25083023:07
*** vgridnev has quit IRC23:22
*** egafford has quit IRC23:39
*** witlessb has quit IRC23:57

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