Hi Team,
I'm trying to deploy a workflow using these steps:
1.
pyflyte init my_project
- init project
2.
pyflyte --pkgs workflows package
- packaging the project
3.
flytectl --config .config/local-config.yaml register files flyte-package.tgz -p data -d development --version 14190df1_1a1a_4b1a_8b1a_1a1a1a1a1a1a
The register command failing with non-informative error:
Copy code
Error: input package have some invalid files. try to run pyflyte package again [flyte-package.tgz]
{"json":{"src":"main.go:13"},"level":"error","msg":"input package have some invalid files. try to run pyflyte package again [flyte-package.tgz]","ts":"2023-12-25T12:36:50+02:00"}
Any idea?
f
freezing-airport-6809
12/25/2023, 4:03 PM
Can you try pyflyte register
freezing-airport-6809
12/25/2023, 4:03 PM
Skip package and flytectl register
a
adamant-monkey-75912
12/26/2023, 8:26 AM
Yeah, the registration with pyflyte register is working, but not the package and registration with flytectl
f
freezing-airport-6809
12/26/2023, 7:45 PM
That is odd we should look into it. Would love to reproduce
h
high-accountant-32689
12/27/2023, 2:21 PM
The
--archive
is missing in the
flytectl
call. Should be:
Copy code
flytectl --config .config/local-config.yaml register files --archive flyte-package.tgz -p data -d development --version 14190df1_1a1a_4b1a_8b1a_1a1a1a1a1a1a
❤️ 1
a
adamant-monkey-75912
12/27/2023, 3:50 PM
I’ll try this thanks for your help @high-accountant-32689 🙏