Thursday, 2019-07-18

*** iurygregory has quit IRC00:17
*** goldyfruit has quit IRC00:50
*** goldyfruit has joined #openstack-oslo00:53
openstackgerritpengyuesheng proposed openstack/oslo.log master: Bump the openstackdocstheme extension to 1.20  https://review.opendev.org/66923201:47
openstackgerritpengyuesheng proposed openstack/oslo.messaging master: Bump the openstackdocstheme extension to 1.20  https://review.opendev.org/66923801:49
*** goldyfruit has quit IRC02:07
*** goldyfruit has joined #openstack-oslo02:08
*** threestrands has joined #openstack-oslo02:43
*** goldyfruit has quit IRC03:30
*** redrobot has quit IRC03:32
*** Guest99405 has joined #openstack-oslo03:39
*** Luzi has joined #openstack-oslo05:09
*** pcaruana has joined #openstack-oslo05:44
*** logan- has quit IRC06:00
*** logan_ has joined #openstack-oslo06:01
*** logan_ is now known as logan-06:01
*** rcernin has quit IRC06:44
*** jbadiapa has joined #openstack-oslo07:04
*** threestrands has quit IRC07:24
*** hberaud|gone is now known as hberaud07:46
*** ralonsoh has joined #openstack-oslo07:56
*** tosky has joined #openstack-oslo08:31
*** iurygregory has joined #openstack-oslo08:46
openstackgerritElod Illes proposed openstack/taskflow stable/rocky: import zuul job settings from project-config  https://review.opendev.org/59117008:56
stephenfinhberaud: Trivial doc cleanup patch here. Care to take a look? https://review.opendev.org/#/c/669180/09:30
hberaudstephenfin: sure09:31
openstackgerritMerged openstack/oslo.messaging master: Blacklist sphinx 2.1.0 (autodoc bug)  https://review.opendev.org/66923709:35
*** hberaud is now known as hberaud|lunch09:56
openstackgerritStephen Finucane proposed openstack/oslo.vmware master: Add local bindep.txt  https://review.opendev.org/67145010:22
openstackgerritMerged openstack/oslo.log stable/stein: Replace git.openstack.org URLs with opendev.org URLs  https://review.opendev.org/65829610:31
*** takamatsu has joined #openstack-oslo10:37
*** hberaud|lunch is now known as hberaud10:50
openstackgerritMerged openstack/pbr master: Fix parsing on egg names with dashes from git URLs  https://review.opendev.org/64872711:16
*** goldyfruit has joined #openstack-oslo11:20
*** tesseract has joined #openstack-oslo11:38
*** ansmith has quit IRC12:10
*** boden has joined #openstack-oslo12:23
*** raildo has joined #openstack-oslo12:34
*** ansmith has joined #openstack-oslo12:42
*** Guest99405 is now known as redrobot13:13
*** hoonetorg has quit IRC13:28
*** kgiusti has joined #openstack-oslo13:35
*** beekneemech has joined #openstack-oslo13:36
*** bnemec has quit IRC13:37
*** raildo has quit IRC13:50
*** Luzi has quit IRC13:52
gsantomaggiohello,14:11
gsantomaggioI am looking how to implement mandatory flag server side, but it is a totally different from the RPCClient.14:11
gsantomaggioFor what I have understood I have to change `AMQPIncomingMessage`14:11
gsantomaggiohttps://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/_drivers/amqpdriver.py#L12514:11
gsantomaggiothat is the class that actually send back the message14:11
gsantomaggioI am in the right path?14:11
gsantomaggio@kgiusti  @hberaud14:11
gsantomaggiothanks14:11
gsantomaggio>I am in the right path?14:11
gsantomaggioAm I in the right path?14:11
*** iurygregory has quit IRC14:23
*** lbragstad has joined #openstack-oslo14:36
*** iurygregory has joined #openstack-oslo14:40
hberaudgsantomaggio: yo14:47
kgiustigsantomaggio: sorry!14:48
hberaudgsantomaggio: sorry I've no significant experience with this module but I'll take a look to help you14:48
kgiustigsantomaggio: the reply method does get called by the server, yes14:49
gsantomaggio@hberaud thank you, don't worry I am working on it, maybe you can help for the review14:49
gsantomaggio@kgiusti  thanks14:49
hberaudgsantomaggio: sure14:50
hberaudkgiusti: thx too14:50
kgiustigsantomaggio:  https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/rpc/server.py#L17814:50
gsantomaggioyes, seen it14:51
gsantomaggioI need to add a parameter there14:51
kgiustigsantomaggio: the transport options parameter?14:52
gsantomaggioyes that one14:52
gsantomaggioI am looking a "place" where to put14:52
gsantomaggiothe transport options parameter14:52
gsantomaggioI ended up on https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/rpc/server.py#L17814:53
gsantomaggiolooking the stack, that the first function called14:54
gsantomaggioI already passed it on `RPCServer`14:54
gsantomaggioso it should be something like `message.reply(res, self.transport_options)`14:55
kgiustigsantomaggio: makes sense to add a new parameter to reply(). IIRC that method is internal to o.m. and only used by the RPCServer14:55
gsantomaggio@kgiusti  ok cool! I continue on this way :)!14:55
kgiustigsantomaggio: that should be safe.  The reply() definition takes keyword args so you can add new ones easily.14:56
kgiustigsantomaggio: +114:56
gsantomaggio@kgiusti  ... last famous words :D :D14:57
*** hberaud has quit IRC14:57
*** hberaud has joined #openstack-oslo14:59
kgiustigsantomaggio: ha!  looky here: https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/_drivers/base.py#L14114:59
gsantomaggiohahahah15:00
kgiustigsantomaggio: you may want to consider just turning on mandatory by default in the rabbit driver15:01
kgiustigsantomaggio: since "reply" is _supposed_ to fail fast15:02
gsantomaggio@kgiusti  yes, I was thinking the same.15:02
kgiustigsantomaggio: I'd be fine with simply doing that15:02
kgiustigsantomaggio: the _send_reply method in amqpdriver.py would simply (ha!  "simply") be changed to do a mandatory send.15:03
gsantomaggio@kgiusti  I'd add  transport_parameter here: https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/_drivers/amqpdriver.py#L10215:07
gsantomaggio15:07
gsantomaggiothen back15:07
gsantomaggioto the other functions15:07
gsantomaggioa bit monkey programming but that's it :D15:07
kgiustigsantomaggio: does it need to be a parameter or can _send_reply be rewritten to always use mandatory?15:09
kgiustigsantomaggio: in other words it's not optional - replies are always sent mandatory=true?15:10
gsantomaggio@kgiusti  a ok, so you want to male `_send_reply` *always* mandatory15:10
kgiustigsantomaggio: if it's simpler to do.  I can't think of any reason not to.15:11
gsantomaggio*make15:11
gsantomaggio@kgiusti yes, it makes sense15:11
gsantomaggio@kgiusti  I usually use the `mandatory` flag in this kind of the situations15:12
kgiustigsantomaggio: try it out - if it is simpler/cleaner I'd say go for it.  You wouldn't need to change RPCServer API at all (I think)15:12
kgiustigsantomaggio: yeah I think that's the right thing to do15:12
kgiustigsantomaggio: 'mandatory' should be default for replies.15:13
gsantomaggio@kgiusti  what we can do is:15:14
gsantomaggio1 - make it as default15:14
gsantomaggio2- add a global paramenter to disable it (maybe ??? no )15:14
gsantomaggiobtw let's do that15:14
kgiustigsantomaggio: heh - cover our butts?  :D  good idea!15:15
*** hoonetorg has joined #openstack-oslo15:26
*** beekneemech has quit IRC15:57
*** bnemec has joined #openstack-oslo15:58
*** iurygregory has quit IRC16:01
*** ansmith_ has joined #openstack-oslo16:33
*** ansmith has quit IRC16:35
openstackgerritMerged openstack/oslo.log stable/stein: Modify the constraints url in tox.  https://review.opendev.org/66651616:35
*** gibi has quit IRC16:45
*** ansmith_ has quit IRC16:46
*** ansmith_ has joined #openstack-oslo16:46
*** tosky has quit IRC17:17
*** raildo has joined #openstack-oslo17:30
*** hogepodge has quit IRC17:45
*** hogepodge has joined #openstack-oslo17:47
*** ralonsoh has quit IRC17:51
*** gibi has joined #openstack-oslo17:53
*** hberaud is now known as hberaud|gone18:03
*** irclogbot_3 has quit IRC18:07
*** altlogbot_3 has quit IRC18:07
*** irclogbot_1 has joined #openstack-oslo18:08
*** altlogbot_0 has joined #openstack-oslo18:09
*** lbragstad has quit IRC19:02
*** gibi has quit IRC19:15
*** gibi has joined #openstack-oslo19:28
*** e0ne has joined #openstack-oslo19:38
*** pcaruana has quit IRC20:01
*** tesseract has quit IRC20:05
*** kgiusti has quit IRC20:36
*** ansmith_ has quit IRC20:43
*** raildo has quit IRC21:04
*** raildo has joined #openstack-oslo21:04
*** e0ne has quit IRC21:17
*** raildo has quit IRC21:21
*** beekneemech has joined #openstack-oslo21:38
*** beekneemech has quit IRC21:38
*** boden has quit IRC21:52
*** bnemec has quit IRC22:03
*** bnemec has joined #openstack-oslo22:13
*** bnemec has quit IRC22:42
*** bnemec has joined #openstack-oslo22:43
*** ansmith_ has joined #openstack-oslo22:53
*** rcernin has joined #openstack-oslo23:15

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