Friday, 2017-10-06

*** namnh has quit IRC00:22
*** raildo has joined #openstack-barbican00:23
*** raildo has quit IRC00:30
*** namnh has joined #openstack-barbican01:01
*** raildo has joined #openstack-barbican01:06
*** openstackstatus has quit IRC01:14
*** openstackstatus has joined #openstack-barbican01:14
*** ChanServ sets mode: +v openstackstatus01:14
*** zigo has quit IRC01:27
*** zigo has joined #openstack-barbican01:31
*** portdirect has quit IRC02:04
*** portdirect has joined #openstack-barbican02:05
*** mtreinish has quit IRC02:08
*** mtreinish has joined #openstack-barbican02:10
*** jillysciarilly has quit IRC02:23
*** chris_hultin|AWA has quit IRC02:23
*** chris_hultin|AWA has joined #openstack-barbican02:24
*** chris_hultin|AWA is now known as chris_hultin02:24
*** jillysciarilly has joined #openstack-barbican02:24
*** dave-mccowan has quit IRC02:33
openstackgerritMerged openstack/python-barbicanclient master: Updated from global requirements  https://review.openstack.org/50944902:41
openstackgerritNam Nguyen Hoai proposed openstack/barbican master: [WIP] Migrate to Zuul v3  https://review.openstack.org/50934803:45
*** jvrbanac has quit IRC03:54
*** jvrbanac has joined #openstack-barbican03:54
*** jaosorior has joined #openstack-barbican04:21
*** raildo has quit IRC05:47
openstackgerritNam Nguyen Hoai proposed openstack/barbican master: [WIP] Migrate to Zuul v3  https://review.openstack.org/50934806:11
openstackgerritNam Nguyen Hoai proposed openstack/barbican master: [WIP] Migrate to Zuul v3  https://review.openstack.org/50934806:16
*** pcaruana has joined #openstack-barbican06:24
openstackgerritNam Nguyen Hoai proposed openstack/barbican master: [WIP] Migrate to Zuul v3  https://review.openstack.org/50934806:25
*** nrado has joined #openstack-barbican07:25
*** serlex has joined #openstack-barbican07:32
nradoHi all, I have to ask again: I'm getting this error message when I delete a keystone project: https://gist.github.com/neki06/6d1045d80da07e5a637de70a46081e6307:32
nradoHow can I solve this problem? What information is missing for this task? It's Barbican 4.0.0 (Ocata)07:32
openstackgerritNam Nguyen Hoai proposed openstack/barbican master: Update reference link  https://review.openstack.org/49407108:12
*** daidv has quit IRC08:38
*** salmankhan has joined #openstack-barbican08:52
openstackgerritNam Nguyen Hoai proposed openstack/barbican master: Cleanup test-requirements  https://review.openstack.org/51002309:15
*** pbourke has quit IRC10:01
*** pbourke has joined #openstack-barbican10:03
nradoNobody can help me with the exception mentioned above?10:25
nradoCan someone tell me if keystone listener is actually working in Barbican? Is it possible to delete dangling resources when a keystone project was deleted?10:29
*** salmankhan has quit IRC10:47
*** hieulq has quit IRC10:47
*** namnh has quit IRC11:06
*** salmankhan has joined #openstack-barbican11:10
*** dave-mccowan has joined #openstack-barbican11:20
dave-mccowannrado ping11:21
dave-mccowanjaosorior ping11:28
jaosoriordave-mccowan: pong11:31
dave-mccowani'm trying to configure keystone notifications with barbican to recreate the problem nrado reported yesterday.11:32
jaosoriordave-mccowan: right11:32
dave-mccowanjaosorior i'm not seeing any notifications and i'm not sure how to troubleshoot11:32
jaosoriordave-mccowan: funky, that stacktrace he posted seems like a database issue11:32
jaosoriordave-mccowan: https://gist.github.com/neki06/6d1045d80da07e5a637de70a46081e6311:32
jaosoriorthe database session is null :/11:32
dave-mccowando you have a pointer to a proper config for notifications?11:33
dave-mccowanin barbican.conf:11:33
dave-mccowan[keystone_notifications]11:34
dave-mccowanenable = True11:34
dave-mccowanallow_requeue = True11:34
dave-mccowantopic = notifications11:34
jaosoriordave-mccowan: did you set keystone to send notifications?11:34
jaosoriordave-mccowan: allow_requeue is not necessary if you don't have ceilometer enabled.11:34
dave-mccowanin keystone.conf:11:35
dave-mccowanotification_driver = messaging11:35
dave-mccowannotification_topics = notifications11:35
dave-mccowanrpc_backend = rabbit11:35
dave-mccowantransport_url = rabbit://stackrabbit:secretrabbit@192.168.10.6:5672/11:35
jaosoriordave-mccowan: did you try with messagingv2 ?11:39
dave-mccowanjaosorior i'll try that.11:42
dave-mccowanjaosorior i'm not convince from keystone logs that the notification was sent.  i see the notification callback debug message, but nothing else.   also, in barbican.conf... is transport_url, under [default] the right place to configure rabbitmq info for barbican?11:43
nradohi11:47
nradonow I am available11:47
nradoI have configured keystone to send notifications to my custom barbican queue, so I can see each of those notifications in my queue11:48
nradoBut when it comes to the delete action, I get this error message11:49
nradostarted to look into the code (repsitories.py)11:49
nradoFor me it seems that the session cannot be initialized11:50
jaosoriornrado: for some reason the session is null11:50
dave-mccowannrado would you please post your keystone and barbican configs related to notifications?  i'd like to recreate.11:50
jaosoriorso, it could be that either something went wrong with the database configuration. Or that we have a bug that we don't initialize that session as we should.11:50
nradoyes, give me a moment11:50
nradohttps://gist.github.com/neki06/304154a104f7ced58d97b08909f4328e  https://gist.github.com/neki06/af05f8450d2b42bd59333ee85a09377f11:56
nradodo you need more?12:01
dave-mccowannrado i'll give it a try and let you know.12:09
nradook12:11
jaosoriordave-mccowan: as a side-note. It's with the ocata branch12:11
jaosoriorright nrado ?12:11
nradoyes12:12
nradobut I couldn't find some major differences in repopsitories.py when comparing ocata and master for example12:12
*** raildo has joined #openstack-barbican12:12
nradoI mean my focus laid one the the session initiation12:15
*** salmankhan has quit IRC12:15
*** nrado1 has joined #openstack-barbican12:18
*** nrado has quit IRC12:21
*** nrado1 has left #openstack-barbican12:21
*** nrado1 has joined #openstack-barbican12:22
*** nrado1 has left #openstack-barbican12:22
*** nrado1 has joined #openstack-barbican12:22
*** rmascena has joined #openstack-barbican13:02
*** salmankhan has joined #openstack-barbican13:04
*** raildo has quit IRC13:05
*** noslzzp has joined #openstack-barbican13:13
dave-mccowannrado1 any tips on troubleshooting?  i'm not getting the notifications in barbican.  how can i confirm they were sent by keystone?13:28
jaosoriordave-mccowan: you could check the rabbitmq stats13:28
nrado1dave-mccowan: which queue do you use for notifcations? notifications.info?13:31
nrado1the default one or di you try to do it like I did13:31
nrado1you can open the rabbitmq management ui13:33
nrado1and check the notifications.info queue for keystone messages (e.g. when you create or delete a project)13:33
dave-mccowannrado1 i didn't change settings for queue.  i set the topic to barbican_notifications.13:34
nrado1and in keystone too?13:35
nrado1when you exec this: rabbitmqctl list_queues name messages consumers | grep barbican13:35
nrado1do you see the "barbican_notifications.info" queue?13:35
dave-mccowannrado1 i don't see any queues13:41
nrado1?13:41
dave-mccowansudo rabbitmqctl list_queues name messages consumers13:41
dave-mccowanreturns nothing.13:41
nrado1you are trying this on your controller node or where do you execute this?13:42
nrado1I need some more infromation :)13:42
dave-mccowannrado1 i'm using devstack, all on one server13:43
nrado1oh, the last time I used devstack was two years ago :D13:44
nrado1https://www.rabbitmq.com/management-cli.html13:44
nrado1this would be an alternative13:44
nrado1But the easiest way would be to check it with the UI13:45
nrado1https://www.rabbitmq.com/management.html13:45
nrado1did you set barbican debug to true13:47
nrado1I mean, let's say you've managed to create this queue, then you should be able to see the keystone messages in your barbican logs13:48
dave-mccowankeystone is supposed to create the queue, right?  i must have my keystone config wrong.13:51
nrado1you have to configure keystone in that way that it sends its notfications13:52
nrado1so in this case:13:52
nrado1[oslo_messaging_notifications]13:52
nrado1driver = messagingv213:52
nrado1topics = notifications,barbican_notifications13:52
nrado1[DEFAULT]13:52
nrado1transport_url = rabbit://openstack:….13:52
nrado1these settings are the most important one in keystone.conf13:53
nrado1you can skip first barbican_notifications and just leave the default (topics = notifications)13:53
dave-mccowannrado1 https://gist.github.com/dave-mccowan/265902e7afac6fe6743532d54cb080e313:54
nrado1could you add the transport_url for keystone, too?13:55
nrado1and please add the "notifications" topic13:56
nrado1topics = notifications,barbican_notifications13:56
nrado1is it possible for you to reach this rabbitmq managament UI?13:58
dave-mccowannrado1 yes, i just enabled the plugin14:05
*** catintheroof has joined #openstack-barbican14:05
*** catinthe_ has joined #openstack-barbican14:06
*** catintheroof has quit IRC14:07
nrado1ok, there you shoud see all queues in the "Queues" tab14:07
nrado1add a filter "notification" for example14:07
*** namnh has joined #openstack-barbican14:12
nrado1you see something now?14:15
dave-mccowanno change to keystone/barbican with the config changes.  i'm still working on getting rabbit management UI working.14:17
dave-mccowanwith debug logging turned on in keystone and barbican, i'm not seeing logs corresponding to sending or receiving of notifications.14:18
*** rmascena is now known as raildo14:41
*** nrado1 has quit IRC15:04
*** noslzzp has quit IRC15:11
*** jaosorior has quit IRC15:24
*** nrado has joined #openstack-barbican15:32
nradodave-mccowan: any further progress?16:03
dave-mccowannrado i've got rabbit management cli working.  it looks like keystone is not setting up any queues.16:04
nradokeystone shouldn't set any new queue. It should push its messages to the notification queue "notification.info"16:08
nradocould you please list your queues and grep for "notification"16:09
dave-mccowanwhen i list queues, it returns: "No items"16:10
nradoHow did you check that let's say keystone is not setting up any queues then?16:11
*** pcaruana has quit IRC16:13
dave-mccowani have none.  i assumed it was keystone's job to create them. is that something i need to do?  or should should devstack have done that?16:13
dave-mccowanor is it manual?16:14
nradoNo, it should be all done automatically. We just have to ensure that we enable keystone notifications. I can't believe that is solved in a different manner in devstack. But it's hard to follow for me. Perhaps you have to give your rabbitmq command a host, user, password and so on. Perphaps it's trying to reach localhost or whatever. That's why you see an empty list. It's just a guess16:28
dave-mccowannrado https://gist.github.com/dave-mccowan/1bc8a65c08fed3c0b332e4bb8d273ae516:32
nradowhen I execute the following:16:38
nradorabbitmqadmin -H <host-ip> --username <…> --password <..> list queues vhost name node messages16:38
nradoI get all queues under the default vhost "/"16:38
dave-mccowani get "No items" returned from that command16:40
dave-mccowanare there usually a bunch of default queues?16:41
nradothat's weird16:41
nradoyes, definitely.16:43
*** openstackstatus has quit IRC17:05
*** openstack has joined #openstack-barbican17:06
*** ChanServ sets mode: +o openstack17:06
*** salmankhan has quit IRC17:35
*** namnh has quit IRC17:47
*** serlex has quit IRC18:13
*** serlex has joined #openstack-barbican18:20
*** serlex has left #openstack-barbican18:20
*** chlong has joined #openstack-barbican19:06
*** namnh has joined #openstack-barbican19:48
*** namnh has quit IRC19:53
*** raildo has quit IRC20:01
*** catinthe_ has quit IRC20:28
*** namnh has joined #openstack-barbican21:49
*** namnh has quit IRC21:54
*** chlong has quit IRC22:14
*** nrado has quit IRC22:24
*** ssathaye has quit IRC23:39
*** ssathaye has joined #openstack-barbican23:40
*** namnh has joined #openstack-barbican23:50
*** namnh has quit IRC23:55

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