Friday, 2016-08-26

*** tqtran_ has quit IRC00:11
*** tqtran has joined #openstack-trove00:24
amrithpeterstac, I'm reviewing that change now.00:27
*** tqtran has quit IRC00:57
*** cheneydc has joined #openstack-trove01:05
*** tqtran has joined #openstack-trove01:08
*** chlong has joined #openstack-trove01:18
openstackgerritgengchc2 proposed openstack/trove: Translate info-level log messages for LOG.info  https://review.openstack.org/36043701:35
*** tqtran has quit IRC01:39
openstackgerritgengchc2 proposed openstack/trove: Translate info-level log messages for LOG.error  https://review.openstack.org/36044901:43
openstackgerritgengchc2 proposed openstack/trove: Translate info-level log messages for LOG.error  https://review.openstack.org/36044901:52
*** pmackinn has quit IRC01:59
*** cheneydc has quit IRC02:04
openstackgerritjian.song proposed openstack/python-troveclient: Display flavor-ephemeral in trove flavor-list command  https://review.openstack.org/35957902:16
*** songjian has joined #openstack-trove02:21
songjianamrith,I have rebase to the latest version, please help me to review,thx...02:22
openstackgerritjian.song proposed openstack/trove-dashboard: Remove white space between print and ()  https://review.openstack.org/36086703:21
openstackgerritjian.song proposed openstack/trove-dashboard: Remove white space between print and ()  https://review.openstack.org/36086703:24
*** chlong has quit IRC03:37
*** links has joined #openstack-trove04:07
*** chlong has joined #openstack-trove04:09
openstackgerritOpenStack Proposal Bot proposed openstack/trove: Updated from global requirements  https://review.openstack.org/36089905:15
*** chlong has quit IRC05:21
*** ishashero has quit IRC06:01
openstackgerritgengchc2 proposed openstack/trove: Translate info-level log messages for LOG.info  https://review.openstack.org/36043706:13
*** rcernin has joined #openstack-trove06:26
*** tesseract- has joined #openstack-trove06:44
openstackgerritOpenStack Proposal Bot proposed openstack/trove-dashboard: Imported Translations from Zanata  https://review.openstack.org/36095407:54
*** openstackgerrit has quit IRC08:18
*** openstackgerrit has joined #openstack-trove08:18
*** tqtran has joined #openstack-trove08:39
*** tqtran has quit IRC08:43
openstackgerritAndreas Jaeger proposed openstack/trove-image-builder: Cleanup tox.ini  https://review.openstack.org/36099208:54
*** khushbu_ has joined #openstack-trove09:12
kmARChi all, I'm having problems with trove-taskmanager connecting to nova. I double (triple) checked credentials, yet I get back the following errors:09:41
kmARChttp://paste.openstack.org/show/563823/09:41
kmARCcreating an openrc.sh with the same API endpoints and credentials works, even with `nova list --all-tenants`09:42
*** tosky has joined #openstack-trove09:51
dougshelley66kmARC - that code needs a admin user,pwd and tenant set in CONF (nova_proxy_admin_user/pass/tenant_id) - are these all set to valid values and the user has admin access to the tenant?10:58
kmARChmmm11:03
kmARCi have the tenant specified not the id11:03
kmARClet me check11:03
kmARCthanks for pointing me to there11:03
dougshelley66np11:04
dougshelley66btw, your other option is to disable that exists_event11:04
dougshelley66you likely don't need it11:04
kmARCyepp, it solved the issue, thanks dougshelley6611:05
dougshelley66glad to hear it11:06
*** tosky has quit IRC11:13
*** tosky has joined #openstack-trove11:15
*** songjian has quit IRC11:45
*** songjian has joined #openstack-trove11:46
*** pmackinn has joined #openstack-trove12:12
*** johnma has quit IRC12:16
*** tqtran has joined #openstack-trove12:41
*** tqtran has quit IRC12:45
*** khushbu_ has quit IRC12:46
*** songjian has quit IRC12:55
openstackgerritMerged openstack/trove: Updated from global requirements  https://review.openstack.org/36089913:03
*** johnma has joined #openstack-trove13:24
*** links has quit IRC13:45
*** ShaikApsar has joined #openstack-trove14:12
*** chlong has joined #openstack-trove14:32
amrithShaikApsar, yt?14:32
ShaikApsaramrith: yes14:32
amrithyes, so I'm trying to figure out what that change is doing14:33
amrithand I can't see what exactly is being accomplished14:33
amrithwith all the twists and turns on that bug14:33
amrithis it the empty catalog issue?14:33
amrithor something else14:33
amrithso I'll work my way through it14:33
ShaikApsaramrith: it;s not the empty catalog issue14:34
ShaikApsaramrith: AttributeError: 'Client' object has no attribute 'tenants' errors in trove-taskmanager.log14:34
ShaikApsaramrith: https://github.com/openstack/trove/blob/master/trove/taskmanager/manager.py#L42114:35
ShaikApsaramrith: code here is trying to get the tenant list from novaclient and it;s failing14:35
ShaikApsaramrith: we should use keystoneclient to get the tenant list14:36
amriththank you, yes, I see what you are changing14:37
amrithleaving aside the fact that the code isn't getting run for me (and that's my problem to figure out) I'm not sure how these notifications are even useful14:37
amrithbecause as best as I can tell, the payload doesn't tell who the tenant is14:37
amrithnotification.py@26614:38
amriththe payload does not include the tenant14:38
amriththerefore, as best as I can tell, you have prevented an error but not really generated a notification that was of any value.14:42
amriththat's the reason why I'm very interested to actually test the code14:42
amrithand figure out what exactly is going on14:42
amrithMy bet is that if I have multiple tenants14:42
amrithwho each have trove instances14:42
amrithyou will get notifications for each tenant's quota usages without actually knowing who that tenant is14:43
amrithand that (IMHO) is rather pointless14:43
amrithbut that is my hypothesis14:43
amrithwhich I would like to either prove or disprove14:43
amrithhence I am NOT comfortable with a review of this code purely on the merit of the fact that there's no method in nova to get all tenants.14:43
amrithfurthermore, I see that the notification method also receives a context which is in the notification itself14:44
amrithI have no idea what the security implications of that are14:44
ShaikApsaramrith: publish_quota_notifications  is trying to update tenant quota information14:45
amrithyou are effectively sending a notification with a context object14:45
ShaikApsaramrith: in database14:45
amrithso how is it doing that?14:45
amrithclearly you are saying that this didn't happen in the past14:45
amrithbut I know that I've had cases where I have run out of trove quotas14:45
amrithso something was tracking quotas.14:45
amrithShaikApsar, without your change, I get the following error every 30s in my log file14:51
amrith2016-08-26 10:50:35.215 DEBUG oslo_service.periodic_task [-] Running periodic task Manager.publish_quota_notifications from (pid=103884) run_periodic_tasks /usr/local/lib/python2.7/dist-packages/oslo_service/periodic_task.py:21514:51
amrith2016-08-26 10:50:35.216 ERROR oslo_service.periodic_task [-] Error during Manager.publish_quota_notifications14:51
amrith2016-08-26 10:50:35.216 TRACE oslo_service.periodic_task Traceback (most recent call last):14:51
amrith2016-08-26 10:50:35.216 TRACE oslo_service.periodic_task   File "/usr/local/lib/python2.7/dist-packages/oslo_service/periodic_task.py", line 220, in run_periodic_tasks14:51
amrith2016-08-26 10:50:35.216 TRACE oslo_service.periodic_task     task(self, context)14:51
amrith2016-08-26 10:50:35.216 TRACE oslo_service.periodic_task   File "/opt/stack/trove/trove/taskmanager/manager.py", line 420, in publish_quota_notifications14:51
amrith2016-08-26 10:50:35.216 TRACE oslo_service.periodic_task     nova_client = remote.create_nova_client(self.admin_context)14:51
amrith2016-08-26 10:50:35.216 TRACE oslo_service.periodic_task   File "/opt/stack/trove/trove/common/remote.py", line 99, in nova_client14:51
amrith2016-08-26 10:50:35.216 TRACE oslo_service.periodic_task     endpoint_type=CONF.nova_compute_endpoint_type)14:51
amrith2016-08-26 10:50:35.216 TRACE oslo_service.periodic_task   File "/opt/stack/trove/trove/common/remote.py", line 58, in get_endpoint14:51
amrith2016-08-26 10:50:35.216 TRACE oslo_service.periodic_task     raise exception.EmptyCatalog()14:51
amrith2016-08-26 10:50:35.216 TRACE oslo_service.periodic_task EmptyCatalog: Empty catalog.14:51
amrith2016-08-26 10:50:35.216 TRACE oslo_service.periodic_task14:51
amriththis is the Empty Catalog error14:51
amrithI don't get a message about no method etc.,etc.,14:51
ShaikApsaramrith: without my changes, Code is trying to prepare the novaclient and in devstack setup we didn't provide the nova_url14:53
ShaikApsaramrith: that's the reason it's failing with Empty Catalog error14:53
ShaikApsaramrith: If we use keystone client to get the tenant list then you won't see Empty Catalog error14:54
ShaikApsaramrith: that was the reason i created the defect for  Empty Catalog error14:58
amrithok, so I reverted the code to master and created two instances with tenant1 and two instances with tenant214:58
amriththe quota was properly reflected in the db14:58
amriththen I deleted the instances14:58
amrithand quotas came back to 014:58
amrithand all along, I got the empty catalog errro14:58
amrithso the code that you are adding (notifications) isn't the thing that is updating the database.14:58
amrithi'll contine to debug, now I have to go attend another meeting.14:59
*** drifterza has joined #openstack-trove15:02
*** spilla has quit IRC15:02
*** rcernin has quit IRC15:04
ShaikApsaramrith: https://github.com/openstack/trove/blob/3196d347f00363f84c8986a959ff8c49f104a262/trove/taskmanager/manager.py#L5115:08
ShaikApsaramrith: it;s setting nova_admin password as token15:09
ShaikApsarit will be security issue15:10
ShaikApsarthat has to be fixed15:10
*** ShaikApsar has quit IRC15:15
*** drifterza has quit IRC15:30
*** trevormc has joined #openstack-trove15:31
*** pcaruana has quit IRC15:33
*** gouthamr has joined #openstack-trove15:38
*** tesseract- has quit IRC15:38
*** tqtran has joined #openstack-trove16:07
*** chlong has quit IRC16:07
*** tqtran has quit IRC16:11
*** itisha has joined #openstack-trove16:18
*** chlong has joined #openstack-trove16:19
*** david-lyle has joined #openstack-trove16:36
openstackgerritchen.xing proposed openstack/trove: [install] Use one command to create endpoint  https://review.openstack.org/36135916:43
*** links has joined #openstack-trove16:44
*** rcernin has joined #openstack-trove16:44
*** chlong has quit IRC17:02
*** khushbu has joined #openstack-trove17:14
*** rcernin has quit IRC17:22
*** tosky has quit IRC17:28
openstackgerritamrith proposed openstack/trove: Update api-ref documentation  https://review.openstack.org/35779217:35
*** tqtran has joined #openstack-trove18:04
amrithpeterstac, ping ... https://review.openstack.org/#/c/288297/18:30
peterstacamrith, I meant to look at that (since I think it's a valid bug) but haven't got around to it18:31
amriththx peterstac ... I didn't want to update the review and reset the timer on it18:33
amrithfyi, see above conversation with ShaikApsar.18:33
amrithI don't understand that patch or what it is doing completely18:33
peterstacright - I'll see if I can squeeze it in next week amidst the end-of-release crush ;)18:33
*** khushbu has quit IRC18:33
amrithno worries, it isn't crucial for next week18:34
amrithit is a 'sometime' thing ...18:34
*** tqtran has quit IRC18:56
*** tqtran has joined #openstack-trove18:57
trevormchey pmalik, I'm trying to test this patch but I can't seem to get my flavor-list output to change after I checkout the patch. https://review.openstack.org/#/c/352786/ Is the python-troveclient being used instead or am I doing something wrong?19:33
*** links has quit IRC19:33
trevormcI use the default install from redstack19:34
*** tqtran has quit IRC19:42
*** tqtran has joined #openstack-trove19:42
*** gouthamr has quit IRC20:01
*** zhiyan has quit IRC20:03
*** ctracey has quit IRC20:04
*** serverascode has quit IRC20:04
*** johnma has quit IRC20:08
*** gouthamr has joined #openstack-trove20:23
*** dkehn_ has quit IRC20:34
*** ctracey has joined #openstack-trove20:40
*** serverascode has joined #openstack-trove20:43
*** zhiyan has joined #openstack-trove20:45
*** markstur has joined #openstack-trove21:00
*** xb_ has quit IRC21:08
*** tqtran has quit IRC21:14
*** xb_ has joined #openstack-trove21:15
*** tqtran has joined #openstack-trove21:26
*** gouthamr_ has joined #openstack-trove21:33
openstackgerritPetr Malik proposed openstack/trove: Fix race in Postgres user-list  https://review.openstack.org/36147721:36
*** gouthamr has quit IRC21:36
*** trevormc has quit IRC21:53
*** gouthamr_ is now known as gouthamr21:57
openstackgerritPetr Malik proposed openstack/trove: Tests verify cluster data via every node  https://review.openstack.org/35504322:03
openstackgerritPetr Malik proposed openstack/trove: Add Couchbase helper client methods  https://review.openstack.org/35669822:20
*** tqtran has quit IRC22:30
*** tqtran has joined #openstack-trove22:34
*** itisha has quit IRC22:40
*** serverascode has quit IRC23:01
*** ctracey has quit IRC23:01
*** zhiyan has quit IRC23:02
*** bapalm_ has quit IRC23:06
openstackgerritMerged openstack/trove: Couchbase run backup as root  https://review.openstack.org/35675223:09
*** bapalm has joined #openstack-trove23:11
*** ctracey has joined #openstack-trove23:15
*** serverascode has joined #openstack-trove23:20
*** zhiyan has joined #openstack-trove23:28
*** amit213 has quit IRC23:37
*** amit213 has joined #openstack-trove23:40
*** ctracey has quit IRC23:46
*** zhiyan has quit IRC23:46
*** serverascode has quit IRC23:46

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