Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1194767 - unable to find foreman_scap_client package to list
Summary: unable to find foreman_scap_client package to list
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Other
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: Šimon Lukašík
QA Contact: Kedar Bidarkar
URL:
Whiteboard:
Depends On:
Blocks: 1047797
TreeView+ depends on / blocked
 
Reported: 2015-02-20 17:21 UTC by Kedar Bidarkar
Modified: 2017-02-23 20:27 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 05:26:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1592 0 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 09:04:35 UTC

Description Kedar Bidarkar 2015-02-20 17:21:45 UTC
Description of problem:

When using puppet-foreman_scap_client rpm  as puppet-module and running "puppet agent -t" . configuration fails due to unavailable package.

[root@xxxx foreman_scap_client]# puppet agent -t 
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Info: Caching catalog for samsung.englab.pnq.redhat.com
Warning: The package type's allow_virtual parameter will be changing its default value from false to true in a future release. If you do not want to allow virtual packages, please explicitly set allow_virtual to false.
   (at /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:816:in `set_default')
Info: Applying configuration version '1424448382'
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list foreman_scap_client' returned 1: Error: No matching Packages to list
Error: /Stage[main]/Foreman_scap_client/Package[foreman_scap_client]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list foreman_scap_client' returned 1: Error: No matching Packages to list
Notice: /Stage[main]/Foreman_scap_client/File[foreman_scap_client]: Dependency Package[foreman_scap_client] has failures: true
Warning: /Stage[main]/Foreman_scap_client/File[foreman_scap_client]: Skipping because of failed dependencies
Notice: Finished catalog run in 1.83 seconds


Version-Release number of selected component (if applicable):
sat6.1 Beta snap3 

How reproducible:
always

Shorts steps to reproduce:
1. run "puppet agent -t" on the provisioned client with foreman_scap_client puppet-class configured.


Steps to Reproduce:
1. convert puppet-foreman_scap_client rpm to puppet-module by running 
"puppet module build" in /usr/share/puppet/modules/foreman_scap_client dir 
after installing the puppet-foreman_scap_client rpm.
2. create a puppet-repo and import this module
3. create cv, publish , promote
4. associate the puppet-class to a host 
5. run "puppet agent -t" on the provisioned client with foreman_scap_client puppet-class configured.


Actual results:
Error: No matching Packages to list

Expected results:
puppet agent run should succeed.

Additional info:

And probably the package we are looking for is rubygem-foreman_scap_client and not just foreman_scap_client.

Comment 2 Shlomi Zadok 2015-02-23 15:29:45 UTC
it is actually looking for foreman_scap_client, which is the client that run on the clients (hosts).
May be related to https://bugzilla.redhat.com/show_bug.cgi?id=1194178 ?

Comment 3 Kedar Bidarkar 2015-02-24 11:30:48 UTC
I think in manifests/init.pp of the rpm puppet-foreman_scap_client , we may need to change 'foreman_scap_client' to 'rubygem-foreman_scap_client'

Comment 5 Shlomi Zadok 2015-02-26 08:08:19 UTC
Fixed at: https://github.com/OpenSCAP/puppet-foreman_scap_client/pull/4

Please note that we need to sync to latest version of foreman_scap_client, before.

@isimluk, can you verify and merge?
Thanks.

Comment 6 Shlomi Zadok 2015-02-26 11:36:03 UTC
https://github.com/OpenSCAP/puppet-foreman_scap_client/pull/4 is now merged.
Pending release of a new rubygem-foreman_scap_client

Comment 7 Šimon Lukašík 2015-02-26 12:16:16 UTC
Version 0.3.4 of puppet-foreman_scap_client has been released:

    https://forge.puppetlabs.com/isimluk/foreman_scap_client

RPM Packaging change set is available through

    https://github.com/isimluk/foreman-packaging/commit/5c896db00345d47528dc321710d93af123fff239

Comment 10 Kedar Bidarkar 2015-03-09 09:14:34 UTC
The puppet module puppet-foreman_scap_client now contains rubygem-foreman_scap_client pacakge info to list.

VERIFIED with sat6.1 Beta snap5

Comment 11 Bryan Kearney 2015-08-11 13:27:08 UTC
This bug is slated to be released with Satellite 6.1.

Comment 12 errata-xmlrpc 2015-08-12 05:26:47 UTC
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.

https://access.redhat.com/errata/RHSA-2015:1592


Note You need to log in before you can comment on or make changes to this bug.