Skip to content

[enterprise-4.6] Issue in file installing/installing_bare_metal_ipi/ipi-install-installation-workflow.adoc #27583

@kurokobo

Description

@kurokobo

Which section(s) is the issue in?

In Creating an RHCOS images cache (optional), 5. Get the commit ID from the installer. The ID determines which images the installer needs to download.

What needs fixing?

The command will fail because the file openshift-baremetal-install has not been copied to /usr/local/bin in the previous steps.

[kni@provisioner ~]$ export COMMIT_ID=$(/usr/local/bin/openshift-baremetal-install version | grep '^built from commit' | awk '{print $4}')
-bash: /usr/local/bin/openshift-baremetal-install: No such file or directory

Workaround

Copy openshift-baremetal-install to /usr/local/bin before command (maybe this should be done in Extracting the OpenShift Container Platform installer):

[kni@provisioner ~]$ sudo cp ./openshift-baremetal-install /usr/local/bin/
[kni@provisioner ~]$ export COMMIT_ID=$(./openshift-baremetal-install version | grep '^built from commit' | awk '{print $4}')
-bash: /usr/local/bin/openshift-baremetal-install: No such file or directory

Or, use openshift-baremetal-install in current directory:

[kni@provisioner ~]$ export COMMIT_ID=$(./openshift-baremetal-install version | grep '^built from commit' | awk '{print $4}')
-bash: /usr/local/bin/openshift-baremetal-install: No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions