RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1699743 - can not provision PPC64LE RHEL8 host: grubby-bls: the option "--yaboot" was deprecated
Summary: can not provision PPC64LE RHEL8 host: grubby-bls: the option "--yaboot" was d...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: cobbler
Version: 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: 8.0
Assignee: Michael Mráka
QA Contact: Jan Hutař
URL:
Whiteboard:
Depends On:
Blocks: 1702181
TreeView+ depends on / blocked
 
Reported: 2019-04-15 07:07 UTC by Jan Hutař
Modified: 2020-11-14 13:40 UTC (History)
5 users (show)

Fixed In Version: cobbler-2.0.7.1-6-el8 rhn-tools-1.0-8010020190425142954.f69d1239
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1702181 (view as bug list)
Environment:
Last Closed: 2019-11-05 20:54:25 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:3355 0 None None None 2019-11-05 20:54:27 UTC

Description Jan Hutař 2019-04-15 07:07:30 UTC
Description of problem:
I can not provision PPC64LE RHEL8 host: grubby-bls: the option "--yaboot" was deprecated


Version-Release number of selected component (if applicable):
Server side:
satellite-schema-5.8.0.51-1.el6sat.noarch
spacewalk-java-2.5.14-128.el6sat.noarch
spacewalk-backend-2.5.3-173.el6sat.noarch
cobbler-2.0.7-75.el6sat.noarch
Client side:
# rpm -qa | grep -e rhn -e koan -e spacewalk | sort
dnf-plugin-spacewalk-2.8.5-9.module+el8+2754+6a08e8f4.noarch
koan-2.0.7.1-4.module+el8+2859+0dc20def.noarch
python3-dnf-plugin-spacewalk-2.8.5-9.module+el8+2754+6a08e8f4.noarch
python3-koan-2.0.7.1-4.module+el8+2859+0dc20def.noarch
python3-rhncfg-5.10.120-10.module+el8+2859+0dc20def.noarch
python3-rhncfg-actions-5.10.120-10.module+el8+2859+0dc20def.noarch
python3-rhncfg-client-5.10.120-10.module+el8+2859+0dc20def.noarch
python3-rhncfg-management-5.10.120-10.module+el8+2859+0dc20def.noarch
python3-rhn-check-2.8.16-12.module+el8+2754+6a08e8f4.ppc64le
python3-rhn-client-tools-2.8.16-12.module+el8+2754+6a08e8f4.ppc64le
python3-rhnlib-2.8.6-7.module+el8+2754+6a08e8f4.noarch
python3-rhnpush-5.5.110-6.module+el8+2757+b847be8a.noarch
python3-rhn-setup-2.8.16-12.module+el8+2754+6a08e8f4.ppc64le
python3-spacewalk-abrt-2.8.3-5.module+el8+2757+b847be8a.noarch
python3-spacewalk-backend-libs-2.8.48-4.module+el8+2757+b847be8a.noarch
python3-spacewalk-koan-2.8.6-6.module+el8+2757+b847be8a.noarch
python3-spacewalk-oscap-2.8.5-4.module+el8+2757+b847be8a.noarch
python3-spacewalk-usix-2.8.1-5.module+el8+2757+b847be8a.noarch
rhncfg-5.10.120-10.module+el8+2859+0dc20def.noarch
rhncfg-actions-5.10.120-10.module+el8+2859+0dc20def.noarch
rhncfg-client-5.10.120-10.module+el8+2859+0dc20def.noarch
rhncfg-management-5.10.120-10.module+el8+2859+0dc20def.noarch
rhn-check-2.8.16-12.module+el8+2754+6a08e8f4.ppc64le
rhn-client-tools-2.8.16-12.module+el8+2754+6a08e8f4.ppc64le
rhn-custom-info-5.4.42-4.module+el8+2757+b847be8a.noarch
rhnlib-2.8.6-7.module+el8+2754+6a08e8f4.noarch
rhnpush-5.5.110-6.module+el8+2757+b847be8a.noarch
rhnsd-5.0.35-3.module+el8+2754+6a08e8f4.ppc64le
rhn-setup-2.8.16-12.module+el8+2754+6a08e8f4.ppc64le
spacewalk-abrt-2.8.3-5.module+el8+2757+b847be8a.noarch
spacewalk-client-cert-2.8.2-3.module+el8+2757+b847be8a.noarch
spacewalk-koan-2.8.6-6.module+el8+2757+b847be8a.noarch
spacewalk-oscap-2.8.5-4.module+el8+2757+b847be8a.noarch
spacewalk-remote-utils-2.8.4-5.module+el8+2757+b847be8a.noarch
spacewalk-usix-2.8.1-5.module+el8+2757+b847be8a.noarch


