Bug 1390042 - Document that 'has_primary_interface?' has been deprecated from Satellite 6.2
Summary: Document that 'has_primary_interface?' has been deprecated from Satellite 6.2
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Documentation
Version: Unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium vote
Target Milestone: Unspecified
Assignee: Russell Dickenson
QA Contact: Julie
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-31 01:43 UTC by Andrew Dahms
Modified: 2019-09-25 21:26 UTC (History)
0 users

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.
Clone Of:
Environment:
Last Closed: 2016-12-14 23:27:56 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2722681 0 None None None 2016-10-31 01:43:49 UTC

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.


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