azuredevopslabs icon indicating copy to clipboard operation
azuredevopslabs copied to clipboard

Docker Registry service connection details not specified

Open Mehtach opened this issue 8 years ago • 13 comments

docker registery issue Docker Registry service connection details not specified

Mehtach avatar Aug 15 '18 01:08 Mehtach

Any idea about the above issue?

Mehtach avatar Aug 16 '18 05:08 Mehtach

Hi Mehtach,

I hope you are trying Kubernetes lab. Please verify the below points.

  1. Make sure you have created Kubernetes Service Endpoint mentioned in Exercise 1, step 2.
  2. Please check whether you have selected the AKS and ACR details in Exercise 2, Step 6.

Thanks Balaji

sriramdasbalaji avatar Aug 16 '18 05:08 sriramdasbalaji

Hi Mehtach,

I believe you were able to resolve the issue you encountered. We will be closing this issue. If you have any concerns please reopen the issue.

Thanks Balaji

sriramdasbalaji avatar Aug 22 '18 09:08 sriramdasbalaji

I am still facing same issue, is there anyway to use existing SP Endpoint from Azure.

need your help.

xkhahuss avatar Mar 27 '19 13:03 xkhahuss

Hi Khalid,

Try this workaround and see if it resolves

Get the id of the service principal configured for AKS

CLIENT_ID=$(az aks show --resource-group $AKS_RESOURCE_GROUP --name $AKS_CLUSTER_NAME --query "servicePrincipalProfile.clientId" --output tsv)

Get the ACR registry resource id

ACR_ID=$(az acr show --name $ACR_NAME --resource-group $ACR_RESOURCE_GROUP --query "id" --output tsv)

Create role assignment

az role assignment create --assignee $CLIENT_ID --role Reader --scope $ACR_ID

Thanks

sriramdasbalaji avatar Mar 27 '19 14:03 sriramdasbalaji

I followed these steps but still same issue, dnt know where is gap.

where we need to define connection details, please ?

kindly guide....

xkhahuss avatar Mar 27 '19 14:03 xkhahuss

+1 I have the same problem and the fix didn't work

westywoo avatar Apr 04 '19 15:04 westywoo

Maybe you have made the same issue as me - forgot to also update the settings under "Secrets".

More information at https://www.azuredevopslabs.com/labs/vstsextend/kubernetes/:

Expand the Secrets section and update the parameters for Azure subscription and Azure container registry from the dropdown.

RicardoNiepel avatar Apr 05 '19 14:04 RicardoNiepel

Don't select ACR variable in secret section or set ACR variable with short name instead of using long name which means you need to remove .azurecr.io from ACR variable

sshakhtour avatar Jun 27 '19 15:06 sshakhtour

Maybe you have made the same issue as me - forgot to also update the settings under "Secrets".

More information at https://www.azuredevopslabs.com/labs/vstsextend/kubernetes/:

Expand the Secrets section and update the parameters for Azure subscription and Azure container registry from the dropdown.

Thanks @RicardoNiepel!

thoaingan avatar Jul 16 '19 14:07 thoaingan

Please remove the selection of ACR in secret section.

In the secret section : 1- Set the Azure subscription 2- Use the variable $(ACR) for the container registry.

adampaquette avatar Aug 13 '19 15:08 adampaquette

I did the same but still facing the error.

C926456 avatar Jan 20 '22 12:01 C926456

Don't select ACR variable in secret section or set ACR variable with short name instead of using long name which means you need to remove .azurecr.io from ACR variable

This was the issue in my case.Resolved.Thank you

Sanoj-Leader avatar Aug 31 '22 18:08 Sanoj-Leader