Wednesday, 2025-02-05

opendevreviewJonathan Rosser proposed openstack/openstack-ansible-plugins master: DNM: - Debug ssh connection to centos docker image  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/94077210:16
opendevreviewMerged openstack/ansible-role-systemd_networkd master: Allow to apply only overrides to the network interface  https://review.opendev.org/c/openstack/ansible-role-systemd_networkd/+/94032410:39
opendevreviewMerged openstack/openstack-ansible-os_octavia master: Switch from focal to jammy based amphora image for CI testing  https://review.opendev.org/c/openstack/openstack-ansible-os_octavia/+/93969710:49
noonedeadpunkjrosser: have you ever seen that? https://github.com/ansible-collections/community.general/blob/main/plugins/connection/lxc.py10:56
noonedeadpunkThere's also for lxd and incus...10:56
noonedeadpunkI wonder if our connection plugin is kind of replaceable by this10:57
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_octavia stable/2024.2: Switch from focal to jammy based amphora image for CI testing  https://review.opendev.org/c/openstack/openstack-ansible-os_octavia/+/94077510:58
jrossernoonedeadpunk: i think that the limitation is this https://github.com/ansible-collections/community.general/blob/main/plugins/connection/lxc.py#L5512:08
jrosserthis plugin has been around for a very long time but i am not sure it has any concept like our "physical_host"12:08
noonedeadpunkhuh, ok, as it seems it's not a limitation for incus12:14
noonedeadpunkhttps://github.com/ansible-collections/community.general/blob/main/plugins/connection/incus.py#L35-L4212:15
noonedeadpunkbtw I was told there's a way for making argument spec with nested structures (like list of mappings), it's just not documented very well12:38
noonedeadpunkand ansible-lint has autofix feature - so we can move to fqcn quite easily12:39
jrosseryes the incus remote relies on a API, so you'd have to have suitable connectivity between your deploy hosts and the incus hosts to make that work13:25
jrosserssh bastion -> sad times i think13:25
opendevreviewJonathan Heathcote proposed openstack/openstack-ansible-os_ironic master: Migrate to from removed idrac-wsman to idrac-redfish  https://review.opendev.org/c/openstack/openstack-ansible-os_ironic/+/94079715:23
jrossernoonedeadpunk: here is why we cannot login to centos docker image https://paste.opendev.org/show/bKc8ENa6FVCDNJsui6jQ/16:44
fricklerroot bad. nice ;)17:15
jrosseron the host i see this [ 6705.486208] audit: type=1400 audit(1738774556.213:125): apparmor="DENIED" operation="capable" class="cap" profile="unix-chkpwd" pid=7709 comm="unix_chkpwd" capability=1  capname="dac_override"17:18
jrosseras immediately before the PAM error inside the container there is `unix_chkpwd[578]: could not obtain user info (root)`17:19
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-plugins master: DNM: - Debug ssh connection to centos docker image  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/94077218:15
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-plugins master: DNM: - Debug ssh connection to centos docker image  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/94077218:24
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-plugins master: DNM: - Debug ssh connection to centos docker image  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/94077218:55
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-plugins master: DNM: - Debug ssh connection to centos docker image  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/94077219:20
noonedeadpunkjrosser: so, that pretty much kind of same issue in both cases?20:02
noonedeadpunkas another failure for cetnos - was sudo requires password for root?20:02
jrossernoonedeadpunk: you see the apparmor error on the host20:02
jrosserand the pam error in the docker container20:02
jrosserand now i am stuck with disabled sudo20:02
jrosserbecasue i think of this https://opendev.org/zuul/zuul-jobs/src/branch/master/playbooks/tox/run.yaml#L320:03
jrosserbut i still have no real idea at all about the root cause of the failure, why for example rocky is ok20:03
jrosserbut it seems that `aa-teardown` is sufficient to make it work in my held node20:04
jrosserbut of course i can login there as root20:04
noonedeadpunkI;m really thinking if we should be using ansible-dev-environment also in CI... as then we should be able to match controller OS with "host" os - which you may normally see in production20:06
noonedeadpunkbut this unlikely to solve sudo issue in any way20:07
noonedeadpunk(as then same issue will be on "control" container)20:08
noonedeadpunkbtw  Iwas asked quite some times today about our roles and if they could be used without openstack. In context of systemd and PKI at the very last.20:10
noonedeadpunk*least20:10
noonedeadpunkso seams what we do in general makes quite some sense to people20:10
jrosserthats nice to hear20:22

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