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

ccoctl azure --dry-run does not output either bash script or template for the resources to be created

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.14.0, 4.14.z, 4.15.z, 4.17.0, 4.16.z
    • None
    • Moderate
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      ccoctl azure {create-all,create-oidc-issuer,create-managed-identities} does not output either bash scripts or templates that can be reviewed and used to manually create Azure resources without relying on ccoctl to create them.
      
      ccoctl subcommands for gcp and aws provide this functionality. The aws subcommands output bash scripts and the gcp subcommands output json templates for this purpose.
      
      ref:
      aws: https://github.com/openshift/cloud-credential-operator/blob/master/docs/ccoctl.md#aws
      gcp: https://github.com/openshift/cloud-credential-operator/blob/master/docs/ccoctl.md#gcp

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

      4.14.0

      How reproducible:

      100%

      Steps to Reproduce:

      1. Run ccoctl azure create-all OR create-oidc-issuer / create-managed-identities and provide --dry-run to skip creation of Azure resources and interactions with the Azure API.
      2. Observe that templates or bash scripts for resources which would be created are not output by ccoctl.
      

      Actual results:

      ccoctl azure --dry-run does not generate bash scripts or templates of Azure resources that would be created.

      Expected results:

      ccoctl azure --dry-run generates bash scripts or templates of Azure resources that would be created.

      Additional info:

      May be possible to generate an ARM template containing definitions for the resources. This would likely be preferable to bash scripts with az cli commands.

              Unassigned Unassigned
              abutcher@redhat.com Andrew Butcher
              Mingxia Huang Mingxia Huang
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: