Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] failed deploying helm chart #65

Closed
Loo-Ree opened this issue Jul 8, 2024 · 3 comments
Closed

[BUG] failed deploying helm chart #65

Loo-Ree opened this issue Jul 8, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Loo-Ree
Copy link

Loo-Ree commented Jul 8, 2024

Describe the bug
The deployment fails when helm chart are getting deployed

To Reproduce
Steps to reproduce the behavior:

  1. follow DEPLOYMENT-GUIDE

Expected behavior
successful installation

Screenshots
No screenshot but bash output

Desktop (please complete the following information):

  • OS: WSL on Windows 11

Additional context
Dev containers were tried but it didn't work with issue similar to #56
This is the bash output.
`(venv) xxx@yyy:~/WSL-Workspaces/GraphRAG/graphrag-accelerator/infra$ bash deploy.sh -g -p deploy.parameters.json
Checking for required tools... Done.
Checking required parameters... Done.
Checking optional parameters...
setting AISEARCH_ENDPOINT_SUFFIX=search.windows.net
setting AISEARCH_AUDIENCE=https://search.azure.com
setting PUBLISHER_NAME=publisher
setting PUBLISHER_EMAIL=publisher@microsoft.com
setting CONTAINER_REGISTRY_EMAIL=publisher@microsoft.com
setting CLOUD_NAME=AzurePublicCloud
setting RESOURCE_BASE_NAME=graphragbase
setting REPORTERS=blob,console
setting GRAPHRAG_COGNITIVE_SERVICES_ENDPOINT=https://cognitiveservices.azure.com/.default
setting GRAPHRAG_IMAGE=graphrag:backend
Done.
Checking if resource group lr-rg-graphrag exists... Yes.
Creating container registry... Container registry 'c44xxx.azurecr.io' created.
Done.
Deploying docker image 'graphrag:backend' to container registry 'c44xxx.azurecr.io'...The login server endpoint suffix '.azurecr.io' is automatically omitted.
Packing source code into tar to upload...
Excluding '.gitignore' based on default ignore rules
Excluding '.git' based on default ignore rules
Uploading archived source code from 'C:\Users\xxx\AppData\Local\Temp\build_archive_b6c6chgt5d4565abac031e12f1acd9.tar.gz'...
Sending context (52.619 MiB) to registry: c44xxx...
Queued a build with ID: cbb
Waiting for an agent...
2024/07/08 14:41:02 Downloading source code...
2024/07/08 14:41:05 Finished downloading source code
2024/07/08 14:41:05 Using acb_vol_b7257b24-61d9-4417-8ad6-03701f439530 as the home volume
2024/07/08 14:41:05 Setting up Docker configuration...
2024/07/08 14:41:06 Successfully set up Docker configuration
2024/07/08 14:41:06 Logging in to registry: c44xxx.azurecr.io
2024/07/08 14:41:06 Successfully logged into c44xxx.azurecr.io
2024/07/08 14:41:06 Executing step ID: build. Timeout(sec): 28800, Working directory: '', Network: ''
2024/07/08 14:41:06 Scanning for dependencies...
2024/07/08 14:41:07 Successfully scanned dependencies
2024/07/08 14:41:07 Launching container with name: build
Sending build context to Docker daemon 121.7MB
Step 1/15 : FROM python:3.10
3.10: Pulling from library/python
e9aef93137af: Pulling fs layer
58b365fa3e8d: Pulling fs layer
3dbed71fc544: Pulling fs layer
ae70830af8b6: Pulling fs layer
fd155188cf05: Pulling fs layer
f0d61d0facb6: Pulling fs layer
726c326e9564: Pulling fs layer
331871c631e8: Pulling fs layer
fd155188cf05: Waiting
726c326e9564: Waiting
331871c631e8: Waiting
f0d61d0facb6: Waiting
58b365fa3e8d: Verifying Checksum
58b365fa3e8d: Download complete
e9aef93137af: Verifying Checksum
e9aef93137af: Download complete
3dbed71fc544: Verifying Checksum
3dbed71fc544: Download complete
fd155188cf05: Verifying Checksum
fd155188cf05: Download complete
f0d61d0facb6: Verifying Checksum
f0d61d0facb6: Download complete
726c326e9564: Verifying Checksum
726c326e9564: Download complete
331871c631e8: Verifying Checksum
331871c631e8: Download complete
ae70830af8b6: Verifying Checksum
ae70830af8b6: Download complete
e9aef93137af: Pull complete
58b365fa3e8d: Pull complete
3dbed71fc544: Pull complete
ae70830af8b6: Pull complete
fd155188cf05: Pull complete
f0d61d0facb6: Pull complete
726c326e9564: Pull complete
331871c631e8: Pull complete
Digest: sha256:506eee363017f8261ba2e05be2
Status: Downloaded newer image for python:3.10
---> 6905cae1f812
Step 2/15 : ARG GRAPHRAG_VERSION=0.0.0
---> Running in 1cd771a8ca0c
Removing intermediate container 1cd771a8ca0c
---> 8c92c1853176
Step 3/15 : ENV GRAPHRAG_VERSION=v${GRAPHRAG_VERSION}
---> Running in e9fc81b6ce7e
Removing intermediate container e9fc81b6ce7e
---> 5c83b4b6e32b
Step 4/15 : ENV PIP_ROOT_USER_ACTION=ignore
---> Running in 584340c37e54
Removing intermediate container 584340c37e54
---> cb356cce2363
Step 5/15 : ENV PIP_DISABLE_PIP_VERSION_CHECK=1
---> Running in 2804465f1afa
Removing intermediate container 2804465f1afa
---> 13cbe0220ea5
Step 6/15 : ENV SETUPTOOLS_USE_DISTUTILS=stdlib
---> Running in f0d7a60ca3dc
Removing intermediate container f0d7a60ca3dc
---> 11054ae58f62
Step 7/15 : ENV PYTHONPATH=/backend
---> Running in 2359f25c4527
Removing intermediate container 2359f25c4527
---> dfc18131730c
Step 8/15 : COPY poetry.lock pyproject.toml /
---> 65d2286f1972
Step 9/15 : COPY backend /backend
---> c122c5c18a6d
Step 10/15 : RUN pip install poetry && poetry config virtualenvs.create false && poetry install --without frontend
---> Running in 1951a883a221
Collecting poetry
Downloading poetry-1.8.3-py3-none-any.whl (249 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 249.9/249.9 kB 10.4 MB/s eta 0:00:00
Collecting tomli<3.0.0,>=2.0.1
Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting packaging>=23.1
Downloading packaging-24.1-py3-none-any.whl (53 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.0/54.0 kB 11.9 MB/s eta 0:00:00
Collecting platformdirs<5,>=3.0.0
Downloading platformdirs-4.2.2-py3-none-any.whl (18 kB)
Collecting trove-classifiers>=2022.5.19
Downloading trove_classifiers-2024.7.2-py3-none-any.whl (13 kB)
Collecting pkginfo<2.0,>=1.10
Downloading pkginfo-1.11.1-py3-none-any.whl (31 kB)
Collecting keyring<25.0.0,>=24.0.0
Downloading keyring-24.3.1-py3-none-any.whl (38 kB)
Collecting pexpect<5.0.0,>=4.7.0
Downloading pexpect-4.9.0-py2.py3-none-any.whl (63 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.8/63.8 kB 9.9 MB/s eta 0:00:00
Collecting cleo<3.0.0,>=2.1.0
Downloading cleo-2.1.0-py3-none-any.whl (78 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.7/78.7 kB 16.6 MB/s eta 0:00:00
Collecting requests-toolbelt<2.0.0,>=1.0.0
Downloading requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.5/54.5 kB 11.5 MB/s eta 0:00:00
Collecting tomlkit<1.0.0,>=0.11.4
Downloading tomlkit-0.12.5-py3-none-any.whl (37 kB)
Collecting fastjsonschema<3.0.0,>=2.18.0
Downloading fastjsonschema-2.20.0-py3-none-any.whl (23 kB)
Collecting poetry-core==1.9.0
Downloading poetry_core-1.9.0-py3-none-any.whl (309 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 309.5/309.5 kB 42.3 MB/s eta 0:00:00
Collecting crashtest<0.5.0,>=0.4.1
Downloading crashtest-0.4.1-py3-none-any.whl (7.6 kB)
Collecting dulwich<0.22.0,>=0.21.2
Downloading dulwich-0.21.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (514 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 514.7/514.7 kB 74.7 MB/s eta 0:00:00
Collecting requests<3.0,>=2.26
Downloading requests-2.32.3-py3-none-any.whl (64 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.9/64.9 kB 13.4 MB/s eta 0:00:00
Collecting build<2.0.0,>=1.0.3
Downloading build-1.2.1-py3-none-any.whl (21 kB)
Collecting cachecontrol[filecache]<0.15.0,>=0.14.0
Downloading cachecontrol-0.14.0-py3-none-any.whl (22 kB)
Collecting pyproject-hooks<2.0.0,>=1.0.0
Downloading pyproject_hooks-1.1.0-py3-none-any.whl (9.2 kB)
Collecting virtualenv<21.0.0,>=20.23.0
Downloading virtualenv-20.26.3-py3-none-any.whl (5.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.7/5.7 MB 115.8 MB/s eta 0:00:00
Collecting shellingham<2.0,>=1.5
Downloading shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB)
Collecting poetry-plugin-export<2.0.0,>=1.6.0
Downloading poetry_plugin_export-1.8.0-py3-none-any.whl (10 kB)
Collecting installer<0.8.0,>=0.7.0
Downloading installer-0.7.0-py3-none-any.whl (453 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 453.8/453.8 kB 73.0 MB/s eta 0:00:00
Collecting msgpack<2.0.0,>=0.5.2
Downloading msgpack-1.0.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (385 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 385.1/385.1 kB 63.2 MB/s eta 0:00:00
Collecting filelock>=3.8.0
Downloading filelock-3.15.4-py3-none-any.whl (16 kB)
Collecting rapidfuzz<4.0.0,>=3.0.0
Downloading rapidfuzz-3.9.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 129.6 MB/s eta 0:00:00
Collecting urllib3>=1.25
Downloading urllib3-2.2.2-py3-none-any.whl (121 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 121.4/121.4 kB 27.4 MB/s eta 0:00:00
Collecting jeepney>=0.4.2
Downloading jeepney-0.8.0-py3-none-any.whl (48 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.4/48.4 kB 10.1 MB/s eta 0:00:00
Collecting SecretStorage>=3.2
Downloading SecretStorage-3.3.3-py3-none-any.whl (15 kB)
Collecting importlib-metadata>=4.11.4
Downloading importlib_metadata-8.0.0-py3-none-any.whl (24 kB)
Collecting jaraco.classes
Downloading jaraco.classes-3.4.0-py3-none-any.whl (6.8 kB)
Collecting ptyprocess>=0.5
Downloading ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
Collecting certifi>=2017.4.17
Downloading certifi-2024.7.4-py3-none-any.whl (162 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.0/163.0 kB 35.1 MB/s eta 0:00:00
Collecting charset-normalizer<4,>=2
Downloading charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 142.1/142.1 kB 27.0 MB/s eta 0:00:00
Collecting idna<4,>=2.5
Downloading idna-3.7-py3-none-any.whl (66 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.8/66.8 kB 12.1 MB/s eta 0:00:00
Collecting distlib<1,>=0.3.7
Downloading distlib-0.3.8-py2.py3-none-any.whl (468 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 468.9/468.9 kB 56.6 MB/s eta 0:00:00
Collecting zipp>=0.5
Downloading zipp-3.19.2-py3-none-any.whl (9.0 kB)
Collecting cryptography>=2.0
Downloading cryptography-42.0.8-cp39-abi3-manylinux_2_28_x86_64.whl (3.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.9/3.9 MB 134.4 MB/s eta 0:00:00
Collecting more-itertools
Downloading more_itertools-10.3.0-py3-none-any.whl (59 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.2/59.2 kB 9.7 MB/s eta 0:00:00
Collecting cffi>=1.12
Downloading cffi-1.16.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (443 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 443.9/443.9 kB 71.6 MB/s eta 0:00:00
Collecting pycparser
Downloading pycparser-2.22-py3-none-any.whl (117 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.6/117.6 kB 24.7 MB/s eta 0:00:00
Installing collected packages: trove-classifiers, ptyprocess, fastjsonschema, distlib, zipp, urllib3, tomlkit, tomli, shellingham, rapidfuzz, pyproject-hooks, pycparser, poetry-core, platformdirs, pkginfo, pexpect, packaging, msgpack, more-itertools, jeepney, installer, idna, filelock, crashtest, charset-normalizer, certifi, virtualenv, requests, jaraco.classes, importlib-metadata, dulwich, cleo, cffi, build, requests-toolbelt, cryptography, cachecontrol, SecretStorage, keyring, poetry-plugin-export, poetry
Successfully installed SecretStorage-3.3.3 build-1.2.1 cachecontrol-0.14.0 certifi-2024.7.4 cffi-1.16.0 charset-normalizer-3.3.2 cleo-2.1.0 crashtest-0.4.1 cryptography-42.0.8 distlib-0.3.8 dulwich-0.21.7 fastjsonschema-2.20.0 filelock-3.15.4 idna-3.7 importlib-metadata-8.0.0 installer-0.7.0 jaraco.classes-3.4.0 jeepney-0.8.0 keyring-24.3.1 more-itertools-10.3.0 msgpack-1.0.8 packaging-24.1 pexpect-4.9.0 pkginfo-1.11.1 platformdirs-4.2.2 poetry-1.8.3 poetry-core-1.9.0 poetry-plugin-export-1.8.0 ptyprocess-0.7.0 pycparser-2.22 pyproject-hooks-1.1.0 rapidfuzz-3.9.4 requests-2.32.3 requests-toolbelt-1.0.0 shellingham-1.5.4 tomli-2.0.1 tomlkit-0.12.5 trove-classifiers-2024.7.2 urllib3-2.2.2 virtualenv-20.26.3 zipp-3.19.2
Skipping virtualenv creation, as specified in config file.
Installing dependencies from lock file

Package operations: 228 installs, 2 updates, 0 removals

  • Installing attrs (23.2.0)
  • Installing rpds-py (0.18.1)
  • Installing referencing (0.35.1)
  • Installing six (1.16.0)
  • Installing jsonschema-specifications (2023.12.1)
  • Installing python-dateutil (2.9.0.post0)
  • Installing traitlets (5.14.3)
  • Installing types-python-dateutil (2.9.0.20240316)
  • Installing arrow (1.3.0)
  • Installing jsonschema (4.22.0)
  • Installing jupyter-core (5.7.2)
  • Installing pyzmq (26.0.3)
  • Installing tornado (6.4.1)
  • Installing fqdn (1.5.1)
  • Installing isoduration (20.11.0)
  • Installing jsonpointer (3.0.0)
  • Installing jupyter-client (8.6.2)
  • Installing markupsafe (2.1.5)
  • Installing nbformat (5.10.4)
  • Installing rfc3339-validator (0.1.4)
  • Installing rfc3986-validator (0.1.1)
  • Installing soupsieve (2.5)
  • Installing uri-template (1.3.0)
  • Installing webcolors (24.6.0)
  • Installing webencodings (0.5.1)
  • Installing argon2-cffi-bindings (21.2.0)
  • Installing asttokens (2.4.1)
  • Installing beautifulsoup4 (4.12.3)
  • Installing defusedxml (0.7.1)
  • Installing bleach (6.1.0)
  • Installing exceptiongroup (1.2.1)
  • Installing executing (2.0.1)
  • Installing jinja2 (3.1.4)
  • Installing jupyterlab-pygments (0.3.0)
  • Installing locket (1.0.0)
  • Installing mistune (3.0.2)
  • Installing nbclient (0.10.0)
  • Installing numpy (1.26.4)
  • Installing pandocfilters (1.5.1)
  • Installing parso (0.8.4)
  • Installing pure-eval (0.2.2)
  • Installing pygments (2.18.0)
  • Installing python-json-logger (2.0.7)
  • Installing pyyaml (6.0.1)
  • Installing sniffio (1.3.1)
  • Installing terminado (0.18.1)
  • Installing tinycss2 (1.3.0)
  • Installing toolz (0.12.1)
  • Installing typing-extensions (4.12.2)
  • Installing wcwidth (0.2.13)
  • Installing anyio (4.4.0)
  • Installing argon2-cffi (23.1.0)
  • Downgrading certifi (2024.7.4 -> 2024.6.2)
  • Installing cloudpickle (3.0.0)
  • Installing click (8.1.7)
  • Installing decorator (5.1.1)
  • Installing fsspec (2024.6.1)
  • Installing h11 (0.14.0)
  • Installing jedi (0.19.1)
  • Installing joblib (1.4.2)
  • Installing jupyter-events (0.10.0)
  • Installing jupyter-server-terminals (0.5.3)
  • Installing llvmlite (0.43.0)
  • Installing matplotlib-inline (0.1.7)
  • Installing mdurl (0.1.2)
  • Installing nbconvert (7.16.4)
  • Installing overrides (7.7.0)
  • Installing partd (1.4.2)
  • Installing prometheus-client (0.20.0)
  • Installing prompt-toolkit (3.0.47)
  • Installing pyasn1 (0.6.0)
  • Installing pytz (2024.1)
  • Installing scipy (1.12.0)
  • Installing send2trash (1.8.3)
  • Installing stack-data (0.6.3)
  • Installing threadpoolctl (3.5.0)
  • Installing tzdata (2024.1)
  • Installing websocket-client (1.8.0)
  • Installing babel (2.15.0)
  • Installing cachetools (5.3.3)
  • Installing comm (0.2.2)
  • Installing contourpy (1.2.1)
  • Installing cycler (0.12.1)
  • Installing dask (2024.6.2)
  • Installing debugpy (1.8.2)
  • Installing fonttools (4.53.0)
  • Installing future (1.0.0)
  • Installing httpcore (1.0.5)
  • Installing ipython (8.26.0)
  • Installing json5 (0.9.25)
  • Installing jupyter-server (2.14.1)
  • Installing kiwisolver (1.4.5)
  • Installing markdown-it-py (3.0.0)
  • Installing nest-asyncio (1.6.0)
  • Installing numba (0.60.0)
  • Installing pandas (2.2.2)
  • Installing pillow (10.4.0)
  • Installing protobuf (5.27.2)
  • Installing psutil (6.0.0)
  • Installing pyarrow (15.0.0)
  • Installing pyasn1-modules (0.4.0)
  • Installing pyjwt (2.8.0)
  • Installing pyparsing (3.1.2)
  • Installing rsa (4.9)
  • Installing scikit-learn (1.5.0)
  • Installing uc-micro-py (1.0.3)
  • Installing wrapt (1.16.0)
  • Installing annotated-types (0.7.0)
  • Installing async-lru (2.0.4)
  • Installing autograd (1.6.2)
  • Installing dask-expr (1.1.6)
  • Installing google-auth (2.31.0)
  • Installing frozenlist (1.4.1)
  • Installing googleapis-common-protos (1.63.2)
  • Installing httpx (0.27.0)
  • Installing ipykernel (6.29.5)
  • Installing jupyter-lsp (2.2.5)
  • Installing jupyterlab-server (2.27.2)
  • Installing linkify-it-py (2.0.3)
  • Installing matplotlib (3.9.0)
  • Installing mdit-py-plugins (0.4.1)
  • Installing msal (1.29.0)
  • Installing multidict (6.0.5)
  • Installing notebook-shim (0.2.4)
  • Installing patsy (0.5.6)
  • Installing portalocker (2.10.0)
  • Installing proto-plus (1.24.0)
  • Installing py (1.11.0)
  • Installing pydantic-core (2.20.0)
  • Installing pynndescent (0.5.13)
  • Installing rich (13.7.1)
  • Updating setuptools (65.5.1 -> 70.2.0)
  • Installing smart-open (7.0.4)
  • Installing tqdm (4.66.4)
  • Installing aiosignal (1.3.1)
  • Installing anytree (2.12.1)
  • Installing azure-common (1.1.28)
  • Installing async-timeout (4.0.3)
  • Installing azure-core (1.30.2)
  • Installing beartype (0.18.5)
  • Installing cramjam (2.8.3)
  • Installing deprecation (2.1.0)
  • Installing diskcache (5.6.3)
  • Installing distro (1.9.0)
  • Installing dnspython (2.6.1)
  • Installing gensim (4.3.2)
  • Installing google-api-core (2.19.1)
  • Installing graspologic-native (1.2.1)
  • Installing httptools (0.6.1)
  • Installing hyppo (0.4.0)
  • Installing isodate (0.6.1)
  • Installing jupyterlab (4.2.3)
  • Installing jupyterlab-widgets (3.0.11)
  • Installing marshmallow (3.21.3)
  • Installing msal-extensions (1.2.0)
  • Installing networkx (3.3)
  • Installing oauthlib (3.2.2)
  • Installing opencensus-context (0.1.3)
  • Installing pot (0.9.4)
  • Installing pydantic (2.8.0)
  • Installing pylance (0.13.0)
  • Installing python-dotenv (1.0.1)
  • Installing qtpy (2.4.1)
  • Installing ratelimiter (1.2.0.post0)
  • Installing regex (2024.5.15)
  • Installing retry (0.9.2)
  • Installing seaborn (0.13.2)
  • Installing statsmodels (0.14.2)
  • Installing typer (0.12.3)
  • Installing umap-learn (0.5.6)
  • Installing uvloop (0.19.0)
  • Installing watchfiles (0.22.0)
  • Installing websockets (12.0)
  • Installing widgetsnbextension (4.0.11)
  • Installing yarl (1.9.4)
  • Installing aiofiles (24.1.0)
  • Installing aiohttp (3.9.5)
  • Installing aiolimiter (1.1.0)
  • Installing azure-datalake-store (0.0.53)
  • Installing azure-identity (1.17.1)
  • Installing azure-search-documents (11.4.0)
  • Installing azure-storage-blob (12.20.0)
  • Installing cfgv (3.4.0)
  • Installing datashaper (0.0.49)
  • Installing devtools (0.12.2)
  • Installing email-validator (2.2.0)
  • Installing environs (11.0.0)
  • Installing fastapi-cli (0.0.4)
  • Installing fastparquet (2024.5.0)
  • Installing graspologic (3.4.1)
  • Installing identify (2.5.36)
  • Installing iniconfig (2.0.0)
  • Installing ipywidgets (8.1.3)
  • Installing jupyter-console (6.6.3)
  • Installing lancedb (0.9.0)
  • Installing mccabe (0.7.0)
  • Installing nltk (3.8.1)
  • Installing nodeenv (1.9.1)
  • Installing notebook (7.2.1)
  • Installing openai (1.35.7)
  • Installing opencensus (0.11.4)
    Installing /usr/local/lib/python3.10/site-packages/opencensus/init.py over existing file
    Installing /usr/local/lib/python3.10/site-packages/opencensus/common/init.py over existing file
  • Installing orjson (3.10.5)
  • Installing pluggy (1.5.0)
  • Installing pyaml-env (1.2.1)
  • Installing pycodestyle (2.12.0)
  • Installing pyflakes (3.2.0)
  • Installing python-multipart (0.0.9)
  • Installing qtconsole (5.5.2)
  • Installing requests-oauthlib (2.0.0)
  • Installing starlette (0.37.2)
  • Installing swifter (1.4.0)
  • Installing tenacity (8.4.2)
  • Installing textual (0.70.0)
  • Installing tiktoken (0.7.0)
  • Installing ujson (5.10.0)
  • Installing uvicorn (0.30.1)
  • Installing adlfs (2024.4.1)
  • Installing applicationinsights (0.11.10)
  • Installing azure-cosmos (4.7.0)
  • Installing detect-secrets (1.5.0)
  • Installing fastapi (0.111.0)
  • Installing flake8 (7.1.0)
  • Installing graphrag (0.1.1)
  • Installing jupyter (1.0.0)
    Installing /usr/local/lib/python3.10/site-packages/jupyter.py over existing file
  • Installing kubernetes (30.1.0)
  • Installing opencensus-ext-azure (1.1.13)
  • Installing pre-commit (3.7.1)
    Installing /usr/local/lib/python3.10/site-packages/opencensus/init.py over existing file
  • Installing pytest (8.2.2)
  • Installing ruff (0.5.0)
  • Installing wikipedia (1.4.0)

Removing intermediate container 1951a883a221
---> 8bff5b1a2af3
Step 11/15 : RUN python -m nltk.downloader punkt averaged_perceptron_tagger maxent_ne_chunker words wordnet
---> Running in 829a21804925
/usr/local/lib/python3.10/runpy.py:126: RuntimeWarning: 'nltk.downloader' found in sys.modules after import of package 'nltk', but prior to execution of 'nltk.downloader'; this may result in unpredictable behaviour
warn(RuntimeWarning(msg))
[nltk_data] Downloading package punkt to /root/nltk_data...
[nltk_data] Unzipping tokenizers/punkt.zip.
[nltk_data] Downloading package averaged_perceptron_tagger to
[nltk_data] /root/nltk_data...
[nltk_data] Unzipping taggers/averaged_perceptron_tagger.zip.
[nltk_data] Downloading package maxent_ne_chunker to
[nltk_data] /root/nltk_data...
[nltk_data] Unzipping chunkers/maxent_ne_chunker.zip.
[nltk_data] Downloading package words to /root/nltk_data...
[nltk_data] Unzipping corpora/words.zip.
[nltk_data] Downloading package wordnet to /root/nltk_data...
Removing intermediate container 829a21804925
---> 394f19331703
Step 12/15 : RUN sed -i '/self.credential = credential/a\ \ \ \ \ \ \ \ if kwargs.get("account_host"): self.account_host = kwargs.get("account_host")' /usr/local/lib/python3.10/site-packages/adlfs/spec.py
---> Running in 0756c5817ce2
Removing intermediate container 0756c5817ce2
---> 7a5224284abe
Step 13/15 : WORKDIR /backend
---> Running in dbe942c1cf38
Removing intermediate container dbe942c1cf38
---> 37cbdd6fe021
Step 14/15 : EXPOSE 80
---> Running in 2e266549f1ee
Removing intermediate container 2e266549f1ee
---> 732cf7787ef9
Step 15/15 : CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "80"]
---> Running in 97a13614a479
Removing intermediate container 97a13614a479
---> 4001268801cb
Successfully built 4001268801cb
Successfully tagged c44xxx.azurecr.io/graphrag:backend
2024/07/08 14:43:01 Successfully executed container: build
2024/07/08 14:43:01 Executing step ID: push. Timeout(sec): 3600, Working directory: '', Network: ''
2024/07/08 14:43:01 Pushing image: c44xxx.azurecr.io/graphrag:backend, attempt 1
The push refers to repository [c44xxx.azurecr.io/graphrag]
548028bd4e4d: Preparing
2651d85663f2: Preparing
1a0235b7996e: Preparing
e9b45366f8d7: Preparing
9e50fac096d7: Preparing
23dd121a5437: Preparing
70071953a2c7: Preparing
f6c5335edc76: Preparing
0286a57d9d86: Preparing
b11bb163e263: Preparing
b779a72428fa: Preparing
8ada682d3780: Preparing
15bb10f9bb3a: Preparing
23dd121a5437: Waiting
70071953a2c7: Waiting
f6c5335edc76: Waiting
0286a57d9d86: Waiting
b11bb163e263: Waiting
b779a72428fa: Waiting
8ada682d3780: Waiting
15bb10f9bb3a: Waiting
548028bd4e4d: Pushed
9e50fac096d7: Pushed
23dd121a5437: Layer already exists
70071953a2c7: Layer already exists
f6c5335edc76: Layer already exists
0286a57d9d86: Layer already exists
b11bb163e263: Layer already exists
b779a72428fa: Layer already exists
8ada682d3780: Layer already exists
15bb10f9bb3a: Layer already exists
e9b45366f8d7: Pushed
2651d85663f2: Pushed

1a0235b7996e: Pushed
backend: digest: sha256:c9bbe98c6324d30512ea7c838ef size: 3065
2024/07/08 14:44:33 Successfully pushed image: c44xxx.azurecr.io/graphrag:backend
2024/07/08 14:44:33 Step ID: build marked as successful (elapsed time in seconds: 114.601445)
2024/07/08 14:44:33 Populating digests for step ID: build...
2024/07/08 14:44:34 Successfully populated digests for step ID: build
2024/07/08 14:44:34 Step ID: push marked as successful (elapsed time in seconds: 91.497253)
2024/07/08 14:44:34 The following dependencies were found:
2024/07/08 14:44:34

  • image:
    registry: c44xxx.azurecr.io
    repository: graphrag
    tag: backend
    digest: sha256:c9bbe98c6324d30512ea7c838ef
    runtime-dependency:
    registry: registry.hub.docker.com
    repository: library/python
    tag: "3.10"
    digest: sha256:506eee363017f8261ba2e05be2
    git: {}

Run ID: cbb was successful after 3m32s
Done.
Checking if sshkey exists... Yes.
Deploying Azure resources...
Deployment name: graphrag-deploy-2024-07-08_16-44-38
Assigning 'Cognitive Services OpenAI Contributor' AOAI role to managed identity...
Assigning 'ACRPull' role to AKS to access container registry...
WARNING: The login server endpoint suffix '.azurecr.io' is automatically omitted.
Getting AKS credentials... Context "aks-graphragbase" modified.
Done
Retrieving AKS VNet info... WARNING: Command group 'az network' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
WARNING: Command group 'az network' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Done
Peering APIM VNet to AKS...
Peering AKS VNet to APIM...
...peering complete
Deploying graphrag helm chart... cosmos endpoint: https://xxx.documents.azure.com:443/
storage account url: https://xxx.blob.core.windows.net/
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "ingress-nginx" chart repository
Update Complete. ⎈Happy Helming!⎈
Saving 1 charts
Downloading ingress-nginx from repo https://kubernetes.github.io/ingress-nginx
Deleting outdated charts
"ingress-nginx" already exists with the same configuration, skipping
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "ingress-nginx" chart repository
Update Complete. ⎈Happy Helming!⎈
Saving 1 charts
Downloading ingress-nginx from repo https://kubernetes.github.io/ingress-nginx
Deleting outdated charts

  • helm upgrade -i graphrag ./helm/graphrag -f ./helm/graphrag/values.yaml --namespace graphrag --create-namespace --set serviceAccount.name=graphrag-workload-sa --set 'serviceAccount.annotations.azure.workload.identity/client-id=xxx' --set index.image.repository=c44xxx.azurecr.io/graphrag --set index.image.tag=backend --set query.image.repository=c44xxx.azurecr.io/graphrag --set query.image.tag=backend --set ingress.host=graphrag.graphrag.io --set graphragConfig.APIM_GATEWAY_URL=https://xxx.azure-api.net --set graphragConfig.AI_SEARCH_URL=https://xxx.search.windows.net --set graphragConfig.AI_SEARCH_AUDIENCE=https://search.azure.com --set graphragConfig.COSMOS_URI_ENDPOINT=https://xxx.documents.azure.com:443/ --set graphragConfig.GRAPHRAG_API_BASE=https://xxx.openai.azure.com/ --set graphragConfig.GRAPHRAG_API_VERSION=2023-03-15-preview --set graphragConfig.GRAPHRAG_COGNITIVE_SERVICES_ENDPOINT=https://cognitiveservices.azure.com/.default --set graphragConfig.GRAPHRAG_LLM_MODEL=gpt-4 --set graphragConfig.GRAPHRAG_LLM_DEPLOYMENT_NAME=gpt-4 --set graphragConfig.GRAPHRAG_EMBEDDING_MODEL=text-embedding-ada-002 --set graphragConfig.GRAPHRAG_EMBEDDING_DEPLOYMENT_NAME=text-embedding-ada-002 --set 'graphragConfig.REPORTERS=blob,console' --set graphragConfig.STORAGE_ACCOUNT_BLOB_URL=https://xxx.blob.core.windows.net/
    Error: Kubernetes cluster unreachable: Get "http://localhost:8080/version": dial tcp 127.0.0.1:8080: connect: connection refused
  • local helmResult=1
  • true
  • set +x
    Error deploying helm chart, exiting...`
@Loo-Ree Loo-Ree added the bug Something isn't working label Jul 8, 2024
@Loo-Ree Loo-Ree changed the title [BUG] fail deploying helm chart [BUG] failed deploying helm chart Jul 8, 2024
@timothymeyers
Copy link
Contributor

timothymeyers commented Jul 11, 2024

It looks like it is having trouble reaching your AKS cluster. I'm not sure why it thinks your cluster is running on localhost. Do you have multiple contexts?

Try running kubectl config current-context and verify that the cluster name is correct.

Then try running kubectl cluster-info to verify that the cluster is running correctly.

image

@timothymeyers
Copy link
Contributor

Any feedback here @Loo-Ree ?

@timothymeyers
Copy link
Contributor

Closing as stale.

@timothymeyers timothymeyers closed this as not planned Won't fix, can't repro, duplicate, stale Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants