Bug 1480137

Summary: [RFE][overcloud-inspector] Inspector in the Overcloud
Product: Red Hat OpenStack Reporter: mkovacik
Component: openstack-tripleo-heat-templatesAssignee: Derek Higgins <derekh>
Status: CLOSED ERRATA QA Contact: Alexander Chuzhoy <sasha>
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: bfournie, derekh, dsneddon, dtantsur, hjensas, mburns, mlammon, racedoro, rhel-osp-director-maint, sasha, slinaber, sputhenp
Target Milestone: Upstream M2Keywords: FutureFeature, Triaged
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-9.0.0-0.20180710202746.d2994ca.el7ost Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-11 11:48:07 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:
Embargoed:
Bug Depends On: 136770, 1288035, 1367701, 1434060, 1434063, 1441776, 1441794, 1441800    
Bug Blocks: 1442136, 1614484, 1636994    

Description mkovacik 2017-08-10 09:58:50 UTC
We'd like to put the ironic inspector into the Overcloud for the Overcloud Operator to take advantage of.

Comment 2 Dmitry Tantsur 2017-10-02 10:58:10 UTC
Correcting the component. Moving to M3, as it depends on a huge chunk of work in inspector itself.

Comment 3 Dmitry Tantsur 2017-10-02 11:26:46 UTC
*** Bug 1434063 has been marked as a duplicate of this bug. ***

Comment 4 Dmitry Tantsur 2017-10-02 11:42:46 UTC
*** Bug 1367701 has been marked as a duplicate of this bug. ***

Comment 11 Derek Higgins 2018-06-14 14:54:26 UTC
Inspector in the overcloud worked when I last tried it on master, the patches for disjoint ip ranges are still outstanding and may land before release. Without it we can't have HA inspector but this wasn't our initial target.

Comment 13 Alexander Chuzhoy 2018-10-15 19:00:18 UTC
Verified:

Environment:
openstack-tripleo-heat-templates-9.0.0-0.20180919080946.0rc1.0rc1.el7ost.noarch

Verified the ability to introspect in overcloud.

Note that in order to achieve that you need to:

1. include:

--environment-file /usr/share/openstack-tripleo-heat-templates/environments/services/ironic.yaml \
--environment-file /usr/share/openstack-tripleo-heat-templates/environments/services/ironic-inspector.yaml \

2. 
Provide additional configuration details (matching your specific environment) - using the example below:

parameter_defaults:
  NeutronBridgeMappings: datacentre:br-ex,baremetal:br-baremetal
  NeutronFlatNetworks: datacentre,baremetal
  IronicCleaningNetwork: baremetal
  IronicCleaningDiskErase: metadata
  IronicIPXEEnabled: true
  IronicEnabledHardwareTypes:
      - ipmi
      - fake-hardware
  IronicEnabledBootInterfaces: [pxe, fake]
  IronicEnabledConsoleInterfaces: [ipmitool-socat, no-console, fake]
  IronicEnabledDeployInterfaces: [iscsi, direct, fake]
  IronicEnabledInspectInterfaces: [no-inspect, fake]
  IronicEnabledManagementInterfaces: [ipmitool, fake]
  IronicEnabledPowerInterfaces: [ipmitool, fake]
  IronicEnabledRaidInterfaces: [no-raid, fake]
  IronicEnabledVendorInterfaces: [ipmitool, fake, no-vendor]
  NovaSchedulerDefaultFilters:
      - RetryFilter
      - AggregateInstanceExtraSpecsFilter
      - AvailabilityZoneFilter
      - ComputeFilter
      - ComputeCapabilitiesFilter
      - ImagePropertiesFilter
  IronicInspectorIpRange: '192.168.24.210,192.168.24.240'
  IPAImageURLs: '["http://192.168.24.1:8088/agent.kernel", "http://192.168.24.1:8088/agent.ramdisk"]'
  IronicInspectorInterface: 'br-baremetal'

Comment 15 errata-xmlrpc 2019-01-11 11:48:07 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/RHEA-2019:0045