Skip to content

Cannot pull Docker images, and updating Nexus whitelist is not enough to change firewall rules #4895

@TonyWildish-BH

Description

@TonyWildish-BH

docker run hello-world on any VM fails, unable to pull the image.

The reason is that Docker changed their distribution to use cloudfront about a year or so ago, and the Nexus whitelist is out of date. Adding *.6aa30f8b08e16409b46e0173d6de2f56.r2.cloudflarestorage.com to the whitelist is enough to fix this...

BUT!

...adding that domain to the whitelist in locals.tf in Nexus, rebuilding and updating the service does not update the firewall, you have to delete/re-deploy Nexus. I would expect that it would be sufficient to simply update it.

So there are two bugs:

  • Nexus needs the dockerhub cloudflare r2 domain whitelisted
  • the whitelist is not propagated to the firewall in a service update.

Azure TRE release version (e.g. v0.14.0 or main):
v0.21.0, but the issue persists in the HEAD by inspection of the code.

Deployed Azure TRE components - click the (i) in the UI:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions