Tuesday, 2024-04-23

opendevreviewTakashi Kajinami proposed openstack/puppet-swift master: ceilometer: Fix wrong rendering of ignore_projects  https://review.opendev.org/c/openstack/puppet-swift/+/91669500:55
opendevreviewTakashi Kajinami proposed openstack/puppet-swift master: ceilometer: Require default_transport_url  https://review.opendev.org/c/openstack/puppet-swift/+/91669601:28
opendevreviewTakashi Kajinami proposed openstack/puppet-swift master: Make sure storage server config files are not world-readable  https://review.opendev.org/c/openstack/puppet-swift/+/91662301:48
opendevreviewTakashi Kajinami proposed openstack/puppet-swift master: Make sure storage server config files are not world-readable  https://review.opendev.org/c/openstack/puppet-swift/+/91662301:48
opendevreviewTakashi Kajinami proposed openstack/puppet-swift master: ceilometer: Require default_transport_url  https://review.opendev.org/c/openstack/puppet-swift/+/91669602:51
opendevreviewTakashi Kajinami proposed openstack/puppet-barbican master: Remove old note about database options  https://review.opendev.org/c/openstack/puppet-barbican/+/91670405:33
opendevreviewTakashi Kajinami proposed openstack/puppet-octavia master: Remove deprecated neutron parameters  https://review.opendev.org/c/openstack/puppet-octavia/+/91671207:11
opendevreviewTobias Urdin proposed openstack/puppet-nova master: Add nova::compute::libvirt::secret_ceph resource  https://review.opendev.org/c/openstack/puppet-nova/+/91639007:13
opendevreviewTobias Urdin proposed openstack/puppet-nova master: Add nova::compute::libvirt::secret_ceph resource  https://review.opendev.org/c/openstack/puppet-nova/+/91639007:13
opendevreviewTobias Urdin proposed openstack/puppet-nova master: Use secret_ceph resource in nova::compute::rbd  https://review.opendev.org/c/openstack/puppet-nova/+/91639107:13
opendevreviewTakashi Kajinami proposed openstack/puppet-nova master: Remove deprecated cells v1 upgrade_levels parameters  https://review.opendev.org/c/openstack/puppet-nova/+/91671407:22
opendevreviewTakashi Kajinami proposed openstack/puppet-nova master: Remove deprecated nova::periodic_interval  https://review.opendev.org/c/openstack/puppet-nova/+/91671507:22
opendevreviewMerged openstack/puppet-nova master: libvirt: Support array for log_filters and log_outputs  https://review.opendev.org/c/openstack/puppet-nova/+/91637908:05
d1nuc0mHi all, I'm trying to set some policies with puppet-openstacklib, but probably I'm not understanding how to format policies correctly - see an example here https://pastebin.com/tRd40VKm08:05
d1nuc0mIt leads to error like no implicit conversion of String into Hash08:05
d1nuc0mAny suggestion?08:06
opendevreviewTakashi Kajinami proposed openstack/puppet-octavia master: Remove deprecated neutron parameters  https://review.opendev.org/c/openstack/puppet-octavia/+/91671208:35
tkajinamd1nuc0m, I do not recommend using openstacklib::policy directly. each module has its own policy class which manages the required options as well.09:01
tkajinamd1nuc0m, and see https://github.com/openstack/puppet-glance/blob/master/manifests/policy.pp#L19-L2809:01
tkajinamin recent versions key can be omitted and the top level key (which is used as title of openstacklib::policy::base defined resource) is used by default09:02
d1nuc0mThank you, I'll use the module parameters09:03
tkajinamdanfai, https://paste.opendev.org/show/baNLjXwkFNpRvk4EfSkt/09:04
tkajinamUse the same format for the module specific class, too09:04
tkajinamdanfai, sorry, wrong mention...09:04
tkajinamd1nuc0m, ^^^09:04
d1nuc0mNo problem, I was wondering what danfai meant XD09:05
tkajinamit was picked up by auto complete (d + <tab>). I was too lazy to type the whole nick :-P09:05
opendevreviewTobias Urdin proposed openstack/puppet-nova master: Add nova::compute::libvirt::secret_ceph resource  https://review.opendev.org/c/openstack/puppet-nova/+/91639009:09
opendevreviewTobias Urdin proposed openstack/puppet-nova master: Use secret_ceph resource in nova::compute::rbd  https://review.opendev.org/c/openstack/puppet-nova/+/91639109:10
opendevreviewTakashi Kajinami proposed openstack/puppet-glance master: Remove unnecessary openstacklib::policy resource tag  https://review.opendev.org/c/openstack/puppet-glance/+/91674809:15
d1nuc0m@tkajinam, probably I'm missing something, tried to use glance::policy and got duplicate declaration even if I'm not using it elsewhere https://paste.opendev.org/show/bqNb5JGwl0RRHJUITFsC/09:17
d1nuc0mtkajinam, sorry for @09:17
opendevreviewTakashi Kajinami proposed openstack/puppet-trove master: Remove trove::api::service_credentials  https://review.opendev.org/c/openstack/puppet-trove/+/91674909:18
tkajinamd1nuc0m, probably you have it after glance::api ?09:19
d1nuc0mYes tkajinam09:19
tkajinamd1nuc0m, if you defined it with parameters then that should be defined before glance::api which includes the glance::policy class09:19
d1nuc0mThank you, or could I put the data in Hiera (?)09:21
tkajinamyeah that's also possible09:22
tkajinamif you already use hiera then using hiera would be a better approach instead of mixing two methods to give values09:22
d1nuc0mYes I'm using hiera for all the data09:24
d1nuc0mtkajinam, just a detail, in Hiera it looks like the key is mandatory (using 2023.2)09:30
tkajinamhm that's wired09:37
d1nuc0mYep, I got Evaluation Error: Error while evaluating a Resource Statement, Openstacklib::Policy::Base[context_is_admin]: expects a value for parameter 'key'09:38
tkajinamhow did you install the puppet modules ?09:40
tkajinammaybe you can check if your local code actually contains https://review.opendev.org/c/openstack/puppet-openstacklib/+/90435509:40
d1nuc0mThanks, it does not (strange as it is deployed through r10k and it is on GitHub...)09:45
tkajinamyeah09:45
d1nuc0m* EDIT tkajinam I'm on 2023.2 branch, and it still has the old code https://github.com/openstack/puppet-openstacklib/blob/stable/2023.2/manifests/policy/base.pp09:45
tkajinamahh, ok09:45
tkajinamit was merged during 2024.1. I misunderstood the timeline09:46
d1nuc0mHaven't upgraded to Caracal yet09:46
tkajinamthen you need "key"09:46
d1nuc0mYeah, then it worked09:46
tkajinamgood09:46
d1nuc0mAs now it is working, can a PR to add examples be useful?09:47
d1nuc0mIt shouldn't take me too much09:47
tkajinamI tend to leave it now. we had some challenges with maintaining examples in the past (mainly because people do not update these when updating manifests)... at least we already documented the usage in the parameter description and that may meet the minimum requirement, I guess09:48
d1nuc0mI don't know, I struggled to understand it 😅09:49
opendevreviewTakashi Kajinami proposed openstack/puppet-openstacklib master: Elaborate usage of openstacklib::policy::policies  https://review.opendev.org/c/openstack/puppet-openstacklib/+/91675209:57
opendevreviewTakashi Kajinami proposed openstack/puppet-openstacklib master: Elaborate usage of openstacklib::policy::policies  https://review.opendev.org/c/openstack/puppet-openstacklib/+/91675209:58
tkajinam^^^ d1nuc0m10:01
d1nuc0mThank you!10:02
*** finnekit2 is now known as finnekit11:39
opendevreviewTobias Urdin proposed openstack/puppet-nova stable/zed: DNM: test bundler 2.4.22  https://review.opendev.org/c/openstack/puppet-nova/+/91642613:18
opendevreviewMerged openstack/puppet-glance master: Remove unnecessary openstacklib::policy resource tag  https://review.opendev.org/c/openstack/puppet-glance/+/91674814:26
opendevreviewTakashi Kajinami proposed openstack/puppet-swift master: Make sure storage server config files are not world-readable  https://review.opendev.org/c/openstack/puppet-swift/+/91662315:54
opendevreviewTobias Urdin proposed openstack/puppet-nova stable/zed: DNM: test bundler 2.4.22  https://review.opendev.org/c/openstack/puppet-nova/+/91642619:02

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