Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-578

Quay mirror worker deployment on Openshift guide provide incorrect quay-enterprise-mirror.yaml

    XMLWordPrintable

Details

    • 0

    Description

      Description:
      This is an issue found when following the Quay official docs to install Quay 3.2.1 on Openshift, at the step of "4.3 Add repository mirroring Red Hat Quay->1.Start the repo mirroring worker", the deployment file "quay-enterprise-mirror.yaml" provided missing key information which will cause the deployment failure, see the correct yaml file and highlight the missing points.

      Doc URL: https://access.redhat.com/documentation/en-us/red_hat_quay/3/html-single/deploy_red_hat_quay_on_openshift/index#add-repo-mirroring

      Error message:
      " File "./boot.py", line 136, in <module>
      main()
      File "./boot.py", line 124, in main
      "Your configuration bundle is either not mounted or setup has not been completed"
      Exception: Your configuration bundle is either not mounted or setup has not been completed"

      ENV:
      Quay imge: quay.io/quay/quay:3.2.1-1

      Steps:
      1. Deploy Quay ENV on Openshift following steps at "deploy_red_hat_quay_on_openshift".
      2. At the step 6.9. Repository mirroring, run "oc create -f quay-enterprise-mirror.yaml"

      Expected Result:
      Quay Mirror worker POD will be deployed successfully following the docs.

      Actual Results:

      Quay ENV deployment was failed to deploy.

      Correct quay-enterprise-mirror.yaml:
      lizhang@lzha-mac Quay_basic_setup % cat quay-enterprise-mirror.yaml
      apiVersion: extensions/v1beta1
      kind: Deployment
      metadata:
      namespace: quay-enterprise
      name: quay-enterprise-mirror
      labels:
      quay-enterprise-component: mirror-app
      spec:
      replicas: 1
      selector:
      matchLabels:
      quay-enterprise-component: mirror-app
      template:
      metadata:
      namespace: quay-enterprise
      labels:
      quay-enterprise-component: mirror-app
      spec:
      volumes:
      - name: configvolume
      secret:
      secretName: quay-enterprise-config-secret

      containers:

      • name: quay-enterprise-mirror-app
        image: quay.io/quay/quay:3.2.1-1
        envVars:
      • name: DEBUGLOG
        value: "true"
        ports:
      • containerPort: 8443
        volumeMounts:
        - name: configvolume
        readOnly: false
        mountPath: /conf/stack

        command: ["/quay-registry/quay-entrypoint.sh"]
        args: ["repomirror"]
        imagePullSecrets:
      • name: redhat-quay-pull-secret

      Attachments

        Activity

          People

            cnegus@redhat.com Chris Negus (Inactive)
            lzha1981 luffy zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: