Tuesday, 2015-09-29

*** imandhan has joined #openstack-trove00:01
*** akanksha_ has quit IRC00:08
*** amrith is now known as _amrith_00:09
*** _amrith_ is now known as amrith00:27
*** ashleighfarnham has quit IRC00:28
dougshelley66SlickNik yt?00:45
*** amit213 has quit IRC00:45
SlickNikdougshelley66: What's up?00:45
dougshelley66so i've been struggling with the exist notifier00:50
dougshelley66i believe it is busted in liberty00:50
dougshelley66i was looking at your single_tenant_remote.py change and it seems like to properly instantiate the nova client you need both the tenant id and name00:50
dougshelley66our current create_admin_nova_client method doesn't have both so it is generating a nova client that can't authenticate00:51
*** shakamunyi has joined #openstack-trove00:55
openstackgerritDongCan proposed openstack/trove: Fix the bug of "Fix spelling typo in trove"  https://review.openstack.org/22771800:59
cp16netdougshelley66: i'm here01:18
dougshelley66ok so i'm trying to figure out https://bugs.launchpad.net/trove/+bug/147355001:19
openstackLaunchpad bug 1473550 in Trove "enabling exist notifications cause auth errors" [Undecided,New]01:19
dougshelley66from what i can tell, the "project_id" in novaclient is supposed to be a tenant name01:19
dougshelley66not a UUID01:19
dougshelley66which is clear from the single_tenant_remote.py that got merged recently01:20
dougshelley66it seems like we need to change the base remote.py to be similar01:20
cp16netdougshelley66: yes exactly01:20
dougshelley66ok01:20
cp16neti actaully figured out how to get the remote.py to work from the single_tenant_remote.py we used01:21
cp16netit caused much strife01:21
dougshelley66well i think we need to add a "tenant_name" to TroveContext01:21
cp16netthats why i opened that bug01:21
dougshelley66for the admin context01:21
cp16nethmmm01:21
dougshelley66so my big question01:21
cp16netumm well i think there was another way...01:21
dougshelley66well i'm all ears because this is totally broken01:22
cp16neti think overriding the management_url was the solution01:22
cp16netnow its coming back to me01:22
dougshelley66i can't get that to work with nova v2 api01:22
cp16netso the client to authentitcate needs the name...01:22
dougshelley66the single tenant thing is specifically using nova v1.101:22
cp16netbut the url needs the id01:22
dougshelley66yes01:22
dougshelley66i think we need both01:22
dougshelley66like the single tenant thing01:22
cp16netso thats why you see the tenant_id ="xxxx"01:23
cp16net# this is terrible01:23
cp16netwith that comment01:23
dougshelley66i saw that01:23
cp16netbut it was required in my setup01:23
dougshelley66so we put back the nova_proxy_tenant_name with the single tenant comit01:23
cp16netso i might see a few ways around this...01:23
dougshelley66so for the admin context both are now available01:23
cp16netwhen you create the client with the tenant_name you might be able to pull out the tenant_id01:24
cp16net(might be hacky tho)01:24
cp16netotherwise have a config option for the admin tenant_id01:25
cp16netlike you are saying01:25
cp16netso dougshelley66 are you working on this bug?01:27
dougshelley66yes01:27
cp16netnice :)01:27
dougshelley66just wanted to get some thoughts before i went down the path01:27
cp16neti didnt have time because i was working on the clustering stuff when i peeked into this stuff01:27
cp16netno worries01:27
dougshelley66thanks - i will put something together and send it up.01:28
cp16netsweet! thanks!01:28
*** ViswaV_ has quit IRC01:33
*** tomblank has joined #openstack-trove01:48
*** imandhan has quit IRC01:57
*** imandhan has joined #openstack-trove01:58
*** amrith is now known as _amrith_01:59
*** imandhan has quit IRC02:02
*** sabeen has joined #openstack-trove02:18
*** pmackinn has quit IRC02:45
openstackgerritDoug Shelley proposed openstack/trove: Fix publish_exists_event authentication exception  https://review.openstack.org/22869602:46
dougshelley66cp16net ^^^ let me know what you think02:46
*** haomaiwang has joined #openstack-trove02:51
cp16netdougshelley66: does it work removing the management_url?03:00
*** haomaiwang has quit IRC03:01
cp16neti thought that was nesseary...03:01
*** haomaiwang has joined #openstack-trove03:01
cp16netor the bypass_url was nesseary03:02
*** imandhan has joined #openstack-trove03:04
cp16neti'd like to test that out again before i ok the change.03:04
*** sabeen has quit IRC03:07
cp16netdougshelley66: it might be impossible or not worth it... but could we write a unit test for the create_admin_nova_client to be sure we have the fields set correctly in the client?03:08
*** sabeen has joined #openstack-trove03:14
*** sabeen has quit IRC03:17
*** khushbu_ has joined #openstack-trove03:32
*** sabeen1 has joined #openstack-trove03:35
*** links has joined #openstack-trove03:36
*** haomaiwang has quit IRC04:01
*** haomaiwang has joined #openstack-trove04:01
*** khushbu_ has quit IRC04:38
*** sgotliv has joined #openstack-trove04:59
*** haomaiwang has quit IRC05:01
*** haomaiwang has joined #openstack-trove05:01
*** sgotliv has quit IRC05:04
*** tomblank has quit IRC05:34
SlickNikdougshelley66 / cp16net: I'm reading scrollback.05:42
cp16netSlickNik: just talking about the exist events05:44
SlickNikI believe you don't have to have that management_url set if you set the project_id in the nova_client to (correctly) be the  tenant name.05:45
SlickNikcp16net: overriding the mgmt url looks like a hack in the current remote.py, and dougshelley66's fix looks like it's doing the right thing — haven't verified it though, just from eyeballing the review.05:48
cp16netyeah i'd like to verify it first05:48
cp16neti wasnt sure05:49
*** k4n0 has joined #openstack-trove05:50
*** haomaiwang has quit IRC06:01
*** haomaiwang has joined #openstack-trove06:01
openstackgerritOpenStack Proposal Bot proposed openstack/trove: Imported Translations from Zanata  https://review.openstack.org/22682706:12
*** openstackgerrit has quit IRC06:16
*** openstackgerrit has joined #openstack-trove06:16
*** sabeen1 has quit IRC06:26
*** imandhan has quit IRC06:42
*** imandhan has joined #openstack-trove06:43
*** imandhan has quit IRC06:44
*** haomaiwang has quit IRC07:01
*** haomaiwang has joined #openstack-trove07:01
*** khushbu_ has joined #openstack-trove07:07
*** jengeb has joined #openstack-trove07:35
*** exploreshaifali has joined #openstack-trove07:40
*** _amrith_ is now known as amrith07:50
*** jengeb has quit IRC07:57
*** amrith is now known as _amrith_07:59
*** haomaiwang has quit IRC08:01
*** haomaiwang has joined #openstack-trove08:01
*** sgotliv has joined #openstack-trove08:30
openstackgerritMasaki Matsushita proposed openstack/trove: Add scheduler_hints attributes to create_instance  https://review.openstack.org/22878408:30
*** exploreshaifali has quit IRC08:45
*** tosky has joined #openstack-trove08:55
*** haomaiwang has quit IRC09:01
*** haomaiwang has joined #openstack-trove09:01
*** davideagnello has quit IRC09:12
*** davideagnello has joined #openstack-trove09:13
*** jengeb has joined #openstack-trove09:15
*** jengeb has quit IRC09:34
*** PeterS has quit IRC09:38
*** PeterS has joined #openstack-trove09:50
*** khushbu_ has quit IRC09:54
*** kbyrne has quit IRC09:58
*** haomaiwang has quit IRC10:01
*** haomaiwa_ has joined #openstack-trove10:01
*** khushbu_ has joined #openstack-trove10:01
*** kbyrne has joined #openstack-trove10:03
*** IanGovett has joined #openstack-trove10:04
*** haomaiwa_ has quit IRC10:07
*** jengeb1 has joined #openstack-trove10:28
dougshelley66cp16net, just catching up (turned in after I posted the change last night)10:37
dougshelley66cp16net the bypass_url is being set in create_nova_client and if you look in the novaclient code, management_url is set to bypass_url10:38
dougshelley66cp16net certainly more testing of the change would be good - I ran some tests to confirm that the exists event now fires without error10:39
dougshelley66cp16net it looks like there are some existing unit tests for this, I will see what enhancements can/should be made to account for this10:41
*** 18VAARFFB has joined #openstack-trove10:56
*** 18VAARFFB has quit IRC11:01
*** haomaiwang has joined #openstack-trove11:01
*** exploreshaifali has joined #openstack-trove11:03
*** jengeb1 has quit IRC11:04
*** jengeb has joined #openstack-trove11:07
*** haomaiwang has quit IRC11:11
openstackgerritDoug Shelley proposed openstack/trove: Fix publish_exists_event authentication exception  https://review.openstack.org/22869611:15
*** khushbu_ has quit IRC11:15
dougshelley66cp16net I added a unit test to that review ^^^ let me know what you think11:16
*** jengeb has quit IRC11:16
*** exploreshaifali has quit IRC11:32
*** _amrith_ is now known as amrith11:49
*** exploreshaifali has joined #openstack-trove12:07
*** sgotliv_ has joined #openstack-trove12:08
*** sgotliv has quit IRC12:11
*** exploreshaifali has quit IRC12:40
*** amrith is now known as _amrith_12:45
*** _crobertsrh is now known as crobertsrh12:48
*** daemontool_ has joined #openstack-trove13:10
*** k4n0 has quit IRC13:18
*** links has quit IRC13:22
*** khushbu_ has joined #openstack-trove13:27
*** haomaiwang has joined #openstack-trove13:36
*** jwiles_ has joined #openstack-trove13:37
*** haomaiwang has quit IRC13:40
*** haomaiwa_ has joined #openstack-trove13:40
*** pmackinn has joined #openstack-trove13:44
*** tomblank has joined #openstack-trove13:53
*** khushbu_ has quit IRC13:57
*** sgotliv_ has quit IRC14:00
*** haomaiwa_ has quit IRC14:01
*** haomaiwa_ has joined #openstack-trove14:01
*** _amrith_ is now known as amrith14:05
*** jwiles_ has quit IRC14:13
*** jengeb has joined #openstack-trove14:29
*** khushbu has joined #openstack-trove14:32
*** khushbu has quit IRC14:37
dougshelley66cp16net SlickNik on that publish_exists_event change - I believe i figured out how to do it such that we don't need the nova_proxy_admin_tenant_name14:49
*** PeterSchwaller has joined #openstack-trove14:53
*** PeterS has quit IRC14:55
*** haomaiwa_ has quit IRC15:01
*** haomaiwang has joined #openstack-trove15:01
*** tomblank has quit IRC15:03
*** tomblank has joined #openstack-trove15:05
*** akanksha_ has joined #openstack-trove15:09
*** csoukup has joined #openstack-trove15:10
*** haomai___ has joined #openstack-trove15:16
openstackgerritDoug Shelley proposed openstack/trove: Fix publish_exists_event authentication exception  https://review.openstack.org/22869615:16
*** haomaiwang has quit IRC15:18
*** georgelorch has joined #openstack-trove15:19
*** sabeen1 has joined #openstack-trove15:20
*** sabeen1 has quit IRC15:27
*** sabeen has joined #openstack-trove15:28
*** haomai___ has quit IRC15:35
*** tomblank has quit IRC15:55
*** tomblank has joined #openstack-trove15:57
*** jengeb has quit IRC15:59
*** jengeb has joined #openstack-trove16:01
*** ashleighfarnham has joined #openstack-trove16:24
*** tosky has quit IRC16:27
*** sabeen has quit IRC16:27
*** thanu has joined #openstack-trove16:27
*** ViswaV has joined #openstack-trove16:29
*** ViswaV has quit IRC16:33
*** ViswaV has joined #openstack-trove16:33
*** imandhan has joined #openstack-trove16:42
*** sgotliv_ has joined #openstack-trove17:29
*** sgotliv_ has quit IRC17:30
*** sgotliv__ has joined #openstack-trove17:30
*** coolsvap has quit IRC17:33
*** coolsvap has joined #openstack-trove17:37
*** ViswaV has quit IRC17:38
*** ViswaV has joined #openstack-trove17:39
*** exploreshaifali has joined #openstack-trove17:40
*** exploreshaifali has quit IRC17:41
*** ViswaV_ has joined #openstack-trove17:41
*** ViswaV has quit IRC17:43
*** sgotliv__ has quit IRC17:51
*** esmute has joined #openstack-trove17:59
*** tomblank has quit IRC18:01
*** tomblank has joined #openstack-trove18:03
*** sabeen1 has joined #openstack-trove18:11
*** sabeen1 has quit IRC18:15
*** akanksha_ has quit IRC18:28
*** jengeb has quit IRC18:36
*** ViswaV_ has quit IRC18:56
*** imandhan has quit IRC19:03
*** imandhan has joined #openstack-trove19:04
*** imandhan has quit IRC19:08
*** davideagnello has quit IRC19:09
dougshelley66cp16net SlickNik yt?19:09
cp16nethello19:10
dougshelley66i took another crack at that admin client. Current fix is much simpler19:14
dougshelley66i don't think we need tenant_name...turns out that if you pass context.tenant (which is a UUID) into tenant_id on the novaclient api, it works19:15
dougshelley66I also added a unit test19:15
cp16netawesome dougshelley66 i'll take a loook19:15
dougshelley66thx19:16
vkmc~o~19:16
*** davideagnello has joined #openstack-trove19:20
cp16neti think that looks good i'll try it out19:37
dougshelley66cp16net great thanks!19:43
dougshelley66no there are just 2 other "related" bugs to fix19:43
dougshelley66https://bugs.launchpad.net/trove/+bug/140205519:43
openstackLaunchpad bug 1402055 in puppet-trove "Trove-taskmanager fails to start if urls obtained from Keystone" [Undecided,Triaged]19:43
dougshelley66https://bugs.launchpad.net/trove/+bug/149357619:44
openstackLaunchpad bug 1493576 in Trove "Incorrect usage of python-novaclient" [Undecided,New]19:44
dougshelley66(that should have been: "NOW there are just 2 other related bugs to fix"19:45
*** clduser_ has joined #openstack-trove19:46
*** clduser has quit IRC19:46
*** csoukup has quit IRC20:00
*** amrith is now known as _amrith_20:09
*** sabeen has joined #openstack-trove20:34
*** ViswaV has joined #openstack-trove20:42
*** tomblank has quit IRC20:44
*** ViswaV has quit IRC20:46
*** ViswaV has joined #openstack-trove20:50
*** robcresswell has left #openstack-trove20:52
*** jengeb has joined #openstack-trove21:04
*** tomblank has joined #openstack-trove21:04
*** arist has quit IRC21:07
*** arist has joined #openstack-trove21:07
*** tomblank has quit IRC21:08
*** ViswaV has quit IRC21:34
*** devlaps has joined #openstack-trove21:52
*** ViswaV has joined #openstack-trove22:24
*** ViswaV_ has joined #openstack-trove22:25
*** ViswaV has quit IRC22:29
*** sabeen has quit IRC22:52
*** thanu has quit IRC23:10
*** thanu has joined #openstack-trove23:14
*** ashleighfarnham has quit IRC23:15
*** ashleighfarnham has joined #openstack-trove23:15
*** ashleighfarnham has quit IRC23:19
*** thanu has quit IRC23:22
*** ViswaV_ has quit IRC23:24
*** jengeb has quit IRC23:25
*** imandhan has joined #openstack-trove23:26
*** kanzaros_ has joined #openstack-trove23:32
*** kanzaros has quit IRC23:32
*** tristanC has quit IRC23:32
*** kanzaros_ is now known as kanzaros23:32
*** tristanC has joined #openstack-trove23:33
*** albertom has quit IRC23:33
*** albertom has joined #openstack-trove23:33
*** esmute has quit IRC23:53
openstackgerritMerged openstack/trove: Use IPOpt to validate IPAddress  https://review.openstack.org/22835723:53

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