*** tosky has quit IRC | 00:11 | |
*** links has joined #openstack-sahara | 01:09 | |
*** shuyingya has joined #openstack-sahara | 01:15 | |
*** shuyingya has quit IRC | 01:19 | |
*** caowei has joined #openstack-sahara | 01:26 | |
*** shuyingya has joined #openstack-sahara | 01:51 | |
*** shuyingy_ has joined #openstack-sahara | 01:51 | |
*** shuyingya has quit IRC | 01:55 | |
*** dave-mccowan has quit IRC | 02:18 | |
*** dave-mccowan has joined #openstack-sahara | 02:45 | |
*** masber has joined #openstack-sahara | 03:03 | |
*** masuberu has quit IRC | 03:07 | |
*** raissa_ has joined #openstack-sahara | 03:15 | |
*** raissa has quit IRC | 03:16 | |
*** masber has quit IRC | 03:30 | |
*** masber has joined #openstack-sahara | 03:34 | |
*** dave-mccowan has quit IRC | 04:07 | |
*** caowei has quit IRC | 04:44 | |
*** pgadiya has joined #openstack-sahara | 05:14 | |
*** caowei has joined #openstack-sahara | 05:23 | |
*** pgadiya has quit IRC | 05:23 | |
*** tellesnobrega has quit IRC | 05:34 | |
*** tellesnobrega has joined #openstack-sahara | 05:55 | |
*** tellesnobrega has quit IRC | 05:59 | |
*** tellesnobrega has joined #openstack-sahara | 05:59 | |
*** pcaruana has joined #openstack-sahara | 06:05 | |
*** pcaruana has quit IRC | 06:16 | |
*** masuberu has joined #openstack-sahara | 06:42 | |
*** masber has quit IRC | 06:46 | |
*** rcernin has quit IRC | 07:20 | |
*** pcaruana has joined #openstack-sahara | 07:55 | |
*** rcernin has joined #openstack-sahara | 08:07 | |
*** hoonetorg has quit IRC | 08:11 | |
*** hoonetorg has joined #openstack-sahara | 08:25 | |
*** hoonetorg has quit IRC | 08:26 | |
*** hoonetorg has joined #openstack-sahara | 08:27 | |
*** pcaruana has quit IRC | 09:39 | |
*** pcaruana has joined #openstack-sahara | 09:40 | |
*** tosky has joined #openstack-sahara | 09:45 | |
*** zhenguo has quit IRC | 10:09 | |
*** dgonzalez has quit IRC | 10:09 | |
*** ltosky[m] has quit IRC | 10:09 | |
*** ltosky[m] has joined #openstack-sahara | 10:14 | |
*** zhenguo has joined #openstack-sahara | 10:15 | |
*** dgonzalez has joined #openstack-sahara | 10:15 | |
*** masuberu has quit IRC | 10:49 | |
*** caowei has quit IRC | 10:57 | |
*** ltosky[m] has quit IRC | 11:14 | |
openstackgerrit | Merged openstack/sahara-dashboard master: Imported Translations from Zanata https://review.openstack.org/523699 | 11:41 |
---|---|---|
*** rcernin has quit IRC | 11:52 | |
*** dave-mccowan has joined #openstack-sahara | 12:07 | |
*** ltosky[m] has joined #openstack-sahara | 12:27 | |
*** shuyingy_ has quit IRC | 13:35 | |
*** ukaynar has joined #openstack-sahara | 13:42 | |
*** ukaynar has quit IRC | 13:44 | |
*** links has quit IRC | 13:54 | |
*** shuyingya has joined #openstack-sahara | 13:57 | |
*** jeremyfreudberg has joined #openstack-sahara | 14:01 | |
*** shuyingya has quit IRC | 14:02 | |
jeremyfreudberg | um, it's the meeting now, right? | 14:03 |
*** shuyingya has joined #openstack-sahara | 14:03 | |
tellesnobrega | yes :) | 14:03 |
tellesnobrega | tosky, are you joining? | 14:04 |
*** shuyingy_ has joined #openstack-sahara | 14:05 | |
tosky | argh, timezones | 14:05 |
tosky | daylight saving | 14:05 |
tellesnobrega | oh | 14:05 |
tosky | I'm still thinking about 16.00 | 14:06 |
*** shuyingya has quit IRC | 14:13 | |
*** jeremyfreudberg has quit IRC | 14:27 | |
-openstackstatus- NOTICE: if you receieved a result of "RETRY_LIMIT" after 14:15 UTC, it was likely due to an error since corrected. please "recheck" | 15:38 | |
*** ukaynar has joined #openstack-sahara | 16:08 | |
*** shuyingy_ has quit IRC | 16:22 | |
*** ukaynar has quit IRC | 16:45 | |
*** ukaynar has joined #openstack-sahara | 16:46 | |
*** pcaruana has quit IRC | 17:08 | |
*** jeremyfreudberg has joined #openstack-sahara | 17:39 | |
jeremyfreudberg | elmiko, sorry to ping you again | 17:39 |
openstackgerrit | Alex Schultz proposed openstack/puppet-sahara stable/pike: Prepare for post-Pike updates https://review.openstack.org/524293 | 17:59 |
tellesnobrega | tosky, about sahara client on the decommission of specific node. There is one option that is a json, so no need to change there. The other one is instances where we pass <node_group_template:instances_count> | 18:04 |
tellesnobrega | this we would need to change, and possibly break compatibility | 18:04 |
tosky | that's the CLI or the python ? | 18:04 |
tellesnobrega | CLI | 18:05 |
jeremyfreudberg | ( tellesnobrega tosky i just sent two emails, but you can read them later ) | 18:05 |
tellesnobrega | jeremyfreudberg, about plugins versions, sounds about right | 18:06 |
tellesnobrega | the v2 I'll check later | 18:06 |
tellesnobrega | tosky, I'm at saharaclient/osc/v1/clusters.py | 18:06 |
jeremyfreudberg | the one v2 thing i should mention is whether or not decomission of specifc node will be a v2-exclusive | 18:07 |
jeremyfreudberg | at first i was insisting it has to be because we are changing the expected request body but i'm actually not so sure anymore | 18:07 |
tosky | jeremyfreudberg: and for plugins, as stop-gap, we can just document that (say) spark 2.1.2 works even if you use 2.1.0 as label | 18:08 |
tellesnobrega | jeremyfreudberg, doesn't seem necessary, because if the body is passed as is today, it will work | 18:08 |
tosky | the point is: does a new client breaks if used against the old server, when the new features are not used? | 18:09 |
jeremyfreudberg | tellesnobrega, right, the one thing is backwards compatibility, if you pass in the new fields to an old sahara, does it give bad request, or does it just throw that away | 18:09 |
jeremyfreudberg | throw away and just do the old behavior i mean | 18:09 |
tellesnobrega | hm, it will fail | 18:09 |
tellesnobrega | on validation | 18:09 |
tellesnobrega | you are right | 18:09 |
*** ukaynar has quit IRC | 18:10 | |
jeremyfreudberg | let me try it now | 18:10 |
tellesnobrega | validation will fail the request, because it is not expecting the instances part | 18:11 |
jeremyfreudberg | https://github.com/openstack/sahara/blob/master/sahara/service/validations/clusters_schema.py#L101 | 18:11 |
jeremyfreudberg | right | 18:11 |
tellesnobrega | maybe we should hold it for api v2 | 18:14 |
jeremyfreudberg | well, hopefully it can be part of experimental v2 this release | 18:14 |
tellesnobrega | yeah | 18:15 |
tellesnobrega | we have to get a jump on api v2 fast | 18:15 |
tosky | a reason more to push v2 | 18:15 |
tellesnobrega | yes | 18:15 |
tellesnobrega | tosky, that makes postpone testing for now | 18:16 |
tellesnobrega | makes me* | 18:16 |
tosky | testing of v2 or testing of decommissioning? | 18:16 |
elmiko | jeremyfreudberg: yo | 18:16 |
tellesnobrega | nevermind | 18:16 |
tosky | O.o | 18:16 |
jeremyfreudberg | elmiko, hi | 18:16 |
tellesnobrega | got confused | 18:17 |
jeremyfreudberg | another hopefully quick question | 18:17 |
jeremyfreudberg | about apiv2 OpenStack-Project-Id | 18:17 |
jeremyfreudberg | seemingly a custom header of your own invention | 18:17 |
jeremyfreudberg | elmiko, my question is, do we really need that? | 18:18 |
jeremyfreudberg | the only thing we seem to use it for is seeing if it matches what keystonemiddleware sets in the environment | 18:18 |
elmiko | the idea was to remove the project id from the uri for an object | 18:18 |
elmiko | at the time, i think there was much less of an ecosystem around detecting the project | 18:19 |
jeremyfreudberg | yes, i agree it shouldn't be in the url. but i think we can just nuke it altogether | 18:19 |
elmiko | but, if it isn't needed and the project id can be detected outside the uri, then by all means it can be removed | 18:19 |
jeremyfreudberg | every other service i've seen puts faith in keystonemiddleware to set the wsgi env HTTP_X_PROJECT_ID correctly | 18:19 |
elmiko | iirc, at the time it was more difficult to determine the project id from the keystone middleware | 18:19 |
elmiko | yeah, that works | 18:19 |
jeremyfreudberg | alright, cool, thanks elmiko, i just wanted to make sure i wasn't going crazy before i undid your work | 18:20 |
elmiko | no no, it's all good. plus it's been several cycles since i've been "in the loop" about changes | 18:21 |
*** tellesnobrega has left #openstack-sahara | 18:22 | |
*** tellesnobrega has joined #openstack-sahara | 18:22 | |
tosky | does it also mean that we need to tie APIv2 to wsgi as deployment method? | 18:22 |
tosky | just to know | 18:23 |
jeremyfreudberg | thanks again elmiko for your omnipresence, that's all from me for now :) | 18:23 |
jeremyfreudberg | tosky, oslo service loads everything from paste | 18:23 |
jeremyfreudberg | so it can be with builtin eventlet wsgi or the real way of wsgi + actual web server | 18:23 |
tosky | oh, oki; I'm still a bit ignorant in that deployment part | 18:24 |
jeremyfreudberg | anyway, i again have to sign off | 18:24 |
jeremyfreudberg | tellesnobrega, i will post 1-2 patches later (tomorrow?) that basically finish up APIv2 on the sahara-side and enable it | 18:25 |
tellesnobrega | jeremyfreudberg, great | 18:25 |
tellesnobrega | I'm anxiously waiting for that | 18:26 |
elmiko | jeremyfreudberg: np | 18:26 |
tellesnobrega | elmiko, seems like apiv2 is finally coming :D | 18:27 |
*** jeremyfreudberg has quit IRC | 18:27 | |
tellesnobrega | we should have a party for that | 18:27 |
tellesnobrega | tosky, about tests, do you know an easy way for us to add instances to the cluster on the tests/unit/service/api/v2/test_clusters.py | 18:35 |
tellesnobrega | from what I'm seeing, I need to create a new FakeInfra() | 18:36 |
tellesnobrega | that will create the instances and add to the cluster | 18:36 |
openstackgerrit | Merged openstack/puppet-sahara stable/pike: Prepare for post-Pike updates https://review.openstack.org/524293 | 18:40 |
*** openstackgerrit has quit IRC | 18:48 | |
*** pcaruana has joined #openstack-sahara | 18:50 | |
*** ukaynar has joined #openstack-sahara | 19:15 | |
tosky | tellesnobrega: mocking api.create_cluster | 19:16 |
tosky | uh, no, that should be already working | 19:16 |
tellesnobrega | basically it uses fakeOps | 19:17 |
tellesnobrega | so when provision cluster is called, it goes to a fake provision cluster | 19:18 |
tellesnobrega | and that is where the instances are added | 19:18 |
tellesnobrega | I'm trying to add that on the fakeops provision_cluster | 19:18 |
tosky | yep, that makes sense | 19:20 |
tellesnobrega | not sure why it is not adding the instances :( | 19:21 |
tellesnobrega | http://paste.openstack.org/show/627917/ | 19:23 |
tosky | isn't the call to conductor.cluster_update? | 19:23 |
tellesnobrega | tosky, ^ this is what I added so fas | 19:23 |
tellesnobrega | http://paste.openstack.org/show/627918/ | 19:23 |
tellesnobrega | this should make more sense | 19:23 |
tellesnobrega | apparently it should work with adding instances to the node_group | 19:36 |
tellesnobrega | not sure why it isn't working | 19:36 |
tellesnobrega | tosky, it worked | 19:45 |
tellesnobrega | for some reason I have to do a get_cluster after creating the cluster | 19:45 |
tellesnobrega | so the updated data comes | 19:45 |
tellesnobrega | so the updated cluster shows up | 19:47 |
*** ukaynar has quit IRC | 19:49 | |
*** ukaynar has joined #openstack-sahara | 19:50 | |
*** shuyingya has joined #openstack-sahara | 20:05 | |
tosky | ah, good | 20:06 |
*** shuyingya has quit IRC | 20:09 | |
tellesnobrega | tosky, it worked but not perfectly, it updates the instance count on the node_group | 20:09 |
tellesnobrega | before the count was 3 with no instances added, now I have count 6 with the 3 showing instances | 20:10 |
tosky | uhm | 20:10 |
tellesnobrega | https://github.com/openstack/sahara/blob/master/sahara/db/sqlalchemy/api.py#L425-L442 | 20:12 |
tellesnobrega | this is why | 20:12 |
elmiko | tellesnobrega: \o/ | 20:21 |
*** pcaruana has quit IRC | 20:55 | |
*** shuyingya has joined #openstack-sahara | 21:00 | |
*** shuyingya has quit IRC | 21:04 | |
*** ukaynar has quit IRC | 21:07 | |
*** pcaruana has joined #openstack-sahara | 21:24 | |
*** raissa_ has quit IRC | 21:25 | |
*** ukaynar has joined #openstack-sahara | 21:26 | |
*** raissa has joined #openstack-sahara | 21:27 | |
*** raissa has quit IRC | 21:27 | |
*** raissa has joined #openstack-sahara | 21:27 | |
*** raissa has quit IRC | 21:28 | |
*** raissa has joined #openstack-sahara | 21:28 | |
*** raissa has quit IRC | 21:29 | |
*** raissa has joined #openstack-sahara | 21:29 | |
*** raissa has quit IRC | 21:29 | |
*** raissa has joined #openstack-sahara | 21:30 | |
*** raissa has quit IRC | 21:30 | |
*** raissa has joined #openstack-sahara | 21:31 | |
*** raissa has quit IRC | 21:31 | |
*** dave-mccowan has quit IRC | 21:35 | |
*** pcaruana has quit IRC | 21:39 | |
*** rcernin has joined #openstack-sahara | 22:18 | |
*** rcernin has quit IRC | 22:21 | |
*** rcernin has joined #openstack-sahara | 22:21 | |
*** shuyingya has joined #openstack-sahara | 22:35 | |
*** shuyingya has quit IRC | 22:39 | |
*** ukaynar has quit IRC | 23:24 | |
*** ukaynar has joined #openstack-sahara | 23:25 | |
*** ukaynar has quit IRC | 23:29 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!