Bug #23362
closed
Hammer: many deprecation warnings in 1.17.0
Added by Stephan Schultchen over 6 years ago.
Updated almost 5 years ago.
Description
since udating to 1.17.0 hammer gives deprecation warnings like this:
/opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/appender.rb:139: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/awesome_print-1.7.0/lib/awesome_print/formatters/base_formatter.rb:31: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/awesome_print-1.7.0/lib/awesome_print/formatters/base_formatter.rb:31: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/awesome_print-1.7.0/lib/awesome_print/formatters/base_formatter.rb:31: warning: constant ::Fixnum is deprecated
uninitialized constant Fog::Compute::Ovirt
also i am irritated by "uninitialized constant Fog::Compute::Ovirt" the host is beeing created in VMWave, not in OVirt/RHEV
- Subject changed from Hammer: many derecation warnings in 1.17.0 to Hammer: many deprecation warnings in 1.17.0
- Category set to Host creation
- Translation missing: en.field_release set to 296
- Related to Bug #23058: Warning: lib/hammer_cli_import/persistentmap.rb:27: warning: constant ::Fixnum is deprecated added
- Project changed from Foreman to Hammer CLI
- Category changed from Host creation to Hammer core
- Priority changed from Normal to High
There was an issue with tagging the packages an therefore they didn't make it into 1.17. The next minor release should fix that. I'll keep this issue open until we verify it's fixed by the next release.
Temp fix for hammer command:
sed -i 's/Fixnum/Integer/g' /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb
- Status changed from New to Closed
- Triaged changed from No to Yes
Not reproducible on the latest and the newest dependency gems are released. Closing.
If you still need help with this one, please reopen the issue.
Also available in: Atom
PDF