Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-16662

agentbasedinstaller client fails to write INFRA_ENV_ID to /etc/assisted/client_config

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 1
    • Low
    • No
    • None
    • None
    • None
    • Sprint 241, Sprint 242
    • 2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      The client fails to write the INFRA_ENV_ID to /etc/assisted/client_config silently. 
      Failure to write to this file does not prevent it from registering the cluster and infraenv.
      Cluster is still able to install.
      
      This happens in this line of code: https://github.com/openshift/assisted-service/blob/3756e7f3c06bdc66446f29bb9f600af0d8bd6fb2/cmd/agentbasedinstaller/client/main.go#L95
      
      The err is not checked and ignored.

      Version-Release number of selected component (if applicable):

       

      How reproducible:

      always

      Steps to Reproduce:

      1.Log into bootstrap node and notice /etc/assisted/client_config is missing after create-cluster-and-infraenv.service has completed.
      

      Actual results:

      /etc/assisted/client_config is missing

      Expected results:

      /etc/assisted/client_config is present and contains INFRA_ENV_ID

      Additional info:

       

       

              rwsu1@redhat.com Richard Su
              rwsu1@redhat.com Richard Su
              None
              None
              Biagio Manzari Biagio Manzari
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: