Wednesday, 2021-12-01

opendevreviewMerged openstack/openstack-ansible-tests master: Add config_template to collections  https://review.opendev.org/c/openstack/openstack-ansible-tests/+/81989709:08
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Add config_tempalte to collections  https://review.opendev.org/c/openstack/openstack-ansible/+/81981409:27
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Update ceph-ansible release to pacific  https://review.opendev.org/c/openstack/openstack-ansible/+/82000809:40
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-ceph_client master: Update ceph clients release to pacific  https://review.opendev.org/c/openstack/openstack-ansible-ceph_client/+/82000909:41
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_manila master: Refactor definition of lock path  https://review.opendev.org/c/openstack/openstack-ansible-os_manila/+/81980209:42
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_manila master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_manila/+/81986109:42
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Define manila_osapi_share_workers for CI  https://review.opendev.org/c/openstack/openstack-ansible/+/82001009:55
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_manila master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_manila/+/81986109:55
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_zun master: Refactor definition of lock path  https://review.opendev.org/c/openstack/openstack-ansible-os_zun/+/81981009:56
admin1this tends to come up from time to time on new installs .. when setup-infra is ran the 2nd time ( because something like rabbit or something else other than galera failed ) -- galera_server : Fail if galera_cluster_name doesnt match provided value  => The galera_cluster_name variable does not match what is set in mysql. Check your11:05
admin1galera_cluster_name setting in your user_*.yml files in 11:05
admin1the name is same in all -- wsrep_cluster_name = "openstack_galera_cluster" 11:12
noonedeadpunkI saw that happening somewhere, but didn't have time to debug that...11:35
noonedeadpunkbut eventually it;s worth checking output of `mysql --silent --skip-column-names --connect-timeout=10 -e 'SHOW VARIABLES LIKE "wsrep_cluster_name";'`11:36
noonedeadpunkand actually debug _cluster_name somewhere here https://opendev.org/openstack/openstack-ansible-galera_server/src/branch/master/tasks/galera_server_cluster_state.yml#L39 to see how ansible see it11:37
jamesdentonadmin1 I ran into this issue recently, and it seemed to be related to mysql/mariadb not running on the given node. it was not able to perform the query11:58
noonedeadpunkoh. so we should be smater I believe...12:03
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Use fast SSH cipher in the gate  https://review.opendev.org/c/openstack/openstack-ansible/+/65847312:06
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-galera_server stable/wallaby: Fix mysql_upgrade possible race condition  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/81984212:08
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-galera_server stable/victoria: Fix mysql_upgrade possible race condition  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/81984312:08
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_nova master: Revert UEFI firmware workaround  https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/79300712:13
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_nova master: Exclude ironic_compute hosts from PKI tasks  https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/81966112:14
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Use fast SSH cipher in the gate  https://review.opendev.org/c/openstack/openstack-ansible/+/65847312:27
opendevreviewMerged openstack/ansible-role-systemd_service master: Use slice name for lock/run by default  https://review.opendev.org/c/openstack/ansible-role-systemd_service/+/81929812:29
opendevreviewMerged openstack/openstack-ansible master: Globally define systemd_lock_dir  https://review.opendev.org/c/openstack/openstack-ansible/+/81930013:33
jamesdentonnoonedeadpunk do you know if the OSA masakari implementation is complete?14:24
noonedeadpunkjamesdenton: there's is a thing I never come back to and it's related to pacemaker-remote deployment which is required by masakari-hostmonitoer14:25
noonedeadpunkso by default pacemaker will be installed on all computes wich has severe limitation on the amount of computes in cluster14:26
noonedeadpunkand pacemaker-remote should be used instead14:26
noonedeadpunkbut masakari itself is really fine - I used that in some of my deploymens and looking forward to add it to current ones next year14:27
jamesdentonok - i must be missing something in this test since i don't see the monitors being installed14:27
jamesdentoni was hoping to document the process a little bit14:27
jamesdentonare your process and instance monitors working then? only hostmonitor thats not functional?14:29
noonedeadpunkso I had everything functional, but I had deployment on not big clusters which don't care about compute numbers in cluster14:30
noonedeadpunk(it's limitation of 64 computes or smth like that iirc)14:30
noonedeadpunkbut eventually monitors should be just deployed....14:31
noonedeadpunkBut, iirc you need to define `masakari-monitor_hosts` eqyal to compute_hosts 14:31
noonedeadpunkwhich is not default env.d behaviour14:31
jamesdentonyep, ok. i'm a dummy. i have monitoring_hosts not monitor_hosts14:34
jamesdentonnot sure how i munged that one14:34
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Remove references to unsupported operating systems  https://review.opendev.org/c/openstack/openstack-ansible/+/78255714:51
jrosserneed reviews on https://review.opendev.org/c/openstack/openstack-ansible/+/81981414:56
andrewbonneydone - thought I had already so must have missed it14:57
spatelnoonedeadpunk that rabbitMQ patch works but look like we need little more improvement to adjust policy per vhost. (Example: if i want non-HA only for /nova and rest of world use HA) 15:16
noonedeadpunkBut I think there's a way for that?15:23
noonedeadpunkor, damn, we don't15:23
noonedeadpunkyeah, we need to fix that probably....15:24
noonedeadpunkit's matter of patching all the roles though15:24
spateldo you have idea then i would say go ahead and implement. (just trying to make sure we don't step on each other feet) :)15:33
noonedeadpunkfor example we can add like nova_oslomsg_rpc_policies: [] and nova_oslomsg_notify_policies: [] somehwere https://opendev.org/openstack/openstack-ansible-os_nova/src/branch/master/defaults/main.yml#L12815:36
noonedeadpunkand then pass that in vars https://opendev.org/openstack/openstack-ansible-os_nova/src/branch/master/tasks/main.yml#L8015:36
noonedeadpunkthe only thing I'm a bit concerned is that we merge these lists... which is probably not best idea tbh https://opendev.org/openstack/openstack-ansible-os_nova/src/branch/master/tasks/mq_setup.yml#L4315:37
opendevreviewMerged openstack/openstack-ansible-rabbitmq_server master: Fix tags usage  https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/81991415:37
noonedeadpunkas I'd see defined as nova_oslomsg_rpc_policies: "{{ oslomsg_rpc_policies | default([]) }}"15:37
spateli like that idea, each role pass own HA policy to RabbitMQ and if value is empty then rabbitMQ set default to all HA 15:37
spatelI am planning to deploy this kind of custom policy - https://paste.opendev.org/show/811383/ 15:38
spatel"ha-mode":"exactly" for compute and non-HA for neutron because neutron has 5x queues compare to other components and in most case neutron is culprit 15:39
opendevreviewMerged openstack/openstack-ansible-os_cinder master: Refactor definition of lock path  https://review.opendev.org/c/openstack/openstack-ansible-os_cinder/+/81930415:44
spateli would say let first fix this for /nova, /heat , /cinder and /neutron roles only because others are not resource hungry 15:44
noonedeadpunkso I'd say that as a result we probably should also patch https://opendev.org/openstack/openstack-ansible-os_nova/src/branch/master/tasks/mq_setup.yml#L43 and iterate only against "{{ _oslomsg_rpc_policies | default([]) }}" and indeed implement variables in defaults as nova_oslomsg_rpc_policies: "{{ oslomsg_rpc_policies | default([]) }}"15:48
opendevreviewAndrew Bonney proposed openstack/openstack-ansible-os_zun master: Refactor galera_use_ssl behaviour  https://review.opendev.org/c/openstack/openstack-ansible-os_zun/+/81025815:50
opendevreviewMerged openstack/openstack-ansible-os_ironic master: Refactor definition of lock path  https://review.opendev.org/c/openstack/openstack-ansible-os_ironic/+/81979115:53
spatelnoonedeadpunk go ahead and i will test out that patch 15:54
noonedeadpunkTbh I'd prefer doing that after releasing15:56
noonedeadpunkWe have small time left and that is not _that_ critical to aim to merge before + a big amount of work must be done15:57
spatelsure no rush 16:01
opendevreviewMerged openstack/openstack-ansible-os_neutron master: Refactor definition of lock path  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/81979516:02
opendevreviewMerged openstack/openstack-ansible-os_swift master: Refactor definition of lock path  https://review.opendev.org/c/openstack/openstack-ansible-os_swift/+/81980516:05
opendevreviewMerged openstack/openstack-ansible-os_murano stable/wallaby: Fix murano role  https://review.opendev.org/c/openstack/openstack-ansible-os_murano/+/81873416:40
*** sshnaidm is now known as sshnaidm|afk16:46
opendevreviewMerged openstack/openstack-ansible-os_nova master: Revert UEFI firmware workaround  https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/79300716:50
opendevreviewMerged openstack/openstack-ansible-os_nova master: Exclude ironic_compute hosts from PKI tasks  https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/81966116:50
opendevreviewMerged openstack/openstack-ansible-os_murano stable/wallaby: Updated from OpenStack Ansible Tests  https://review.opendev.org/c/openstack/openstack-ansible-os_murano/+/79861716:57
opendevreviewJames Gibson proposed openstack/openstack-ansible master: Add security headers to HAProxy Horizon service  https://review.opendev.org/c/openstack/openstack-ansible/+/81853316:58
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Define manila_osapi_share_workers for CI  https://review.opendev.org/c/openstack/openstack-ansible/+/82001016:58
opendevreviewMerged openstack/openstack-ansible master: Add config_tempalte to collections  https://review.opendev.org/c/openstack/openstack-ansible/+/81981417:24
*** sshnaidm|afk is now known as sshnaidm17:29
*** gmann is now known as gmann_afk17:34
jonheri think i found a bug, galera max_connections is not calculated correctly due to this logic https://opendev.org/openstack/openstack-ansible-galera_server/src/branch/master/templates/mysql_defaults.j2#L3-L9 looking at galera_all -> galera -> lxc containers. those do not have facts for processor_xxxxx17:48
jonherif vcpus = 0 the logic will fall back to the default 200 max_connections17:48
jrosserthere was a looooong discussion about this several times17:49
jrosserand i think it's interesting to know why the fact is missing17:50
jrosserthe facts cache on the controller is only valid for 24hours, and if whatever playbook you ran has not gathered the facts then there is a bug17:50
jonherhmm yeah i see when i search back that you pasted https://paste.opendev.org/show/810346/17:50
jrosseroh blimey i don't know if we addressed that, which is different again17:51
jrosserit needed an (int) somewhere?17:51
jrosserjonher: do you have a link to that in the irc logs?17:54
jonherhttps://meetings.opendev.org/irclogs/%23openstack-ansible/%23openstack-ansible.2021-11-02.log.html#t2021-11-02T16:39:53 is the point in time where you sent that link, i haven't read thru that yet17:56
mgariepyyeah we did test a bit of that.. 18:00
mgariepyjonher, did you limit the run to a group ?18:04
mgariepywhen i do run playbook i often just do `ansible all -m setup` just to be on the safe-ish side.18:05
jonherwe observed this in a new deployment simply running the regular setup-hosts, setup-infrastructure and it still being set to 200 while we expected max18:05
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-galera_server master: Ensure max_connections is calculated correctly with integers  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/82005818:05
jrosserjonher: ^ that will address what i saw in my paste, but I think it's a different issue18:05
jrosserjonher: and there was no delay between setup-hosts/infrastructure?18:06
jrosserthere is a place where this vcpu fact is collected, if I could find it18:07
jonheryes there were close to eachother and can be replicated in aio as well18:08
jrosseroh well thats good, theres a chance to understand whats happening18:08
mgariepyis the time shifting on deployment ?18:08
jrosseryou can look in the facts cache in the deploy host /etc/openstack_deploy/....18:09
jrosserand first check if the fact is ever gathered18:09
jrosserand also if the timestamp on the fact cache file is too old18:09
mgariepylike you run setup-host, it does install chrony time sync >24 hours later. then when you run. setup-infrastructure it does think it's expired?18:10
jonhernot that i recall, but i'm gonna start with trying to rerun the galera playbook, check the facts for the lxc container and see if it has the processor_xx facts or if  only a subset of the facts are there18:11
jrosserthis could totally be a ug tbh18:12
jrosser*bug18:12
jrosserlook at this https://github.com/openstack/openstack-ansible/commit/f89d87c4b5f2aaf08dd783d0402766a2663a026d18:12
jrosserthat doesnt seem to touch the galera playbook, which seems suspicious18:13
jonherindeed no processor_xx after rerunning galera playbook18:14
jrossercan you drop something like this https://github.com/openstack/openstack-ansible/blob/master/playbooks/os-glance-install.yml#L33-L37 into the galera playbook?18:15
opendevreviewAndrew Bonney proposed openstack/openstack-ansible-os_zun master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_zun/+/81987718:16
jonheryes already did, that recreates the container and sets the max_connections to 400 so that works 18:17
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Ensure hardware facts are gathered for galera hosts.  https://review.opendev.org/c/openstack/openstack-ansible/+/82005918:22
jonher^ "pre_tasks:" twice18:22
jrosserargh18:23
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Ensure hardware facts are gathered for galera hosts.  https://review.opendev.org/c/openstack/openstack-ansible/+/82005918:24
jonherthanks for helping me confirm and track down this :)18:28
opendevreviewMerged openstack/openstack-ansible-galera_server stable/wallaby: Fix mysql_upgrade possible race condition  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/81984218:38
*** gmann_afk is now known as gmann18:53
opendevreviewMerged openstack/openstack-ansible-os_nova master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/81986819:08
opendevreviewMerged openstack/openstack-ansible-os_cloudkitty master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_cloudkitty/+/81985019:16
opendevreviewMerged openstack/openstack-ansible-os_blazar master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_blazar/+/81982819:18
opendevreviewMerged openstack/ansible-role-systemd_mount master: Use config_template as a collection  https://review.opendev.org/c/openstack/ansible-role-systemd_mount/+/81982219:23
opendevreviewMerged openstack/openstack-ansible-openstack_hosts master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-openstack_hosts/+/81982719:23
opendevreviewMerged openstack/openstack-ansible-os_cinder master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_cinder/+/81985119:24
opendevreviewMerged openstack/openstack-ansible-os_barbican master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_barbican/+/81982919:27
opendevreviewMerged openstack/openstack-ansible-os_heat master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_heat/+/81985719:28
opendevreviewMerged openstack/openstack-ansible-os_gnocchi master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_gnocchi/+/81985519:28
opendevreviewMerged openstack/openstack-ansible-os_swift master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_swift/+/81987319:28
opendevreviewMerged openstack/openstack-ansible-os_sahara master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_sahara/+/81987219:29
opendevreviewMerged openstack/openstack-ansible-os_magnum master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_magnum/+/81986519:30
opendevreviewMerged openstack/ansible-role-uwsgi master: Use config_template as a collection  https://review.opendev.org/c/openstack/ansible-role-uwsgi/+/81982019:31
opendevreviewMerged openstack/openstack-ansible-os_rally master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_rally/+/81987019:31
opendevreviewMerged openstack/openstack-ansible-os_placement master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_placement/+/81986919:32
opendevreviewMerged openstack/openstack-ansible master: Remove provider_networks from neutron playbook  https://review.opendev.org/c/openstack/openstack-ansible/+/81791419:32
opendevreviewMerged openstack/openstack-ansible-os_masakari master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_masakari/+/81986219:35
opendevreviewMerged openstack/openstack-ansible-os_senlin master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_senlin/+/81987119:39
opendevreviewMerged openstack/openstack-ansible-os_trove master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_trove/+/81987519:40
opendevreviewMerged openstack/openstack-ansible-os_designate master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_designate/+/81985319:40
opendevreviewMerged openstack/openstack-ansible-os_ceilometer master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_ceilometer/+/81987819:45
opendevreviewMerged openstack/openstack-ansible-os_adjutant master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_adjutant/+/81982619:45
opendevreviewMerged openstack/openstack-ansible-os_tacker master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_tacker/+/81987419:45
opendevreviewMerged openstack/openstack-ansible-os_nova master: Refactor definition of lock path  https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/81980019:51
opendevreviewMerged openstack/openstack-ansible-os_aodh master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_aodh/+/81985219:53
opendevreviewMerged openstack/openstack-ansible-os_murano master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_murano/+/81986420:16
opendevreviewMerged openstack/openstack-ansible-os_horizon master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_horizon/+/81985820:17
opendevreviewMerged openstack/openstack-ansible-os_neutron master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/81986620:18
opendevreviewMerged openstack/openstack-ansible-ceph_client master: Use config_template as a collection  https://review.opendev.org/c/openstack/openstack-ansible-ceph_client/+/81982420:26
opendevreviewJames Denton proposed openstack/openstack-ansible-os_masakari master: Fix libvirt service name  https://review.opendev.org/c/openstack/openstack-ansible-os_masakari/+/82006520:27
opendevreviewDamian DÄ…browski proposed openstack/openstack-ansible-os_nova master: Database connection pooling improvements  https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/81942621:05
opendevreviewDamian DÄ…browski proposed openstack/openstack-ansible master: Define default variables for database connection pooling  https://review.opendev.org/c/openstack/openstack-ansible/+/81942421:18
opendevreviewMerged openstack/openstack-ansible-haproxy_server stable/wallaby: Fix inconsistency in haproxy_frontend_raw naming  https://review.opendev.org/c/openstack/openstack-ansible-haproxy_server/+/81874421:35
opendevreviewMerged openstack/openstack-ansible-haproxy_server stable/victoria: Fix inconsistency in haproxy_frontend_raw naming  https://review.opendev.org/c/openstack/openstack-ansible-haproxy_server/+/81874522:37

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