evgeni
August 27, 2021, 7:56am
2
Exec[foreman-rake-db:migrate]/returns: uninitialized constant MigratePortOverridesToInt::Puppetclass
Exec[foreman-rake-db:migrate]/returns: /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_hooks-0.3.17/lib/foreman_hooks/as_depende
ncies_hook.rb:4:in `load_missing_constant'
Exec[foreman-rake-db:migrate]/returns: /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-4.3.3/db/migrate/20200117135424_
migrate_port_overrides_to_int.rb:13:in `transform_lookup_values'
Exec[foreman-rake-db:migrate]/returns: /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-4.3.3/db/migrate/20200117135424_
migrate_port_overrides_to_int.rb:3:in `up'
…
Which looks like Refactor #33137: Changes to align wiht foreman_puppet - OpenSCAP - Foreman
But there is no released foreman_openscap
yet with that change
cc @lzap @Ondrej_Prazak
lzap
September 1, 2021, 9:32am
3
It was @ezr-ondrej who created the patch and I don’t understand - there is defined? ForemanPuppet
in that method. The class appears to be defined in the foreman_puppet plugin.
Is it possible that during the test ForemanPuppet gets defined without puppet plugin installed?
evgeni
September 1, 2021, 9:35am
4
You’re late to the party, we already got a fixed foreman_openscap
out
https://github.com/theforeman/foreman-packaging/pull/7042
and the later pipeline passed
https://ci.theforeman.org/job/foreman-plugins-3.0-rpm-test-pipeline/3/
Granted, I could have updated it here, sorry
1 Like
system
Closed
September 8, 2021, 9:35am
5
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.