Bug 1390042

Summary: Document that 'has_primary_interface?' has been deprecated from Satellite 6.2
Product: Red Hat Satellite Reporter: Andrew Dahms <adahms>
Component: DocumentationAssignee: Russell Dickenson <rdickens>
Status: CLOSED CURRENTRELEASE QA Contact: Julie <juwu>
Severity: medium Docs Contact:
Priority: medium    
Version: Unspecified   
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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 23:27:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Andrew Dahms 2016-10-31 01:43:50 UTC
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 06:13:35 UTC
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 23:27:56 UTC
This content is live on the Customer Portal.

Closing.