fduranti
Hot Shot
Hot Shot

Configuring Harbor as a Docker Registry on vRA8 Code Stream

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?

Tags (3)
5 Replies
cmbwml1
Enthusiast
Enthusiast

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.
0 Kudos
sghose0007
Enthusiast
Enthusiast

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

0 Kudos
sghose0007
Enthusiast
Enthusiast

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

0 Kudos
sghose0007
Enthusiast
Enthusiast

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

0 Kudos
dimatha
Contributor
Contributor

I believe the question was about Harbor ? 

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

0 Kudos