Tuesday, 2024-12-10

noonedeadpunk#startmeeting openstack_ansible_meeting15:00
opendevmeetMeeting started Tue Dec 10 15:00:17 2024 UTC and is due to finish in 60 minutes.  The chair is noonedeadpunk. Information about MeetBot at http://wiki.debian.org/MeetBot.15:00
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.15:00
opendevmeetThe meeting name has been set to 'openstack_ansible_meeting'15:00
noonedeadpunk#topic rollcall15:00
noonedeadpunko/15:00
noonedeadpunk#topic repo state15:07
noonedeadpunkmurano/senlin/sahara repos are still on TC table for retirement15:07
noonedeadpunkthey were not included in our dalmatian release just in case15:08
noonedeadpunkrepo for Apache role has been created by Infra team and I think we can already start working on it15:08
noonedeadpunk#link https://opendev.org/openstack/ansible-role-httpd15:08
jrossero/ hello15:08
noonedeadpunkit wasn't approved as official project by TC though15:08
noonedeadpunk(still waiting for votes)15:09
noonedeadpunk#topic release state15:10
noonedeadpunkour dalmatian stable release is out15:10
noonedeadpunkbut I still haven't checked on rabbitmq upgrade failures in case of TLS usage15:10
noonedeadpunkas it seems that running -e rabbitmq_upgrade on Dalmatian (after upgrade to 4.0) simply fails15:10
noonedeadpunkso patch for Epoxy is not passing CI so far15:11
jrosseryes i saw that the upgrade jobs looked unhappy15:11
noonedeadpunkI will really try to look into that this week, but so far it might be tough a bit... 15:11
noonedeadpunkend of year - everyone went crazy somehow15:11
noonedeadpunkwe actually can unblock gate jobs, by not testing upgrade from Dalamatian -but keep Caracal upgrade15:12
noonedeadpunkand then do the switch here; https://review.opendev.org/c/openstack/openstack-ansible/+/936659/215:12
noonedeadpunkbut probably better to address this sooner then later15:12
noonedeadpunkAlso I still due to work on patch for rabbitmq force_bootstrap flag 15:12
noonedeadpunkit could be a proper backport target15:14
noonedeadpunkinterestingly, that non-tls upgrade does work...15:16
noonedeadpunkoh well, vice versa15:16
noonedeadpunkI wonder if rabbitmq 4 doesn't support non-encrypted setups...15:16
noonedeadpunk#topic office hours15:17
noonedeadpunkso, we're coming very close to Christmas and potentially need to cancel couple of meetings 15:17
jrosseryes next week maybe OK but then miss some?15:18
noonedeadpunkyeah. I will be mainly away next week, but can show-up on meeting15:18
noonedeadpunkbut Dec 24 and 31 are highly unlikely to happen at all15:19
jrosserindeed, thats ok i think15:19
noonedeadpunkyup. But I guess I will send a ML early so that if anyone want to show up this year, they had a chance15:20
noonedeadpunkbut I think I don't have anything else so far15:26
jrosserno, me neither15:28
noonedeadpunkok, then let's conclude the meeting early :)15:28
noonedeadpunk#endmeeting15:28
opendevmeetMeeting ended Tue Dec 10 15:28:42 2024 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)15:28
opendevmeetMinutes:        https://meetings.opendev.org/meetings/openstack_ansible_meeting/2024/openstack_ansible_meeting.2024-12-10-15.00.html15:28
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/openstack_ansible_meeting/2024/openstack_ansible_meeting.2024-12-10-15.00.txt15:28
opendevmeetLog:            https://meetings.opendev.org/meetings/openstack_ansible_meeting/2024/openstack_ansible_meeting.2024-12-10-15.00.log.html15:28
jrosseri will do a bit more on the mcapi stuff to fix the list of supported versions15:28
noonedeadpunkI'd really wish to get more modern version of control cluster tbh... But https://github.com/vexxhost/ansible-collection-kubernetes/pull/137 seems to get stuck with progress15:32
sykebenXHello, I'm running into a strange issue where https://opendev.org/openstack/openstack-ansible-lxc_container_create/src/commit/3a5f7651e9eb297fe3393ad843365032bad33092/tasks/lxc_container_config.yml#L61 is failing with an error trying to attach to the LXC containers17:25
sykebenXWhat should I be looking for - I have tried rebuilding the host and also recreating all the containers. Seems to always fail at this stage17:26
sykebenXParaphrasing (since I don't have access to logs on this device: It fails with Connection Refused - Failed to get init PID - Failed to get attach context 17:27
sykebenXRunning lxc/stable on 5.0.0-1+b117:28
sykebenX5.0.2-1+deb12u2 *17:29
noonedeadpunkhey17:29
noonedeadpunksykebenX: can you please paste some more output from the running playbook?17:30
noonedeadpunkalso - does container runs?17:31
noonedeadpunkwhat does `lxc-ls --active` say?17:31
sykebenXnoonedeadpunk: Is there a specific part of the run that you'd like to see? I unfortunately am running in a protected environment so I'm not really allowed to export the whole thing without redacting the sensitive stuff17:34
sykebenXlxc-ls --active shows the names of all the containers normally17:34
noonedeadpunkand you can lxc-attach to the container that fails?17:35
sykebenXThe containers are running and I can attach to them when I am connected to the control host by doing `lxc-attach <container_name>`17:35
noonedeadpunkare you running roles as root?17:35
sykebenXI am17:35
noonedeadpunkhuh17:36
noonedeadpunkdoes the task fails for all containers or only some specific one?17:37
noonedeadpunkalso - if you run `ansible -m setup $container_name` - I assume it also fails?17:38
sykebenXSeems to fail for all containers17:38
sykebenXI will try running the setup that way too - give me a couple to try - also thanks for your help!17:39
noonedeadpunkso either smth is with permissions or with apparmor17:39
noonedeadpunkbut I'm not sure if this always an issue, as we're running CI against Debian and latest tests are passing17:40
noonedeadpunkie https://zuul.opendev.org/t/openstack/build/ef0b368bc62a4985b1f112ea3b5ee37617:40
noonedeadpunkso unless smth changed in last week - it should work...17:40
noonedeadpunk(and unlikely I'd be able to reproduce the issue)17:41
sykebenXYeah I figured that it would be impossible for you to reproduce. This gives me some direction though. I do suspect you're right and it's either perms or apparmor since I can (as root) attach to the containers no problem when I'm connected to the control host directly17:42
noonedeadpunkso, how osa works - it actually also does SSH to the control host and then execute lxc-attach17:43
noonedeadpunkthis happens due to our custom connection plugin17:43
noonedeadpunkhttps://opendev.org/openstack/openstack-ansible-plugins/src/branch/master/plugins/connection/ssh.py#L381-L38717:44
noonedeadpunkthat is why I was kind of confused about you being able to execute things17:44
noonedeadpunkI wonder if that could have something to do with https://opendev.org/openstack/openstack-ansible-plugins/commit/52c710ae91235d8f4e3778c1c16da084575933cc17:46
jrossersykebenX: you can perhaps use also just the ansible `ping` module and increase the verbosity a lot to see where it gets stuck18:19
jrosser`ansible -m setup $container_name -vvvvv`18:20
jrosserif you are able to share just the error that would be helpful18:20
sykebenXI am running openstack-ansible for a different environment using the same deployment host that is using the non-root (https://docs.openstack.org/openstack-ansible/latest/user/security/non-root.html) setup. Could there be some conflicts between the two since I am running this environments deployment using root?19:36
sykebenXto be clear, not root on the deployment host itself. I have two users setup (one for dev and one for prod) each has their own openstack_deploy folder with user_variables, user_secrets, openstack_user_config, etc... but I have a user.rc file in each that sets some environment variables for logging and also the ANSIBLE_REMOTE_USER which in prod I have set to a non-root user and in dev I have set to 'root'19:38
noonedeadpunkoh, yes, there could be quirks related to lxc for sure....19:40
noonedeadpunkI've also seen one bug in our connection plugin related to this...19:40
sykebenXSo would the recommendation be to have two distinct deployment hosts?19:40
noonedeadpunkthat;s the bug I was talking about: https://bugs.launchpad.net/openstack-ansible/+bug/204422919:41
noonedeadpunkideally - the approach you describe should work19:42
noonedeadpunkand no, there should not be conflicts if you set OSA_CONFIG_DIR for each user19:43
noonedeadpunkthis part works nicely 19:43
jrosseryou can also play with local vs remote user in ssh config19:43
noonedeadpunkhave you also check existance of https://opendev.org/openstack/openstack-ansible-plugins/src/branch/master/plugins/connection/ssh.py#L381-L387 ?19:44
noonedeadpunksorry, meant https://opendev.org/openstack/openstack-ansible-plugins/commit/52c710ae91235d8f4e3778c1c16da084575933cc19:44
noonedeadpunkas this was only included for 2024.219:45

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