Wednesday, 2025-02-19

andrewbonneynoonedeadpunk: I'm seeing a few recurring things with regex slashes and 'null' swapping for nothing in the linter patches08:25
andrewbonneyI'm marking them for now, but if they turn out to be valid let me know and I'll change reviews08:25
noonedeadpunkandrewbonney: so these were auto-fixed by ansible-lint09:00
noonedeadpunkI guess in case of null - that's pretty much should not matter, as nothing is the same null09:00
noonedeadpunkas for regex stuff... it's a bit more risky, though if we're to align used quotes - might be valid replacement...09:01
noonedeadpunkso I tried to pretty much leave auto-fixing, except cases when it was dropping comments or new lines after defining empty list/mapping in defaults09:02
andrewbonneyOk, I'll go back over the nulls. It's possible the regexes are fine too, I'm just not certain09:03
noonedeadpunkyeah, I'm not 100% sure about regexp either to be frank09:26
opendevreviewMerged openstack/openstack-ansible-os_rally master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/openstack-ansible-os_rally/+/94140009:42
opendevreviewMerged openstack/openstack-ansible-os_swift master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/openstack-ansible-os_swift/+/94141009:48
opendevreviewMerged openstack/ansible-role-pki master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/ansible-role-pki/+/94189709:51
opendevreviewMerged openstack/openstack-ansible-os_placement master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/openstack-ansible-os_placement/+/94139709:59
opendevreviewMerged openstack/ansible-role-systemd_mount master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/ansible-role-systemd_mount/+/94151410:04
opendevreviewMerged openstack/openstack-ansible-os_tacker master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/openstack-ansible-os_tacker/+/94141810:05
opendevreviewMerged openstack/openstack-ansible-os_ironic master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/openstack-ansible-os_ironic/+/94135910:05
opendevreviewMerged openstack/openstack-ansible-os_magnum master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/openstack-ansible-os_magnum/+/94136610:06
opendevreviewMerged openstack/openstack-ansible-os_zun master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/openstack-ansible-os_zun/+/94143810:14
opendevreviewMerged openstack/openstack-ansible-os_mistral master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/openstack-ansible-os_mistral/+/94137010:16
opendevreviewMerged openstack/openstack-ansible-os_tempest master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/openstack-ansible-os_tempest/+/94142510:25
opendevreviewMerged openstack/openstack-ansible-os_masakari master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/openstack-ansible-os_masakari/+/94136810:36
opendevreviewMerged openstack/openstack-ansible-memcached_server master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/openstack-ansible-memcached_server/+/94150310:45
opendevreviewMerged openstack/openstack-ansible-lxc_container_create master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/openstack-ansible-lxc_container_create/+/94153210:51
opendevreviewMerged openstack/openstack-ansible-ceph_client master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/openstack-ansible-ceph_client/+/94153711:36
birbilakoshi team, I'm scheduling for a lab move of the current openstack-ansible deployment and as such a full shutdown of openstack will be needed. What are the appropriate steps to take in order to avoid data corruption?12:39
noonedeadpunkbirbilakos: the same question was asked just yesterday btw12:52
mnasiadkanoonedeadpunk: do you guys have any automation for documenting variables for roles - or is that all manual effort? Thinking how to streamline that in Kolla-Ansible18:14
jrossermnasiadka: you mean for the openstack docs site?18:16
mnasiadkaYup18:40
mnasiadkaLike a guidance for users which variables can they set for a role18:41
jrossermnasiadka: so we do have some kind of automation for this18:45
jrosser"ish" :)18:45
jrosserlike this https://raw.githubusercontent.com/openstack/openstack-ansible-os_glance/refs/heads/master/doc/source/index.rst18:46
jrosserwe put some effort into making sure that defaults/main.yml is nicely formatted and hopefully contains useful info as well as just what the default values are18:47
jrosserthis might be examples of var usage in some cases18:47
jrosserso for every one of our roles you end up with an autogenerated page like this https://docs.openstack.org/openstack-ansible-os_glance/latest/18:48
jrosserand then extra docs can be added alongside that as needed manually18:48
opendevreviewMerged openstack/openstack-ansible-os_designate master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/openstack-ansible-os_designate/+/94133318:52
opendevreviewMerged openstack/openstack-ansible-os_barbican master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/openstack-ansible-os_barbican/+/94132118:58
birbilakoshello again:)19:01
mnasiadkajrosser: that’s something, thanks19:02
opendevreviewMerged openstack/openstack-ansible-os_cloudkitty master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/openstack-ansible-os_cloudkitty/+/94133119:02
birbilakosi know this has probably been discussed already but I'm looking for some doc on properly shutting down the whole openstack OSA deployment (pending lab move), as well as how to bring it up back appropriately, minimizing the risks19:02
opendevreviewMerged openstack/openstack-ansible-os_ceilometer master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/openstack-ansible-os_ceilometer/+/94132919:05
opendevreviewMerged openstack/openstack-ansible-os_aodh master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/openstack-ansible-os_aodh/+/94131919:10
opendevreviewMerged openstack/ansible-role-systemd_service master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/ansible-role-systemd_service/+/94151219:11
opendevreviewMerged openstack/openstack-ansible-os_nova master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/94138219:12
opendevreviewMerged openstack/openstack-ansible-os_gnocchi master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/openstack-ansible-os_gnocchi/+/94133719:14
noonedeadpunkmnasiadka: I was planning to look at argument specs soonish and as they're machine-readable - it could be better way of documentation19:24
noonedeadpunkthough I really not sure about effort/profit for this19:24
mnasiadkaWe currently have sort of nothing, so I want to start somewhere - if there’s a better option that makes sense - we could think of working together on this…19:31
opendevreviewMerged openstack/openstack-ansible-os_cinder master: Auto-fix yaml[truthy] rules  https://review.opendev.org/c/openstack/openstack-ansible-os_cinder/+/94128519:52
noonedeadpunkit's pretty much the format used for verification and documentation of modules. and recently I've learned, that it can be used for roles as well19:57
noonedeadpunkthough start using it and veifying/describing each and every variable is likely will be very time consuming...19:58
noonedeadpunkbut I haven't tried yet :)19:58
opendevreviewMerged openstack/openstack-ansible-os_trove master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/openstack-ansible-os_trove/+/94143321:55
opendevreviewMerged openstack/ansible-role-uwsgi master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/ansible-role-uwsgi/+/94189122:07
opendevreviewMerged openstack/ansible-role-systemd_networkd master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/ansible-role-systemd_networkd/+/94151822:17
opendevreviewMerged openstack/ansible-role-python_venv_build master: Auto-fix yaml rules  https://review.opendev.org/c/openstack/ansible-role-python_venv_build/+/94152123:06

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