Bug 2062007 - MCC bootstrap command lacks template flag
Summary: MCC bootstrap command lacks template flag
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Machine Config Operator
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.11.0
Assignee: Yu Qi Zhang
QA Contact: Rio Liu
URL:
Whiteboard:
Depends On:
Blocks: 2062290
TreeView+ depends on / blocked
 
Reported: 2022-03-08 22:08 UTC by Dan Mace
Modified: 2022-08-10 10:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2062290 (view as bug list)
Environment:
Last Closed: 2022-08-10 10:52:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift machine-config-operator pull 2995 0 None Merged Bug 2062007: Add `--templates` flag to MCC `bootstrap` command 2022-03-14 20:06:23 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 10:52:54 UTC

Description Dan Mace 2022-03-08 22:08:00 UTC
Description of problem:

The `machine-config-controller bootstrap` subcommand uses the `--template` flag default value, but the flag is only associated with the `start` subcommand internally, so end users can't actually override the hard-coded default value when running the `bootstrap` command.

Version-Release number of MCO (Machine Config Operator) (if applicable):

Platform (AWS, VSphere, Metal, etc.): All

Are you certain that the root cause of the issue being reported is the MCO (Machine Config Operator)?
(Y/N/Not sure): Y

How reproducible:

Run `machine-config-controller bootstrap --template`.

Did you catch this issue by running a Jenkins job? If yes, please list: No

Steps to Reproduce:

Run `machine-config-controller bootstrap --template ...`.

Actual results:

Command fails because the `--template` flag is unrecognized.

Expected results:

Should work with the value I provided.

Additional info:

This was encountered performing integration work for HyperShift.

Comment 2 Dan Mace 2022-03-15 12:49:15 UTC
I can verify that the merged fix resolves the issues we were having in HyperShift.

Comment 3 Dan Mace 2022-03-15 12:49:43 UTC
To be clear, I DID verify that the merged fix resolves the issues we were having in HyperShift.

Comment 7 errata-xmlrpc 2022-08-10 10:52:44 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 (Important: OpenShift Container Platform 4.11.0 bug fix and security update), 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/RHSA-2022:5069


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