Description of problem:
We had an abismall number of failures in our automation with the latest Satellite 6.2 build, but the good news is that these are all false negatives. The issue is caused by the fact that many of our automation around hosts and compute resources relies on using libvirt, which requires the foreman-libvirt package. Since we install this packae during the provisioning step for our CI, whenever we run a CLI command, we also capture the return code of every command executed as well as any stdout, stderr messages returned by hammer.
Right now, when you run hammer, the following message is returned as stderr:
Ignoring ruby-libvirt-0.5.2 because its extensions are not built. Try: gem pristine ruby-libvirt --version 0.5.2
So our assertions that a command is successfully executed are all failing because of this.
Can someone help us out with this? I'd hate to add 'logic' to our framework to look at error messages and ignore specifically this. Also, this means that our customers would also see this, which is suboptimal imo.
Version-Release number of selected component (if applicable):
Satellite 6.2.0 Compose 1
Steps to Reproduce:
1. Install foreman-libvirt onto a Satellite 6.2.0 Compose 1 system
2. Use hammer command to create a new organization with minimal required fields
The organization gets created but you do end up with a warning message displayed in the output
As per Eric Helms:
>> This occurs upstream as well right now and originates from tfm-rubygem-ruby-libvirt which comes from installing foreman-libvirt to get the compute resource.
Upstream bug component is Packaging
*** Bug 1312929 has been marked as a duplicate of this bug. ***
Moving to POST since upstream bug http://projects.theforeman.org/issues/13948 has been closed
Applied in changeset commit:182a53a814cf1946721dbd1dfe2c3e33e00c0805.
This has been fixed since 6.2.0 Snap3
(In reply to Roman Plevka from comment #8)
> This has been fixed since 6.2.0 Snap3
# hammer -u admin -p changeme organization create --name foo
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.