Tuesday, 2014-03-18

*** chandan_kumar has joined #openstack-climate04:31
*** saju_m has joined #openstack-climate06:44
*** saju_m has quit IRC06:45
*** saju_m has joined #openstack-climate06:46
*** ppetit has quit IRC08:04
*** ppetit has joined #openstack-climate08:06
openstackgerritA change was merged to stackforge/climate: Fix work with new keystoneclient master  https://review.openstack.org/7896508:28
*** bauzas has joined #openstack-climate08:37
*** saju_m has quit IRC08:50
*** saju_m has joined #openstack-climate08:56
*** Nikolay_1t has quit IRC12:09
*** Nikolay_St has joined #openstack-climate12:10
*** dpamio has joined #openstack-climate12:18
*** dpamio has quit IRC13:02
*** dpamio has joined #openstack-climate13:03
*** f_rossigneux_ has joined #openstack-climate13:17
*** ppetit has quit IRC13:23
*** f_rossigneux_ has quit IRC13:30
*** bauzas has quit IRC13:30
*** bauzas has joined #openstack-climate13:39
*** f_rossigneux_ has joined #openstack-climate13:52
*** cmart_ has joined #openstack-climate13:56
cmart_Hello all13:59
*** pafuent has joined #openstack-climate14:05
pafuentHi, Can someone check this review? https://review.openstack.org/#/c/75181/14:15
pafuentIs related to the DB migration using alembic14:15
DinaBelovao/14:21
DinaBelovapafuent, I love what you've done with migrtions :)14:22
pafuentDinaBelova: Thanks14:22
DinaBelovabauzas, may you take a look on https://review.openstack.org/#/c/75181/14:22
bauzaswill do it14:25
pafuentDinaBelova: I'm fighting with the trusts thing and I'm not getting the whole picture. There is some kind of docs that I can read?14:40
DinaBelovawell, about trusts?14:41
DinaBelovaI may try to google it, I have no links now14:41
pafuentDinaBelova: I'm asking because a saw a comment from swann that said that novaclient doesn't support trusts14:41
pafuentDinaBelova: I read this https://wiki.openstack.org/wiki/Keystone/Trusts14:42
DinaBelovapafuent, well, it's because trusts are used by keystone14:42
DinaBelovatrusts allow you to get create pythonkeystoneclietn14:42
DinaBelovawithout token14:42
DinaBelovaand you'll get it in client after its creation14:42
DinaBelovathis token is given to someone who's creating client in behalf of user who trusts him14:43
DinaBelovalike real user trusts climate user to run his VMs later14:43
DinaBelovaso you're creating ctx from trust really here14:43
DinaBelovaand then use context to run what you need14:44
DinaBelovathe problem with Swann's wrapper is that its long running14:44
pafuentDinaBelova: So, I use the a token generated by keystone v3 and use with nova, which uses keystone v214:44
DinaBelovayes14:44
pafuentDinaBelova: I got it the issue with the Swann's wrapper14:44
DinaBelovacool14:44
DinaBelovaso the thing is that token might be checked via any API14:44
pafuentDinaBelova: I didn't get the part of create a token with v3 and use against something that uses v214:45
DinaBelovaidentity api14:45
DinaBelovav2 or v3 - it does not matter14:45
pafuentDinaBelova: So, the tokens are interchangeable14:45
DinaBelovayes14:45
DinaBelovathey have the same format, etc.14:45
DinaBelovathey are the same14:45
pafuentDinaBelova: I didn't know that. Thanks.14:45
DinaBelovatrusts is a mech to have token, when you won't have it in usual way14:46
DinaBelovalike when token will expire14:46
DinaBelovaor other user should do some actions as other user14:46
DinaBelovaso trusts are used to get right token from keystone14:46
pafuentDinaBelova: Ohh, I see14:47
DinaBelovalike in Climate: VM should be deleted when lease ends. For OS it should look like user who reserved it does it. How can we get that user's token? We can use trusts, as user trusts Climate to do that14:47
DinaBelovaso for OS requests it'll look like user deletes this VM - speaking about tokens and auth policies - but really Clmate will do that14:48
pafuentDinaBelova: It's a nice trick14:49
DinaBelovayes, quite nice - for example it was created mostly for heat14:50
DinaBelovawhen user asks to create stack14:50
DinaBelovabut it should look like he went to Nova and asks VMs, to cinder for volumes, etc.14:50
DinaBelovaso heat uses trusts to work with other OS services - so all policies in Nova, Cinder, Neutron use rules defined for the user who asked for stack14:51
DinaBelovathat allowed to remove Heat Admin User to do all that stuff14:52
pafuentDinaBelova: Sorry to bother you again, but it's ok that Climate Manager crash if a plugin fails during initialization?14:58
DinaBelovaцwell, climate manager initiates all plugins and the init stage14:58
DinaBelovaso if plugin won't be initiated14:59
DinaBelovamanager won't start too now14:59
DinaBelovaso that might be normal14:59
pafuentDinaBelova: But, should be work  in that way?15:00
DinaBelovamanager now won't work if some of plugins won't be loaded15:00
DinaBelovapossibly we need better behaviour here15:01
DinaBelovathat was done at the very beginning of plugins impl and it's the same now15:01
pafuentDinaBelova: Ok, I'll fill a bug for that later.15:02
*** chandan_kumar has quit IRC15:02
DinaBelovathanks15:02
DinaBelovaprobably there should be some kind of warning and no support of these types of resources15:03
DinaBelovabut manager should work for others15:03
DinaBelovathat will be nice15:03
pafuentDinaBelova: Ok15:03
*** chandan_kumar has joined #openstack-climate15:04
*** saju_m has quit IRC15:23
*** saju_m has joined #openstack-climate15:40
*** f_rossigneux_ has quit IRC15:52
*** dpamio has quit IRC15:54
*** saju_m has quit IRC15:57
*** bauzas has quit IRC16:08
*** ppetit has joined #openstack-climate16:18
*** bauzas has joined #openstack-climate16:20
*** bauzas has quit IRC16:27
*** chandankumar_ has joined #openstack-climate16:34
*** chandan_kumar has quit IRC16:37
*** dpamio has joined #openstack-climate17:27
*** ppetit has quit IRC17:41
*** dpamio has quit IRC18:35
*** dpamio has joined #openstack-climate18:53
*** saju_m has joined #openstack-climate19:18
*** cmart_ has quit IRC19:23
*** dpamio has quit IRC19:24
*** pafuent has left #openstack-climate20:58
*** saju_m has quit IRC21:42

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