A developer CLI that reduces the time it takes for you to get started on Azure. The Azure Developer CLI (azd) provides a set of developer-friendly commands that map to key stages in your workflow - code, build, deploy, monitor, repeat.
(x) Failed: Deploying service api
ERROR: failed deploying service 'api': failing invoking action 'deploy', no deployment manifests found
ERROR: error executing step command 'deploy --all': failed deploying service 'api': failing invoking action 'deploy', no deployment manifests found
There are k8s manifests files in the folder and also it seems to be found during the "Applying k8s manifests" stage.
PS: You might face a different Resource Group error - which will be gone if you run it a second time...also it helps to run as Administrator to be sure in terms of rights.
Expected behavior
On version 1.5.1 - the applications were successfully running and the k8s manifests were applied without troubles.
Output from
azd version
azd version 1.6.1 (commit eba2c978b5443fdb002c95add4011d9e63c2e76f)Describe the bug When running the AKS deployment of our repo: https://github.com/Azure-Samples/azure-search-openai-demo-java/tree/aca I am facing the following error during the "Verifying deployment" progress stage of
azd up
:There are k8s manifests files in the folder and also it seems to be found during the "Applying k8s manifests" stage.
To Reproduce
cd deploy/aks
azd up
PS: You might face a different Resource Group error - which will be gone if you run it a second time...also it helps to run as Administrator to be sure in terms of rights.
Expected behavior On version 1.5.1 - the applications were successfully running and the k8s manifests were applied without troubles.
Additional context It seems to me something fails during the "waitForDeployment" operation in https://github.com/Azure/azure-dev/blob/main/cli/azd/pkg/project/service_target_aks.go#L331 because the last progress message I could observe was "Verifying deployment".
To me this error "no deployment manifests found" from line https://github.com/Azure/azure-dev/blob/main/cli/azd/pkg/project/service_target_aks.go#L258 seems a bit misleading to me...because I am getting the deployment output when using the
--debug
flag and I can see it in my cluster that my deployment is running: