Thursday, 2024-02-15

opendevreviewTakashi Kajinami proposed openstack/puppet-openstack-integration master: Disable mariadb:10.11 module  https://review.opendev.org/c/openstack/puppet-openstack-integration/+/90906403:39
opendevreviewTakashi Kajinami proposed openstack/puppet-openstack-integration master: Disable mariadb:10.11 module  https://review.opendev.org/c/openstack/puppet-openstack-integration/+/90906404:23
zigotkajinam: Hi man! How are you?07:49
zigoAhead of the swift patch here: https://review.opendev.org/c/openstack/swift/+/90752307:49
zigoI started writing that one: https://review.opendev.org/c/openstack/puppet-swift/+/909004 Any idea why this last one fails its puppet-openstack-litmus-7.27-centos-9-stream job? I don't get it.07:49
zigoIt feels unrelated to me.07:49
tkajinamthat is another fun centos gives us :-)08:05
tkajinamthey fixed one bug in libvirt but released a new bug in mariadb :-)08:05
zigoOh ok. :)08:05
zigoSo I can consider my patch to be working then? :)08:06
zigo(and I can write further ...)08:06
zigotkajinam: Another point: currently, there's no mountpoints fact, because a Ruby package seems missing.08:07
tkajinamI guess so based on the unit tests added but I may add acceptance test to run these resources actually.08:07
zigoShould I write a custom fact to get the free space available for mount points?08:07
zigoYeah, that's not completely finished, will do.08:07
tkajinamdo we need any logic in the module side dependent on mount fact ?08:07
tkajinamI thought all checks should be done by that tooling.08:07
tkajinamI mean, we do not re-implement the same check but use the tool shipped by swift08:08
zigoWell, you don't want puppet to revert what the disk-full-checker cron will do.08:08
zigoIf you believe we shouldn't re-do the work, ok, but I have no idea how we can avoid it.08:08
tkajinamyou can generate a file in a temp path and run the tool over that file and install it to the final destination08:09
tkajinamthis is how I'd implement that logic08:09
tkajinamhaving the same logic in two places are just adding another maintenance hell08:09
zigoAgreed.08:09
zigoThough the swift tool currently doesn't parse the CLI, only the config file. So I'll have to add such feature.08:10
zigoWill do that, that's IMO a very good idea.08:10
zigoThanks for sharing.08:10
tkajinamit'd be probably easier if the tool can read template and generate the final file08:11
tkajinamI mean, use different path for source and destination08:11
tkajinamthen we can use that in deployment tools more easily, I guess08:11
tkajinamwe may still have to check if the puppet resource we currently use allows us to put the file out of the rsync config directory08:12
tkajinamok we may override rsync::server::conf_file08:16
zigoYeah, that's what I thought too. It has multiple advantages to do that.08:21
zigoOne of them being that drive-full-checker is modifying the number of spaces in each directive, which would fool puppet to believe the file has changed.08:22
zigoThat way we avoid this problem.08:22
zigoThe only thing I need, as you wrote, is adding a --source-file option in drive-full-checker ! :)08:23
zigotkajinam: We added the --source-file option to the /usr/bin/drive-full-checker https://review.opendev.org/c/openstack/swift/+/90752309:23
zigotkajinam: In puppet-module-puppetlabs-rsync we don't have conf_file unless we use latest commit, the latest release 1.2.0 doesn't have conf_file as parameter of rsync::server12:51
zigotkajinam: Can we base our thing on a commit, rather than a release of the module?12:58
zigoIf so, how?13:08
opendevreviewThomas Goirand proposed openstack/puppet-swift master: Per daemon log name  https://review.opendev.org/c/openstack/puppet-swift/+/90911413:38
*** finnekit8 is now known as finnekit15:49
opendevreviewMerged openstack/puppet-openstack-guide master: Remove puppet-qdr  https://review.opendev.org/c/openstack/puppet-openstack-guide/+/90797420:24

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