Bug 1610635 - puppet-ironic doesn't correctly configure ironic for ppc64le
Summary: puppet-ironic doesn't correctly configure ironic for ppc64le
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-ironic
Version: 13.0 (Queens)
Hardware: ppc64le
OS: Linux
high
high
Target Milestone: z2
: 13.0 (Queens)
Assignee: Tony Breeds
QA Contact: Alexander Chuzhoy
URL:
Whiteboard:
Depends On:
Blocks: RHOS-13-ppc64le
TreeView+ depends on / blocked
 
Reported: 2018-08-01 05:22 UTC by Tony Breeds
Modified: 2018-12-24 11:40 UTC (History)
9 users (show)

Fixed In Version: puppet-ironic-12.4.0-2.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-29 16:39:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 535622 0 None master: MERGED puppet-ironic: Add support for configuring ppc64le nodes (Ia64dd21b55474d402315ba7c05e28604fff3aea8) 2018-08-01 06:38:08 UTC
OpenStack gerrit 587315 0 None stable/queens: NEW puppet-ironic: Add support for configuring ppc64le nodes (Ia64dd21b55474d402315ba7c05e28604fff3aea8) 2018-08-01 06:37:50 UTC
Red Hat Product Errata RHBA-2018:2574 0 None None None 2018-08-29 16:40:19 UTC

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


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