VMware Aria Automation Tools

 View Only
  • 1.  Configuring Harbor as a Docker Registry on vRA8 Code Stream

    Posted Jan 30, 2020 07:13 PM

    I'm trying to configure harbor as a docker registry as a vra 8 Code Stream endpoint but it seems that I'm not putting the correct url or it's not supported.

    I was able to configure the public Docker Hub in vRA Code Stream.

    I'm now trying to configure the harbor registry. I'm trying with the url for my test project repositories but I'm getting this error:

    Malformed Repo URL: Please follow the suggested pattern

    I'm using the url from the harbor registry repository that is something like this:

    https://harborfqdn/harbor/projects/35/repositories/testpks%2Fhello

    I tried to remove the %2Fhello or to put ":hello" but I get the same error:

    If i put the url in a format that vra8 seems to accept like https://harborfqdn/repositories/testpks/hello

    I get an error as that page return a 404:

    Validation Failed as user details or Repo Url is incorrect

    Anyone was able to use Harbor Registry with VRA 8 Code Stream?



  • 2.  RE: Configuring Harbor as a Docker Registry on vRA8 Code Stream

    Posted Jul 30, 2020 03:23 PM
    I'm having problems registering Harbor Registry and vSphere 7 integrated kubernetes cluster as endpoints in vRA cloud assembly and/or code stream.  I'm wondering if vRA 8.1 does not yet support those endpoints.  I can't find any examples of harbor endpoint url format for endpoint registration and keep getting malformed URL error regardless of what I try.


  • 3.  RE: Configuring Harbor as a Docker Registry on vRA8 Code Stream

    Posted Sep 09, 2020 09:14 AM

    Hi All,

    Same problem, trying to add the Embedded VRO instance and validate get this

    Unable to connect to vco server Request failed with status: 401

    Try to add docker instance

    Malformed Repo URL: Please follow the suggested pattern

    Trying to add kubernetes endpoint in VRA 8 codestream getting this error -

    extension (5) should not be presented in certificate_request



  • 4.  RE: Configuring Harbor as a Docker Registry on vRA8 Code Stream

    Posted Sep 10, 2020 06:10 PM

    Update VRA 8.1 to Patch 2 and VRLCM to PATCH and the kubernetes issue is fixed



  • 5.  RE: Configuring Harbor as a Docker Registry on vRA8 Code Stream

    Posted Sep 11, 2020 04:22 AM

    Issue Fixed

    I added the EndPoint as DockerHub

    Repo URL for the DockerHub must be in proper format - https://hub.docker.com/repository/docker/{userid}/{repository}  If its not error while validating - Malformed Repo URL: Please follow the  suggested pattern

    Change only the userid and repository as per your docker information

    For Example - https://hub.docker.com/repository/docker/ghoses/codestream-ci-tkg/

    It worked



  • 6.  RE: Configuring Harbor as a Docker Registry on vRA8 Code Stream

    Posted Mar 15, 2021 08:11 PM

    I believe the question was about Harbor ? 

    Did anyone manage to create/use Harbor as docker registry  ?



  • 7.  RE: Configuring Harbor as a Docker Registry on vRA8 Code Stream

    Posted May 25, 2022 04:13 AM

    I am facing this problem right now. Did you manage to fix this? I tried using the URL is multiple formats. Nothing has worked for me so far. 



  • 8.  RE: Configuring Harbor as a Docker Registry on vRA8 Code Stream

    Posted Mar 21, 2023 07:39 PM

    It looks like this isn't possible in the current iteration of Code Stream (as of version vRA 8.11.1).  Here's why:

    As per Harbor's documentation:

    Harbor only supports the (Docker) Registry V2 API.

    Code Stream, on the other hand, only supports either the DockerHub API or the Docker Enterprise/Mirantis Kubernetes Engine API as endpoints to look for container images.  Docker Registry V2 API isn't compatible with either of these.

    Feel free to provide feedback on this to your respective VMware Account Manager so that either:

    • Code Stream adopts support the Docker Registry V2 API

    or

    • Harbor adopts support of either the DockerHub API or Docker Enterprise/Mirantis Kubernetes Engine API