Monday, 2022-04-25

*** rlandy is now known as rlandy|PTO00:12
*** ysandeep|out is now known as ysandeep03:51
*** bhagyashris is now known as bhagyashris|ruck05:46
*** ysandeep is now known as ysandeep|afk06:01
*** ysandeep|afk is now known as ysandeep06:48
*** jpena|off is now known as jpena07:35
*** tkajinam is now known as tkajinam|away08:33
*** sean-k-mooney1 is now known as sean-k-mooney09:10
dpawlikclarkb: but wait, "input of this form gets treated this way" - that's what I'm doing in logsender - https://review.opendev.org/c/openstack/ci-log-processing/+/838655/2/logscraper/logsender.py#24709:33
dpawlikIIRC you can not send json as a value for some field, but I can be wrong09:35
dpawlikso how will i be able to help logstash service?09:35
dpawlikclarkb: I can try to use json.dumps for parsing the json content and send it to the opensearch09:38
dpawlikclarkb: seems that json is working - https://paste.openstack.org/show/bkbpdW9JB3EGIhim1Awb/  . Old one looks like https://paste.openstack.org/show/bLW7SQbEDXlC6LY0cGvE/10:00
*** rlandy|PTO is now known as rlandy10:33
*** dviroel_ is now known as dviroel11:07
*** dviroel is now known as dviroel|rover11:07
*** ysandeep is now known as ysandeep|afk12:25
opendevreviewCedric Jeanneret proposed openstack/project-config master: Use goto, chain policy and drop REJECT  https://review.opendev.org/c/openstack/project-config/+/83921213:29
Tengufungi++ thanks for the correction!13:32
Tengufungi: I've abandonned the global change in favor of the openstack/project-config one.13:32
fungithanks. i've also left you a question on the new change13:36
*** ysandeep|afk is now known as ysandeep13:41
Tenguanswered13:42
Tenguunfortunately, the policy is either drop or accept.13:42
Tengunothing fancy. but as said in the answer: we we can't ensure the ordering, we can't really do it differently :/. that REJECT is breaking a needed change in tripleo to prevent accidental lockout.13:43
Tengu*if we can't ensure ordering13:43
Tengu(sorry, pain killer are a bit hard on me)13:43
fungithanks, losing explicit and clear rejection messages will make it harder to diagnose problems with fallthrough on test nodes since a dropped packet is often (especially for datagrams) indistinguishable from a hung listener, but i guess it's an acceptable trade-off13:50
TenguI can't think of any other way to not rely on policy for now :/. I'll work on the tripleo_firewall thing to actually inject rules in a specific ordering.13:51
Tengubut that's not for "now", and we need the other patch I mentioned in order to prevent unwanted lockout under certain conditions.13:52
Tenguand the proposed patch is the best one I could come up with the current state of the ansible things we're using.... Once I get it in, it will be safer for me to dev, and I'll work on the actual feature I want: "copying" the puppet-firewall behavior and actually properly manage rules.13:53
Tengugetting the dedicated chain will also make it far, far easier.13:53
Tengufungi: added a note about the "what's next". If it can help you changing your mind and vote on the change :)13:57
fungiTengu: i just need to do some deeper digging and figure out why a separate reject chain wouldn't work13:57
Tengufungi: due to ordering. though....... wait a minute13:57
TenguAHA13:58
Tengufungi: I may be able to abandon my patch.13:58
TenguI forgot the default "action" in ansible.builtin.iptables is "append". not "insert"13:58
fungioh, so if you ask ansible to use insert you can add custom allow rules before the fall-through13:59
Tenguyes13:59
Tenguand since I have a nice RETURN at the end of my custom chain.... we should be safer.14:00
Tenguthough the POLICY for INPUT will be switched to DROP14:00
fungii need to go run some errands, but am happy to revisit my -1 if your other solution doesn't pan out14:00
Tengubut it shouldn't ever match, since the openstack-INPUT has the REJECT14:00
TenguI need some more testing.14:01
Tengubut... yeah, that should do it.14:01
fungii'd just rather not lose the additional diagnostic info (which makes it clear to the client that iptables rejected a packet) if we can help it14:01
Tengulemme -w my patch.14:01
fungithanks14:01
Tengunp14:01
Tengusorry for being a bit slow - I'm still recovering.14:01
fungino worries, also it's monday, that's enough of an excuse on its own ;)14:02
Tengutrue :)14:02
clarkbTengu: fungi: couple of quick thoughts without having read all the scrollback (but I have viewed the change). First is that I'm pretty certain the existing ruleset allows you to insert your rules or chains where you want them so I don't undersatnd why yo uneed the modications at all. That said I'm also not sure the ruleset was ever intended to be super sophisticated. It14:30
clarkbensures that test jobs that don't want to worry aboutthe firewall still block dns reflection attacks and similar. We give you root in the jobs should a complicated setup be required. Your job can (and in this case should if the rule insertion isn't sufficient) provide its own ruleset. I don't think we should modify the defaults14:30
Tenguclarkb: yeah - I forgot ansible "iptables" modules uses "append" by default. So I just updated my other patch to insert in the right place, it should be just fine.14:31
Tenguwe can probably abandon that other patch of mine against openstack/project-config14:32
Tengumy brain's still a bit messy14:32
Tengu:) but it's apparently improving.14:32
*** tkajinam|away is now known as tkajinam14:42
*** dviroel|rover is now known as dviroel|rover|lunch15:30
*** ysandeep is now known as ysandeep|out15:38
*** dviroel|rover|lunch is now known as dviroel|rover16:17
opendevreviewClark Boylan proposed openstack/project-config master: Set noop jobs on ELK puppetry to prep for retirement  https://review.opendev.org/c/openstack/project-config/+/83923516:40
*** jpena is now known as jpena|off16:46
pmatulisanyone know why this isn't getting merged? https://review.opendev.org/c/openstack/charm-guide/+/83893216:55
opendevreviewClark Boylan proposed openstack/project-config master: Finalize ELK puppetry retirement  https://review.opendev.org/c/openstack/project-config/+/83924316:57
clarkbpmatulis: its parent is an abandoned change. Abandoned chagnes cannot merge and git represents the commits in a DAG. Basically that means since the parent cannot merge the child cannot either. YOu need to rebase it or restore and land the parent16:59
pmatulisinteresting17:07
*** rlandy is now known as rlandy|mtg18:00
opendevreviewMerged openstack/project-config master: Set noop jobs on ELK puppetry to prep for retirement  https://review.opendev.org/c/openstack/project-config/+/83923518:08
*** rlandy|mtg is now known as rlandy19:03
*** dasm is now known as dasm|off22:06
*** rlandy is now known as rlandy|bbl22:16
*** dviroel|rover is now known as dviroel|rover|afk22:36

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