Thursday, 2025-07-24

zigotkajinam: Hi there! How are you?07:35
zigoI was able to fix most of my "rror while evaluating a Virtual Query, Could not autoload puppet/type/..." issues, though I still get one with the openstack provider, for example with the neutron_network provider. It feels like this is the same issue I'm getting with the tempest module when retriving neutron network IDs or flavor IDs. Here's the error:07:35
zigoError: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Virtual Query, Could not autoload puppet/t07:35
zigoype/neutron_network: Could not autoload puppet/provider/neutron_network/openstack: no such file to load -- puppet/provider/neutron07:35
zigoFor puppetlabs-firewall, the issue was replacing a require by a require_relative.07:35
zigoFor voxpupuli-corosync, the issue was a missing symlink to rexml Gem.07:36
zigoAny clue what could be the problem with the neutron_network one?07:36
* zigo looks at the puppetserver compile logs.07:36
zigoThis one is failing:07:55
zigohttps://github.com/openstack/puppet-neutron/blob/master/lib/puppet/provider/neutron.rb#L107:55
opendevreviewThomas Goirand proposed openstack/puppet-neutron master: Fix autoloading of openstack provider  https://review.opendev.org/c/openstack/puppet-neutron/+/95576710:22
zigotkajinam: : This patch fixes the issue for me. It's probably also present in other providers, like in cinder (at least), and tempest. I'll see if I can fix them too.10:22
zigoGosh, this took me HOURS to find out and fix ...10:23
zigoYeah, looks like puppet-cinder has the same issue.10:47
opendevreviewThomas Goirand proposed openstack/puppet-cinder master: Fix autoloading of openstack provider  https://review.opendev.org/c/openstack/puppet-cinder/+/95577010:58
opendevreviewThomas Goirand proposed openstack/puppet-tempest master: Fix autoloading of openstack provider  https://review.opendev.org/c/openstack/puppet-tempest/+/95577111:02
tkajinamzigo, for me the problem looks like one with installation, not with specific modules.11:32
tkajinamzigo, as long as these modules are installed in the correct places these should be loaded without that hack. Maybe you add openstack modules and the other modules in different places ?11:33
tkajinamI'd probably suggest checking how LOAD_PATH is set11:34
tkajinamzigo, https://github.com/puppetlabs/puppet/blob/main/lib/puppet.rb#L163-L16611:46
*** amoralej_ is now known as amoralej12:07
zigotkajinam: All my puppet modules are under /usr/share/puppet/modules13:44
zigoOnly OpenStack modules are doing that.14:13
tkajinamzigo, importing an external module is not quite specific to openstack modulei afaik15:05
tkajinamzigo, did you try https://github.com/voxpupuli/puppet-network/issues/77#issuecomment-1464934486 ?15:05
zigoWill do.15:05
tkajinamif 2nd run can succeed then it looks like a bug of puppet server which does not load modules at the expected timing15:06
zigoThat's what is happening indeed.15:06
opendevreviewMerged openstack/puppet-heat master: Remove dedicated heat-cfn user  https://review.opendev.org/c/openstack/puppet-heat/+/95496523:18
opendevreviewMerged openstack/puppet-heat master: Deprecate support for bind_host and bind_port  https://review.opendev.org/c/openstack/puppet-heat/+/95495523:18
opendevreviewMerged openstack/puppet-neutron master: l3: Support conntrackd options  https://review.opendev.org/c/openstack/puppet-neutron/+/94150623:35

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