Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-19793

/etc/containers/registries.conf overwritten by different ansible variables

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rhos-18.0.13
    • None
    • edpm-ansible
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • openstack-ansible-ee-container-1.0.16-1
    • None
    • EDPM Sprint 10, EDPM Sprint 11, EDPM Sprint 12, EDPM Sprint 13
    • 4
    • Important

      The edpm_podman role has several ways to configure container registries. These different ways both write to /etc/container/registries.conf, meaning that if both ways are enabled, they'll overwrite one another.

      The 2 ways are using edpm_container_registries and the combination of edpm_podman_disconnected_ocp and edpm_podman_registries_conf.

      The combination of edpm_podman_disconnected_ocp and edpm_podman_registries_conf should actually never be set by a user, as they are instead automatically generated for disconnected by image_registry.go from openstack-operator. However, this is already causing confusion as users are trying to set these variables as well.

      The 2 different methods (and if there are others) should configure different files under /etc/containers/registries.conf.d instead of the single /etc/containers/registries.conf file. 

              jslagle@redhat.com James Slagle
              jslagle@redhat.com James Slagle
              rhos-dfg-df
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: