Monday, 2024-09-23

kevkoI was trying upgrade from zed to antelope as we are going to do it this week and I found that rabbitmq nodes are restarted right after configure phase and then one by one ...this is bad , isn't it ? Log in openstack-discuss ...is there some hidden reason or what ? 06:46
opendevreviewMaksim Malchuk proposed openstack/kolla-ansible master: Add configuration for NTP server in Ironic Inspector DHCP server  https://review.opendev.org/c/openstack/kolla-ansible/+/93017006:47
SvenKieskekevko: how exactly did you run the command to upgrade? so direct upgrade from zed to antelope with k-a antelope code? or when exactly does the error occur?07:05
SvenKieskekevko: restart behaviour was changed in https://review.opendev.org/c/openstack/kolla-ansible/+/886485 wondering if we ever tested that :D07:10
SvenKieskethat being said, you are the first to complain07:10
ViiWelcome RMQ 4.x ;) https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.0.207:14
kevkoSvenKieske kolla-ansible upgrade -t rabbitmq --diff07:17
kevkoSvenKieske: sometimes I have a feeling that I am the one who is testing 🤣07:18
SvenKieskeI mean batch size is 33%, just looked up the definition on ansible docs, seems it should work as advertised.07:19
ayhanilhan_Hi, I have 5 controllers and I want to temporarily remove and add these controllers for OS upgrade. After the "multinode stop controller-01" command, can I proceed with the "multinode deploy --limit controller-01" command instead of the "multinode deploy --limit control" command? I don't want Rabbitmq and MariaDB restarts on the other controllers. 07:21
kevkoSvenKieske: But this doesn’t make sense at all. First, the entire RabbitMQ cluster is restarted... and then it's restarted one by one? What’s the point of a 33% serial if RabbitMQ could already be broken after the previous step (in the step where the handlers are triggered and all containers are restarted at once)?07:25
SvenKieskedid you check the code? afaik this just triggers the main rmq handler when checking the container dimensions etc.07:26
kevkoSvenKieske: https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_44c/930170/1/check/kolla-ansible-ubuntu-upgrade/44cc5e9/primary/logs/ansible/upgrade07:28
kevkoSvenKieske: ^^ this is regular upgrade also in CI ...07:29
opendevreviewRoman Krček proposed openstack/kolla master: Change copy-cacerts behaviour  https://review.opendev.org/c/openstack/kolla/+/92688207:36
opendevreviewRoman Krček proposed openstack/kolla-ansible master: Don't notify handlers during copy-cert  https://review.opendev.org/c/openstack/kolla-ansible/+/92465107:40
kevkoSvenKieske: so ? 07:43
SvenKieskeI'm not sure what you expect, actually. The log you linked is from a single node installation. sure it reboots "all" services, even with serial: 33% as is documented. I guess you are expecting it to not restart the container twice but that is what we do in the code? so maybe we should fix that, if possible.07:46
kevkoSvenKieske: but I've sent a multinode to email :) 07:47
SvenKieskebut now you are comparing multinode with single node...which..just isn't a good comparison? why don't you look at a multinode job?07:47
kevkoSvenKieske: https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_2ea/929771/19/check/kolla-ansible-ubuntu-upgrade-ovn/2eab932/primary/logs/ansible/upgrade << this is multinode upgrade 07:49
kevkoSvenKieske: i can see this 07:49
kevkoNOTIFIED HANDLER rabbitmq : Restart rabbitmq container for primary07:49
kevkoNOTIFIED HANDLER rabbitmq : Restart rabbitmq container for secondary107:49
kevkoNOTIFIED HANDLER rabbitmq : Restart rabbitmq container for secondary207:49
kevkoSvenKieske: so instead of restarting one by one (during the upgrade) we restarts all at once ...and then we are going to restart one by one :D ...it doesn't make a sense ... if check-containers which are calling handlers are removed from upgrade phase ...yeah ..maybe it should work 07:52
kevkobut this sounds for me like  a bug 07:52
SvenKieskethat might very well be the case.07:53
kevko:D07:55
kevkoSvenKieske: Personally, I'm quite afraid of restarting rabbitmq nodes all at once. Last time we did that, we ran into trouble and couldn't get rabbitmq up and running for 20 minutes because it broke during the restart. In the end, we figured out how to force start it, but it was nerve-wracking. That's why I'm testing it again now. In CI, there07:58
kevkoisn't data like on a cloud under load... there it doesn't break.07:58
kevkoaaaa, this is completly broken :'( 08:05
kevkoSvenKieske: and what about https://review.opendev.org/c/openstack/kolla-ansible/+/929848/8 << this ? And of course whole stack .. i am done with it btw .08:07
mnasiadkamorning08:14
kevkomorning 08:14
mnasiadkakevko: I don't believe we restart all at once, can you check docker engine logs for time of restart?08:14
kevkomnasiadka: i will do it right now ..08:15
kevkomnasiadka: w8 a minute08:15
mnasiadkalooking in Ansible output it's not restarting all at the same time, it's going through some playbook one host at a time, setting it to maint mode, restarting and then checking if it's up08:17
kevkoand before ? 08:17
kevkohmm, let me finish my test 08:18
kevkohmm, it's probably work 08:43
ayhanilhan_Hi, I have 5 controllers and I want to temporarily remove and add these controllers for OS upgrade. After the "multinode stop controller-01" command, can I proceed with the "multinode deploy --limit controller-01" command instead of the "multinode deploy --limit control" command? I don't want Rabbitmq and MariaDB restarts on the other controllers. 09:42
kevkoayhanilhan_: why you just don't stop the services on that node ...upgrade your os ..and reboot ? 09:43
ayhanilhan_@kevko I want to do a fresh install.  Additionaly, i need to find out if I can proceed in this way not only when I upgrade the OS but also when I completely failure or replace the physical host? 09:49
kevkoayhanilhan_: If i am correct, kolla-ansible doesn't support removal of host ..so if you want to remove ..you can remove from inventory so kolla-ansible will not touch the server ..but be careful ..because then all generated configuration will be without that host ... (this can work btw ...) ...but then you also need to remove services from09:59
kevkoopenstack keystone catalog for example .... and then you can redeploy 09:59
kevkoayhanilhan_: you probably do the best if you replicate your workflow on some testing env 10:01
opendevreviewMerged openstack/kolla master: Switch to Dynamic Python Version Detection  https://review.opendev.org/c/openstack/kolla/+/92674410:01
kevkomnasiadka: can u check this revert ? https://review.opendev.org/c/openstack/kolla/+/930065 < i wanted to do it correctly but its' not working as I thought on proxysql side ... tested 10:04
opendevreviewJakub Darmach proposed openstack/kayobe master: Add support for Ubuntu Noble Numbat (24.04) LTS  https://review.opendev.org/c/openstack/kayobe/+/93002610:19
ayhanilhan_@kevko kolla-ansible support removal of host. https://docs.openstack.org/kolla-ansible/latest/user/adding-and-removing-hosts.html . After stopping the services on the controller to be deleted as described in the document, when we run the ‘multinode deploy --limit control’ command, it restarts services such as mariadb and rabbitmq in other controllers. I want this not to happen.10:32
ayhanilhan_ I will not run ‘multinode deploy --limit control’ command after ‘multinode stop --limit controller-01’ command in the controller I want to remove. I will do Controller OS upgrade. Then I will do bootstrap-servers, image pull operations. When adding the controller, I want to use ‘multinode deploy --limit controller-01’ command instead of ‘multinode deploy --limit control’. In this way, the services in 10:32
ayhanilhan_other controllers will not be restarted. We will try in our test cluster. I would like to get your suggestions.10:32
goozuu_Hi, I have a qustion, how should be implemented Designate in Kolla? Is possible to have Dedidacated Designated as a service for each project ? How VMS are able to do lookups? Is it possible to expose port to internal private IP in Network ? Thanks10:48
kevkoayhanilhan_: you can limit to specified hosts as --limit ctlr0,ctrl1   <- without removed hosts 11:07
chembervinthi. could please somebody proceed backports for my patch? https://review.opendev.org/c/openstack/kolla-ansible/+/92974511:24
kevkoSvenKieske: second vote please ? https://review.opendev.org/c/openstack/kolla-ansible/+/929848 << 11:36
opendevreviewJakub Darmach proposed openstack/kayobe master: Add support for Ubuntu Noble Numbat (24.04) LTS  https://review.opendev.org/c/openstack/kayobe/+/93002611:38
ravlewHello, second vote please: https://review.opendev.org/c/openstack/kolla/+/92688411:39
SvenKieskekevko: done11:48
kevkoThanks 11:49
SvenKieskeravlew: can you add a short reno to that?11:49
stanis there any plans to integrate Cisco aci directly with kolla?11:49
kevkostan: do you have ACI for testing :) ? 11:53
kevkoSvenKieske: wondering if you have a time for some other reviews from me :) ? 11:54
ravlewSvenKieske: I was under the impression that it is not needed if a bug is linked to the change. Is that no longer valid?11:54
kevkoravlew: Closes-Bug in commit message works with launchpad ...so you can see automatically  updates for that bug in review..... release note is needed for documentation itself ...it's then rendered as release note ...so when the package is releases ..you can nicely see what was fixed ...11:55
ravlewI see, I will add it then. Thanks for clarifying kevko  :).11:56
SvenKieskeyeah, that would just be nice for end users to inform them that this now works as expected, e.g. you hit that bug in your version and you scan renos to see if it's already fixed. also: https://docs.openstack.org/kolla/latest/contributor/release-notes.html11:56
SvenKieskenot everybody directly git greps :)11:57
kevkoravlew: no problemo 11:57
kevkoSvenKieske: haha, git is only one place i really trust :D 11:57
ravlewThanks SvenKieske 11:57
SvenKieskethank you :)11:57
kevkoSvenKieske: even if i want to check the renos i am going to generate it from a source in git :D 11:57
kevkoSvenKieske: question above ? ^^ :) 11:58
SvenKieskeuh, which one?11:58
SvenKieskea reviews? this week is still rather short on time, unfortunately.11:59
SvenKieskeand I was lazy during the weekend11:59
kevkohttps://review.opendev.org/c/openstack/kolla-ansible/+/929771 << this chain i think it's pretty well prepared 11:59
kevkoSvenKieske: this is also step towards notifiers and restart and state of container configs as overal > https://review.opendev.org/c/openstack/kolla/+/915440 << also prepared very well i think ... with unit tests ..and also with docstrings you requested before 12:00
opendevreviewRafal Lewandowski proposed openstack/kolla master: Add missing iso packages to ironic-conductor  https://review.opendev.org/c/openstack/kolla/+/92688412:01
kevkoSvenKieske: this is quite huge ... https://review.opendev.org/c/openstack/kolla/+/829295 << but most of that huge change is just same command in dockerfile ...logic is one function and one script 12:01
opendevreviewRafal Lewandowski proposed openstack/kolla master: Add missing iso packages to ironic-conductor  https://review.opendev.org/c/openstack/kolla/+/92688412:07
opendevreviewJakub Darmach proposed openstack/kayobe master: Add support for Ubuntu Noble Numbat (24.04) LTS  https://review.opendev.org/c/openstack/kayobe/+/93002612:29
mnasiadkakevko: regarding the revert it looks good - but did you raise a bug in proxysql? Maybe we're doing something wrong?12:36
kevkomnasiadka: "No, we're not doing anything wrong—unfortunately, this is just a consequence of how ProxySQL is developed. They recognize only the internal database configuration. However, that's not okay for us, which is why I implemented it this way in the past—and it really works reliably (I just forgot that I had already tried it once). This is12:49
kevkoalso confirmed by the official documentation—https://proxysql.com/documentation/configuration-file/ -> IMPORTANT: The configuration file isn’t recommended for complex configurations; the database file should be used for that purpose. Please refer to the following section for more details 12:49
kevkomnasiadka: BUT 12:49
kevkowait a minute 12:49
kevkomnasiadka: maybe you are right 12:50
kevkomnasiadka: now i am reading section about https://proxysql.com/documentation/configuring-proxysql/#initialstartup12:50
kevkomnasiadka: the flag --initial 12:50
mnasiadkaIt seems the designed way is to update the database using sqlite client (or admin web interface)12:52
kevkomnasiadka: Yes, that's true, you can configure ProxySQL on-the-fly ... you can experimentally change the configuration while it's running ... but in our use case, you want to restart the container and have the configuration that you set there with k-a.12:54
kevkobut initial will work same i think ..wait a minute 12:54
kevkomnasiadka: btw, tested recovery of backed up database ...it's not working ...but not because of PERCONA_SCHEMA vs mysql ...because of version of mysql redo log ...12:54
mnasiadkaseems configuration file has no input validation, but I guess we just need to live with that12:55
kevkomnasiadka: i needed to start temporary container  on max 10.7 mariadb ...then restore of backup was working ...12:55
kevkomnasiadka: then i need to bypass somehow galera ...safe to bootstrap and this stuff 12:55
kevkomnasiadka: then i need to upgrade container ...then i deployed the higher version of mariadb 12:56
kevkobut it was pain as f... , this raises the question of whether it's really okay to use a binary backup instead of mysqldump for example 12:57
kevkoTLDR ...problem was with backup or better said  mariadb version the backup was created on .... not the stuff you asked to test ...12:58
opendevreviewMerged openstack/kolla-ansible stable/2024.1: Fix os-brick multipathd del map fails for SAN multipath devices  https://review.opendev.org/c/openstack/kolla-ansible/+/92974512:59
opendevreviewMerged openstack/kolla-ansible stable/2023.1: Fix os-brick multipathd del map fails for SAN multipath devices  https://review.opendev.org/c/openstack/kolla-ansible/+/92974712:59
opendevreviewMerged openstack/kolla-ansible stable/2023.2: Fix os-brick multipathd del map fails for SAN multipath devices  https://review.opendev.org/c/openstack/kolla-ansible/+/92974613:00
opendevreviewPierre Riteau proposed openstack/kayobe master: CI: Generate Octavia certificates when required  https://review.opendev.org/c/openstack/kayobe/+/93019613:01
kevkomnasiadka: yep, initial working as expected 13:03
kevkoroot@controller0:~# ls -la /var/lib/docker/volumes/proxysql/_data/13:03
kevkototal 64013:03
kevkodrwxr-xr-x 2 42487 42487   4096 Sep 23 13:02 .13:03
kevkodrwx-----x 3 root  root    4096 Sep 23 12:54 ..13:03
kevko-rw-r--r-- 1 42487 42487   1082 Sep 23 12:54 proxysql-ca.pem13:03
kevko-rw-r--r-- 1 42487 42487   1086 Sep 23 12:54 proxysql-cert.pem13:03
kevko-rw-r--r-- 1 42487 42487   1675 Sep 23 12:54 proxysql-key.pem13:03
kevko-rw-r--r-- 1 42487 42487 225280 Sep 23 13:02 proxysql.db13:03
kevko-rw-r--r-- 1 42487 42487 225280 Sep 23 12:54 proxysql.db.bak13:03
kevko-rw-r--r-- 1 42487 42487 184320 Sep 23 13:02 proxysql_stats.db13:03
kevkobak created 13:03
kevkomnasiadka: so i will drop the revert and commit the patch with --initial flag ... (it works the same as removal of DB ...but moreover it's createing the bak file)13:07
stanSvenKieske Yes, we have Cisco aci in our environment. my network guys are very keen to get aci working with Openstack.13:14
SvenKieskestan: patches are generally welcome, but it's difficult from a CI perspective, there is the option to run some external CI but I don't personally know the requirements for that. so in short: you would need to do quite some investment for that yourself.13:15
opendevreviewMerged openstack/kolla-ansible master: Fix IPv6 address format in ProxySQL configuration  https://review.opendev.org/c/openstack/kolla-ansible/+/92984813:15
SvenKieskeand some maintainers are not that interested in maintaining proprietary stuff, this is also strongly correlated with the fact that it's hard or impossible to test.13:16
opendevreviewJakub Darmach proposed openstack/kayobe master: Add support for Ubuntu Noble Numbat (24.04) LTS  https://review.opendev.org/c/openstack/kayobe/+/93002613:35
opendevreviewMichal Arbet proposed openstack/kolla-ansible master: Improvement of ProxySQL Monitoring Configuration  https://review.opendev.org/c/openstack/kolla-ansible/+/93007713:39
opendevreviewMichal Arbet proposed openstack/kolla-ansible master: Switch mariadb's loadbalancer from HAProxy to ProxySQL  https://review.opendev.org/c/openstack/kolla-ansible/+/91372413:39
opendevreviewMichal Arbet proposed openstack/kolla-ansible master: Change from PERCONA_SCHEMA to mysql for mariabackup  https://review.opendev.org/c/openstack/kolla-ansible/+/92272913:39
opendevreviewMichal Arbet proposed openstack/kolla-ansible master: Fix mariadb backup unable to create history table  https://review.opendev.org/c/openstack/kolla-ansible/+/92982713:39
opendevreviewMichal Arbet proposed openstack/kolla-ansible master: [CI] Add mariadb backup into mariadb scenario  https://review.opendev.org/c/openstack/kolla-ansible/+/92977113:39
opendevreviewMichal Arbet proposed openstack/kolla-ansible master: Fix ProxySQL startup mode to use --initial  https://review.opendev.org/c/openstack/kolla-ansible/+/93019913:39
opendevreviewMichal Arbet proposed openstack/kolla master: Add mechanism for patching files in containers  https://review.opendev.org/c/openstack/kolla/+/82929513:59
opendevreviewMichal Arbet proposed openstack/kolla master: [CI] Test kolla patch  https://review.opendev.org/c/openstack/kolla/+/92944613:59
opendevreviewMichal Arbet proposed openstack/kolla-ansible master: Remove api-paste config files for masakari, cyborg  https://review.opendev.org/c/openstack/kolla-ansible/+/91108714:04
opendevreviewMichal Nasiadka proposed openstack/kayobe master: WIP: kolla: Add support for cross-arch builds  https://review.opendev.org/c/openstack/kayobe/+/93020414:17
ravlewStatus green, release note added SvenKieske : https://review.opendev.org/c/openstack/kolla/+/92688414:23
opendevreviewPierre Riteau proposed openstack/kolla-ansible master: Set extra kernel parameters for managed inspection  https://review.opendev.org/c/openstack/kolla-ansible/+/93020614:26
opendevreviewPierre Riteau proposed openstack/kolla-ansible master: Set extra kernel parameters for managed inspection  https://review.opendev.org/c/openstack/kolla-ansible/+/93020614:26
opendevreviewMerged openstack/kolla master: Add missing iso packages to ironic-conductor  https://review.opendev.org/c/openstack/kolla/+/92688416:26
opendevreviewMichal Nasiadka proposed openstack/kayobe master: WIP: kolla: Add support for cross-arch builds  https://review.opendev.org/c/openstack/kayobe/+/93020416:29
opendevreviewMichal Nasiadka proposed openstack/kayobe master: WIP: kolla: Add support for cross-arch builds  https://review.opendev.org/c/openstack/kayobe/+/93020416:33
opendevreviewMichal Nasiadka proposed openstack/kayobe master: kolla-build: Add support for cross-arch builds  https://review.opendev.org/c/openstack/kayobe/+/93020416:33
opendevreviewPierre Riteau proposed openstack/kolla-ansible master: Set extra kernel parameters for managed inspection  https://review.opendev.org/c/openstack/kolla-ansible/+/93020616:39
stanSvenKieske Makes sense. Thank you16:54
opendevreviewRoman Krček proposed openstack/kolla-ansible master: Don't notify handlers during copy-cert  https://review.opendev.org/c/openstack/kolla-ansible/+/92465116:55
SvenKieskestan: you're welcome! and of course there's always the possibility to pay someone to build your desired feature for you, as another option :)17:06
JHHi all, I'm having some trouble logging into skyline. When I use the keystone admin password I get the username or password error. However I can log in with no issues using the same credentials for Horizon.18:45
opendevreviewVerification of a change to openstack/kolla-ansible master failed: Standardize python version paths  https://review.opendev.org/c/openstack/kolla-ansible/+/92674519:39
opendevreviewMichal Arbet proposed openstack/kolla master: [DNM] Add APACHE_EXECUTABLE into http_setup script  https://review.opendev.org/c/openstack/kolla/+/93023920:04
Core3861JH From my experience, skyline breaks easily whenever you reconfigure anything related to keystone and requires restart to properly work.22:51

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