*** namnh has quit IRC | 00:22 | |
*** raildo has joined #openstack-barbican | 00:23 | |
*** raildo has quit IRC | 00:30 | |
*** namnh has joined #openstack-barbican | 01:01 | |
*** raildo has joined #openstack-barbican | 01:06 | |
*** openstackstatus has quit IRC | 01:14 | |
*** openstackstatus has joined #openstack-barbican | 01:14 | |
*** ChanServ sets mode: +v openstackstatus | 01:14 | |
*** zigo has quit IRC | 01:27 | |
*** zigo has joined #openstack-barbican | 01:31 | |
*** portdirect has quit IRC | 02:04 | |
*** portdirect has joined #openstack-barbican | 02:05 | |
*** mtreinish has quit IRC | 02:08 | |
*** mtreinish has joined #openstack-barbican | 02:10 | |
*** jillysciarilly has quit IRC | 02:23 | |
*** chris_hultin|AWA has quit IRC | 02:23 | |
*** chris_hultin|AWA has joined #openstack-barbican | 02:24 | |
*** chris_hultin|AWA is now known as chris_hultin | 02:24 | |
*** jillysciarilly has joined #openstack-barbican | 02:24 | |
*** dave-mccowan has quit IRC | 02:33 | |
openstackgerrit | Merged openstack/python-barbicanclient master: Updated from global requirements https://review.openstack.org/509449 | 02:41 |
---|---|---|
openstackgerrit | Nam Nguyen Hoai proposed openstack/barbican master: [WIP] Migrate to Zuul v3 https://review.openstack.org/509348 | 03:45 |
*** jvrbanac has quit IRC | 03:54 | |
*** jvrbanac has joined #openstack-barbican | 03:54 | |
*** jaosorior has joined #openstack-barbican | 04:21 | |
*** raildo has quit IRC | 05:47 | |
openstackgerrit | Nam Nguyen Hoai proposed openstack/barbican master: [WIP] Migrate to Zuul v3 https://review.openstack.org/509348 | 06:11 |
openstackgerrit | Nam Nguyen Hoai proposed openstack/barbican master: [WIP] Migrate to Zuul v3 https://review.openstack.org/509348 | 06:16 |
*** pcaruana has joined #openstack-barbican | 06:24 | |
openstackgerrit | Nam Nguyen Hoai proposed openstack/barbican master: [WIP] Migrate to Zuul v3 https://review.openstack.org/509348 | 06:25 |
*** nrado has joined #openstack-barbican | 07:25 | |
*** serlex has joined #openstack-barbican | 07:32 | |
nrado | Hi all, I have to ask again: I'm getting this error message when I delete a keystone project: https://gist.github.com/neki06/6d1045d80da07e5a637de70a46081e63 | 07:32 |
nrado | How can I solve this problem? What information is missing for this task? It's Barbican 4.0.0 (Ocata) | 07:32 |
openstackgerrit | Nam Nguyen Hoai proposed openstack/barbican master: Update reference link https://review.openstack.org/494071 | 08:12 |
*** daidv has quit IRC | 08:38 | |
*** salmankhan has joined #openstack-barbican | 08:52 | |
openstackgerrit | Nam Nguyen Hoai proposed openstack/barbican master: Cleanup test-requirements https://review.openstack.org/510023 | 09:15 |
*** pbourke has quit IRC | 10:01 | |
*** pbourke has joined #openstack-barbican | 10:03 | |
nrado | Nobody can help me with the exception mentioned above? | 10:25 |
nrado | Can 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 IRC | 10:47 | |
*** hieulq has quit IRC | 10:47 | |
*** namnh has quit IRC | 11:06 | |
*** salmankhan has joined #openstack-barbican | 11:10 | |
*** dave-mccowan has joined #openstack-barbican | 11:20 | |
dave-mccowan | nrado ping | 11:21 |
dave-mccowan | jaosorior ping | 11:28 |
jaosorior | dave-mccowan: pong | 11:31 |
dave-mccowan | i'm trying to configure keystone notifications with barbican to recreate the problem nrado reported yesterday. | 11:32 |
jaosorior | dave-mccowan: right | 11:32 |
dave-mccowan | jaosorior i'm not seeing any notifications and i'm not sure how to troubleshoot | 11:32 |
jaosorior | dave-mccowan: funky, that stacktrace he posted seems like a database issue | 11:32 |
jaosorior | dave-mccowan: https://gist.github.com/neki06/6d1045d80da07e5a637de70a46081e63 | 11:32 |
jaosorior | the database session is null :/ | 11:32 |
dave-mccowan | do you have a pointer to a proper config for notifications? | 11:33 |
dave-mccowan | in barbican.conf: | 11:33 |
dave-mccowan | [keystone_notifications] | 11:34 |
dave-mccowan | enable = True | 11:34 |
dave-mccowan | allow_requeue = True | 11:34 |
dave-mccowan | topic = notifications | 11:34 |
jaosorior | dave-mccowan: did you set keystone to send notifications? | 11:34 |
jaosorior | dave-mccowan: allow_requeue is not necessary if you don't have ceilometer enabled. | 11:34 |
dave-mccowan | in keystone.conf: | 11:35 |
dave-mccowan | otification_driver = messaging | 11:35 |
dave-mccowan | notification_topics = notifications | 11:35 |
dave-mccowan | rpc_backend = rabbit | 11:35 |
dave-mccowan | transport_url = rabbit://stackrabbit:secretrabbit@192.168.10.6:5672/ | 11:35 |
jaosorior | dave-mccowan: did you try with messagingv2 ? | 11:39 |
dave-mccowan | jaosorior i'll try that. | 11:42 |
dave-mccowan | jaosorior 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 |
nrado | hi | 11:47 |
nrado | now I am available | 11:47 |
nrado | I have configured keystone to send notifications to my custom barbican queue, so I can see each of those notifications in my queue | 11:48 |
nrado | But when it comes to the delete action, I get this error message | 11:49 |
nrado | started to look into the code (repsitories.py) | 11:49 |
nrado | For me it seems that the session cannot be initialized | 11:50 |
jaosorior | nrado: for some reason the session is null | 11:50 |
dave-mccowan | nrado would you please post your keystone and barbican configs related to notifications? i'd like to recreate. | 11:50 |
jaosorior | so, 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 |
nrado | yes, give me a moment | 11:50 |
nrado | https://gist.github.com/neki06/304154a104f7ced58d97b08909f4328e https://gist.github.com/neki06/af05f8450d2b42bd59333ee85a09377f | 11:56 |
nrado | do you need more? | 12:01 |
dave-mccowan | nrado i'll give it a try and let you know. | 12:09 |
nrado | ok | 12:11 |
jaosorior | dave-mccowan: as a side-note. It's with the ocata branch | 12:11 |
jaosorior | right nrado ? | 12:11 |
nrado | yes | 12:12 |
nrado | but I couldn't find some major differences in repopsitories.py when comparing ocata and master for example | 12:12 |
*** raildo has joined #openstack-barbican | 12:12 | |
nrado | I mean my focus laid one the the session initiation | 12:15 |
*** salmankhan has quit IRC | 12:15 | |
*** nrado1 has joined #openstack-barbican | 12:18 | |
*** nrado has quit IRC | 12:21 | |
*** nrado1 has left #openstack-barbican | 12:21 | |
*** nrado1 has joined #openstack-barbican | 12:22 | |
*** nrado1 has left #openstack-barbican | 12:22 | |
*** nrado1 has joined #openstack-barbican | 12:22 | |
*** rmascena has joined #openstack-barbican | 13:02 | |
*** salmankhan has joined #openstack-barbican | 13:04 | |
*** raildo has quit IRC | 13:05 | |
*** noslzzp has joined #openstack-barbican | 13:13 | |
dave-mccowan | nrado1 any tips on troubleshooting? i'm not getting the notifications in barbican. how can i confirm they were sent by keystone? | 13:28 |
jaosorior | dave-mccowan: you could check the rabbitmq stats | 13:28 |
nrado1 | dave-mccowan: which queue do you use for notifcations? notifications.info? | 13:31 |
nrado1 | the default one or di you try to do it like I did | 13:31 |
nrado1 | you can open the rabbitmq management ui | 13:33 |
nrado1 | and check the notifications.info queue for keystone messages (e.g. when you create or delete a project) | 13:33 |
dave-mccowan | nrado1 i didn't change settings for queue. i set the topic to barbican_notifications. | 13:34 |
nrado1 | and in keystone too? | 13:35 |
nrado1 | when you exec this: rabbitmqctl list_queues name messages consumers | grep barbican | 13:35 |
nrado1 | do you see the "barbican_notifications.info" queue? | 13:35 |
dave-mccowan | nrado1 i don't see any queues | 13:41 |
nrado1 | ? | 13:41 |
dave-mccowan | sudo rabbitmqctl list_queues name messages consumers | 13:41 |
dave-mccowan | returns nothing. | 13:41 |
nrado1 | you are trying this on your controller node or where do you execute this? | 13:42 |
nrado1 | I need some more infromation :) | 13:42 |
dave-mccowan | nrado1 i'm using devstack, all on one server | 13:43 |
nrado1 | oh, the last time I used devstack was two years ago :D | 13:44 |
nrado1 | https://www.rabbitmq.com/management-cli.html | 13:44 |
nrado1 | this would be an alternative | 13:44 |
nrado1 | But the easiest way would be to check it with the UI | 13:45 |
nrado1 | https://www.rabbitmq.com/management.html | 13:45 |
nrado1 | did you set barbican debug to true | 13:47 |
nrado1 | I mean, let's say you've managed to create this queue, then you should be able to see the keystone messages in your barbican logs | 13:48 |
dave-mccowan | keystone is supposed to create the queue, right? i must have my keystone config wrong. | 13:51 |
nrado1 | you have to configure keystone in that way that it sends its notfications | 13:52 |
nrado1 | so in this case: | 13:52 |
nrado1 | [oslo_messaging_notifications] | 13:52 |
nrado1 | driver = messagingv2 | 13:52 |
nrado1 | topics = notifications,barbican_notifications | 13:52 |
nrado1 | [DEFAULT] | 13:52 |
nrado1 | transport_url = rabbit://openstack:…. | 13:52 |
nrado1 | these settings are the most important one in keystone.conf | 13:53 |
nrado1 | you can skip first barbican_notifications and just leave the default (topics = notifications) | 13:53 |
dave-mccowan | nrado1 https://gist.github.com/dave-mccowan/265902e7afac6fe6743532d54cb080e3 | 13:54 |
nrado1 | could you add the transport_url for keystone, too? | 13:55 |
nrado1 | and please add the "notifications" topic | 13:56 |
nrado1 | topics = notifications,barbican_notifications | 13:56 |
nrado1 | is it possible for you to reach this rabbitmq managament UI? | 13:58 |
dave-mccowan | nrado1 yes, i just enabled the plugin | 14:05 |
*** catintheroof has joined #openstack-barbican | 14:05 | |
*** catinthe_ has joined #openstack-barbican | 14:06 | |
*** catintheroof has quit IRC | 14:07 | |
nrado1 | ok, there you shoud see all queues in the "Queues" tab | 14:07 |
nrado1 | add a filter "notification" for example | 14:07 |
*** namnh has joined #openstack-barbican | 14:12 | |
nrado1 | you see something now? | 14:15 |
dave-mccowan | no change to keystone/barbican with the config changes. i'm still working on getting rabbit management UI working. | 14:17 |
dave-mccowan | with 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 raildo | 14:41 | |
*** nrado1 has quit IRC | 15:04 | |
*** noslzzp has quit IRC | 15:11 | |
*** jaosorior has quit IRC | 15:24 | |
*** nrado has joined #openstack-barbican | 15:32 | |
nrado | dave-mccowan: any further progress? | 16:03 |
dave-mccowan | nrado i've got rabbit management cli working. it looks like keystone is not setting up any queues. | 16:04 |
nrado | keystone shouldn't set any new queue. It should push its messages to the notification queue "notification.info" | 16:08 |
nrado | could you please list your queues and grep for "notification" | 16:09 |
dave-mccowan | when i list queues, it returns: "No items" | 16:10 |
nrado | How did you check that let's say keystone is not setting up any queues then? | 16:11 |
*** pcaruana has quit IRC | 16:13 | |
dave-mccowan | i 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-mccowan | or is it manual? | 16:14 |
nrado | No, 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 guess | 16:28 |
dave-mccowan | nrado https://gist.github.com/dave-mccowan/1bc8a65c08fed3c0b332e4bb8d273ae5 | 16:32 |
nrado | when I execute the following: | 16:38 |
nrado | rabbitmqadmin -H <host-ip> --username <…> --password <..> list queues vhost name node messages | 16:38 |
nrado | I get all queues under the default vhost "/" | 16:38 |
dave-mccowan | i get "No items" returned from that command | 16:40 |
dave-mccowan | are there usually a bunch of default queues? | 16:41 |
nrado | that's weird | 16:41 |
nrado | yes, definitely. | 16:43 |
*** openstackstatus has quit IRC | 17:05 | |
*** openstack has joined #openstack-barbican | 17:06 | |
*** ChanServ sets mode: +o openstack | 17:06 | |
*** salmankhan has quit IRC | 17:35 | |
*** namnh has quit IRC | 17:47 | |
*** serlex has quit IRC | 18:13 | |
*** serlex has joined #openstack-barbican | 18:20 | |
*** serlex has left #openstack-barbican | 18:20 | |
*** chlong has joined #openstack-barbican | 19:06 | |
*** namnh has joined #openstack-barbican | 19:48 | |
*** namnh has quit IRC | 19:53 | |
*** raildo has quit IRC | 20:01 | |
*** catinthe_ has quit IRC | 20:28 | |
*** namnh has joined #openstack-barbican | 21:49 | |
*** namnh has quit IRC | 21:54 | |
*** chlong has quit IRC | 22:14 | |
*** nrado has quit IRC | 22:24 | |
*** ssathaye has quit IRC | 23:39 | |
*** ssathaye has joined #openstack-barbican | 23:40 | |
*** namnh has joined #openstack-barbican | 23:50 | |
*** namnh has quit IRC | 23:55 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!