Wednesday, 2025-03-05

opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-lxc_container_create master: Re-introduce functional tests with molecule  https://review.opendev.org/c/openstack/openstack-ansible-lxc_container_create/+/93925707:04
noonedeadpunkI did smth to my laptop that docker doesn't have connectivity....07:13
jrosseroh thanks for looking again at that07:39
jrosserI think that the code is maybe neater in the stuff I did more recently for plugins / connection testing07:40
noonedeadpunkI'm trying to reproduce/understand the issue so far 12:07
opendevreviewMerged openstack/openstack-ansible-rabbitmq_server stable/2024.2: Workaround rabbitmq-server issue #3369  https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/94096412:10
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible stable/2024.2: Update haproxy and rabbitmq SHA  https://review.opendev.org/c/openstack/openstack-ansible/+/94320912:15
noonedeadpunkwould be great to land this as well ^12:15
noonedeadpunkseem this one breaks things for molecule: https://review.opendev.org/c/openstack/openstack-ansible-lxc_hosts/+/94281212:28
noonedeadpunkor no...12:29
jrossernoonedeadpunk: i am wondering if the molecule for the lxc_container_create got all broken12:42
noonedeadpunkso for non-redhat it's broken on idempotence12:42
jrosserthen becasue its basically impossible to hack/modify a second role in molecule thats not the main repo, i put lxc_container_create aside and then moved to work on the ssh connection in the plugins repo12:43
noonedeadpunksomewhere on systemd-hostnamed being changed: https://opendev.org/openstack/openstack-ansible-lxc_container_create/src/branch/master/vars/main.yml#L103-L11512:43
jrosserimho it might be better to fix up the plugins repo molecule then apply what is done there back to the other stuff that needs lxc working12:44
jrosseras i think that the approach to the inventory is tidier in the plugins repo after i worked on that more12:45
noonedeadpunkyou are probably right, but as I've found couple of things to patch for lxc_containers...12:47
noonedeadpunkI wanna get to a point of some non-trivial failure now :)12:47
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-lxc_hosts master: Ensure e2fsprogs are installed on hosts  https://review.opendev.org/c/openstack/openstack-ansible-lxc_hosts/+/94338612:54
noonedeadpunkok, yeah so it fails on starting container, right13:03
noonedeadpunk`Permission denied - Failed to bind mount "/dev/pts/0" onto "/dev/lxc/tty1"`13:03
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-lxc_container_create master: Re-introduce functional tests with molecule  https://review.opendev.org/c/openstack/openstack-ansible-lxc_container_create/+/93925713:07
noonedeadpunkjrosser: so was you able to reproduce an issue from plugins locally after all?13:17
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-plugins master: Add most basic molecule test for ssh connection plugin  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/93989813:17
jrossernoonedeadpunk: i have to try to remember :/13:18
jrosserbut yes i think i was able to reproduce the apparmor stuff locally13:18
jrosserit is probably way back in the scrollback somewhere13:18
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-plugins master: [DNM] Check if we can workaround centos issue  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/94339013:30
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-plugins master: [DNM] Check if we can workaround centos issue  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/94339013:37
jrossernoonedeadpunk: i think that there are two different thing going on13:52
jrosserthe aa-teardown/restart was needed to get (i think) the running apparmor to be consistent with the on-disk config13:52
jrosserand then kind of completely seperate is something in pam/sshd on centos that does i-dont-know-what that causes the pam auth denied apparmor error on the host13:53
jrosserso thats either the pam config is different, or perhaps sshd has been compiled with different options on centos and it interacts with more things13:55
jrosserthis is kind of guesswork really though13:55
noonedeadpunkI'm struggling to reproduce that actually14:23
noonedeadpunkDespite image I'm using for ubuntu was built with dib14:23
noonedeadpunkand I installed same version of docker there...14:24
jrosserhmm i was able to14:25
jrosserbut it did need something to make it fail with noble+centos(lxc)14:26
jrosserlooks like i still have my VM if there is anything we can compare14:28
noonedeadpunkI can put your key on mine or vice versa14:31
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-plugins master: [DNM] Check if we can workaround centos issue  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/94339015:40
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-plugins master: [DNM] Check if we can workaround centos issue  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/94339015:59
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-plugins master: [DNM] Check if we can workaround centos issue  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/94339016:19
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-plugins master: [DNM] Check if we can workaround centos issue  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/94339016:35
opendevreviewMerged openstack/openstack-ansible-lxc_hosts master: Ensure e2fsprogs are installed on hosts  https://review.opendev.org/c/openstack/openstack-ansible-lxc_hosts/+/94338617:13
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-plugins master: [DNM] Check if we can workaround centos issue  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/94339017:29
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-plugins master: [DNM] Check if we can workaround centos issue  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/94339017:42
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-plugins master: [DNM] Check if we can workaround centos issue  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/94339018:01
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-plugins master: [DNM] Check if we can workaround centos issue  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/94339018:17

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