<pre> TypeError: Cannot read property 'host' of undefined at Scope.$scope.autoAttachSubscriptions (content-host-base-subscriptions.controller.self.js?body=1:37) </pre> Clicking auto-attach on a content host subscriptions UI page is incorrectly referencing host <pre> $scope.autoAttachSubscriptions = function () { $scope.subscription.workingMode = true; HostSubscription.autoAttach({id: $scope.contentHost.host.id}, success, failure); }; </pre>
Created from redmine issue http://projects.theforeman.org/issues/14217
Upstream bug assigned to ehelms
Moving to POST since upstream bug http://projects.theforeman.org/issues/14217 has been closed
*** Bug 1335068 has been marked as a duplicate of this bug. ***
VERIFIED on sat6.2.0 ga18.1 The error is gone, auto attach works.
One of my customer faced the same issue on latest "Chrome - 51.0.2704.103 m". Steps to Reproduce: 1. Register the system against satellite in CLI. 2. Login satellite web UI and auto attach the system: Hosts -> Content Hosts-> Select the system -> Subscriptions -> Subscriptions -> click 'Run Auto-Attach' button. 3. Wait 10 minutes and check the consumed subscriptions: 1)The status of web UI is not change. 2)no consumed subscriptions are listed in CLI.
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/RHBA-2016:1501