shy-evening-51366
05/08/2024, 12:47 PMflyte
repo and following the contribution guide (so far installing Go and running the k3s demo environment). When running make compile
(macOS 14.2.1, ARM, go version go1.19 darwin/arm64
) I’m hitting this error with no further explanation:
Makefile:130: warning: overriding commands for target `go-tidy'
boilerplate/flyte/golang_test_targets/Makefile:60: warning: ignoring old commands for target `go-tidy'
script/get_flyteconsole_dist.sh
++ uname -m
+ ARCH=arm64
+ case ${ARCH} in
+ IMAGE_ARCH=arm64
+ FLYTECONSOLE_IMAGE=ghcr.io/flyteorg/flyteconsole:latest
++ docker manifest inspect --verbose ghcr.io/flyteorg/flyteconsole:latest
++ jq --arg IMAGE_ARCH arm64 --raw-output '.[] | select(.Descriptor.platform.architecture == $IMAGE_ARCH) | .Descriptor.digest'
+ IMAGE_DIGEST=sha256:ee26ebe10c54aa24a755c43d275c3ce00d8be6fa090d88875fb5fc6c05903728
+ '[' -f cmd/single/dist/.digest ']'
+ grep -Fxq sha256:ee26ebe10c54aa24a755c43d275c3ce00d8be6fa090d88875fb5fc6c05903728 cmd/single/dist/.digest
+ exit 0
go build -tags console -v -o flyte -ldflags="-s -w -X github.com/flyteorg/flytestdlib/version.Version=cb57beb00 -X github.com/flyteorg/flytestdlib/version.Build=cb57beb00 -X github.com/flyteorg/flytestdlib/version.BuildTime=2024-05-08" ./cmd/
google.golang.org/protobuf/internal/flags
google.golang.org/grpc/serviceconfig
github.com/jackc/puddle/v2/internal/genstack
go.opentelemetry.io/otel/metric/embedded
go.opentelemetry.io/otel/trace/embedded
... (huge list)
github.com/flyteorg/flyte/datacatalog/pkg/repositories
github.com/flyteorg/flyte/datacatalog/pkg/repositories/transformers
github.com/flyteorg/flyte/flyteadmin/pkg/async/schedule/noop
github.com/flyteorg/flyte/datacatalog/pkg/manager/impl
github.com/flyteorg/flyte/datacatalog/pkg/rpc/datacatalogservice
make: *** [compile] Error 2
shy-evening-51366
05/08/2024, 12:49 PMMakefile:130: warning: overriding commands for target `go-tidy'
boilerplate/flyte/golang_test_targets/Makefile:60: warning: ignoring old commands for target `go-tidy'
go mod tidy
go: go.mod file indicates go 1.21, but maximum version supported by tidy is 1.19
make: *** [go-tidy] Error 1
average-finland-92144
05/08/2024, 3:10 PMdamp-lion-88352
05/08/2024, 3:14 PMdamp-lion-88352
05/08/2024, 3:14 PMdamp-lion-88352
05/08/2024, 3:14 PMshy-evening-51366
05/10/2024, 8:25 AM1.21.10
which seems to work, except for the mv ./flyte …
which fails on macOS (also with sudo) due to it being a system directory; manually moving it to a directory on my PATH worked. Thanks for the help 👍 (maybe in the Onboarding docs there should not be such an explicit mention of requirement on go 1.19?)damp-lion-88352
05/10/2024, 1:39 PMdamp-lion-88352
05/10/2024, 1:39 PMdamp-lion-88352
05/10/2024, 1:39 PMshy-evening-51366
05/10/2024, 5:23 PMmake compile
seems to succeed and I’m running POD_NAMESPACE=flyte ./flyte start --config flyte-single-binary-local.yaml
(no obvious errors, just a lot of logs), but then when accessing localhost:30080/console
in the browser:
upstream connect error or disconnect/reset before headers. reset reason: connection failure, transport failure reason: delayed connect error: 111
shy-evening-51366
05/10/2024, 5:32 PMshy-evening-51366
05/10/2024, 5:38 PMdamp-lion-88352
05/10/2024, 11:26 PMdamp-lion-88352
05/10/2024, 11:26 PMshy-evening-51366
05/13/2024, 9:29 AMRunning
, there was no flyteconsole
there so tried to run that locally and then hit a connection issue. Maybe it was due to restarting, not sure, but tried yarn start
in the flyteconsole repo today and it now spun up a UI. Hope/think I can proceed with this 👍 Thanks!damp-lion-88352
05/13/2024, 12:54 PMdamp-lion-88352
05/13/2024, 12:54 PMyarn start