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

create cluster-manifests fails when imageContentSources is missing

    XMLWordPrintable

Details

    • No
    • Agent Sprint 232, Agent Sprint 233
    • 2
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required

    Description

      Invoking 'create cluster-manifests' fails when imageContentSources is missing in install-config yaml:

      $ openshift-install agent create cluster-manifests
      INFO Consuming Install Config from target directory
      FATAL failed to write asset (Mirror Registries Config) to disk: failed to write file: open .: is a directory

      install-config.yaml:

      apiVersion: v1alpha1
      metadata:
        name: appliance
      rendezvousIP: 192.168.122.116
      hosts:
        - hostname: sno
          installerArgs: '["--save-partlabel", "agent*", "--save-partlabel", "rhcos-*"]'
          interfaces:
           - name: enp1s0
             macAddress: 52:54:00:e7:05:72
          networkConfig:
            interfaces:
              - name: enp1s0
                type: ethernet
                state: up
                mac-address: 52:54:00:e7:05:72
                ipv4:
                  enabled: true
                  dhcp: true 

      Attachments

        Issue Links

          Activity

            People

              zabitter Zane Bitter
              derez@redhat.com Daniel Erez
              Manoj Hans Manoj Hans
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: