Thursday, 2024-05-30

opendevreviewOpenStack Proposal Bot proposed openstack/puppet-openstack-integration master: Updated from Puppet OpenStack modules constraints  https://review.opendev.org/c/openstack/puppet-openstack-integration/+/92080202:23
opendevreviewSam Morrison proposed openstack/puppet-ironic stable/2023.1: Bump upper version of puppetlabs-xinetd  https://review.opendev.org/c/openstack/puppet-ironic/+/92080706:45
opendevreviewFrancesco Di Nucci proposed openstack/puppet-nova master: fix: change $modular_libvirt default for RedHat  https://review.opendev.org/c/openstack/puppet-nova/+/92072208:24
opendevreviewMerged openstack/puppet-openstack-integration master: Updated from Puppet OpenStack modules constraints  https://review.opendev.org/c/openstack/puppet-openstack-integration/+/92080209:15
d1nuc0mHi tkajinam, I ask here as it is easier to interact - in rspec tests is "if facts['osfamily'] == 'RedHat'" valid? Or is it a legacy syntax? I found it used in some files, but Zuul seems to not enter in the right case09:56
tkajinamd1nuc0m, I think you have to use the structured pattern such as facts[:os]['family']11:07
d1nuc0mtkajinam, thank you, so there also is another wrong check, as I copied it11:09
d1nuc0mLet me try11:10
d1nuc0mHere it is11:10
d1nuc0mif facts['osfamily'] == 'RedHat'11:10
d1nuc0m        it_configures 'nova compute libvirt services with modular libvirt'11:10
d1nuc0m      end11:10
d1nuc0mSo it should already have worked (?)11:11
tkajinamd1nuc0m, ah11:11
d1nuc0mI'll send patch set 5, let's wait11:11
tkajinamd1nuc0m, as far as I remember we have both legacy facts and structured facts available in CI, because factor db expose both11:11
tkajinambut I might be wrong. probably we should use the structured one consistently11:12
tkajinamd1nuc0m, I was pulled by some internal things today so didn't get much time on that patch. One option I have in my mind about unit test update is just put modular_libvirt=False in every params (unless modular libvirt is required)11:12
opendevreviewFrancesco Di Nucci proposed openstack/puppet-nova master: fix: change $modular_libvirt default for RedHat  https://review.opendev.org/c/openstack/puppet-nova/+/92072211:12
tkajinamthis prevents us from testing defaults but allows us to simplify the overall unit test structure I guess11:13
d1nuc0mWith the new patch it should also allow for defaults test (even though it is probably ugly as my first time with rspec)11:13
opendevreviewTakashi Kajinami proposed openstack/puppet-nova master: Assume structured fact in unit tests  https://review.opendev.org/c/openstack/puppet-nova/+/92082011:15
opendevreviewTakashi Kajinami proposed openstack/puppet-neutron master: Assume structured fact in unit tests  https://review.opendev.org/c/openstack/puppet-neutron/+/92082111:15
tkajinamthx. I'll spend some time tomorrow on it.11:16
d1nuc0mthanks, I hope new patchset will work, otherwise I'll look at it again12:26
opendevreviewSam Morrison proposed openstack/puppet-cinder master: Add manage_package to RBD backend  https://review.opendev.org/c/openstack/puppet-cinder/+/92060322:38

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