15:04:14 #startmeeting openstack_ansible_meeting 15:04:16 Meeting started Tue Apr 13 15:04:14 2021 UTC and is due to finish in 60 minutes. The chair is noonedeadpunk. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:04:17 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 15:04:19 The meeting name has been set to 'openstack_ansible_meeting' 15:04:29 #topic rollcall 15:04:35 o/ 15:11:17 #topic bug triage 15:12:37 https://bugs.launchpad.net/openstack-ansible/+bug/1923183 15:12:37 Launchpad bug 1923183 in openstack-ansible "Spice html5 client does not get installed in nova api" [Undecided,New] 15:14:35 So, it seems that it is distro install 15:14:47 which fails for centos 8... 15:17:08 hello 15:18:28 hey! sorry, decided to start meeting with new time today 15:18:39 probably worth switching from next week.... 15:19:54 yeah, just saw my email! 15:21:50 What do you think about https://bugs.launchpad.net/openstack-ansible/+bug/1923184 ? 15:21:51 Launchpad bug 1923184 in openstack-ansible "Allow disable console_agent when using spice console" [Undecided,New] 15:23:13 sounds pretty fair for me... 15:24:06 a config override can disable that? 15:24:25 I think it can.... 15:24:58 but probably it really make sense to change default behaviour we have 15:25:28 i'm struggling to find docs for this 15:26:43 https://docs.openstack.org/nova/victoria/configuration/config.html#spice.agent_enabled 15:27:23 I think we just misused nova_console_agent_enabled... 15:28:08 yeah that is pretty odd use of it 15:29:29 there is the same oddness in the vnc conditional block too 15:29:38 Eventually, I'd probably just dropped nova_console_agent_enabled at all... 15:30:30 and made to use overrides in case agent_enabled should be adjusted 15:31:14 feels like this uses also mis-uses that variable https://github.com/openstack/openstack-ansible-os_nova/blob/master/defaults/main.yml#L212 15:31:37 that'll be disabling [spice|vnc] on aarch64 15:31:44 which is serial only 15:32:18 hm, yes... I think that we can just set `nova_console_type` to false or smth 15:32:29 wait... 15:32:47 https://github.com/openstack/openstack-ansible-os_nova/blob/master/defaults/main.yml#L266 15:33:19 we're not using it in `[serial_console]` 15:33:32 Super weird really 15:33:50 So, we can either fix behaviour, then it would be limited to spice only I guess? 15:33:58 Or we can jsut drop variable :) 15:36:26 this code is nuts 15:37:15 seems like a legitimate use case to want to disable it for windows 15:38:23 so you suggest fixing it? 15:38:40 or we can fix, backport and drop afterwards :p 15:38:43 for spice i think fix 15:39:02 then i have no idea what the point of this is https://github.com/openstack/openstack-ansible-os_nova/blob/master/defaults/main.yml#L224 15:39:14 so drop that, and clean up all the aarch64 logic 15:40:20 I'm more wondering about that https://github.com/openstack/openstack-ansible-os_nova/blob/master/defaults/main.yml#L212 15:40:53 that looks bogus, and should be just True 15:41:12 It's just not used anywhere to add 15:41:15 https://codesearch.opendev.org/?q=nova_spice_console_agent_enabled&i=nope&files=&excludeFiles=&repos= 15:41:38 both spice and vnc should already be disabled for aarch64 from here https://github.com/openstack/openstack-ansible-os_nova/blob/master/defaults/main.yml#L266 15:41:58 and they are I'm pretty sure, yes 15:42:29 oh well thats actually the bug then, this line https://github.com/openstack/openstack-ansible-os_nova/blob/master/templates/nova.conf.j2#L79 15:42:30 I'm mrore frustrated is that we have nova_spice_console_agent_enabled, nova_novncproxy_agent_enabled and nova_console_agent_enabled 15:42:42 should be nova_spice_console_agent_enabled 15:42:59 there us no need for nova_console_agent_enabled or nova_novncproxy_agent_enabled that i can see 15:43:20 it's a specific setting for spice? 15:43:21 yeah 15:43:33 Well, from what I see from nova config reference 15:44:22 what a mess /o\ my head hurts :) 15:45:17 well, I'd vote actually for removing all these options, and make use overrides. But porbably nova_spice_console_agent_enabled is really pretty widespread usecase, so maybe worth leaving this single var indeed... 15:45:39 i think thats the best simplification given it's an already existing var 15:45:42 but yeah, that's a mess and great it has been raised 15:45:47 Merged openstack/openstack-ansible master: Return PyMySQL installation for distro installs https://review.opendev.org/c/openstack/openstack-ansible/+/784957 15:46:05 ok, greed then 15:46:11 *agreed 15:46:16 #topic office hours 15:46:54 THe most problematic things at the moment are not being able to merge bump and mariadb version upgrade 15:47:13 yeah, very sad that theres been no further movement on the mariadb jira ticket 15:47:15 bump fails on rabbitmq ssl, while SSL should not be actually used according to the config... 15:47:40 i wonder if it's worth *downgrading* galera :( 15:47:58 and I think we'd want to merge it really asap to be able to do freeze for wallaby, and not go forward with master 15:48:33 we'd have to go back to 10.5.7 or something 15:48:36 and can we technically downgrade to version prior then it was in V? 15:48:58 perhaps, we pin the exact version but the package manager might not like it 15:49:36 but I mean that mysql_upgrade script might not like it as well... 15:49:51 oh right sure yes, it's just not good really at all 15:50:46 so I think our best option is kind of to move to admin user somehow, and then we won't care about root missing privileges? 15:50:51 i was thinking should do something really minimal in the PKI role just to get the rabbitmq stuff sorted out 15:50:56 and I think patch for admin has already merged? 15:51:09 gshippey did a lot of investigation on this 15:52:17 I will try to sort out bump upgrade tomorrow and also check out on maria after that. 15:52:36 the root user gets broken at upgrade, thats ultimately the issue 15:52:51 it's possible to create a file with some SQL in it which is executed at startup 15:52:53 Btw for trove, I kind of stopped with internet access from VMs inside aio, as it tries to pull docker image... 15:53:34 that was a possible solution in the maridb jira ticket, to fix the root user permissions at startup with extra params pointing to statements to execute immediately 15:53:42 but we won't need root user if we create admin somewhere before running setup-infrastructure 15:54:08 and updating my.cnf 15:54:28 ah, in the upgrade scripts 15:54:37 (I specificly changed order of tasks lately to prevent my.cnf from being updated before maria upgrade) 15:54:43 yep 15:55:17 I think that might work actually 15:55:56 and root auth with socket I think still working in 10.5.9? 15:56:30 not after the upgrade iirc 15:56:42 as the root user perms get broken 15:56:47 hm, I thought it affects only password auth? 15:56:58 but yeah, might be... 15:57:05 the ALL grant goes away 15:57:27 from all root users or only `root`@`%` or smth? 15:58:06 as how then non-upgrade tests pass.... 15:58:27 ah, it's broken during running upgrade.... 15:58:33 *mysql upgrade 15:58:42 damn it.... 15:58:54 maria becomes so buggy lately... 15:59:44 the grants are a bitfield 16:00:00 and the interpretation of the bitfield changes 10.5.8 -> 10.5.9 16:00:07 oh........... 16:00:18 so what previously meant 'ALL' no longer means 'ALL' 16:00:33 I read bug report wrong way then.... 16:00:40 oh maybe me too :) 16:00:50 nah, I really just did quick lookthrough 16:01:17 So it was me under impressions that things are not so bad 16:01:38 it's this massive number "access":18446744073709551615 <- what the bits mean inside that 16:02:39 `And with the addition of the new privilege SLAVE MONITOR, the value has become insufficient for "GRANT ALL":` 16:02:41 doh 16:02:42 yeah, so then indeed the only option is stratup script, that indeed would fix permissions and got removed afterwards 16:03:11 but that's so.... 16:05:51 i dig around in the code a bit before 8-O https://github.com/MariaDB/server/blob/10.6/mysql-test/main/upgrade_MDEV-19650.test#L20-L53 16:08:04 I was probably confused with ` IF(JSON_VALUE(Priv, '$.plugin') IN ('mysql_native_password', 'mysql_old_password')` 16:08:16 super fragile here too https://github.com/MariaDB/server/blob/10.6/sql/privilege.h#L72-L78 16:08:47 doh, indeed... Well, that's C, so everything if fragile... 16:09:01 I think that's one of the reasons why Rust becomes more and more popular 16:09:12 anyway :) 16:09:19 #endmeeting