https://flyte.org logo
#ask-the-community
Can't build image in sandbox
# ask-the-community
m

mattv

12/19/2023, 2:46 PM
Hello, I am trying to run the example in a container built from the following image_spec.yaml. The workflow is the one provided at the getting started guide, using an import to verify all the dependencies are installed.
Copy code
python_version: "3.10"
registry: pingsutw
packages:
  - scikit-learn==1.3.2
  - atlassian-python-api==3.41.4
env:
  Debug: "True"
and running
Copy code
pyflyte run --remote --image image.yaml --remote example.py training_workflow \
    --hyperparameters '{"C": 0.1}'
The build starts but I grt
Copy code
Failed with Unknown Exception <class 'Exception'> Reason: failed to run command envd build --path /tmp/flyte-icinrpj7/sandbox/local_flytekit/34cf5dd467353fcfc58e8ec691b2aff4  --platform linux/amd64 --output type=image,name=pingsutw/flytekit:_StX2__5nWGAVZ_GwnXRjA..,push=true with error b'error: server message: insufficient_scope: authorization failed\n'
failed to run command envd build --path /tmp/flyte-icinrpj7/sandbox/local_flytekit/34cf5dd467353fcfc58e8ec691b2aff4  --platform linux/amd64 --output type=image,name=pingsutw/flytekit:_StX2__5nWGAVZ_GwnXRjA..,push=true with error b'error: server message: insufficient_scope: authorization failed\n'
I am also not entirely convinced that the build is happening in the running demo cluster neither.