Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1390042 - Document that 'has_primary_interface?' has been deprecated from Satellite 6.2
Document that 'has_primary_interface?' has been deprecated from Satellite 6.2
Status: CLOSED CURRENTRELEASE
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Documentation (Show other bugs)
Unspecified
Unspecified Unspecified
medium Severity medium (vote)
: 6.2.4
: Unused
Assigned To: Russell Dickenson
Julie
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-10-30 21:43 EDT by Andrew Dahms
Modified: 2018-08-31 11 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Deprecated Functionality
Doc Text:
The 'has_primary_interface?' method has been deprecated, so any attempt to use it results in the error "undefined method" being thrown. In Red Hat Satellite 6.2, each host automatically gets a primary interface when it is created, so this method is no longer required. Instead, the following tests whether the interface has an identifier: host.primary_interface.identifier.empty? The whole network interface object is available via the method: host.primary_interface.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-12-14 18:27:56 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2722681 None None None 2016-10-30 21:43 EDT

  None (edit)
Description Andrew Dahms 2016-10-30 21:43:50 EDT
The 'has_primary_interface?' host template method has been deprecated in Satellite 6.2, and a note must be added to the Release Notes calling out this change. See the attached KBase article for details.
Comment 1 Andrew Dahms 2016-10-31 02:13:35 EDT
Assigning to Russell for review.

Russell - if you enter the text into the Doc Text field for this bug, the text will get pulled into the Release Notes document the next time we publish it.
Comment 2 Andrew Dahms 2016-12-14 18:27:56 EST
This content is live on the Customer Portal.

Closing.

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