Closed jamil77944 closed 4 weeks ago
I have set this variable in a file called main.parameters.json
@jamil77944 are you calling your deploy script like ./deploy.sh -p main.parameters.json
(or bash deploy.sh -p main.parameters.json
) from the /infra
directory? Is that parameter file stored in the /infra
directory?
Could you share a snip of your main.parameters.json file (sanitized)?
Can you share more of the deploy.sh run output that happens before that error?
Is this the right approach?
i have set that up in deploy.parameters.json
@jamil77944 in a previous comment you mentioned main.parameters.json
but I see that you are using deploy.parameters.json
- confirm you're using the right file please.
In your action runner step, I see you setting the account but I don't see a step to log into Azure. Is that happening in a previous job or step somewhere?
@timothymeyers sorry it is deploy.parameters.json.
I have modified the step also to include bash. But I get the same error running through github actions. Do you believe it is because I am logging in with a service principal? the service principal has the owner level in the resource group
No it looks like your GRAPHRAG_API_BASE is not set properly or there is no deployment of Azure Open AI in your subscription corresponding with the GRAPHRAG_API_BASE you've provided.
What is it set to in deploy.parameters.json? It should look like "https://<Azure-Open-AI-Resource>.openai.azure.com/"
This is the line causing the error. It is essentially querying your subscription to verify that the instance of Azure Open AI exists and returning the name of that resource. So, either the name is incorrect, or the resource does not exist in your subscription.
This is how I set in deploy.parameters.json
is your AOAI resource in the same subscription as your deployment?
@jamil77944 Are you able to try this deployment in eastus2
instead of East US
? I've heard some users are having trouble deploying in eastus
even when quota appears to be fine and we're still investigating the issue. I think it could be an issue specific to the eastus
region.
I see. Thank you so much. I was able to deploy locally inside eastus region. I could not do it with github actions. I will try it with eastus2
Hi Below is the error I receive when I try with github actions:
Looks like GRAPHRAG_API_BASE and possibly other values are not storing in the variable.
Please let me know if I am missing any steps.