Friday, 2024-05-17

opendevreviewMatt Crees proposed openstack/kayobe stable/2023.1: Add script to migrate to RabbitMQ quorum queues  https://review.opendev.org/c/openstack/kayobe/+/91992508:31
opendevreviewMatt Crees proposed openstack/kayobe master: CI: rework RMQ steps for queue migrations  https://review.opendev.org/c/openstack/kayobe/+/91387808:33
kevkomnasiadka: This is everything what is in LOG for keepalived l3 agent ... https://paste.openstack.org/show/bq0Ixf8HNqshvWU7Jpap/ i was stopping other l3 agents ...nothing logged .. what i am missing ? 09:22
kevko(compiled keepalived with log-file support)09:22
SvenKieskecan someone RP+1 this? or possibly just +2 it, imho a patch we should asap backport (I can do it): https://review.opendev.org/c/openstack/kolla-ansible/+/91949009:23
SvenKieskekevko: I'm still confused, is there some bugreport somewhere describing the issue in detail?09:24
kevkoSvenKieske: what do you mean ? 09:38
kevkoSvenKieske: approved btw ^^ 09:38
kevkoSvenKieske: I remember that lastly i created service role manually :P 09:38
kevkoso nice to see that patch09:38
SvenKieskeyou posted about problem with keepalived logging and I don't really understand the problem, is there a bug in keepalived logging? is there a bugreport anywhere?09:38
SvenKieskeand thanks :)09:39
kevkoSvenKieske: no it is not ... normally you have router which is placed on several l3 agents right ? one is active and there is a keepalived between them where VIP is switched when active router is unresponsive ... so you have HA router right ? 09:41
SvenKieskeyes09:41
kevkoin normal openstack deployment where you have services installed as system services ...systemd or whatever ... simply said not containerized ...you have a logs from those keepalived processes per router ...09:42
kevkoit's because that keepalived process by default logging to /dev/log09:43
kevkoso you can catch those messages by your syslog...09:43
kevkowe had some problems when routers started to oscilate between hosts without the reason ...  we hoped that we can see something in keepalived log ...something like ...missed healthcheck ..vip switched ...or similar 09:44
SvenKieskeNote: Kolla doesn't currently collect logs from RabbitMQ, HAProxy and Keepalived. For RabbitMQ the problem is related to RabbitMQ not having the capability to write its logs to Syslog. HAProxy and Keepalived do have that capability, but the /var/lib/kolla/dev/log Unix socket file is currently not mounted into the HAProxy and Keepalived containers.09:47
SvenKieskehttps://opendev.org/openstack/kolla-ansible/src/commit/8b0a0f72441983f43dc9a1ed777067e8c45f29e4/specs/logging-with-heka.rst09:47
frickler"Target Milestone for completion: Mitaka 3" nice :)09:48
mnasiadkaWell, yes - haproxy and keepalived logging would be nice09:52
mnasiadkabut as we can see, nobody has complained over those years09:53
mnasiadkaand Heka is long gone :)09:53
kevkoSvenKieske: yeah, btw I didn't see /var/lib/kolla/dev/log anywhere in a code ..just in doc09:53
SvenKieskeusually, btw /dev/log is just a socket, nowadays it often points to /run/systemd/journal/dev-log (symlink)09:53
kevkomnasiadka: because everyone reading logfiles on disk :D 09:53
SvenKieskeso I suppose one solution would be to install some syslog package into a container if a package needs it? :)09:53
mnasiadkaincluding me09:53
mnasiadkawhat would a syslog package help with?09:54
mnasiadkaneutron configures keepalived to log to /dev/log09:54
SvenKieskedoesn't keepalived require a syslog package? *looking up the dependency tree*09:54
SvenKieskemnasiadka: typically, afaik, if you install e.g. journald it will helpfully provide you with the standard syslog facilities, e.g. /dev/log , but I would have to double check that, afaik you can even configure that09:55
kevkoSvenKieske: i am not sure ..but If I remember ..i was trying to mount /dev/log:/dev/log and it was not working ....09:55
SvenKieskemy times administrating syslog servers are long gone09:55
kevkobut still ..why keepalived is not logging anything ...just that it starts 09:55
mnasiadkaI have a feeling docker somewhat captures that09:55
SvenKieskekevko: yeah, because you should not mount but create it :)09:55
mnasiadkathere's other option09:55
SvenKieskeafaik09:55
mnasiadkawe could start containers with docker engine stdout logging to syslog09:55
mnasiadkawhich then goes to fluentd ;-)09:56
mnasiadkabut that won't help neutron09:56
kevkoagain ...any reason why keepalived logs only this ? https://paste.openstack.org/show/bq0Ixf8HNqshvWU7Jpap/ 09:58
SvenKieskeif you want you can directly log to fluentd from docker btw: https://docs.docker.com/config/containers/logging/fluentd/09:58
SvenKieskethere's a wealth of logging drivers in docker :)09:59
SvenKieskeyou should of course also be able to bindmount the socket inside the container, but beware that this does not configure all logging facilities to do what you want to do..10:02
opendevreviewMichal Nasiadka proposed openstack/kolla-ansible master: WIP: OpenSearch TLS  https://review.opendev.org/c/openstack/kolla-ansible/+/91512110:03
SvenKieskee.g. this user had also to mount the journald socket: https://github.com/projectatomic/atomic-site/issues/36710:03
opendevreviewMichal Nasiadka proposed openstack/kolla-ansible master: WIP: OpenSearch TLS  https://review.opendev.org/c/openstack/kolla-ansible/+/91512110:04
SvenKieskehere is the complete blog, the "user" btw is Dan Walsh, the selinux guys :D https://projectatomic.io/blog/2016/10/playing-with-docker-logging/10:06
SvenKieskekevko: you may want to also have "--flush-log-file10:11
SvenKieske" option in keepalived, if you really care about the logs10:11
mnasiadkakevko: probably the reason is in the config file or in keepalived itself ;-)10:11
SvenKieskewell the c code in keepalived with regards to logging looks rather simple to my rather untrained eye, I have also not found any bugreports about logging not working with keepalived, but it might be the case that simply nobody noticed.10:12
kevkookay, it seems that it's needed to add vrrp log where it should be specified level of logging ...or type of logging state,packet,error ...etc ..chatgpt said (yeah today i am lazy :D )  ...so neutron code itself has to be tuned 10:42
opendevreviewMichal Nasiadka proposed openstack/kolla master: opensearch: remove example certs and securityadmin_demo.sh  https://review.opendev.org/c/openstack/kolla/+/91993810:53
opendevreviewMichal Arbet proposed openstack/kolla-ansible master: Extend init-runonce.sh script - create addiditonal resources  https://review.opendev.org/c/openstack/kolla-ansible/+/91419111:07
opendevreviewMichal Arbet proposed openstack/kolla-ansible master: [CI] Fix swift disk preparation  https://review.opendev.org/c/openstack/kolla-ansible/+/91394211:07
opendevreviewMichal Arbet proposed openstack/kolla-ansible master: [CI] Force config drive for ipv6 jobs  https://review.opendev.org/c/openstack/kolla-ansible/+/91418511:07
opendevreviewMichal Arbet proposed openstack/kolla-ansible master: [CI] Rally tests and tasks  https://review.opendev.org/c/openstack/kolla-ansible/+/91372811:07
opendevreviewMichal Arbet proposed openstack/kolla-ansible master: [DNM] Try to turn on swift tempest smoke tests  https://review.opendev.org/c/openstack/kolla-ansible/+/91441111:07
kevkomnasiadka: you probably forgot to change this ? https://github.com/openstack/kolla-ansible/blob/4ab17364e4e462ad7682efbe000c60bf871fcde9/zuul.d/base.yaml#L3811:19
kevkomnasiadka: it should be 2024.1 no ? 11:19
opendevreviewMichal Arbet proposed openstack/kolla-ansible master: CI: Use 2024.1 as previous_release  https://review.opendev.org/c/openstack/kolla-ansible/+/91993911:21
opendevreviewMichal Arbet proposed openstack/kolla-ansible stable/2024.1: Extend init-runonce.sh script - create addiditonal resources  https://review.opendev.org/c/openstack/kolla-ansible/+/91994111:41
opendevreviewMerged openstack/kolla-ansible stable/2023.1: Cinder and Nova: add service role  https://review.opendev.org/c/openstack/kolla-ansible/+/91949011:43
kevkomnasiadka: can we now merge https://review.opendev.org/c/openstack/kolla-ansible/+/914191 as caracal is released and it's again maste ? 11:44
opendevreviewSven Kieske proposed openstack/ansible-collection-kolla stable/2024.1: Use deb822 format for Apt repositories on Ubuntu and drop apt-key  https://review.opendev.org/c/openstack/ansible-collection-kolla/+/91986611:49
SvenKieskejust a wip, so we don't forget it ^^11:51
opendevreviewAdam McCartney proposed openstack/kayobe master: Add type for mtu field in docker role  https://review.opendev.org/c/openstack/kayobe/+/91942711:55
opendevreviewAdam McCartney proposed openstack/kayobe master: Add type for mtu field in docker role  https://review.opendev.org/c/openstack/kayobe/+/91942712:50
kevkoguys, just debugging right now some strange behaviour in nova-compute (openstack zed) ...nova-compute is stucked and when it's unstucked we can see POLLOUT ovsdb messages and some timeout ...anyone have seen this before ? containers debian ...ovs 2.15.0+ds1-8~bpo11+113:43
opendevreviewMartin Hiner proposed openstack/kolla-ansible master: WIP: Add action for getting container names list  https://review.opendev.org/c/openstack/kolla-ansible/+/90583715:03
opendevreviewMartin Hiner proposed openstack/kolla-ansible master: Add container engine migration scenario  https://review.opendev.org/c/openstack/kolla-ansible/+/83694115:03
opendevreviewSimon Dodsley proposed openstack/kolla-ansible master: Add NVMe-TCP Cinder driver support for Pure Storage  https://review.opendev.org/c/openstack/kolla-ansible/+/91997717:31
opendevreviewMartin Hiner proposed openstack/kolla-ansible master: Add container engine migration scenario  https://review.opendev.org/c/openstack/kolla-ansible/+/83694118:07

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