microsoft / azure_arc

Automated Azure Arc, Edge, and Platform environments
https://aka.ms/ArcJumpstart
Creative Commons Attribution 4.0 International
738 stars 541 forks source link

Error when checking initialize status of K8SE stamp with kubectl Unexpected output from kubectl.exe when getting pod statuses #621

Closed borjasanes closed 3 years ago

borjasanes commented 3 years ago

Scenario which you are working on https://github.com/microsoft/azure_arc/tree/main/azure_arc_app_services_jumpstart

Describe the bug I'm facing an issue when trying to create the App Service Kubernetes environment following the script.AppServicesLogonScript.ps1

Despite the environment is being created in Azure Portal I'm getting an error message and I'm not able to create LogicApps in that custom location.

Error log:

_az appservice kube create --resource-group smartbuilding-bgarcia-0000 --name smartbuildingaks --custom-location /subscriptions/f4f0bcc8-6cb9-4a1c-a6be-bb58bc118319/resourcegroups/smartbuilding-bgarcia-0000/providers/microsoft.extendedlocation/customlocations/appinnovation-cl --static-ip "52.178.119.156" --location "West Europe" Command group 'appservice kube' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus Deployment failed. Correlation ID: 31670727-8b83-460b-ac12-6d716096d427. Error when checking initialize status of K8SE stamp with kubectl Unexpected output from kubectl.exe when getting pod statuses output: error:_

To Reproduce Steps to reproduce the behavior:

  1. Created an Azure VM
  2. Execute Bootstraping.ps1
  3. Aks onboarded on Azure ARC
  4. Registered app service extension
  5. Created custom location appinnovation-cl
  6. See error when executing az appservice kube create

Screenshots

screencapture-ps-2021-06-30-13_25_56

screencapture-ms-portal-azure-2021-06-30-13_25_56 screencapture-ms-portal-azure-2021-06-30-15_12_05 screencapture-ms-portal-azure-2021-06-30-15_12_29

likamrat commented 3 years ago

Hi @borjasanes,

This scenario is still under development and yet to be published in the Jumpstart. It expected to go live in the next few days.

borjasanes commented 3 years ago

Thanks for your quick response. I'll stay tuned.

likamrat commented 3 years ago

Closing this for now