*** marcoemorais has joined #openstack-containers | 00:01 | |
*** suro_ has quit IRC | 00:02 | |
*** suro_ has joined #openstack-containers | 00:03 | |
*** suro_ has quit IRC | 00:05 | |
*** dims has quit IRC | 00:27 | |
*** dims has joined #openstack-containers | 00:28 | |
*** dims has quit IRC | 00:32 | |
*** suro_ has joined #openstack-containers | 00:46 | |
*** unicell has joined #openstack-containers | 00:48 | |
*** suro_ has quit IRC | 00:50 | |
*** suro_ has joined #openstack-containers | 00:57 | |
*** dims has joined #openstack-containers | 00:59 | |
*** suro_ has quit IRC | 01:35 | |
*** marcoemorais has quit IRC | 01:41 | |
openstackgerrit | Steven Dake proposed stackforge/magnum: Add a baymodel object https://review.openstack.org/141960 | 01:54 |
---|---|---|
*** dims has quit IRC | 01:55 | |
*** dims has joined #openstack-containers | 01:56 | |
*** dims has quit IRC | 02:00 | |
*** erkules_ has joined #openstack-containers | 02:05 | |
*** erkules has quit IRC | 02:07 | |
*** gpruessmann has quit IRC | 02:22 | |
*** gpruessmann has joined #openstack-containers | 02:22 | |
*** LinstatSDR has joined #openstack-containers | 02:27 | |
*** rongze has joined #openstack-containers | 02:30 | |
*** hblixt has quit IRC | 02:40 | |
yuanying_ | sdake: arround? | 02:41 |
yuanying_ | Can I add "stack_id" to bay? | 02:42 |
yuanying_ | And I'm wondering to add a "master_address" and "minion_address" attribute to bay. | 02:44 |
yuanying_ | We should obtain it heat stack outputs each api call? | 02:44 |
yuanying_ | or cache it into database? | 02:45 |
*** LinstatSDR has quit IRC | 03:14 | |
openstackgerrit | Steven Dake proposed stackforge/magnum: Add a baymodel object https://review.openstack.org/141960 | 03:25 |
*** harlowja is now known as harlowja_away | 03:25 | |
sdake | yuanying_ shoot | 03:25 |
sdake | stack_id definately belongs in bay | 03:26 |
sdake | don't ask for permission, just write patches imo and submit to review queue :) | 03:26 |
sdake | we need master and all the minions in the bay too | 03:26 |
yuanying_ | haha | 03:26 |
sdake | I am not hot on using steak outputs | 03:26 |
yuanying_ | ok | 03:26 |
*** PaulCzar has quit IRC | 03:36 | |
sdake | yuanying_ do we need a bay type any longer? | 03:47 |
sdake | since we have the bay model, that is the new type right? | 03:47 |
yuanying_ | yes | 03:48 |
*** unicell1 has joined #openstack-containers | 03:48 | |
sdake | I am adding baymodel_id now | 03:48 |
yuanying_ | ok | 03:48 |
*** unicell has quit IRC | 03:50 | |
*** nshaikh has joined #openstack-containers | 03:54 | |
*** jeckersb is now known as jeckersb_gone | 04:00 | |
openstackgerrit | Steven Dake proposed stackforge/magnum: Remove type and image_id replace with baymodel_id https://review.openstack.org/142328 | 04:00 |
sdake | yuanying_ if you rebase off that patch stream, you should be all set | 04:03 |
yuanying_ | I'll fetch this commit and checkout it. | 04:04 |
*** unicell1 is now known as unicell | 04:10 | |
*** unicell has joined #openstack-containers | 04:10 | |
*** hblixt has joined #openstack-containers | 04:14 | |
openstackgerrit | Steven Dake proposed stackforge/magnum: Remove type and image_id replace with baymodel_id https://review.openstack.org/142328 | 04:14 |
openstackgerrit | Steven Dake proposed stackforge/magnum: Add a baymodel object https://review.openstack.org/141960 | 04:14 |
sdake | dont forget to downgrade and upgrade your db yuanying_ | 04:15 |
yuanying_ | all right | 04:16 |
sdake | pretty cool magnum is already multivendor | 04:22 |
sdake | http://stackalytics.com/?metric=commits&project_type=all&module=magnum | 04:22 |
*** rongze has quit IRC | 04:26 | |
*** dharmit has joined #openstack-containers | 04:41 | |
*** yuanying_ has quit IRC | 04:43 | |
*** yuanying has joined #openstack-containers | 04:43 | |
*** rongze has joined #openstack-containers | 04:43 | |
*** nshaikh has quit IRC | 04:47 | |
*** nshaikh has joined #openstack-containers | 04:59 | |
*** oro has joined #openstack-containers | 05:02 | |
*** wpf1 has quit IRC | 05:07 | |
*** adrian_otto has joined #openstack-containers | 05:20 | |
openstackgerrit | Steven Dake proposed stackforge/magnum: Remove type and image_id replace with baymodel_id https://review.openstack.org/142328 | 05:24 |
openstackgerrit | Steven Dake proposed stackforge/magnum: Add a baymodel object https://review.openstack.org/141960 | 05:24 |
*** nshaikh has quit IRC | 05:28 | |
*** martyfalatic has quit IRC | 05:36 | |
*** martyfalatic has joined #openstack-containers | 05:37 | |
*** martyfalatic has quit IRC | 05:38 | |
*** martyfalatic has joined #openstack-containers | 05:38 | |
openstackgerrit | Steven Dake proposed stackforge/magnum: Remove type and image_id replace with baymodel_id https://review.openstack.org/142328 | 05:39 |
sdake | yuanying_ I thinkh those patches are properly rebased into passing the gate now | 05:39 |
sdake | hwo goes the progress? | 05:39 |
yuanying | For now, I write source which does not have relationship between bay_model. | 05:41 |
sdake | where do you get the config - hard coded? | 05:43 |
openstackgerrit | Steven Dake proposed stackforge/magnum: Remove type and image_id replace with baymodel_id https://review.openstack.org/142328 | 05:45 |
openstackgerrit | Steven Dake proposed stackforge/magnum: Add a baymodel object https://review.openstack.org/141960 | 05:45 |
yuanying | yes | 05:45 |
sdake | cool that shoudl be easy enough to pull out of baymodel | 05:46 |
*** oro has quit IRC | 05:53 | |
*** achanda has joined #openstack-containers | 06:01 | |
*** nshaikh has joined #openstack-containers | 06:02 | |
openstackgerrit | Steven Dake proposed stackforge/python-magnumclient: Make baymodel not show links https://review.openstack.org/142359 | 06:15 |
openstackgerrit | Steven Dake proposed stackforge/python-magnumclient: Make baymodel-list only show name and UUID https://review.openstack.org/142360 | 06:18 |
openstackgerrit | Steven Dake proposed stackforge/python-magnumclient: Don't show links when showing bay https://review.openstack.org/142362 | 06:19 |
openstackgerrit | Steven Dake proposed stackforge/python-magnumclient: Type and image_id are removed from server https://review.openstack.org/142364 | 06:21 |
openstackgerrit | Steven Dake proposed stackforge/python-magnumclient: Make bay create work with new bay model structure https://review.openstack.org/142365 | 06:23 |
*** suro_ has joined #openstack-containers | 06:25 | |
sdake | baymodel looks like a good change | 06:33 |
openstackgerrit | Steven Dake proposed stackforge/python-magnumclient: Make bay-create operate again as a result of baymodel https://review.openstack.org/142367 | 06:33 |
*** dims has joined #openstack-containers | 06:34 | |
*** dims has quit IRC | 06:39 | |
*** achanda has quit IRC | 06:40 | |
*** achanda has joined #openstack-containers | 06:41 | |
*** martyfalatic has quit IRC | 06:43 | |
*** suro_ has quit IRC | 06:45 | |
*** suro_ has joined #openstack-containers | 06:45 | |
*** achanda_ has joined #openstack-containers | 06:45 | |
*** suro_ has quit IRC | 06:45 | |
*** achanda has quit IRC | 06:45 | |
*** achanda_ has quit IRC | 06:48 | |
*** marcoemorais has joined #openstack-containers | 06:52 | |
*** marcoemorais1 has joined #openstack-containers | 06:54 | |
*** marcoemorais has quit IRC | 06:56 | |
openstackgerrit | Motohiro/Yuanying Otsuka proposed stackforge/magnum: Fix auth_url type https://review.openstack.org/142371 | 07:34 |
*** achanda has joined #openstack-containers | 07:35 | |
*** gpruessmann has quit IRC | 07:37 | |
openstackgerrit | Merged stackforge/magnum: Fix auth_url type https://review.openstack.org/142371 | 07:40 |
openstackgerrit | Steven Dake proposed stackforge/python-magnumclient: Don't show links when showing bay https://review.openstack.org/142362 | 07:41 |
openstackgerrit | Steven Dake proposed stackforge/python-magnumclient: Make bay create work with new bay model structure https://review.openstack.org/142365 | 07:41 |
openstackgerrit | Steven Dake proposed stackforge/python-magnumclient: Type and image_id are removed from server https://review.openstack.org/142364 | 07:41 |
openstackgerrit | Steven Dake proposed stackforge/python-magnumclient: Make bay-create operate again as a result of baymodel https://review.openstack.org/142367 | 07:41 |
*** hblixt has quit IRC | 07:41 | |
sdake | yuanying any progress? | 07:42 |
yuanying | Stack is likely to make in a little more. | 07:43 |
yuanying | some bug is included in my previous patch. | 07:43 |
sdake | if you have patches to previous patches, feel free to submit and i'll approve em | 07:44 |
yuanying | ok | 07:44 |
sdake | are you creating baremetal flavors, or virt flavors? | 07:44 |
sdake | if you launch atomic + baremetal, kube is ready to go, it just needs to be configured via heat | 07:45 |
sdake | i think our entire uath.py is busted, i'm surprised heat accepts the token ;-) | 07:46 |
yuanying | maybe client is not set auth_token. | 07:49 |
sdake | oh ya that is possible | 07:49 |
sdake | auth.py is busted - atm its not authorizing anything | 07:49 |
sdake | i'm not sure if it prepares the correct context for auth passing or not | 07:49 |
sdake | it hasn't been tackled yet | 07:50 |
sdake | I was pretty sure we would be forced to fix it with heat integration | 07:50 |
yuanying | yes, its not authorizing anything | 07:50 |
sdake | ya it returns immediately | 07:52 |
sdake | I think what makes the most sense is to use ironic's auth.py rather then solum's auth.py | 07:52 |
sdake | but I wasn't sure how to fix it without an integration point (such as heat) | 07:53 |
sdake | it is possible the client isn't passing the right context info to auth.py | 07:53 |
sdake | i'm just not sure | 07:53 |
sdake | magic incantations all throughout auth ;) | 07:53 |
yuanying | Now I read a python-ironicclient and magnumclient | 07:53 |
sdake | I think magnumclient came from savannah but I'm not certain | 07:54 |
sdake | most of magnum came from ironic | 07:54 |
sdake | except the rpc backend which came from solum | 07:54 |
sdake | I couldn't ge tthe rpc backend from ironic to work properly - eventlet issue | 07:54 |
yuanying | And magnumclient also come from solum and ironic | 07:55 |
yuanying | not | 07:55 |
yuanying | sahara and ironic | 07:55 |
*** achanda has quit IRC | 07:55 | |
sdake | I dont recall the details, I have onl ydone minimal work on the client | 07:55 |
sdake | by the time I got to it, it was already built :) | 07:55 |
yuanying | oh | 07:55 |
*** achanda has joined #openstack-containers | 07:56 | |
sdake | I think achanda wrote the client | 07:56 |
*** achanda has quit IRC | 08:01 | |
yuanying | or, AuthInformationHook is not worked. | 08:01 |
*** achanda has joined #openstack-containers | 08:02 | |
sdake | it is called | 08:02 |
sdake | but it returns almost immediately | 08:02 |
yuanying | ok | 08:02 |
sdake | check the first two returns | 08:02 |
yuanying | CONF.get('enable_authentication'): returns false | 08:02 |
sdake | its not that one | 08:02 |
sdake | its a different check | 08:02 |
yuanying | hmmmm | 08:02 |
sdake | but basically that entire file has to be stripped for things to work | 08:03 |
sdake | and then I'm not even sure if it is authenticating at that oint | 08:03 |
yuanying | AUTH.is_endpoint_public(state.request.path): return True | 08:05 |
yuanying | so, authorization is not worked. | 08:05 |
sdake | right | 08:06 |
sdake | i copied that auth from solum it was built for keystone.middlewareclient rather then keystonemiddleware | 08:07 |
sdake | ironic is built for keystonemiddleware | 08:07 |
sdake | we made that change early on | 08:07 |
sdake | yuanying how would you respond if someone said "magnum overlaps with tripleo" | 08:10 |
sdake | not being a tripleo expert myself, i was faced with this question | 08:11 |
*** rongze has quit IRC | 08:11 | |
sdake | and didn't quite know how to respond on technical terms | 08:11 |
yuanying | OK, I fixed it, so I commit it, can you aprove it? | 08:11 |
sdake | sure | 08:11 |
*** erkules_ is now known as erkules | 08:11 | |
*** rongze has joined #openstack-containers | 08:11 | |
yuanying | RequestContext is something wrong... | 08:15 |
sdake | ya think | 08:15 |
sdake | I had to add a to_dict() hack to it to get er to work | 08:15 |
*** gpruessmann has joined #openstack-containers | 08:15 | |
sdake | but if you copied ironic's auth.py, that may have changed the incoming struct | 08:15 |
*** gpruessmann has quit IRC | 08:18 | |
*** gpruessmann has joined #openstack-containers | 08:21 | |
sdake | if you have a review to put up we could both debug 2x as fast ;-) | 08:21 |
sdake | what error are you getting? | 08:23 |
yuanying | requestcontext parameters are mismatched. | 08:25 |
yuanying | test is failed... | 08:30 |
sdake | may need to mock keystone in some way | 08:32 |
*** marcoemorais1 has quit IRC | 09:16 | |
openstackgerrit | Steven Dake proposed stackforge/python-magnumclient: Implement pod client CLI https://review.openstack.org/142389 | 09:20 |
*** achanda has quit IRC | 09:28 | |
*** achanda has joined #openstack-containers | 09:34 | |
yuanying | dirty hacked... | 09:36 |
sdake | dirty like zeebra ;-) | 09:36 |
openstackgerrit | Motohiro/Yuanying Otsuka proposed stackforge/magnum: Fix authentication https://review.openstack.org/142395 | 09:44 |
sdake | that is preciusely what I did in a past peice of work | 09:46 |
sdake | I guess it was correct ;) | 09:46 |
openstackgerrit | Steven Dake proposed stackforge/python-magnumclient: Implement pod client CLI https://review.openstack.org/142389 | 09:51 |
openstackgerrit | Steven Dake proposed stackforge/python-magnumclient: Implement pod client CLI https://review.openstack.org/142389 | 09:53 |
*** nshaikh has quit IRC | 09:57 | |
*** achanda has quit IRC | 10:01 | |
*** achanda has joined #openstack-containers | 10:02 | |
*** nshaikh has joined #openstack-containers | 10:04 | |
*** achanda has quit IRC | 10:07 | |
openstackgerrit | Merged stackforge/magnum: Fix authentication https://review.openstack.org/142395 | 10:17 |
*** Slower has quit IRC | 10:22 | |
*** nshaikh has quit IRC | 10:31 | |
*** nshaikh has joined #openstack-containers | 10:32 | |
yuanying | https://bugs.launchpad.net/heat/+bug/1401317 | 10:32 |
yuanying | stack create was failed.. larsks/heat-kubernetes | 10:33 |
yuanying | Need heat source code rollback. | 10:33 |
*** rongze has quit IRC | 10:40 | |
*** unicell has quit IRC | 10:45 | |
*** unicell has joined #openstack-containers | 10:46 | |
*** nshaikh has quit IRC | 11:12 | |
*** nshaikh has joined #openstack-containers | 11:31 | |
*** nshaikh has left #openstack-containers | 11:34 | |
*** dims has joined #openstack-containers | 11:55 | |
*** dharmit has quit IRC | 12:19 | |
openstackgerrit | Merged stackforge/magnum: Add a baymodel object https://review.openstack.org/141960 | 13:07 |
openstackgerrit | Merged stackforge/magnum: Remove type and image_id replace with baymodel_id https://review.openstack.org/142328 | 13:07 |
openstackgerrit | Merged stackforge/python-magnumclient: Make baymodel not show links https://review.openstack.org/142359 | 13:07 |
openstackgerrit | Merged stackforge/python-magnumclient: Make baymodel-list only show name and UUID https://review.openstack.org/142360 | 13:07 |
openstackgerrit | Merged stackforge/python-magnumclient: Don't show links when showing bay https://review.openstack.org/142362 | 13:07 |
openstackgerrit | Merged stackforge/python-magnumclient: Type and image_id are removed from server https://review.openstack.org/142364 | 13:07 |
openstackgerrit | Merged stackforge/python-magnumclient: Make bay create work with new bay model structure https://review.openstack.org/142365 | 13:08 |
openstackgerrit | Merged stackforge/python-magnumclient: Make bay-create operate again as a result of baymodel https://review.openstack.org/142367 | 13:08 |
openstackgerrit | Merged stackforge/python-magnumclient: Implement pod client CLI https://review.openstack.org/142389 | 13:08 |
*** fandi has joined #openstack-containers | 13:09 | |
*** Slower has joined #openstack-containers | 13:14 | |
*** stannie has joined #openstack-containers | 13:14 | |
*** adrian_otto has quit IRC | 13:53 | |
*** jeckersb_gone is now known as jeckersb | 13:54 | |
*** thomasem has joined #openstack-containers | 14:03 | |
*** thomasem has quit IRC | 14:03 | |
*** thomasem has joined #openstack-containers | 14:05 | |
*** julim has joined #openstack-containers | 14:07 | |
*** diga has joined #openstack-containers | 14:15 | |
*** rongze has joined #openstack-containers | 14:17 | |
*** rongze has quit IRC | 14:32 | |
*** nshaikh has joined #openstack-containers | 14:38 | |
*** rongze has joined #openstack-containers | 14:39 | |
*** rongze has quit IRC | 14:46 | |
yuanying | heatclient doesn't work, I can't understand... | 14:51 |
yuanying | {"explanation": "Access was denied to this resource.", "code": 403, "error": {"message": "Access was denied to this resource.", | 14:51 |
yuanying | auth_token is set to heatclient, but create-stack coudn't work | 14:52 |
yuanying | https://gist.github.com/yuanying/a2eda47eab70726d15d4 | 14:59 |
openstackgerrit | Motohiro/Yuanying Otsuka proposed stackforge/magnum: Implement heat-kubernetes Bay https://review.openstack.org/142459 | 15:01 |
*** rongze has joined #openstack-containers | 15:02 | |
*** rongze has quit IRC | 15:02 | |
*** diga has quit IRC | 15:19 | |
*** nshaikh has quit IRC | 15:30 | |
sdake | morning | 15:34 |
*** achanda has joined #openstack-containers | 15:44 | |
*** LinstatSDR has joined #openstack-containers | 15:47 | |
*** diga has joined #openstack-containers | 16:06 | |
*** EricGonczer_ has joined #openstack-containers | 16:06 | |
*** prad has joined #openstack-containers | 16:07 | |
*** yuanying-alt has joined #openstack-containers | 16:10 | |
*** yuanying-alt has quit IRC | 16:13 | |
*** gpruessmann has quit IRC | 16:21 | |
*** yuanying-alt has joined #openstack-containers | 16:39 | |
*** achanda has quit IRC | 16:41 | |
*** achanda has joined #openstack-containers | 16:41 | |
*** achanda has quit IRC | 16:46 | |
*** EricGonc_ has joined #openstack-containers | 16:48 | |
*** achanda has joined #openstack-containers | 16:51 | |
*** EricGonczer_ has quit IRC | 16:51 | |
*** diga has quit IRC | 16:53 | |
*** harlowja_away is now known as harlowja | 17:01 | |
openstackgerrit | Hongbin Lu proposed stackforge/magnum: Added two use cases to the spec https://review.openstack.org/142508 | 17:03 |
*** kebray has joined #openstack-containers | 17:08 | |
openstackgerrit | Motohiro/Yuanying Otsuka proposed stackforge/magnum: Implement heat-kubernetes Bay https://review.openstack.org/142459 | 17:12 |
*** yuanying-alt has quit IRC | 17:16 | |
*** LinstatSDR has quit IRC | 17:17 | |
*** LinstatSDR has joined #openstack-containers | 17:18 | |
*** achanda has quit IRC | 17:20 | |
*** achanda has joined #openstack-containers | 17:32 | |
*** marcoemorais has joined #openstack-containers | 17:39 | |
*** suro_ has joined #openstack-containers | 17:40 | |
*** marcoemorais has quit IRC | 17:44 | |
*** marcoemorais has joined #openstack-containers | 17:44 | |
*** marcoemorais1 has joined #openstack-containers | 17:45 | |
*** marcoemorais2 has joined #openstack-containers | 17:45 | |
*** marcoemorais2 has quit IRC | 17:45 | |
*** marcoemorais1 has quit IRC | 17:46 | |
*** marcoemorais2 has joined #openstack-containers | 17:46 | |
*** marcoemorais2 has quit IRC | 17:46 | |
*** marcoemorais1 has joined #openstack-containers | 17:46 | |
*** PaulCzar has joined #openstack-containers | 17:48 | |
*** marcoemorais has quit IRC | 17:49 | |
*** adrian_otto has joined #openstack-containers | 18:02 | |
*** kebray has quit IRC | 18:08 | |
*** kebray has joined #openstack-containers | 18:25 | |
*** marcoemorais1 has quit IRC | 18:30 | |
*** marcoemorais has joined #openstack-containers | 18:30 | |
*** marcoemorais has quit IRC | 18:31 | |
*** marcoemorais has joined #openstack-containers | 18:31 | |
*** marcoemorais has quit IRC | 18:32 | |
*** marcoemorais has joined #openstack-containers | 18:32 | |
*** kebray has quit IRC | 18:44 | |
*** achanda has quit IRC | 18:54 | |
*** achanda has joined #openstack-containers | 18:55 | |
*** marcoemorais has quit IRC | 19:05 | |
*** kebray has joined #openstack-containers | 19:12 | |
*** kebray has quit IRC | 19:13 | |
*** kebray has joined #openstack-containers | 19:17 | |
*** adrian_otto has quit IRC | 19:22 | |
*** adrian_otto has joined #openstack-containers | 19:30 | |
*** suro_ has quit IRC | 19:35 | |
*** dims has quit IRC | 19:35 | |
*** dims has joined #openstack-containers | 19:36 | |
*** dims has quit IRC | 19:40 | |
*** LinstatSDR has quit IRC | 20:10 | |
*** LinstatSDR has joined #openstack-containers | 20:34 | |
*** unicell has quit IRC | 20:45 | |
*** achanda has quit IRC | 20:49 | |
*** achanda has joined #openstack-containers | 20:49 | |
*** achanda has quit IRC | 20:54 | |
*** dims has joined #openstack-containers | 20:58 | |
*** yuanying-alt has joined #openstack-containers | 21:03 | |
*** yuanying-alt has quit IRC | 21:07 | |
*** julim has quit IRC | 21:38 | |
sdake | yuanying ping around? | 21:46 |
sdake | auth is busted again | 22:00 |
* sdake groans | 22:00 | |
*** jeckersb is now known as jeckersb_gone | 22:01 | |
*** yuanying-alt has joined #openstack-containers | 22:04 | |
*** dims has quit IRC | 22:04 | |
sdake | yuangyin-alt there? | 22:04 |
sdake | auth is busted when i run master | 22:04 |
*** yuanying-alt has quit IRC | 22:08 | |
openstackgerrit | Steven Dake proposed stackforge/magnum: Implement heat-kubernetes Bay https://review.openstack.org/142459 | 22:22 |
openstackgerrit | Steven Dake proposed stackforge/magnum: Implement heat-kubernetes Bay https://review.openstack.org/142459 | 22:25 |
*** prad has quit IRC | 22:26 | |
*** LinstatSDR has quit IRC | 22:28 | |
*** dims__ has joined #openstack-containers | 22:29 | |
*** EricGonc_ has quit IRC | 22:30 | |
*** marcoemorais has joined #openstack-containers | 22:40 | |
openstackgerrit | Steven Dake proposed stackforge/python-magnumclient: Add flavor_id property to baymodel object https://review.openstack.org/142602 | 22:47 |
*** suro_ has joined #openstack-containers | 22:50 | |
yuanying | morning | 22:51 |
yuanying | OK i checked it. | 22:51 |
yuanying | I will check it. | 22:54 |
*** thomasem has quit IRC | 22:55 | |
openstackgerrit | Steven Dake proposed stackforge/magnum: Implement heat-kubernetes Bay https://review.openstack.org/142459 | 23:05 |
sdake | hey yuanying | 23:05 |
sdake | morning fine sir | 23:05 |
yuanying | moning | 23:05 |
sdake | I went ahead and made some changes to your patch to make it work mo better | 23:05 |
yuanying | yes I see | 23:05 |
sdake | I still can't get auth working | 23:06 |
yuanying | this source is come from solum. | 23:07 |
sdake | yup | 23:07 |
yuanying | solum expect, request context has auth_url | 23:07 |
yuanying | but, magnum's request_context doesnt have | 23:07 |
yuanying | ok | 23:08 |
openstackgerrit | Steven Dake proposed stackforge/python-magnumclient: Add baymodel_id to bay_create https://review.openstack.org/142606 | 23:08 |
yuanying | solum's request_context auth_url has set at auth.py | 23:08 |
yuanying | so we should add it. | 23:08 |
sdake | add where, to the client? | 23:09 |
yuanying | no | 23:09 |
yuanying | https://github.com/stackforge/solum/blob/master/solum/api/auth.py#L124 | 23:09 |
sdake | ya we dont use keystone.middleware.auth_token | 23:10 |
sdake | we use keystonemiddleware.auth_token iirc | 23:10 |
sdake | :) | 23:10 |
yuanying | but magnum has cfg.CONF.keystone_authtoken.auth_uri | 23:10 |
sdake | so the problem may be we ported tot he latest keystone middleware for auth and its incompZatible with the current auth mechanism | 23:10 |
yuanying | maybe... | 23:11 |
sdake | cool well if you understand the problem and can whip up a quick patch happy to test | 23:11 |
yuanying | I try "heat --os-auth-token XXXXXX create-stack" auth-token is created by magnum | 23:11 |
yuanying | it worked. | 23:11 |
yuanying | so, auth-token is not problem. | 23:12 |
sdake | 2014-12-17 16:12:39.891 23554 WARNING keystonemiddleware.auth_token [-] 1 Authorization failed for token | 23:12 |
sdake | 127.0.0.1 - - [17/Dec/2014 16:12:39] "GET /v1/bays HTTP/1.1" 401 23 | 23:12 |
sdake | when duing magnum bay-list | 23:12 |
sdake | with master + the heat backend | 23:12 |
yuanying | hmmm | 23:13 |
*** marcoemorais has quit IRC | 23:13 | |
*** marcoemorais has joined #openstack-containers | 23:13 | |
sdake | does the reproduce on your end? | 23:14 |
sdake | except (exceptions.ConnectionRefused, exceptions.RequestTimeout): | 23:15 |
sdake | self._LOG.debug('Token validation failure.', exc_info=True) | 23:15 |
sdake | self._LOG.warn(_LW('1 Authorization failed for token')) | 23:15 |
sdake | this is where its bust | 23:15 |
sdake | there is probably a request timeout exception | 23:15 |
sdake | because there is like a 1 second delay | 23:15 |
yuanying | my bay-list is worked. | 23:21 |
sdake | paste your magnum.conf | 23:21 |
yuanying | http://paste.openstack.org/show/152482/ | 23:22 |
yuanying | I change a source a littele. | 23:23 |
sdake | the problem is auth_uri is set to none when running inside kyestone_middleware | 23:23 |
sdake | it needs to be set to something | 23:23 |
yuanying | ooo | 23:26 |
yuanying | bay-create is worked!!! | 23:26 |
sdake | I set auth_uri in magnum.connf, that fixes the problem | 23:27 |
yuanying | http://paste.openstack.org/show/152483/ | 23:27 |
sdake | cool good news on bay-create ;-) | 23:27 |
sdake | is that master? | 23:27 |
sdake | plsu our patch, or plus some work you have done | 23:27 |
yuanying | I commit my change. | 23:27 |
sdake | cool | 23:28 |
yuanying | oh, but bay_model integration is not done. | 23:28 |
yuanying | this source is hard coded. | 23:29 |
yuanying | yet | 23:29 |
sdake | TRACE keystonemiddleware.auth_token AuthorizationFailure: Authentication failure: Expecting to find username or userId in passwordCredentials - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) | 23:29 |
sdake | any ideas on that? | 23:30 |
yuanying | where? | 23:31 |
sdake | that comes from keystone server with master + current gerrrit heat patch | 23:31 |
yuanying | wait a moment | 23:35 |
openstackgerrit | Motohiro/Yuanying Otsuka proposed stackforge/magnum: Implement creating Bay using heat https://review.openstack.org/142459 | 23:37 |
yuanying | could you try this patch? | 23:38 |
yuanying | and, heat should be Juno version, not master. | 23:41 |
yuanying | my devstack environment coudn't create stack, because resource is too cheep... | 23:43 |
*** salty has joined #openstack-containers | 23:43 | |
*** salty is now known as Guest1238 | 23:44 | |
*** fandi has quit IRC | 23:44 | |
*** Guest1238 is now known as cptsalty | 23:47 | |
*** yuanying-alt has joined #openstack-containers | 23:53 | |
*** yuanying-alt has quit IRC | 23:57 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!