How reproducible:
always


Steps to Reproduce:
1. Create KS for RHEL8 ppc64le channel (KS: ks-rhel-ppc64le-baseos-8-8.0)
2. Attempt to provision a host with it


Actual results:
# rhn_check -vv
[...]
- reading URL: http://<sat>/cobbler/images/ks-rhel-ppc64le-baseos-8-80/vmlinuz
grubby-bls: the option "--bootloader-probe" was deprecated
Try 'grubby-bls --help' to list supported options
- ['/sbin/grubby', '--add-kernel', '/boot/vmlinuz', '--initrd', '/boot/initrd.img', '--args', 'ks=http://<sat>/cblr/svc/op/ks/system/<host>:1 ksdevice=link lang= kssendmac text ', '--make-default', '--title=kick1555311680', '--yaboot']

grubby-bls: the option "--yaboot" was deprecated
Try 'grubby-bls --help' to list supported options

command failed (1)
D: Sending back response(1, 'Kickstart failed. Koan error.', {'koan': 'command failed (1)'})
D: do_call packages.checkNeedUpdate('rhnsd=1',){}
D: local action status: (0, 'rpm database not modified since last update (or package list recently updated)', {})
D: rpcServer: Calling XMLRPC registration.welcome_message


Expected results:
Should work

Comment 2 Jan Hutař 2019-04-15 07:11:25 UTC
Forgot to add:

# rpm -qa | grep grub
grub2-tools-2.02-66.el8.ppc64le
grub2-ppc64le-modules-2.02-66.el8.noarch
grub2-ppc64le-2.02-66.el8.ppc64le
grubby-8.40-34.el8.ppc64le
grub2-common-2.02-66.el8.noarch
grub2-tools-extra-2.02-66.el8.ppc64le
grub2-tools-minimal-2.02-66.el8.ppc64le
# /usr/libexec/grubby/grubby-bls --help
Usage: grubby [OPTION...]
      --add-kernel=kernel-path            add an entry for the specified kernel
      --args=args                         default arguments for the new kernel or new arguments for kernel being updated)
      --bad-image-okay                    don't sanity check images in boot entries (for testing only)
  -c, --config-file=path                  path to grub config file to update ("-" for stdin)
      --copy-default                      use the default boot entry as a template for the new entry being added; if the default is not a linux image, or if the kernel referenced by the default image does not exist, the
                                          first linux entry whose kernel does exist is used as the template
      --default-kernel                    display the path of the default kernel
      --default-index                     display the index of the default kernel
      --default-title                     display the title of the default kernel
      --env=path                          path for environment data
      --grub2                             configure grub2 bootloader
      --info=kernel-path                  display boot information for specified kernel
      --initrd=initrd-path                initrd image for the new kernel
  -i, --extra-initrd=initrd-path          auxiliary initrd image for things other than the new kernel
      --make-default                      make the newly added entry the default boot entry
  -o, --output-file=path                  path to output updated config file ("-" for stdout)
      --remove-args=STRING                remove kernel arguments
      --remove-kernel=kernel-path         remove all entries for the specified kernel
      --set-default=kernel-path           make the first entry referencing the specified kernel the default
      --set-default-index=entry-index     make the given entry index the default entry
      --title=entry-title                 title to use for the new kernel entry
      --update-kernel=kernel-path         updated information for the specified kernel
      --zipl                              configure zipl bootloader
  -b, --bls-directory                     path to directory containing the BootLoaderSpec fragment files

Help options:
  -?, --help                              Show this help message

Comment 3 Michael Mráka 2019-04-15 13:55:13 UTC
Fixed in upstream cobbler.git by
commit 012b2003ec1fc2a6b2b59cc4a01031bceeaeb07e
    1699743 - grubby --bootloader-probe has been deprecated

Comment 8 Michael Mráka 2019-04-23 09:06:45 UTC
Fixed in CLIENT-RHEL-8 by
commit f7e12a1e27f31dcf04b8ef9172abd8ed5f9f644c
    1699743 - grubby --bootloader-probe has been deprecated

Comment 13 errata-xmlrpc 2019-11-05 20:54:25 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-2019:3355


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