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 1191214 - errata apply with inc update includes full system info and sends even without checking 'apply to content hosts'
Summary: errata apply with inc update includes full system info and sends even without...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Walden Raines
QA Contact: sthirugn@redhat.com
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-10 17:34 UTC by Walden Raines
Modified: 2017-02-23 20:33 UTC (History)
3 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 9298 0 None None None 2016-04-22 16:36:34 UTC
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 Walden Raines 2015-02-10 17:34:34 UTC
Unsure if related, but it seems that errata are applied to systems even when the 'apply errata to content hosts are not checked.  

Also, when performing an incremental errata through the apply errata screen, i see the full systems being sent to the server:


{
   "add_content":{
      "errata_ids":[
         "d960bf2d-bc9c-4f53-af27-bdad55a6a775"
      ]
   },
   "content_view_version_environments":[
      {
         "content_view_version_id":49,
         "environment_ids":[
            1
         ]
      }
   ],
   "propagate_to_composites":true,
   "resolve_dependencies":true,
   "update_systems":{
      "included":{
         "ids":[
            "0422339f-83f7-4d4d-9352-49004aae9497"
         ],
         "resources":[
            {
               "uuid":"0422339f-83f7-4d4d-9352-49004aae9497",
               "name":"client.devel.foo6344",
               "description":"Initial Registration Params",
               "location":"None",
               "content_view":{
                  "id":17,
                  "name":"component2",
                  "label":"component2",
                  "description":null,
                  "organization_id":1,
                  "default":false,
                  "created_at":"2015-02-09T12:06:14-05:00",
                  "updated_at":"2015-02-09T12:09:03-05:00",
                  "composite":null,
                  "next_version":2,
                  "organization":"Default Organization",
                  "environments":[
                     "Library"
                  ],
                  "versions":[
                     "1.0",
                     "1.1"
                  ],
                  "versions_details":[
                     {
                        "version":"1.0",
                        "published":"2015-02-09 12:09:03 -0500",
                        "environments":[

                        ]
                     },
                     {
                        "version":"1.1",
                        "published":"2015-02-09 14:24:58 -0500",
                        "environments":[
                           "Library"
                        ]
                     }
                  ]
               },
               "content_view_id":17,
               "distribution":"Red Hat Enterprise Linux Server 6.4",
               "katello_agent_installed":true,
               "registered_by":"Admin User",
               "content_overrides":[

               ],
               "entitlementStatus":"valid",
               "autoheal":false,
               "href":"/consumers/0422339f-83f7-4d4d-9352-49004aae9497",
               "release":null,
               "checkin_time":"2015-02-09T14:31:58-05:00",
               "created":"2015-01-05T14:21:30.647+0000",
               "installedProducts":[
                  {
                     "productId":"69",
                     "productName":"Red Hat Enterprise Linux Server",
                     "version":"6.5",
                     "arch":"x86_64",
                     "status":"green",
                     "startDate":"2011-10-11T04:00:00.000+0000",
                     "endDate":"2022-01-01T04:59:59.000+0000"
                  }
               ],
               "service_level":"",
               "products":[
                  {
                     "id":103,
                     "name":"neederrata"
                  },
                  {
                     "id":53,
                     "name":"Red Hat Enterprise Linux Load Balancer for RHEL Server"
                  },
                  {
                     "id":66,
                     "name":"Red Hat Beta"
                  },
                  {
                     "id":90,
                     "name":"Red Hat Enterprise Linux High Availability for RHEL Server"
                  },
                  {
                     "id":91,
                     "name":"Red Hat Enterprise Linux Server"
                  },
                  {
                     "id":94,
                     "name":"Red Hat Satellite Tools 6 MDP"
                  },
                  {
                     "id":95,
                     "name":"Red Hat Satellite 6 MDP"
                  },
                  {
                     "id":96,
                     "name":"Red Hat Satellite Capsule 6 Beta"
                  },
                  {
                     "id":97,
                     "name":"Oracle Java for RHEL Server"
                  },
                  {
                     "id":98,
                     "name":"Red Hat Satellite 6 Beta"
                  },
                  {
                     "id":99,
                     "name":"Red Hat Satellite"
                  }
               ],
               "host":null,
               "hostCollections":[

               ],
               "customInfo":[

               ],
               "environment":{
                  "library":true,
                  "id":1,
                  "name":"Library",
                  "label":"Library",
                  "description":null,
                  "organization":{
                     "name":"Default Organization",
                     "label":"Default_Organization",
                     "id":1
                  },
                  "created_at":"2014-12-08T15:39:47-05:00",
                  "updated_at":"2014-12-08T15:39:47-05:00",
                  "prior":null,
                  "successor":null,
                  "counts":{
                     "content_hosts":1,
                     "content_views":10,
                     "packages":18553,
                     "puppet_modules":3,
                     "errata":{
                        "security":605,
                        "bugfix":1879,
                        "enhancement":365,
                        "total":2849
                     },
                     "yum_repositories":9,
                     "docker_repositories":0,
                     "products":4
                  },
                  "permissions":{
                     "view_lifecycle_environments":true,
                     "edit_lifecycle_environments":true,
                     "destroy_lifecycle_environments":false,
                     "promote_or_remove_content_views_to_environments":true
                  }
               },
               "activation_keys":[

               ],
               "organization_id":1,
               "id":"0422339f-83f7-4d4d-9352-49004aae9497",
               "errata_counts":{
                  "security":39,
                  "bugfix":144,
                  "enhancement":19,
                  "total":202
               },
               "release_ver":null,
               "permissions":{
                  "editable":true
               },
               "selected":true
            }
         ],
         "search":null,
         "params":{
            "organization_id":"1",
            "errata_ids[]":[
               "d960bf2d-bc9c-4f53-af27-bdad55a6a775"
            ],
            "page":1,
            "search":""
         }
      },
      "excluded":{
         "ids":[

         ]
      },
      "errata_ids":[
         "d960bf2d-bc9c-4f53-af27-bdad55a6a775"
      ],
      "organization_id":"1"
   },
   "api_version":"v2",
   "content_view_version":{

   }
}

Comment 1 Walden Raines 2015-02-10 17:34:35 UTC
Created from redmine issue http://projects.theforeman.org/issues/9298

Comment 2 Walden Raines 2015-02-10 17:34:37 UTC
Upstream bug assigned to walden

Comment 4 Walden Raines 2015-02-10 17:53:21 UTC
PR:  https://github.com/Katello/katello/pull/4993

Note that the fix only addresses the issue of not setting update_systems correctly with the checkbox.  The issue of the resources array appearing in the post data will be addressed in http://projects.theforeman.org/issues/9313

Comment 5 Bryan Kearney 2015-02-10 19:04:44 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/9298 has been closed
-------------
Walden Raines
Applied in changeset commit:katello|fdc996f71c846b643586f2aa0b7b7434c1df90db.

Comment 7 sthirugn@redhat.com 2015-03-17 20:41:38 UTC
Verified in Satellite-6.1.0-RHEL-6-20150311.1

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

Comment 9 errata-xmlrpc 2015-08-12 05:24:22 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.