Bug 2018490

Summary: [4.10] Image provisioning fails with file name too long
Product: OpenShift Container Platform Reporter: Lubov <lshilin>
Component: Bare Metal Hardware ProvisioningAssignee: Dmitry Tantsur <dtantsur>
Bare Metal Hardware Provisioning sub component: ironic QA Contact: Shelly Miron <smiron>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: aos-bugs, cchun, dtantsur, mfilanov, rbartal, rpittau, smiron, thnguyen
Version: 4.10Keywords: OtherQA, Triaged
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2014630 Environment:
Last Closed: 2022-03-10 16:23:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2014630    
Bug Blocks:    

Comment 2 Shelly Miron 2021-12-09 08:39:24 UTC
verified with OCP version:
--------------------------

$ oc version

Client Version: 4.10.0-0.nightly-2021-12-06-201335
Server Version: 4.10.0-0.nightly-2021-12-06-201335
Kubernetes Version: v1.22.1+6859754

acm version:
--------------

$ oc get csv -A

NAMESPACE                              NAME                                 DISPLAY                                      VERSION   REPLACES                             PHASE
openshift-operator-lifecycle-manager   packageserver                        Package Server                               0.19.0                                         Succeeded
rhacm                                  advanced-cluster-management.v2.4.2   Advanced Cluster Management for Kubernetes   2.4.2     advanced-cluster-management.v2.4.1   Succeeded


steps taken:
---------------

1. created an infraenv with static ip
2. attached a host to it from the UI
3. from the CLI we can see that the image provisioned successfully without 'file name too long' msg:

Events:
  Type    Reason                 Age    From                         Message
  ----    ------                 ----   ----                         -------
  Normal  Registered             9m41s  metal3-baremetal-controller  Registered new host
  Normal  BMCAccessValidated     9m31s  metal3-baremetal-controller  Verified access to BMC
  Normal  InspectionSkipped      9m30s  metal3-baremetal-controller  disabled by annotation
  Normal  ProfileSet             9m30s  metal3-baremetal-controller  Hardware profile set: unknown
  Normal  ProvisioningStarted    9m19s  metal3-baremetal-controller  Image provisioning started for https://assisted-image-service-rhacm.apps.ocp-edge-cluster-0.qe.lab.redhat.com/images/9c3e62a0-0d05-468e-b4c5-050501845d3b?api_key=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJpbmZyYV9lbnZfaWQiOiI5YzNlNjJhMC0wZDA1LTQ2OGUtYjRjNS0wNTA1MDE4NDVkM2IifQ.rjoKsvKPNCi0lyNDvlgknat5iRezq3tOqOQZ5e6FAVqDwvEd2QsvylqXf6mJA-4M3EKhLB5fT3-xCZ-8KMabuw&arch=x86_64&type=minimal-iso&version=4.9
  Normal  ProvisioningComplete   9m9s   metal3-baremetal-controller  Image provisioning completed for https://assisted-image-service-rhacm.apps.ocp-edge-cluster-0.qe.lab.redhat.com/images/9c3e62a0-0d05-468e-b4c5-050501845d3b?api_key=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJpbmZyYV9lbnZfaWQiOiI5YzNlNjJhMC0wZDA1LTQ2OGUtYjRjNS0wNTA1MDE4NDVkM2IifQ.rjoKsvKPNCi0lyNDvlgknat5iRezq3tOqOQZ5e6FAVqDwvEd2QsvylqXf6mJA-4M3EKhLB5fT3-xCZ-8KMabuw&arch=x86_64&type=minimal-iso&version=4.9
  Normal  UpdateHardwareDetails  7m23s  metal3-baremetal-controller  Set HardwareDetails from annotation

Comment 5 errata-xmlrpc 2022-03-10 16:23: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 (Moderate: OpenShift Container Platform 4.10.3 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:0056