Friday, 2025-07-04

opendevreviewHo Minh Quang Ngo proposed openstack/watcher master: Add options to disable migration in host maintenance  https://review.opendev.org/c/openstack/watcher/+/95253804:19
opendevreviewchandan kumar proposed openstack/watcher master: replace autopep8 with ruff.  https://review.opendev.org/c/openstack/watcher/+/94803405:07
opendevreviewchandan kumar proposed openstack/watcher master: replace autopep8 with ruff.  https://review.opendev.org/c/openstack/watcher/+/94803405:33
opendevreviewchandan kumar proposed openstack/watcher master: replace autopep8 with ruff.  https://review.opendev.org/c/openstack/watcher/+/94803406:15
opendevreviewchandan kumar proposed openstack/watcher master: Drops forbidden patch/delete/post action apis  https://review.opendev.org/c/openstack/watcher/+/95402106:21
opendevreviewDouglas Viroel proposed openstack/watcher master: WIP - Extend decision engine to support threading mode  https://review.opendev.org/c/openstack/watcher/+/95225712:18
opendevreviewchandan kumar proposed openstack/watcher master: Drop Code related to OperationNotPermitted exception  https://review.opendev.org/c/openstack/watcher/+/95412012:46
chandankumarsean-k-mooney: dviroel Hello, based on yesterday discussion around OperationNotPermitted exception, I have added following bug https://launchpad.net/bugs/2115968 and code removal cr https://review.opendev.org/c/openstack/watcher/+/95412013:13
chandankumarthis exception was introduced during the initial import of watcher code13:14
chandankumarthe only place I am worried is here https://github.com/openstack/watcher/blob/master/watcher/api/controllers/v1/audit_template.py#L21113:14
chandankumarI tried to replace that piece with Not Authorized exception to keep the http status code same.13:15
chandankumarI am not sure about only that piece but rest of the stuff is straight removal.13:15
chandankumarfeel free to leave your thoughts on that on the review itself, thank you!13:16
sean-k-mooneychandankumar: ack i was thinkign fo doing that myslef this spint so cool ill add that to my review list13:22
sean-k-mooneyi started lookign at the code a bit after the meeting and i did not see any places where the class varibale was ever beign set to true13:22
sean-k-mooneyi assuem you didnt find any either?13:23
chandankumaryes correct!13:23
sean-k-mooney so for https://github.com/openstack/watcher/blob/master/watcher/api/controllers/v1/audit_template.py#L21113:23
sean-k-mooneyunauthorized is not the corret responce13:23
sean-k-mooneyit shoudl be a 400 bad reuqest13:23
sean-k-mooneyyou coudl arguee for a 409 conflict but its not a permission issue13:24
sean-k-mooneyi think 400 bad request is more semanticly correct in terms fo respocne codes13:24
sean-k-mooneychandankumar: woudl you mind updating https://review.opendev.org/c/openstack/watcher/+/954120/1/watcher/api/controllers/v1/audit_template.py#211 to reflect that13:25
chandankumarif we go towards 400 code, then wsme.exec.ClientSideError will take care of that13:25
sean-k-mooneyyep that should be fine13:25
chandankumarlet me update that13:26
sean-k-mooneyskimming the rest is looks ok to me13:26
sean-k-mooneyobviously i want ot see the ci results but the only other suggestion i have is we coudl add a fixes release note for this but its not strictly requried in this case13:27
chandankumarDone, Added releasenote also13:37
sean-k-mooneycool ill try an check back later once ci has run can you assign https://bugs.launchpad.net/watcher/+bug/2115968 to your self and set the imporant to low13:38
chandankumarsure, thank you!13:40
sean-k-mooneychandankumar: by the way i dont knwo if you saw my stable reviews or not13:40
chandankumarsean-k-mooney: I think alfredo updated some of the backports. there are few comments, I will go over them, thank you for the reminder.13:41
sean-k-mooneycan you make sure that if your doing a stabel backport that you alwsy set the topic branch back to bug/#### without the -stable suffix and make sure that you properly cherry pick each patch on top of the prior one.13:41
sean-k-mooneyack13:41
sean-k-mooneymost of the issue were related to haveign each patch against the target bacnh instead of properly stackign them 13:42
sean-k-mooneywe want them ot be stack to test them togher, and we want to use the same topic as the master change which shoudl be bug/<number> so that the are properly grouped13:42
sean-k-mooneyit makes it much much simpler to review when we follwo those convenstions13:43
opendevreviewchandan kumar proposed openstack/watcher master: Drop Code related to OperationNotPermitted exception  https://review.opendev.org/c/openstack/watcher/+/95412014:01
chandankumarwe should avoid any backport, does not having bug linked with it to stable branches.14:03
chandankumarLet me fix them14:03
dviroelchandankumar: ack, thanks14:12

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