Monday, 2022-05-16

opendevreviewStephen Finucane proposed openstack/oslo-specs master: [oslo.messaging] add unix socket notifcation driver  https://review.opendev.org/c/openstack/oslo-specs/+/83981908:03
opendevreviewMerged openstack/oslo-specs master: [oslo.messaging] add unix socket notifcation driver  https://review.opendev.org/c/openstack/oslo-specs/+/83981908:14
opendevreviewsean mooney proposed openstack/oslo.messaging master: [WIP] add unix socket notifcation driver  https://review.opendev.org/c/openstack/oslo.messaging/+/84189211:32
sean-k-mooneystephenfin: if you are about can you tell me how im beign dumb ^11:33
sean-k-mooneyor is t hat really a bug that i should og fix11:33
sean-k-mooneyit looks like everwhere else its doign self.config(driver=['test'],11:36
sean-k-mooneywhich i guess i can do but that feels liek a hack11:37
stephenfinsean-k-mooney: https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/notify/notifier.py#L32-L3811:38
stephenfinIt's because it's a MultiStrOpt11:38
sean-k-mooneyoh ok11:38
sean-k-mooneythen i would have expected a type error11:39
sean-k-mooneybut that at least makes sense11:39
stephenfinYeah, if you look for how we set e.g. 'passthrough_whitelist' in nova tests11:39
stephenfinYou'll see that expects a list also11:39
sean-k-mooneyi guess its not drivers for legacy reasons11:39
stephenfinI would say so. No reason we couldn't rename it11:40
sean-k-mooneyfor now ill just add a note in the code to call out why im passign a list11:40
sean-k-mooneyi just was not expect a list based on the name11:40
sean-k-mooneythanks11:41
sean-k-mooneyi knew it woudl be simple but i forgot to check the type11:41
stephenfinAll good :)11:44
sean-k-mooneyi can slowly feel my brianpower and sanity sliping away13:59
opendevreviewsean mooney proposed openstack/oslo.messaging master: [WIP] add unix socket notifcation driver  https://review.opendev.org/c/openstack/oslo.messaging/+/84189214:02
sean-k-mooneyok i kind of found what the problem was14:37
sean-k-mooneyit was in my code...14:37
sean-k-mooneydoes oslo messagaign have a way to get an executor/thread pool automaticlly17:46
sean-k-mooneyi know it can run with our without eventlets17:48
sean-k-mooneyutils.get_executor_with_context()17:49
sean-k-mooneythat might be waht i want17:50
opendevreviewsean mooney proposed openstack/oslo.messaging master: [WIP] add unix socket notifcation driver  https://review.opendev.org/c/openstack/oslo.messaging/+/84189220:47

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!