Thursday, 2017-10-05

openstackgerritOpenStack Proposal Bot proposed openstack/barbican master: Updated from global requirements  https://review.openstack.org/50661100:59
openstackgerritOpenStack Proposal Bot proposed openstack/python-barbicanclient master: Updated from global requirements  https://review.openstack.org/50944901:10
openstackgerritNam Nguyen Hoai proposed openstack/barbican master: [WIP] Migrate to Zuul v3  https://review.openstack.org/50934801:51
*** dave-mcc_ has quit IRC01:57
*** rarora has quit IRC02:00
*** rarora has joined #openstack-barbican02:15
openstackgerritOpenStack Proposal Bot proposed openstack/barbican master: Updated from global requirements  https://review.openstack.org/50661102:32
openstackgerritOpenStack Proposal Bot proposed openstack/python-barbicanclient master: Updated from global requirements  https://review.openstack.org/50944902:42
openstackgerritDavanum Srinivas (dims) proposed openstack/castellan master: Vault based key manager  https://review.openstack.org/48308002:45
openstackgerritOpenStack Proposal Bot proposed openstack/barbican master: Updated from global requirements  https://review.openstack.org/50661102:48
openstackgerritOpenStack Proposal Bot proposed openstack/python-barbicanclient master: Updated from global requirements  https://review.openstack.org/50944902:58
openstackgerritOpenStack Proposal Bot proposed openstack/barbican master: Updated from global requirements  https://review.openstack.org/50661103:03
openstackgerritOpenStack Proposal Bot proposed openstack/python-barbicanclient master: Updated from global requirements  https://review.openstack.org/50944903:14
openstackgerritOpenStack Proposal Bot proposed openstack/barbican master: Updated from global requirements  https://review.openstack.org/50661103:24
openstackgerritOpenStack Proposal Bot proposed openstack/python-barbicanclient master: Updated from global requirements  https://review.openstack.org/50944903:34
*** tonyb has quit IRC03:42
openstackgerritOpenStack Proposal Bot proposed openstack/barbican master: Updated from global requirements  https://review.openstack.org/50661103:53
*** tonyb has joined #openstack-barbican03:56
openstackgerritOpenStack Proposal Bot proposed openstack/python-barbicanclient master: Updated from global requirements  https://review.openstack.org/50944904:04
openstackgerritOpenStack Proposal Bot proposed openstack/barbican master: Updated from global requirements  https://review.openstack.org/50661104:09
*** jamielennox has quit IRC04:14
*** jamielennox has joined #openstack-barbican04:18
openstackgerritOpenStack Proposal Bot proposed openstack/python-barbicanclient master: Updated from global requirements  https://review.openstack.org/50944904:20
*** cerny01_ has quit IRC04:23
*** chlong_ has joined #openstack-barbican04:51
openstackgerritOpenStack Proposal Bot proposed openstack/barbican master: Updated from global requirements  https://review.openstack.org/50661106:01
openstackgerritOpenStack Proposal Bot proposed openstack/python-barbicanclient master: Updated from global requirements  https://review.openstack.org/50944906:12
*** chlong_ has quit IRC06:13
*** andreas_s has joined #openstack-barbican06:15
*** david_1 has joined #openstack-barbican06:56
*** mkoderer_ has joined #openstack-barbican06:56
*** dgonzalez_ has joined #openstack-barbican06:56
*** seife_ has joined #openstack-barbican06:56
*** seife_ has quit IRC06:58
*** dgonzalez_ has quit IRC06:58
*** mkoderer_ has quit IRC06:58
*** david_1 has quit IRC06:58
*** pcaruana has joined #openstack-barbican07:08
*** nrado has joined #openstack-barbican07:46
*** salmankhan has joined #openstack-barbican08:00
*** salmankhan has quit IRC08:07
nradoHi there, I've noticed that the barbican-keystone-listener (in Ocata release) is a consumer of the "notifications.info" queue. I can understand the reason behind this, but in my case the keystone listener is consuming messages which should belong to ceilometer. I have missing telemetry information in my database due to this. It that a known issue?08:16
nradoI mean I'm creating and deleting volumes.. why is barbican-keystone-listener picking the messages from the queue?08:20
*** serlex has joined #openstack-barbican08:22
*** hieulq has quit IRC08:26
*** hieulq has joined #openstack-barbican08:27
*** daidv has quit IRC08:29
*** daidv has joined #openstack-barbican08:30
jaosoriornrado: well, you could use allow_requeue in the configuration.08:49
jaosoriorwhich is in the keystone_notifications section08:50
nradowhat is this param used for? Can you please explain it to me jaosorior?08:54
nradobut it doesn't help08:56
nradostill getting just a part of the event when I enable this08:57
jaosoriornrado: allow_requeue=True makes the listener not actually consume the events, it reads it and then sends it back to the queue.08:58
jaosoriornrado: that would probably help in the short term, however, what you probably want is to use separate queues, so keystone would be putting the notifications to two queues: one for barbican and one for ceilometer. Then you could have both listeners consume the events, and avoid race-conditions08:59
jaosoriorAnd the race-condition I'm talking about is because ceilometer doesn't requeue. So if ceilometer consumes the event before the keystone-listener does, then the keystone-listener will never get it.09:02
*** namnh has joined #openstack-barbican09:04
nradoOk, I got it, the problem is that I need both events (create.start and create.end), but I'm getting only one of these. In this case, it's more important for me that ceilometer gets both events09:04
nradoI'll try it now with the 2nd queue09:04
jaosoriornrado: well, if you do allow_requeue, you should get the events09:06
jaosoriornrado: unless you got something else in your system that's consuming them.09:06
jaosoriorso yeah, under [keystone_notifications]     set allow_requeue=true   in barbican.conf09:06
nradojust in barbican, not in ceilometer?09:07
jaosoriornrado: so that would be for a quick test that it works. But yeah, if you don't set it in ceilometer, then nothing will consume those events.... though you could mitigate that by setting a TTL for your messages in rabbitmq (if that's what you're using as a message broker) https://www.rabbitmq.com/blog/2014/01/23/preventing-unbounded-buffers-with-rabbitmq/09:10
nradoUnfortunately, it doesn't work when I set allow_requeue=true in barbican.conf. Still getting just one part of my event09:12
jaosoriornrado: did you set it in the keystone_notifications section?09:12
nradoyes:09:13
nrado[keystone_notifications]09:13
nradoenable = True09:13
nradoallow_requeue = True09:13
jaosoriornrado: well, funky. Anything else in your system that might be consuming events?09:14
jaosoriornrado: that option was available in ocata for both barbican and oslo.messaging (which ultimately consumes that option)09:14
jaosoriorbrb09:15
nradowell, on this notification.info queue I have two consumers: barbican-keystone-listener and ceilomter-notfication09:15
nradothose two options (barbican and oslo.messaging) should be available in barbican.conf? What do you mean? Where should I configure oslo.messaging to ulimately consume that option?09:19
jaosorioroslo messaging gets that option from barbican.conf, as it's a library that barbican uses (same as a lot of openstack services)09:20
jaosoriorI'll be back in a bit, gotta go run an errand09:21
nradohttps://github.com/openstack/barbican/blob/stable/ocata/etc/barbican/barbican.conf#L243 set this one, so it should be enough, right?09:21
jaosorioryeah09:21
nradookay09:21
*** pbourke has quit IRC10:00
*** pbourke has joined #openstack-barbican10:01
nrado@jaosorior: I tried to do this another queue. In barbican.conf I set "barbican_notifications" as the topic under [keystone_notifications]. In Keystone.conf I set multiple topics:10:15
nrado[oslo_messaging_notifications]10:15
nradotopics = notifications,barbican_notifications10:15
nradoI can see in rabbitmq that the queue was created and the the barbican_keystone_listener is consuming the queue, but I don't get any messages there10:16
nradoDid I forget something? When I compare the two queues (notifications.info and barbican_notifications.info) I can see that there are some more bindings in notifications.info10:17
nradoSo I could configure another binding in rabbitmq, but how is it solved in OpenStack?10:18
*** andreas_s_ has joined #openstack-barbican10:56
*** andreas_s has quit IRC10:58
*** dave-mccowan has joined #openstack-barbican11:04
jaosoriornrado: weird. We had exactly the same issue with novajoin (another service) and solved it that way.11:18
jaosoriornrado: not sure what you're missing there :/11:18
nradohmm12:07
nradothis is indeed weird12:08
nradoYou did this also in that way in Ocata release?12:08
*** namnh has quit IRC12:10
*** raildo has joined #openstack-barbican12:11
*** nrado1 has joined #openstack-barbican12:18
jaosoriornrado: we did it for pike12:20
*** nrado has quit IRC12:21
*** alee has quit IRC12:22
nrado1Ok, I found the reason12:22
nrado1I configured the additional topic just in keystone12:22
nrado1but as I'm creating a volume I need to add this barbican topic in cinder.conf12:23
nrado1then it will receive messages in in this queue12:23
nrado1but one question: why does Barbican need all this messages12:24
nrado1is it not enough to just get a message when a keystone was deleted?12:24
nrado1I thought this was the intention behind the barbican keystone listener12:24
nrado1I'm really confused12:34
*** namnh has joined #openstack-barbican12:42
*** namnh has quit IRC12:43
jaosoriornrado1: you're right, we don't need all those notifications12:43
*** namnh has joined #openstack-barbican12:43
jaosoriornrado1: that could easily be fixed :D not sure if for ocata though12:43
jaosoriornrado1: basically, we parse in code the notifications, instead of using a notificationfilter from oslo.messaging (which would make life easier)12:44
jaosoriornrado1: basically, we're missing something like this https://github.com/openstack/novajoin/blob/master/novajoin/notifications.py#L5612:47
jaosoriornrado1: if you would like to write a commit it would be most welcome :D12:47
*** catintheroof has joined #openstack-barbican12:50
*** catintheroof has quit IRC12:51
*** catintheroof has joined #openstack-barbican12:51
*** noslzzp has joined #openstack-barbican13:05
*** namnh has quit IRC13:15
*** namnh has joined #openstack-barbican13:16
*** namnh has quit IRC13:20
*** salmankhan has joined #openstack-barbican13:25
*** jaosorior has quit IRC13:35
*** salmankhan has quit IRC13:36
*** alee has joined #openstack-barbican13:36
openstackgerritOpenStack Proposal Bot proposed openstack/barbican master: Updated from global requirements  https://review.openstack.org/50661113:39
*** salmankhan has joined #openstack-barbican13:43
*** chlong_ has joined #openstack-barbican13:47
*** salmankhan has quit IRC13:47
openstackgerritOpenStack Proposal Bot proposed openstack/python-barbicanclient master: Updated from global requirements  https://review.openstack.org/50944913:50
*** jaosorior has joined #openstack-barbican14:10
*** namnh has joined #openstack-barbican14:16
*** serlex has quit IRC14:17
nrado1jaosorior: First I have to find out how to get keystone notifications :D I'm struggling with this problem14:31
nrado1There are no keystone notifications in the notification.info queue14:32
*** jaosorior has quit IRC15:07
*** andreas_s_ has quit IRC15:21
nrado1I'm getting this error when I delete a project in keystone (Ocata release): https://gist.github.com/neki06/1bdd5247daef4c790be7fd1127dd71d215:31
nrado1Expected that the secrets created within this project will be also deleted, but it's not the case15:32
nrado1Can someone help?15:32
*** pcaruana has quit IRC15:39
*** nrado1 has quit IRC15:44
*** namnh has quit IRC15:52
*** namnh has joined #openstack-barbican15:53
*** namnh has quit IRC15:57
*** noslzzp has quit IRC16:03
*** noslzzp has joined #openstack-barbican16:07
*** namnh has joined #openstack-barbican16:22
*** nrado has joined #openstack-barbican16:43
openstackgerritMerged openstack/barbican master: Updated from global requirements  https://review.openstack.org/50661116:48
*** alee has quit IRC16:56
*** alee has joined #openstack-barbican16:59
*** noslzzp has quit IRC17:15
*** raildo has quit IRC17:31
*** namnh has quit IRC17:38
*** raildo has joined #openstack-barbican17:47
*** chlong_ has quit IRC18:44
*** chlong_ has joined #openstack-barbican19:00
*** alee has quit IRC19:07
*** alee has joined #openstack-barbican19:20
*** melwitt has joined #openstack-barbican19:29
*** melwitt has left #openstack-barbican19:29
*** chlong_ has quit IRC19:44
*** catintheroof has quit IRC20:56
*** nrado has quit IRC21:05
*** alee has quit IRC21:21
*** raildo has quit IRC21:22
*** alee has joined #openstack-barbican22:30
*** nkinder has quit IRC22:31
*** namnh has joined #openstack-barbican23:28
*** ssathaye has quit IRC23:39
*** ssathaye has joined #openstack-barbican23:39

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