-
Bug
-
Resolution: Duplicate
-
Critical
-
None
-
quay-v3.8.0
-
None
Description:
Now in Quay 3.8.0 when enabled "Enable Storage Replication" with quay config editor, and after clicking the button "reconfigure quay", the new quay and mirror pods are failed to start, the reason is Quay and Mirror POD expect to see env variable "QUAY_DISTRIBUTED_STORAGE_PREFERENCE" is set, but quay config editor doesn't support this point now, here need to update quay docs to guide quay customers to update the QuayRegistry manually to have this env variable, see the example below.
Quay Image: quay-operator-bundle-container-v3.8.0-122
Error Message after new Quay and Mirror POD are crashed.
Running init script '/quay-registry/conf/init/nginx_conf_create.sh' Running init script '/quay-registry/conf/init/supervisord_conf_create.sh' Running init script '/quay-registry/conf/init/zz_boot.sh' Traceback (most recent call last): File "/quay-registry/./boot.py", line 15, in <module> from app import app File "/quay-registry/app.py", line 325, in <module> raise Exception( Exception: Missing storage preference, did you perhaps forget to define QUAY_DISTRIBUTED_STORAGE_PREFERENCE variable?
Example to add the env variable "QUAY_DISTRIBUTED_STORAGE_PREFERENCE":
spec: components: - kind: clair managed: true - kind: postgres managed: true - kind: objectstorage managed: false - kind: redis managed: true - kind: horizontalpodautoscaler managed: true - kind: route managed: true - kind: mirror managed: true overrides: env: - name: QUAY_DISTRIBUTED_STORAGE_PREFERENCE value: local_us - kind: monitoring managed: false - kind: tls managed: true - kind: quay managed: true overrides: env: - name: QUAY_DISTRIBUTED_STORAGE_PREFERENCE value: local_us - kind: clairpostgres managed: true
- is related to
-
PROJQUAY-4698 [DOC] Need to define QUAY_DISTRIBUTED_STORAGE_PREFERENCE environment attribute to mirror pod for quay 3.8.0 geo-replication function
- Closed