Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1610635

Summary: puppet-ironic doesn't correctly configure ironic for ppc64le
Product: Red Hat OpenStack Reporter: Tony Breeds <tonyb>
Component: puppet-ironicAssignee: Tony Breeds <tonyb>
Status: CLOSED ERRATA QA Contact: Alexander Chuzhoy <sasha>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: augol, bfournie, jjoyce, jschluet, sasha, sclewis, slinaber, tonyb, tvignaud
Target Milestone: z2Keywords: Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: ppc64le   
OS: Linux   
Whiteboard:
Fixed In Version: puppet-ironic-12.4.0-2.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-29 16:39:18 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:    
Bug Blocks: 1496527    

Description Tony Breeds 2018-08-01 05:22:53 UTC
When configuring ironic services with puppet, puppet-ironic needs to create ppc64le directories in the tftproot and configure ironic parameters such as min_command_interval, pxe_config_template_by_arch, and pxe/pxe_bootfile_name_by_arch.

Comment 10 Joanne O'Flynn 2018-08-15 08:06:17 UTC
This bug is marked for inclusion in the errata but does not currently contain draft documentation text. To ensure the timely release of this advisory please provide draft documentation text for this bug as soon as possible.

If you do not think this bug requires errata documentation, set the requires_doc_text flag to "-".


To add draft documentation text:

* Select the documentation type from the "Doc Type" drop down field.

* A template will be provided in the "Doc Text" field based on the "Doc Type" value selected. Enter draft text in the "Doc Text" field.

Comment 11 Tony Breeds 2018-08-15 08:25:53 UTC
The docs associated with this bug are going to be delivered outside of the Errata process and are being tracked at: https://bugzilla.redhat.com/show_bug.cgi?id=1599782

Comment 12 Alexander Chuzhoy 2018-08-23 21:12:36 UTC
Verified:
Environment: puppet-ironic-12.4.0-2.el7ost.noarch

Added to undercloud.conf:

crudini --set undercloud.conf DEFAULT additional_architectures ppc64le
crudini --set undercloud.conf DEFAULT ipxe_enabled false


Then:
(undercloud) [stack@undercloud75 ~]$ sudo md5sum /tftpboot/*/default                                                                                                                          
898c3d02968b64f3d86384f9311c7fe4  /tftpboot/ppc64le/default
898c3d02968b64f3d86384f9311c7fe4  /tftpboot/pxelinux.cfg/default



 sudo grep -Eir enable_ppc64le /etc/puppet                                                                                                                
/etc/puppet/hieradata/puppet-stack-config.yaml:ironic::pxe::enable_ppc64le: true
/etc/puppet/hieradata/puppet-stack-config.yaml:ironic::inspector::enable_ppc64le: true


ls /tftpboot/
chain.c32  ipxe.efi  map-file  master_images  ppc64le  pxelinux.0  pxelinux.cfg  undionly.kpxe

(undercloud) [stack@undercloud75 ~]$ sudo grep OPAL /etc/ironic-inspector/dnsmasq.conf
# Client is ppc64le (OPAL) box and doesn't need a chain loader, but does need a custom config


Note:
The above didn't exist before adding the 2 entries to undercloud.conf.

Comment 14 errata-xmlrpc 2018-08-29 16:39:18 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/RHBA-2018:2574