zigo | tkajinam: Hi there! How are you? | 07:35 |
---|---|---|
zigo | I 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 |
zigo | Error: 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/t | 07:35 |
zigo | ype/neutron_network: Could not autoload puppet/provider/neutron_network/openstack: no such file to load -- puppet/provider/neutron | 07:35 |
zigo | For puppetlabs-firewall, the issue was replacing a require by a require_relative. | 07:35 |
zigo | For voxpupuli-corosync, the issue was a missing symlink to rexml Gem. | 07:36 |
zigo | Any clue what could be the problem with the neutron_network one? | 07:36 |
* zigo looks at the puppetserver compile logs. | 07:36 | |
zigo | This one is failing: | 07:55 |
zigo | https://github.com/openstack/puppet-neutron/blob/master/lib/puppet/provider/neutron.rb#L1 | 07:55 |
opendevreview | Thomas Goirand proposed openstack/puppet-neutron master: Fix autoloading of openstack provider https://review.opendev.org/c/openstack/puppet-neutron/+/955767 | 10:22 |
zigo | tkajinam: : 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 |
zigo | Gosh, this took me HOURS to find out and fix ... | 10:23 |
zigo | Yeah, looks like puppet-cinder has the same issue. | 10:47 |
opendevreview | Thomas Goirand proposed openstack/puppet-cinder master: Fix autoloading of openstack provider https://review.opendev.org/c/openstack/puppet-cinder/+/955770 | 10:58 |
opendevreview | Thomas Goirand proposed openstack/puppet-tempest master: Fix autoloading of openstack provider https://review.opendev.org/c/openstack/puppet-tempest/+/955771 | 11:02 |
tkajinam | zigo, for me the problem looks like one with installation, not with specific modules. | 11:32 |
tkajinam | zigo, 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 |
tkajinam | I'd probably suggest checking how LOAD_PATH is set | 11:34 |
tkajinam | zigo, https://github.com/puppetlabs/puppet/blob/main/lib/puppet.rb#L163-L166 | 11:46 |
*** amoralej_ is now known as amoralej | 12:07 | |
zigo | tkajinam: All my puppet modules are under /usr/share/puppet/modules | 13:44 |
zigo | Only OpenStack modules are doing that. | 14:13 |
tkajinam | zigo, importing an external module is not quite specific to openstack modulei afaik | 15:05 |
tkajinam | zigo, did you try https://github.com/voxpupuli/puppet-network/issues/77#issuecomment-1464934486 ? | 15:05 |
zigo | Will do. | 15:05 |
tkajinam | if 2nd run can succeed then it looks like a bug of puppet server which does not load modules at the expected timing | 15:06 |
zigo | That's what is happening indeed. | 15:06 |
opendevreview | Merged openstack/puppet-heat master: Remove dedicated heat-cfn user https://review.opendev.org/c/openstack/puppet-heat/+/954965 | 23:18 |
opendevreview | Merged openstack/puppet-heat master: Deprecate support for bind_host and bind_port https://review.opendev.org/c/openstack/puppet-heat/+/954955 | 23:18 |
opendevreview | Merged openstack/puppet-neutron master: l3: Support conntrackd options https://review.opendev.org/c/openstack/puppet-neutron/+/941506 | 23:35 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!