openstackgerrit | li,chen proposed openstack/sahara-image-elements: Sahara-image-elements can only build hdp with centos https://review.openstack.org/181318 | 00:31 |
---|---|---|
openstackgerrit | li,chen proposed openstack/sahara-image-elements: Sahara-image-elements can only build spark with ubuntu https://review.openstack.org/181314 | 00:36 |
*** hdd has quit IRC | 00:40 | |
*** hdd has joined #openstack-sahara | 01:50 | |
*** mahito has quit IRC | 01:57 | |
*** mahito has joined #openstack-sahara | 02:06 | |
*** mahito has quit IRC | 03:16 | |
*** tobe has joined #openstack-sahara | 03:20 | |
*** mahito has joined #openstack-sahara | 03:24 | |
*** mahito has quit IRC | 03:29 | |
*** mahito has joined #openstack-sahara | 03:30 | |
*** hdd has quit IRC | 03:49 | |
*** sgotliv_ has quit IRC | 04:23 | |
*** sgotliv has joined #openstack-sahara | 04:23 | |
*** coolsvap|afk is now known as coolsvap | 04:23 | |
*** tobe has quit IRC | 05:03 | |
*** chlong has quit IRC | 05:09 | |
*** nkrinner has joined #openstack-sahara | 05:10 | |
*** Nikolay_St has quit IRC | 05:32 | |
*** sgotliv has quit IRC | 05:57 | |
*** mahito has quit IRC | 05:58 | |
*** Longgeek_ has joined #openstack-sahara | 05:59 | |
*** tnovacik has joined #openstack-sahara | 06:01 | |
*** Longgeek has quit IRC | 06:03 | |
*** mahito_ has joined #openstack-sahara | 06:04 | |
openstackgerrit | Merged openstack/sahara-image-elements: Always enable TRACE in gate for building images https://review.openstack.org/175476 | 06:36 |
*** stanchan has joined #openstack-sahara | 07:06 | |
*** mahito_ has quit IRC | 07:38 | |
*** pino|work has joined #openstack-sahara | 07:40 | |
*** tobe has joined #openstack-sahara | 07:42 | |
*** Nikolay_St has joined #openstack-sahara | 07:44 | |
*** mahito has joined #openstack-sahara | 07:46 | |
*** Nikolay_St has quit IRC | 07:56 | |
*** sgotliv has joined #openstack-sahara | 08:04 | |
*** Nikolay_St has joined #openstack-sahara | 08:09 | |
*** witlessb has joined #openstack-sahara | 08:13 | |
openstackgerrit | Sergey Reshetnyak proposed openstack/sahara: Improve compatible with python3 https://review.openstack.org/181757 | 08:40 |
openstackgerrit | Pino Toscano proposed openstack/sahara-image-elements: Use the 'base' element implicitly everywhere https://review.openstack.org/181840 | 09:20 |
*** Nikolay_St has quit IRC | 09:41 | |
*** Nikolay_St has joined #openstack-sahara | 09:41 | |
*** sgotliv has quit IRC | 10:02 | |
*** sgotliv has joined #openstack-sahara | 10:18 | |
*** sgotliv has quit IRC | 10:35 | |
*** mahito has quit IRC | 10:36 | |
*** mahito has joined #openstack-sahara | 10:36 | |
*** mahito has quit IRC | 10:44 | |
*** coolsvap is now known as coolsvap|afk | 10:48 | |
*** sgotliv has joined #openstack-sahara | 10:53 | |
*** tnovacik has quit IRC | 10:57 | |
*** Nikolay_St has quit IRC | 11:33 | |
*** Nikolay_St has joined #openstack-sahara | 11:34 | |
*** tobe has quit IRC | 11:53 | |
*** Nikolay_St has quit IRC | 12:03 | |
*** Nikolay_St has joined #openstack-sahara | 12:05 | |
*** Nikolay_St has quit IRC | 12:15 | |
*** raildo has joined #openstack-sahara | 12:19 | |
*** htruta has joined #openstack-sahara | 12:19 | |
openstackgerrit | lu huichun proposed openstack/sahara-specs: Add scheduling and recurring oozie workflow to EDP jobs https://review.openstack.org/175719 | 12:29 |
*** Nikolay_St has joined #openstack-sahara | 12:31 | |
openstackgerrit | lu huichun proposed openstack/sahara-specs: Add scheduling and recurring oozie workflow to EDP jobs https://review.openstack.org/175719 | 12:37 |
openstackgerrit | lu huichun proposed openstack/sahara-specs: Add scheduling and recurring oozie workflow to EDP jobs https://review.openstack.org/175719 | 12:42 |
*** Longgeek_ has quit IRC | 12:48 | |
*** Longgeek has joined #openstack-sahara | 12:49 | |
*** tmckay has joined #openstack-sahara | 13:09 | |
*** Longgeek has quit IRC | 13:15 | |
*** Longgeek has joined #openstack-sahara | 13:16 | |
*** chlong has joined #openstack-sahara | 13:22 | |
*** tosky has joined #openstack-sahara | 13:54 | |
*** Longgeek has quit IRC | 14:00 | |
*** Longgeek has joined #openstack-sahara | 14:01 | |
openstackgerrit | Trevor McKay proposed openstack/sahara: Add "null" for fields in cluster and node group template JSON schemas https://review.openstack.org/181477 | 14:03 |
*** Longgeek_ has joined #openstack-sahara | 14:03 | |
*** Longgeek has quit IRC | 14:04 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/sahara-image-elements: Updated from global requirements https://review.openstack.org/181246 | 14:04 |
*** openstackgerrit has quit IRC | 14:06 | |
*** openstackgerrit has joined #openstack-sahara | 14:06 | |
*** egafford has joined #openstack-sahara | 14:13 | |
*** openstack has joined #openstack-sahara | 14:19 | |
*** nkrinner has quit IRC | 14:40 | |
*** stanchan has quit IRC | 14:45 | |
tellesnobrega | elmiko, hey, we got a | 14:46 |
tellesnobrega | saharaclient.api.base.APIException: Failed to parse response from Sahara. Check if service catalog configured properly. | 14:46 |
tellesnobrega | we have juno installed | 14:46 |
tellesnobrega | is this because of the change from data_processing to data-processing? | 14:46 |
elmiko | tellesnobrega: sounds like it | 14:46 |
elmiko | tellesnobrega: you could manually add both to the service catalog and see if that eliminates the error | 14:47 |
htruta | elmiko, tellesnobrega: it must be it | 14:47 |
htruta | I could use sahara CLI with --bypass-url parameter | 14:47 |
elmiko | if possible, the service catalog should be updated | 14:48 |
htruta | I'm checking that | 14:48 |
tellesnobrega | thanks | 14:49 |
elmiko | htruta: but yea, using the --bypass-url would work for an cli usage | 14:49 |
*** hdd has joined #openstack-sahara | 15:33 | |
openstackgerrit | Chad Roberts proposed openstack/python-saharaclient: Adding node group template editing to CLI https://review.openstack.org/181466 | 15:41 |
*** Nikolay_St has quit IRC | 15:48 | |
*** sgotliv_ has joined #openstack-sahara | 15:59 | |
*** sgotliv has quit IRC | 16:00 | |
htruta | elmiko: changing service/endpoint resolved for the CLI, but not for python API | 16:07 |
htruta | I no longer need the --bypass-url | 16:07 |
*** tosky has quit IRC | 16:32 | |
*** tosky has joined #openstack-sahara | 16:33 | |
htruta | elmiko: solved it. I think it is a bug | 16:45 |
htruta | I was Instantiating the client with (sahara_url="sahara:8386/v1.1", project_id="x", input_auth_token=token) | 16:46 |
htruta | but it only worked with (sahara_url="sahara:8386/v1.1/x", project_id="x", input_auth_token=token) | 16:46 |
*** tnovacik has joined #openstack-sahara | 16:47 | |
htruta | actually, the project_id parameter seems useless | 16:47 |
elmiko | htruta: interesting... | 17:00 |
elmiko | htruta: in the service catalog, the url should be "ip:port/v1.1/%(tenant_id)s", so i can see the sahara_url using the project id but it shouldn't be needed in the url | 17:01 |
htruta | elmiko: it is | 17:02 |
*** tosky has quit IRC | 17:02 | |
htruta | that's why I can use the CLI | 17:02 |
htruta | but the python API is only working as I told you | 17:02 |
elmiko | weird | 17:03 |
htruta | I'm using the auth check method: http://docs.openstack.org/developer/python-saharaclient/api.html#authentication-check | 17:03 |
*** tosky has joined #openstack-sahara | 17:03 | |
htruta | but with project_id in the url | 17:03 |
*** Networkn3rd has joined #openstack-sahara | 17:03 | |
elmiko | hmm, maybe something worth checking | 17:05 |
elmiko | i usually use the form with the project_name parameter, and i don't need the id in the url | 17:05 |
openstackgerrit | Merged openstack/sahara-image-elements: Updated from global requirements https://review.openstack.org/181246 | 17:09 |
elmiko | htruta: here is an example of how i use the python client, https://elmiko.github.io/2014/09/25/configuring-sahara-cluster-templates-with-python.html | 17:09 |
htruta | I see | 17:10 |
htruta | nice post, btw... it's gonna be helpful | 17:11 |
elmiko | thanks =) | 17:11 |
htruta | anyway, I made it passing the token... I'll move my stuff on, and maybe I can check on that later | 17:11 |
htruta | thanks for your help | 17:11 |
elmiko | np, glad you got it working | 17:12 |
*** stanchan has joined #openstack-sahara | 17:15 | |
elmiko | _crobertsrh: i'm testing out the node group template update patch, and i have an updated sahara, is there something else i need? | 17:39 |
_crobertsrh | python-saharaclient | 17:39 |
-openstackstatus- NOTICE: We have discovered post-upgrade issues with Gerrit affecting nova (and potentially other projects). Some changes will not appear and some actions, such as queries, may return an error. We are continuing to investigate. | 17:39 | |
*** ChanServ changes topic to "We have discovered post-upgrade issues with Gerrit affecting nova (and potentially other projects). Some changes will not appear and some actions, such as queries, may return an error. We are continuing to investigate." | 17:39 | |
elmiko | yea, i updated that with the patch. this is what i see http://paste.openstack.org/show/220043/ | 17:40 |
elmiko | and i produced the json by doing a `sahara node-group-template-show` | 17:40 |
_crobertsrh | Make sure you're actually using the right client lib...can be tricky if you have multiple envs lurking. | 17:40 |
_crobertsrh | does the help text show you the option for node-group-template-update? | 17:41 |
_crobertsrh | if not, it's probably grabbing something older | 17:41 |
elmiko | yea, it does show update | 17:41 |
_crobertsrh | ah, ok, should be good to go then, I'd think | 17:41 |
_crobertsrh | but, of course, you wouldn't have asked if everything was working | 17:41 |
elmiko | lol | 17:42 |
elmiko | i just figured i'd actualy *test* the change ;) | 17:42 |
_crobertsrh | Nice touch :) | 17:42 |
elmiko | i'm gonna upgrade everything and try again | 17:43 |
_crobertsrh | heh, ok | 17:43 |
_crobertsrh | I have one small tweak to make on it that I just discovered. | 17:43 |
_crobertsrh | A free -1 if you can spot it quickly | 17:43 |
openstackgerrit | Chad Roberts proposed openstack/python-saharaclient: Adding cluster template editing to CLI https://review.openstack.org/181996 | 17:44 |
elmiko | not quick enough | 17:45 |
openstackgerrit | Chad Roberts proposed openstack/python-saharaclient: Adding node group template editing to CLI https://review.openstack.org/181466 | 17:45 |
_crobertsrh | oh no...that was a new CR (cluster templates) | 17:45 |
_crobertsrh | now you're too late :) | 17:45 |
elmiko | oh, interesting. so the update did take on the sahara controller but the cli reported all those warnings and an error | 17:46 |
_crobertsrh | Hmm | 17:46 |
elmiko | ball's in your court now... ;) | 17:47 |
elmiko | j/k | 17:47 |
elmiko | _crobertsrh: i think we're getting bit by None/null/0 values not get set in the template ngt that is getting created | 17:51 |
_crobertsrh | I think I see what I may have done | 17:51 |
elmiko | to explain the warnings that is | 17:51 |
_crobertsrh | Yeah. Sort of. I was trying to figure out what fields might be valid at update-time by looking at the actual node group template object. | 17:52 |
_crobertsrh | It looks like things might not be present at all (as opposed to None) | 17:52 |
elmiko | right | 17:52 |
_crobertsrh | which makes my update code think it isn't valid at all....and discard those fields | 17:52 |
elmiko | i think this is related to what tmckay was looking at for null fields | 17:53 |
elmiko | right | 17:53 |
elmiko | why the error though? | 17:53 |
tmckay | elmiko, croberts, care to summarize or should I read back? | 17:53 |
elmiko | tmckay: i'm testing out the node group template update from cli, and there is a comparison of field keys that is happening | 17:54 |
_crobertsrh | Not sure on the error bit. I have not seen that. | 17:54 |
elmiko | some of the fields, i think, aren't present because the server doesn't create keys for None fields | 17:54 |
elmiko | _crobertsrh: is that do_node_group_template_update function supposed to return anything? | 17:55 |
_crobertsrh | It's probably along the lines of, "I've out clevered myself into incorrectness" | 17:55 |
elmiko | lol | 17:55 |
*** _crobertsrh is now known as crobertsrh | 17:55 | |
tmckay | ah. I was poking at that. crobertsrh, did you see the _filter_call_args method? | 17:55 |
crobertsrh | I don't believe so. nothing else seems to return anything | 17:55 |
tmckay | I am not sure exactly how it works, but it looks like it tosses args that are not legal for the client call | 17:55 |
elmiko | crobertsrh: ack | 17:55 |
crobertsrh | tmckay: I did see it, but like you, I was unsure of how it's supposed to work. I could poke more at it. | 17:55 |
tmckay | crobertsrh, I was wondering if the comparison stuff for update can be replaced with that -- that would solve the issue | 17:56 |
tmckay | I was going to give it a try, just for grins :) | 17:56 |
tmckay | crobertsrh, I think ultimately there is no need to look up keys in the template. If fields are bogus, then validation should catch it. | 17:57 |
tmckay | but it looks like there is a precendent in the filter_call_args thing | 17:57 |
tmckay | crobertsrh, I was going to verify before I opened my mouth, but you guys happen to be touching the same thing :-D | 17:58 |
crobertsrh | Yeah. Fine idea. I appreciate it. I'll play with the _filter_call_args bit. It does seem promising. | 17:58 |
tmckay | looks like a very simple call, I bet it works | 17:59 |
elmiko | crobertsrh: i think i found the error | 17:59 |
elmiko | crobertsrh: looks like the server might not be wrapping the node group template object correctly when it returns from an PUT | 17:59 |
elmiko | crobertsrh: check that out http://paste.openstack.org/show/220053/ | 18:00 |
crobertsrh | I thought I just made a change to fix that. | 18:00 |
elmiko | ok, maybe just my controller doesn't have that fix | 18:00 |
elmiko | i updated like last wednesday or so | 18:00 |
*** sgotliv_ has quit IRC | 18:01 | |
tmckay | crobertsrh, I just tried it, I'll pastebin and you can verify | 18:01 |
tmckay | someone wrote some good code | 18:01 |
*** Networkn3rd has quit IRC | 18:01 | |
elmiko | crobertsrh: checking again | 18:02 |
tmckay | crobertsrh, this is what I slapped in there http://fpaste.org/220763/13673451/ | 18:02 |
crobertsrh | I suspect that won't quite work (if you leave out some of the other unnamed params) | 18:03 |
crobertsrh | but it is promising | 18:03 |
elmiko | crobertsrh: ok, yep. pebkac | 18:03 |
elmiko | ok, added my comment | 18:08 |
elmiko | and confirmed that it's dropping values | 18:08 |
crobertsrh | It does look like _filter....is the right answer. | 18:09 |
*** Networkn3rd has joined #openstack-sahara | 18:12 | |
crobertsrh | crap...runs into problems with the mixed named/unnamed params | 18:12 |
elmiko | doh =( | 18:13 |
tmckay | elmiko, care to look at https://review.openstack.org/#/c/180372/? | 18:13 |
tmckay | simple fix, we should push it through | 18:13 |
tmckay | crobertsrh, what's the named/unnamed issue? Something that can be fixed in the client code? | 18:14 |
elmiko | tmckay: ack | 18:14 |
crobertsrh | I suspect it's just me having a Monday | 18:14 |
tmckay | lol | 18:14 |
tmckay | It's Monday here too | 18:14 |
crobertsrh | If I specify an update without something like "plugin_name".....the call fails. | 18:15 |
elmiko | tmckay: ok, +workflow on that fix | 18:15 |
tmckay | thanks | 18:15 |
crobertsrh | Might need to specify some sort of default map to the filter function | 18:15 |
crobertsrh | but the create method does it without such magic | 18:16 |
crobertsrh | oh... | 18:16 |
crobertsrh | because they are required for a "create" | 18:16 |
* tmckay brb | 18:16 | |
elmiko | too bad there is not an easy way for the saharaclient to access the json validation info from sahara | 18:24 |
openstackgerrit | Chad Roberts proposed openstack/python-saharaclient: Adding node group template editing to CLI https://review.openstack.org/181466 | 18:26 |
crobertsrh | Ok, try that one, elmiko | 18:26 |
*** htruta has quit IRC | 18:26 | |
crobertsrh | I filter and then force the positional params to be present if they are not given. | 18:27 |
*** htruta has joined #openstack-sahara | 18:27 | |
crobertsrh | I suppose it might be a good bug fix to go back and make all the params named args. | 18:27 |
elmiko | ok, trying now | 18:29 |
elmiko | better, i'm still getting a couple warnings but they might be totally valid | 18:31 |
elmiko | crobertsrh: should i be able to update volume_mount_prefix and is_default? | 18:31 |
crobertsrh | I think I see one more tweak | 18:31 |
crobertsrh | elmiko: They are not currently in the update code at all. I suspect they were added after the original update func maybe?? | 18:32 |
elmiko | maybe | 18:32 |
crobertsrh | Either way, a bug that they are not yet in there. | 18:32 |
elmiko | yea | 18:33 |
elmiko | and i'm guessing it's a no-no to try and update the tenant_id? | 18:33 |
crobertsrh | Yeah, that shouldn't work, I don't think. | 18:33 |
elmiko | ok, looks good to me then. aside from the new keys, but i don't think those are directly from this patch. | 18:34 |
crobertsrh | Doh, one more tweak required | 18:36 |
openstackgerrit | Chad Roberts proposed openstack/python-saharaclient: Adding cluster template editing to CLI https://review.openstack.org/181996 | 18:37 |
openstackgerrit | Chad Roberts proposed openstack/python-saharaclient: Adding node group template editing to CLI https://review.openstack.org/181466 | 18:39 |
*** pino|work has quit IRC | 18:42 | |
elmiko | crobertsrh: i like the change to **update_template as well, nice tough | 19:11 |
elmiko | *touch | 19:11 |
crobertsrh | Yeah, way cleaner | 19:12 |
elmiko | agreed | 19:12 |
crobertsrh | I can get rid of the other forced params after I switch the whole method to use named params. | 19:12 |
crobertsrh | but that's a separate bug, I suppose | 19:12 |
elmiko | makes sense | 19:13 |
openstackgerrit | Merged openstack/sahara: Updated from global requirements https://review.openstack.org/181952 | 19:13 |
openstackgerrit | Chad Roberts proposed openstack/python-saharaclient: Adding cluster template editing to CLI https://review.openstack.org/181996 | 19:32 |
crobertsrh | good catch tmckay. Thanks. | 19:32 |
tmckay | np, looks great | 19:33 |
openstackgerrit | Telles Mota Vidal Nóbrega proposed openstack/sahara: Implementation of Storm scaling https://review.openstack.org/178837 | 19:36 |
openstackgerrit | Merged openstack/sahara-extra: Updated from global requirements https://review.openstack.org/181245 | 19:42 |
openstackgerrit | Merged openstack/sahara-dashboard: Updated from global requirements https://review.openstack.org/181244 | 19:42 |
openstackgerrit | Merged openstack/sahara: Fix logging_context_format_string input for sahara https://review.openstack.org/180372 | 19:53 |
openstackgerrit | Merged openstack/sahara-image-elements: Use the 'base' element implicitly everywhere https://review.openstack.org/181840 | 19:59 |
tellesnobrega | elmiko, tmckay, alazarev can you take a look at https://review.openstack.org/#/c/178837/ | 20:22 |
openstackgerrit | Chad Roberts proposed openstack/python-saharaclient: Adding cluster template editing to CLI https://review.openstack.org/181996 | 20:22 |
elmiko | tellesnobrega: ack | 20:22 |
tellesnobrega | thanks | 20:22 |
openstackgerrit | Merged openstack/sahara: Added support of Pig 0.14 to MapR plugin https://review.openstack.org/180238 | 20:22 |
openstackgerrit | Merged openstack/sahara: Fixed logging issues with missing ids https://review.openstack.org/180167 | 20:23 |
openstackgerrit | Chad Roberts proposed openstack/python-saharaclient: Adding node group template editing to CLI https://review.openstack.org/181466 | 20:24 |
alazarev | tellesnobrega, done | 20:25 |
tellesnobrega | alazarev, thanks | 20:25 |
SergeyLukjanov | elmiko, congrats with API WG core ;) | 20:27 |
elmiko | SergeyLukjanov: hehe, thanks =) | 20:27 |
tmckay | tellesnobrega, looking | 20:29 |
tellesnobrega | tmckay, thanks | 20:29 |
openstackgerrit | Merged openstack/sahara: Improve compatible with python3 https://review.openstack.org/181757 | 20:31 |
openstackgerrit | Merged openstack/sahara: Add support of Mapr FS to scenario tests https://review.openstack.org/181071 | 20:31 |
openstackgerrit | Merged openstack/sahara: Use keystone session in new integration tests https://review.openstack.org/169295 | 20:31 |
*** tosky has quit IRC | 20:32 | |
*** tosky has joined #openstack-sahara | 20:33 | |
*** openstackgerrit_ has joined #openstack-sahara | 20:43 | |
*** sgotliv has joined #openstack-sahara | 20:54 | |
*** tnovacik has quit IRC | 20:55 | |
openstackgerrit | Merged openstack/sahara: Merge tag '2015.1.0' https://review.openstack.org/179293 | 20:57 |
openstackgerrit | Merged openstack/sahara: Remove sqlalchemy-migrate from test-requirements https://review.openstack.org/176297 | 20:59 |
*** htruta has quit IRC | 21:00 | |
*** tmckay has quit IRC | 21:00 | |
*** htruta has joined #openstack-sahara | 21:01 | |
*** crobertsrh is now known as _crobertsrh | 21:13 | |
openstackgerrit | Merged openstack/sahara: Increase edp module test coverage https://review.openstack.org/180121 | 21:37 |
openstackgerrit | Merged openstack/sahara: Make configurable timeouts in scenario tests https://review.openstack.org/177181 | 21:37 |
openstackgerrit | Merged openstack/sahara: Improved coverage for workflow_creator https://review.openstack.org/179074 | 21:37 |
openstackgerrit | Merged openstack/sahara: Added unit tests for service/api module https://review.openstack.org/178205 | 21:38 |
openstackgerrit | Merged openstack/sahara: Session usage improved in sqlalchemy api https://review.openstack.org/179038 | 21:39 |
SergeyLukjanov | folks, I've ensured that all threads created and added them to https://wiki.openstack.org/wiki/Summit/Liberty/Etherpads#Sahara and http://libertydesignsummit.sched.org/type/design+summit/Sahara , session drivers, please, fill the etherpads with info | 22:00 |
SergeyLukjanov | tmckay, crobertsrh, elmiko ^^ | 22:01 |
*** sgotliv has quit IRC | 22:06 | |
*** egafford has quit IRC | 22:08 | |
*** Networkn3rd has quit IRC | 22:20 | |
*** Networkn3rd has joined #openstack-sahara | 22:28 | |
elmiko | SergeyLukjanov: ack | 22:31 |
*** Longgeek_ has quit IRC | 23:20 | |
*** witlessb has quit IRC | 23:23 | |
*** stanchan has quit IRC | 23:27 | |
*** tosky has quit IRC | 23:49 | |
-openstackstatus- NOTICE: Gerrit is going offline while we perform an emergency downgrade to version 2.8. | 23:55 | |
*** ChanServ changes topic to "Gerrit is going offline while we perform an emergency downgrade to version 2.8." | 23:55 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!