Bug 1900947 - Failed to download the discovery Image
Summary: Failed to download the discovery Image
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: assisted-installer
Version: 4.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.6.z
Assignee: Michael Filanov
QA Contact: Yuri Obshansky
URL:
Whiteboard: AI-Team-Core
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-24 04:58 UTC by kedar
Modified: 2021-08-25 13:49 UTC (History)
4 users (show)

Fixed In Version: OCP-Metal-v1.0.12.1
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-25 13:49:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
discovery-image-error (189.62 KB, image/png)
2020-11-24 04:58 UTC, kedar
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:3197 0 None None None 2021-08-25 13:49:35 UTC

Description kedar 2020-11-24 04:58:08 UTC
Created attachment 1732821 [details]
discovery-image-error

Thanks for opening a bug report!
Before hitting the button, please fill in as much of the template below as you can.
If you leave out information, it's harder to help you.
Be ready for follow-up questions, and please respond in a timely manner.
If we can't reproduce a bug we might close your issue.
If we're wrong, PLEASE feel free to reopen it and explain why.

Version:

$ openshift-install version
v4.6

Platform:

baremetal

Please specify:
IPI Assisted

What happened?

While installing OpenShift on Bare Metal with the Assisted Installer at the step Generate Discovery ISO dialog box pops up to enter the ssh id_rsa.pub file.

For the id_rsa.pub file 1389 character long generates error "Failed to download the discovery Image Request failed with status code 500"

For the file less than 1389 for example: 745 character long it successfully downloads the ISO image.

I am attaching outputs for both the results.


#See the troubleshooting documentation (https://github.com/openshift/installer/blob/master/docs/user/troubleshooting.md) for ideas about what information to collect.


What did you expect to happen?

Should be able to successfully download the Discovery image

How to reproduce it (as minimally and precisely as possible)?

1) Log in to https://cloud.redhat.com/openshift
2) Select create cluster
3) Bare metal -> Assisted bare metal installer
4) cluster name -> Generate discovery ISO image -> enter ssh id_rsa.pub key

Attached output of discover-image success and error, when used with specific character id_rsa.pub keys.

Comment 1 Michael Filanov 2020-12-02 13:08:46 UTC
https://github.com/openshift/assisted-service/pull/763

Comment 2 nshidlin 2020-12-03 15:37:17 UTC
Verified on staging:
{
    "release_tag": "v1.0.12_1",
    "versions": {
        "assisted-ignition-generator": "",
        "assisted-installer": "registry-proxy.engineering.redhat.com/rh-osbs/openshift4-assisted-installer-rhel8:v4.6.0-49",
        "assisted-installer-controller": "registry-proxy.engineering.redhat.com/rh-osbs/openshift4-assisted-installer-reporter-rhel8:v4.6.0-46",
        "assisted-installer-service": "quay.io/app-sre/assisted-service:92e3dad",
        "discovery-agent": "registry-proxy.engineering.redhat.com/rh-osbs/openshift4-assisted-installer-agent-rhel8:v4.6.0-47",
        "image-builder": "quay.io/app-sre/assisted-iso-create:92e3dad"
    }
}
Facet-lib version:  1.4.8-2

Comment 5 errata-xmlrpc 2021-08-25 13:49:22 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 (OpenShift Container Platform 4.6.43 bug fix 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/RHBA-2021:3197


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