Bug 2062311 - MCC bootstrap command lacks template flag
Summary: MCC bootstrap command lacks template flag
Keywords:
Status: CLOSED DUPLICATE of bug 2062310
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.9.z
Assignee: Dan Mace
QA Contact: Rio Liu
URL:
Whiteboard:
Depends On: 2062313
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-09 14:26 UTC by OpenShift BugZilla Robot
Modified: 2022-03-14 20:07 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-12 00:13:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description OpenShift BugZilla Robot 2022-03-09 14:26:56 UTC
+++ This bug was initially created as a clone of Bug #2062007 +++

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 1 Kirsten Garrison 2022-03-12 00:13:36 UTC

*** This bug has been marked as a duplicate of bug 2062310 ***


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