Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-7278

hcp with --secrets-creds provided still requires pull secret

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • None
    • MCE 2.4.0
    • HyperShift
    • False
    • None
    • False
    • Yes
    • Important

    Description

      Description of problem:

      When we try to create a cluster with --secret-creds, an MCE AWS k8s secret that includes aws-creds, pull secret, and base domain, then the binary should not ask for pull secret. However, it does now after changing from hypershift.

      Adding pull secret param will allow the command to continue as expected, though I would think whole point of the secret-creds is to reuse what exists.

       /usr/local/bin/hcp create cluster aws --name acmqe-hc-ad5b1f645d93464c --secret-creds test1-cred --region us-east-1 --node-pool-replicas 1 --namespace local-cluster --instance-type m6a.xlarge --release-image quay.io/openshift-release-dev/ocp-release:4.14.0-ec.4-multi --generate-ssh Output:
        Error: required flag(s) "pull-secret" not set
        required flag(s) "pull-secret" not set

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

      2.4.0-DOWNANDBACK-2023-08-31-13-34-02 or mce 2.4.0-137

      hcp version openshift/hypershift: 8b4b52925d47373f3fe4f0d5684c88dc8a93368a. Latest supported OCP: 4.14.0

      How reproducible:

      always

      Steps to Reproduce:

      1. download hcp cli from mce
      2. run hcp cluster create aws with valid secret-creds param
      3. ...

      Actual results:

      Expected results:

      Additional info:

      Attachments

        Activity

          People

            rokejungrh Roke Jung
            rhn-support-dhuynh David Huynh
            Bryan Cox
            David Huynh David Huynh
            ACM QE Team
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: