Wednesday, 2024-06-12

jheikkinHi, I have a question about openstack-ansible. Does it always deploy lxc containers when installing openstack? Is it possible to deploy openstack without using lxc when using openstack-ansible? 06:18
jrosserjheikkin: yes it is possible to deploy entirely without the lxc containers06:21
jheikkinThank you!06:22
jrosserjheikkin: out of interest, which would you find preferable?06:22
jheikkinIn the context of what we are planning now, either podman or systemd-nspawn.06:24
jrosserperhaps good job I asked06:24
jrosserin osa the lxc are analogous to virtual machines, not anything like podman conceptually06:25
jrosserconsider them es extra fully fledged hosts which just happen to use the kernel of the physical host06:26
jrosserif you deploy osa without using lxc (what we call a “metal” deploy) then there is no separation of any of the services from the host, everything runs straight on the host06:28
noonedeadpunkwe actually used to have nspawn, though we sunsetted it due to the limit of interest07:21
noonedeadpunk(and there were some complications with EL iirc as well)07:21
noonedeadpunkthis is smth also worth backporting and merging: https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/92179607:41
jrossernspwan was also very very difficult to set up the networking on07:42
kleinijrosser, do we have details on why the network setup for nspawn was difficult? I always thought, this is very easy as it is tightly integrated into systemd-networkd07:44
jrosserthere was, iirc, difficulty with having multiple interfaces07:45
kleiniinteresting. I am going to have a look on that07:46
noonedeadpunkfrankly, I never tried it for real... But iirc there was smth fishy around passing physical interfaces inside containers07:47
jrosseri guess you would be able to see by looking in the old ansible roles for this07:47
noonedeadpunklike if you have SR-IOV07:47
jrosserand i can't remember if we also used macvlan with it, which is also not the most striaghtforward07:47
noonedeadpunkbut to be fair - I guess there was just nobody interested enough to maintain/evolve it07:48
kleinioh, didn't have SR-IOV in my mind. that might be tricky. and macvlan is very tricky if host to container connectivity is necessary07:48
* noonedeadpunk uses sr-iov in some envs07:48
jrosserhuh so ansible 2.17 `<172.29.236.100> ESTABLISH SSH CONNECTION FOR USER: None`07:49
jrosserthats not going to work07:49
opendevreviewChristian Berendt proposed openstack/ansible-hardening master: Rename internal parameter user_list to hardening_user_list  https://review.opendev.org/c/openstack/ansible-hardening/+/92182708:12
noonedeadpunkah08:17
noonedeadpunkI think I have a bug report for this one actually08:18
noonedeadpunkhttps://bugs.launchpad.net/openstack-ansible/+bug/204422908:18
noonedeadpunkI think that;s kinda related08:18
noonedeadpunkor may be not...08:20
jrosseri think this is a case for git bisect on ansible08:24
jrosserthey added type annotations recently, thats the only thing i can see obviously different in the ssh plugin08:24
jrosserthis commit breaks it https://github.com/ansible/ansible/commit/21a987b8b6a6c3da24941d0450ddb195f65b04f508:44
noonedeadpunkwe should switch default I assume08:45
noonedeadpunkhttps://github.com/ansible/ansible/blob/21a987b8b6a6c3da24941d0450ddb195f65b04f5/lib/ansible/plugins/connection/ssh.py#L314C8-L314C2308:46
noonedeadpunknone for us: https://opendev.org/openstack/openstack-ansible-plugins/src/branch/master/plugins/connection/ssh.py#L235-L24608:46
jrosserah good catch08:51
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-plugins master: Update ssh_transfer_method parameter definition to match upstream  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/92183708:57
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Update ansible to 2.17  https://review.opendev.org/c/openstack/openstack-ansible/+/92173508:58
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Update ansible to 2.17  https://review.opendev.org/c/openstack/openstack-ansible/+/92173510:06
noonedeadpunkdamiandabrowski: if around - can you check if https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/921796 makes sense to you?10:25
noonedeadpunkwould be nice to backport that asap as well...10:25
damiandabrowskiapproved!10:27
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_keystone stable/2024.1: Define oslo_messaging_rabbit section if either RPC or Notifications are enabled  https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/92184511:19
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_neutron master: Remove handler delegation for DB contract  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/92185111:50
noonedeadpunkcatched that during 20.04->22.04 upgrade11:50
opendevreviewMerged openstack/openstack-ansible-os_keystone master: Define oslo_messaging_rabbit section if either RPC or Notifications are enabled  https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/92179612:19
jrossermaybe we need to copy the old ceph-nfs role into the plugins repo12:40
noonedeadpunkor whole ceph-ansible to ops...12:42
jrosseri was just testing out ceph-ansible 8.0 again12:42
jrosseras there is 2.17 invalid ansible syntax in stable-7.012:42
noonedeadpunkwell, what strikes me is that they intended to replace it with smth12:42
noonedeadpunkis 8 any better?12:42
noonedeadpunkexcept nfs part12:42
noonedeadpunkand absent clients12:42
noonedeadpunkand ... many more :D12:43
jrosserwell, all that is fixed, up to date linter seems to have been applied12:43
jrossertbh i was hoping to find out if it works by just trying it in AIO12:43
noonedeadpunkfeels worth having another slack round about intentions and where we can help with nfs12:43
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-role-python_venv_build master: Ignore repo container facts gathering errors  https://review.opendev.org/c/openstack/ansible-role-python_venv_build/+/92185813:00
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_cinder master: Start iscsid on cinder-volume hosts using LVM backend  https://review.opendev.org/c/openstack/openstack-ansible-os_cinder/+/92187214:56
opendevreviewMerged openstack/openstack-ansible stable/2024.1: Grammar and OS corrections  https://review.opendev.org/c/openstack/openstack-ansible/+/92179516:03

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