Skip to content

ERROR: error executing step command 'deploy --all': failed deploying service 'backend': archive/tar: write too longΒ #2336

@Hyunduck-Hwang

Description

@Hyunduck-Hwang

Hello,
First of all, I want to thank about RAG deep dive series and this repo.

I have an issue. The error message is the same as title.
ERROR: error executing step command 'deploy --all': failed deploying service 'backend': archive/tar: write too long

I followed the instruction with doc in here.

azd auth login
azd env new

azd env set AZURE_AUTH_TENANT_ID {my-tenant-id}
azd env set AZURE_RESOURCE_GROUP skprac
...

After I run, azd up. All seems good untill deploying backend.

Creating Python virtual environment "app/backend/.venv"...
Installing dependencies from "requirements.txt" into virtual environment (in quiet mode)...
Updating redirect URIs for client app ID e4df05e1-ac0c-490f-bef5-3f45596d9b68...
Application update for client app id e4df05e1-ac0c-490f-bef5-3f45596d9b68 complete.
Creating Python virtual environment "app/backend/.venv"...
Installing dependencies from "requirements.txt" into virtual environment (in quiet mode)...
Running "prepdocs.py"
[06:41:27] INFO     Loading azd env from /workspaces/azure-search-openai-demo/.azure/fed/.env, which may override existing environment variables                                                                                                                               load_azd_env.py:28
           INFO     Connecting to Azure services using the azd credential for tenant                                                                                                                                                         prepdocs.py:321
           INFO     Using local files: ./data/*                                                                                                                                                                                                                                   prepdocs.py:104
           INFO     Setting up search index using integrated vectorization...                                                                                                                                                                                 integratedvectorizerstrategy.py:121
           INFO     Checking whether search index gptkbindex exists...                                                                                                                                                                                                        searchmanager.py:70
[06:41:29] INFO     Creating new search index gptkbindex                                                                                                                                                                                                                      searchmanager.py:75
           INFO     Including parent_id field in new index gptkbindex                                                                                                                                                                                                        searchmanager.py:142
           INFO     Including vectorizer for search index gptkbindex, using Azure OpenAI service cog-2paaqmzkbawl6                                                                                                                                                           searchmanager.py:162
[06:41:35] INFO     Skipping ./data/Shrub's Paradox - by Le Shrub.pdf, no changes detected.                                                                                                                                                                               listfilestrategy.py:104
           INFO     Skipping ./data/paradox.txt, no changes detected.                                                                                                                                                                                            listfilestrategy.py:104
[06:41:37] INFO     Successfully created index, indexer: gptkbindex-indexer, and skillset. Please navigate to search service in Azure Portal to view the status of the indexer.                                                                               integratedvectorizerstrategy.py:185

Deploying services (azd deploy)

  (x) Failed: Deploying service backend

ERROR: error executing step command 'deploy --all': failed deploying service 'backend': archive/tar: write too long

I am stuck with this error for 2 days. I think I cannot solve this issue with myself so here to ask some help!!
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    azdRelated to running commands from azd (Azure Developer CLI) like up, deploy, provision, pipeline

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions