Monday, 2023-09-04

opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible stable/2023.1: Do not add all computes as OVN gateways  https://review.opendev.org/c/openstack/openstack-ansible/+/89354706:08
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: WIP - test Vexxhost CAPI driver for magnum  https://review.opendev.org/c/openstack/openstack-ansible/+/89324006:24
admin1do we have any guides on how to do airgapped installs ? 07:50
admin1off a usb disk for example 07:50
jrosseradmin1: you might view it as an extension of the hooks we have for using mirrors07:51
jrosserif you have a locally accessible git repo with all the required repositories in it07:52
jrosserand a mirror copy of pypi somehow, then you're good to go using the documentation we have for "limited connectivity"07:52
admin1thanks jrosser.. will take a look 07:56
opendevreviewMerged openstack/openstack-ansible-os_adjutant stable/zed: Revert "Install mysqlclient devel package"  https://review.opendev.org/c/openstack/openstack-ansible-os_adjutant/+/89250507:56
jrosseradmin1: it also depends how truly airgapped you mean07:57
admin1High security environments where no external connectivity is permitted -- this kind 07:57
jrosserthere is absolutely airgapped (no external connectivity at all), and also well defined boundaries like automated git repo mirrors with an interface in a DMZ to update and an interface in the deployment to use07:58
admin1no internet, no default route type .. 07:58
jrosserright07:58
jrosserin my deployments i have no default route07:58
jrosserbut there are a number of machines that are highly secured and sit across the deployment and a DMZ to provide git mirror, pypi mirror etc07:59
jrosserso it depends exactly on what the requirements are, you can have different approaches with no default route07:59
jrosserultimately you with need some way or another to update git repos and python packages, either through an intermediate network, USB stick, etc etc08:01
admin1 usb stick 08:01
jrosseronother way to look at it is to build an AIO with the required services08:01
jrosserand copy the built wheels across08:01
jrosserthat would simplify the pypi side where making a mirror is surprisingly difficult (the amount of data involved for a full mirror is truly huge)08:02
opendevreviewMerged openstack/openstack-ansible-os_nova master: Add quorum queues support for the service  https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/88784908:03
admin1thanks jrosser .. i will explore on this08:03
admin1"and copy the built wheels across" -- is it as easy as taking a lxc backup of the repo and restoring it :D 08:06
admin1or overwriting to the new ones08:06
opendevreviewMerged openstack/openstack-ansible-os_glance master: Add quorum support for glance  https://review.opendev.org/c/openstack/openstack-ansible-os_glance/+/87363208:19
opendevreviewMerged openstack/openstack-ansible-os_neutron master: Add quorum queues support for the service  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/88780308:24
opendevreviewMerged openstack/openstack-ansible-os_neutron stable/2023.1: Stop haproxy on ovn-controller nodes  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/89345008:24
jrosseradmin1: i think everything you might need is in /var/www/repo11:14
opendevreviewMerged openstack/openstack-ansible-os_cinder master: Add quorum queues support for service  https://review.opendev.org/c/openstack/openstack-ansible-os_cinder/+/87540812:43
jrosseri am having trouble with config_template and {% raw %}....{% endraw %}13:13
jrosserit seems to want to evaluate inside the raw part in a way that the regular template modules does not13:13
jrosserbootstrap_aio uses config_template a bunch for user_variables_<>.yml really with no reason to13:14
noonedeadpunkjrosser: this should be fixed in latest config_tempalte13:28
noonedeadpunkit's not tagged yet13:28
noonedeadpunkhttps://opendev.org/openstack/ansible-config_template/commit/e528ed0e9e9f3d3fcb2f33ddc5d175faf72094ac13:28
noonedeadpunkso in fact that's not used anywhere13:29
noonedeadpunkAnd to make a new tag, I wanted to release in galaxy, but far that I was told to push a role for publishing to zuul-jobs13:29
jrosserahha13:34
jrosseri was wanting to use config_template somewhere else too which would need it to be in galaxy13:34
noonedeadpunkyeah, I from time to time try to do progress on that, but always get new blockers and postpone for better times....13:37
jrosserso funny thing is that is "fixed" in CI but not locally :)13:40
noonedeadpunkyeah......13:45
noonedeadpunkso latest what I was told to do, is basically move https://opendev.org/openstack/ansible-collections-openstack/src/branch/master/ci/publish/publish_collection.yml to zuul-jobs repo as a role....13:47
noonedeadpunkBut the problem is also, that a secret for openstack namespace in galaxy stored specifically in the collections repo13:47
noonedeadpunkSo then infra root or somebody should re-encrypt it to move to generic secrets... But also afaik - it's linked to someones personal github account...13:48
noonedeadpunkAnd it's a sig and not under tc governance basically like any other project...13:48
noonedeadpunkSo it's /o\13:48
jrosserargh13:51
jrosserthe trouble with all that is it's so easy to say / handwave about but at the same time opaque and hard to debug when actually trying to do it 13:53
jrossernoonedeadpunk: also https://paste.opendev.org/show/bDvBwr4pLLpkPfHXlMDp/14:04
jrossermaster should be working i think?14:05
noonedeadpunkhm14:05
noonedeadpunkthat could have landed only with this https://review.opendev.org/c/openstack/openstack-ansible-os_glance/+/87363214:05
noonedeadpunkah14:06
jrosseryes i am wondering how that passes and my new AIO breaks14:06
noonedeadpunkand how that passsed https://review.opendev.org/c/openstack/openstack-ansible/+/88785014:07
jrosserit looks like it tries to pass that whole yaml dict to this https://www.rabbitmq.com/rabbitmqctl.8.html#set_permissions14:09
noonedeadpunk the only way I see this could happen, if vhost is evaluated as string...14:09
noonedeadpunkoh14:09
noonedeadpunkalso14:09
noonedeadpunkthat needs new plugins version:)14:09
jrosserso another thing like config template that works in CI but not locally14:10
noonedeadpunkI guess it might need smth like that https://review.opendev.org/c/openstack/openstack-ansible/+/89237314:10
jrosseroh wow that did not go well14:11
noonedeadpunkas current "master" might miss this thing: https://opendev.org/openstack/openstack-ansible-plugins/commit/ed5b610177059870a3e722b046de7ca0156357c314:11
noonedeadpunkthough it's not issue in CI14:11
jrosser`"ERROR! Failed to switch a cloned Git repo `https://github.com/ansible-collections/ansible.netcommon` to the requested revision `5.1.2``14:12
noonedeadpunknah, latest is different14:12
noonedeadpunkit's before the last rebase14:13
noonedeadpunkproably worth just to update plugins SHA separately14:13
jrosseroh why oh why cannot galaxy keep the git repo14:13
jrosserespecially if the source is git /o\14:13
noonedeadpunkit's because tag is `v5.1.2` but in versions it's 5.1.214:14
noonedeadpunkansible 2.15 can handle that, but not 2.1314:14
jrosserthat patch is stacked on top of the 2.15 change though?14:14
noonedeadpunkyeah, but it's failed due to zuul merge issue14:16
noonedeadpunk`Error merging gerrit/openstack/openstack-ansible-os_adjutant for 888985,4`14:16
noonedeadpunkas it's on top of another thing with tons of dependencies...14:17
noonedeadpunkjsut recheck should help14:17
jrosserthis needs a look at https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/88872914:21
jrossermaybe just rebase but i dont touch it yet14:21
jrosserthen theres a bunch of adjutant related things https://review.opendev.org/c/openstack/openstack-ansible-os_adjutant/+/888985/314:22
noonedeadpunkugh, yeah, need to rebase that...14:35
noonedeadpunkjrosser: do you rememeber how to pass kernel modules inside lxc?14:40
jrossermore that just making sure they are loaded on the host?14:40
noonedeadpunkI can recall there some .... allowlist or smth like that was to configure...14:41
noonedeadpunkI'm trying to mount cephfs inside repo container14:42
noonedeadpunkhost does have ceph kernel module, but feels like container does not14:42
jrosserso i can cat /proc/modules in the container for example14:43
noonedeadpunkhuh, yeah, ok14:43
jrosserand the number of lines there is the same as on the host14:43
noonedeadpunktrue14:43
jrosserdevice files might be a different matter14:43
noonedeadpunkthen issue is different I guess....14:43
jrossermight need to bind mount the /dev entries or otherwise create them somehow14:44
noonedeadpunkjrosser: ah. I found the issue, sorry and thanks)14:45
noonedeadpunk(or I think I did)14:45
jrosserif it is bind mounting dev files then this is useful patch https://review.opendev.org/c/openstack/openstack-ansible/+/89169514:47
jrosserso that you can have config like `lxc.mount.entry = /dev/ttyS0 dev/ttyS0 none bind,create=file 0 0`14:47
noonedeadpunkI _think_ it was absent storage network inside repo container14:47
jrosserahha14:48
jrosserinside *repo* container, right14:48
jrosserfor wheel builds?14:48
jrosserwell today is my lucky day, looks like a race condition here https://paste.opendev.org/show/bPgVSIHyVPY5MwC373Zj/14:53
noonedeadpunkyeah14:56
noonedeadpunklooks like that....14:57
jrosserthat probably just needs some retries15:06
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_neutron master: Retry applying OVN connection settings  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/89366715:16
jrosseranyone with OVN clue, what should be listening on port 6641 in the northd container?15:39
jrosser6642 is ovsdb-server15:40
jrosserok so my issue was caused by pretty much all of this not being idempotent https://github.com/openstack/openstack-ansible-os_neutron/blob/master/tasks/providers/ovn_cluster_setup.yml#L8815:47
jrosserif something in there fails and you run again, it stays failed15:47
opendevreviewMerged openstack/ansible-role-pki master: Use TOX_CONSTRAINTS_FILE  https://review.opendev.org/c/openstack/ansible-role-pki/+/89075016:14
opendevreviewMerged openstack/ansible-role-systemd_service master: Use TOX_CONSTRAINTS_FILE  https://review.opendev.org/c/openstack/ansible-role-systemd_service/+/89075116:14
noonedeadpunkjrosser: then 893667 doesn't make much sense?16:24
jrosserI think the when: is only valid once16:24
jrosserI just did exactly that command at the cli in the container and it worked16:25
jrosserbut because that OVN instance was now clustered you can never execute any failed setup tasks again16:25
jrosserI think my patch would fix the race condition on the first run like I originally had fail16:26
jrosserbut still not help for subsequent runs16:26
opendevreviewMerged openstack/openstack-ansible-os_tempest master: Allow include/exclude lists to be defined in many variables  https://review.opendev.org/c/openstack/openstack-ansible-os_tempest/+/89157916:30
opendevreviewMerged openstack/openstack-ansible-galera_server master: Fix role metadata  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/89229616:33
opendevreviewMerged openstack/openstack-ansible-os_mistral master: Fix linters and metadata  https://review.opendev.org/c/openstack/openstack-ansible-os_mistral/+/89229016:40
opendevreviewMerged openstack/openstack-ansible-lxc_hosts master: Fix linters issues  https://review.opendev.org/c/openstack/openstack-ansible-lxc_hosts/+/89229516:46
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_neutron master: Fix linters and metadata  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/88872916:55
opendevreviewMerged openstack/openstack-ansible master: Fix linters to satisfy ansible-lint 6.18  https://review.opendev.org/c/openstack/openstack-ansible/+/88652716:56
noonedeadpunkok, yes, makes sense to me16:56
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Update Senlin SHA  https://review.opendev.org/c/openstack/openstack-ansible/+/89291016:57
KarniHi17:02
opendevreviewMerged openstack/openstack-ansible master: Add default name for user collections file  https://review.opendev.org/c/openstack/openstack-ansible/+/89323017:02
-opendevstatus- NOTICE: Some Gerrit changes that update Zuul configuration may fail with no response from Zuul. A fix is in progress.20:04
*** jonher_ is now known as jonher20:13
-opendevstatus- NOTICE: Gerrit changes with updates to Zuul's configuration should now be handled correctly. Recheck any changes to Zuul configuration which did not report results.22:37

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