Skip to content

Error in Deployment of PubSec-Info-Assistant: Error: retrieving queue properties for Storage Account #922

@bhaskarsarkar23

Description

@bhaskarsarkar23

Before you open an issue, please check if a similar issue already exists or has been closed before.

You can also find details on Troubleshooting Common Issues. You can use these tools to help gather additional logs and details to include in your issue.

⚠️ Please DO NOT include confidential information in your issue on GitHub. ⚠️

Bug Details

I am encountering an issue while deploying the PubSec-Info-Assistant project using Terraform. The deployment fails with the following error:

Error: retrieving queue properties for Storage Account (Subscription: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
Resource Group Name: "infoasst-ai-*****"
Storage Account Name: "infoasststoreiovoj"): executing request: unexpected status 403 (403 This request is not authorized to perform this operation using this permission.) with AuthorizationPermissionMismatch: This request is not authorized to perform this operation using this permission.
RequestId:57670ee2-d003-0028-809a-41f00a0000
Time:2024-11-28T13:34:54

  with module.storage.azurerm_storage_account.storage,
  on core/storage/storage-account.tf line 6, in resource "azurerm_storage_account" "storage":
   6: resource "azurerm_storage_account" "storage"

Steps to Reproduce

  1. Clone the PubSec-Info-Assistant repository.
  2. Open the project in VSCode using the provided devcontainer.
  3. Run make deploy to initiate the deployment process.
  4. The deployment fails at the azurerm_storage_account resource with the error mentioned above.

Troubleshooting Steps Taken

  1. Attempted the deployment using the Azure root account, but the same error persists.
  2. Assigned the Storage Queue Data Contributor role to the credentials used for deployment, but it did not resolve the issue.

Observations

  • The error indicates an AuthorizationPermissionMismatch.
  • The operation fails when Terraform attempts to retrieve queue properties for the storage account.

Request for Help

Could you please provide guidance on the following:

  1. Are there any additional roles or permissions required to resolve this issue?
  2. Are there specific configurations in Terraform for the azurerm_storage_account module that need to be updated for this tag?
  3. Any troubleshooting tips for verifying why the assigned permissions are not being recognized?

Environment Details

  • PubSec-Info-Assistant version: 1.2
  • Development Environment: VSCode devcontainer

Additional Information

Let me know if you need any more details or debug logs to investigate this issue.


Let me know if any further adjustments are required!

Information Assistant details

Please provide the following details. You can simply include a screenshot of your Info panel as well.

GitHub branch: [e.g. main]
version 1.2
Version or Latest commit: [obtained by running git log -n 1 <branchname>

What region is your Azure Open AI Service in?
eastus2 and eastus
What ChatGPT model are you using?
gpt-3.5-turbo, gpt-4, gpt-4o-mini
model name: (i.e. gpt-3.5-turbo, gpt-4)

model version: (i.e. 0613)

What embeddings model are you using?

Additional context
Add any other context about the problem here.

If the bug is confirmed, would you be willing to submit a PR?

  • Yes
  • No

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationImprovements or additions to documentation

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions