David Wang
02/24/2022, 9:28 PMRUN_CONFIG = ECSRun(
labels=["dev"],
task_role_arn=f"arn:aws:iam::xxx:role/prefectTaskRole", # a role with S3 permissions
execution_role_arn="arn:aws:iam::xxx:role/prefectECSAgentTaskExecutionRole",
run_task_kwargs=dict(cluster="prefectEcsClusterDev"),
image="<http://xxx.dkr.ecr.us-east-1.amazonaws.com/prefect-orchestration:docker-test-v1|xxx.dkr.ecr.us-east-1.amazonaws.com/prefect-orchestration:docker-test-v1>"
)
Kevin Kho
02/24/2022, 9:37 PMprefecthq/prefect
oneDavid Wang
02/25/2022, 4:25 PMprefecthq/prefect
and the flow was able to succeed. However, if I tried a different tagged image such as prefecthq/prefect:latest-python3.7
it would give a prefect.exceptions.ClientError: [{'path': ['get_or_create_task_run_info'], 'message': 'Expected type UUID!, found ""; Could not parse UUID: ', 'extensions': {'code': 'INTERNAL_SERVER_ERROR', 'exception': {'message': 'Expected type UUID!, found ""; Could not parse UUID: ', 'locations': [{'line': 2, 'column': 101}], 'path': None}}}]
error. Is there a reason why I couldn’t pull the 3.7 version?Kevin Kho
02/25/2022, 4:32 PMDavid Wang
02/25/2022, 4:48 PMKevin Kho
02/25/2022, 5:38 PMDavid Wang
02/25/2022, 6:30 PMKevin Kho
02/25/2022, 6:32 PMpython
on the same box and open the interactive interpreter and it displays the versionDavid Wang
02/25/2022, 7:27 PMKevin Kho
02/25/2022, 7:30 PMDavid Wang
02/25/2022, 8:01 PMprefecthq/prefect:latest-python3.7
this timeFROM prefecthq/prefect:latest
and then clone my own private package from git and install from its requirements.txt file, the requirements file specifies a prefect~=0.15.6
to be installed too, would that affect the docker image in any way?Kevin Kho
02/25/2022, 8:36 PMVamsi Reddy
02/25/2022, 8:55 PMKevin Kho
02/25/2022, 9:04 PMVamsi Reddy
02/25/2022, 9:10 PMDavid Wang
02/25/2022, 9:16 PMKevin Kho
02/25/2022, 9:18 PMVamsi Reddy
02/25/2022, 9:25 PMKevin Kho
02/25/2022, 9:27 PMVamsi Reddy
02/25/2022, 9:59 PMKevin Kho
02/25/2022, 10:00 PMVamsi Reddy
02/25/2022, 10:03 PMKevin Kho
02/25/2022, 10:05 PMDavid Wang
02/25/2022, 10:08 PMResourceInitializationError: unable to pull secrets or registry auth: execution resource retrieval failed: unable to retrieve ecr registry auth: service call has been retried 3 time(s): RequestError: send request failed caused by: Post <https://api.ecr>....
Kevin Kho
02/25/2022, 10:10 PMVamsi Reddy
02/25/2022, 10:12 PMKevin Kho
02/25/2022, 10:15 PM