I follow the <docs> to deploy the flyte. But after...
# flyte-support
s
I follow the docs to deploy the flyte. But after I run the hello_world.py in remote, I got โ€œOriginal exception: Unable to locate credentialsโ€ error. Iโ€™ve tried to search docs and issues, but found nothing about it.
๐Ÿ‘€ 1
The pod error: NoCredentialsError: Unable to locate credentials During handling of the above exception, another exception occurred: โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Traceback (most recent call last) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ /usr/local/bin/pyflyte-fast-execute:8 in <module> โ”‚ โ”‚ โ”‚ โ”‚ โฑ 8 โ”‚ sys.exit(fast_execute_task_cmd()) โ”‚ โ”‚ โ”‚ โ”‚ /usr/local/lib/python3.11/site-packages/click/core.py:1130 in call โ”‚ โ”‚ โ”‚ โ”‚ โฑ 1130 โ”‚ โ”‚ return self.main(*args, **kwargs) โ”‚ โ”‚ โ”‚ โ”‚ /usr/local/lib/python3.11/site-packages/click/core.py:1055 in main โ”‚ โ”‚ โ”‚ โ”‚ โฑ 1055 โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ rv = self.invoke(ctx) โ”‚ โ”‚ โ”‚ โ”‚ /usr/local/lib/python3.11/site-packages/click/core.py:1404 in invoke โ”‚ โ”‚ โ”‚ โ”‚ โฑ 1404 โ”‚ โ”‚ โ”‚ return ctx.invoke(self.callback, **ctx.params) โ”‚ โ”‚ โ”‚ โ”‚ /usr/local/lib/python3.11/site-packages/click/core.py:760 in invoke โ”‚ โ”‚ โ”‚ โ”‚ โฑ 760 โ”‚ โ”‚ โ”‚ โ”‚ return __callback(*args, **kwargs) โ”‚ โ”‚ โ”‚ โ”‚ /usr/local/lib/python3.11/site-packages/flytekit/bin/entrypoint.py:497 in โ”‚ โ”‚ fast_execute_task_cmd โ”‚ โ”‚ โ”‚ โ”‚ โฑ 497 โ”‚ โ”‚ _download_distribution(additional_distribution, dest_dir) โ”‚ โ”‚ โ”‚ โ”‚ /usr/local/lib/python3.11/site-packages/flytekit/core/utils.py:295 in โ”‚ โ”‚ wrapper โ”‚ โ”‚ โ”‚ โ”‚ โฑ 295 โ”‚ โ”‚ โ”‚ โ”‚ return func(*args, **kwargs) โ”‚ โ”‚ โ”‚ โ”‚ /usr/local/lib/python3.11/site-packages/flytekit/tools/fast_registration.py: โ”‚ โ”‚ 113 in download_distribution โ”‚ โ”‚ โ”‚ โ”‚ โฑ 113 โ”‚ FlyteContextManager.current_context().file_access.get_data(additio โ”‚ โ”‚ โ”‚ โ”‚ /usr/local/lib/python3.11/site-packages/flytekit/core/utils.py:295 in โ”‚ โ”‚ wrapper โ”‚ โ”‚ โ”‚ โ”‚ โฑ 295 โ”‚ โ”‚ โ”‚ โ”‚ return func(*args, **kwargs) โ”‚ โ”‚ โ”‚ โ”‚ /usr/local/lib/python3.11/site-packages/flytekit/core/data_persistence.py:30 โ”‚ โ”‚ 1 in get_data โ”‚ โ”‚ โ”‚ โ”‚ โฑ 301 โ”‚ โ”‚ โ”‚ raise FlyteAssertion( โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ FlyteAssertion: Failed to get data from s3://coscene-traits-dev/flytesnacks/development/YYHE6OSLHL2BT5PSBO3SQXDVSQ====== /script_mode.tar.gz to /root/ (recursive=False). Original exception: Unable to locate credentials
w
I have the same issue as well, looking for some clues how to resolve it.
s
I found pyflyte usage: --config -c TEXT Path to config file for use within container. Iโ€™ve tried specify storage config, but it doesnโ€™t seem to work.
w
Per Samhitaโ€™s response on my error, there might be a problem with the propeller config. You can check this https://flyte-org.slack.com/archives/CP2HDHKE1/p1685424963698559?thread_ts=1685343156.567799&amp;cid=CP2HDHKE1
gratitude thank you 1
s
@witty-planet-44210 Thanks a lot. After fixing the configurations, it works now.
๐Ÿ™ 1
f
Thank you @witty-planet-44210 for the help
๐Ÿ™ 1
251 Views