Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feast operator installation fails when running kustomize on macOS #4849

Open
hbelmiro opened this issue Dec 13, 2024 · 2 comments
Open

Feast operator installation fails when running kustomize on macOS #4849

hbelmiro opened this issue Dec 13, 2024 · 2 comments

Comments

@hbelmiro
Copy link

Expected Behavior

Installation should be completed successfully.

Current Behavior

make install
mkdir -p /Users/hbelmiro/dev/feast/upstream/feast/infra/feast-operator/bin
Downloading sigs.k8s.io/controller-tools/cmd/[email protected]
go: downloading sigs.k8s.io/controller-tools v0.14.0
go: downloading github.com/spf13/cobra v1.8.0
go: downloading github.com/fatih/color v1.16.0
go: downloading k8s.io/api v0.29.0
go: downloading k8s.io/apimachinery v0.29.0
go: downloading k8s.io/apiextensions-apiserver v0.29.0
go: downloading sigs.k8s.io/yaml v1.4.0
go: downloading github.com/gobuffalo/flect v1.0.2
go: downloading golang.org/x/tools v0.16.1
go: downloading github.com/mattn/go-colorable v0.1.13
go: downloading k8s.io/utils v0.0.0-20230726121419-3b25d923346b
go: downloading k8s.io/klog/v2 v2.110.1
go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.4.1
go: downloading golang.org/x/sys v0.15.0
go: downloading golang.org/x/net v0.19.0
/Users/hbelmiro/dev/feast/upstream/feast/infra/feast-operator/bin/controller-gen-v0.14.0 rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=config/crd/bases
Downloading sigs.k8s.io/kustomize/kustomize/[email protected]
go: downloading sigs.k8s.io/kustomize/kustomize/v5 v5.3.0
go: downloading sigs.k8s.io/kustomize/api v0.16.0
go: downloading sigs.k8s.io/kustomize/cmd/config v0.13.0
go: downloading sigs.k8s.io/kustomize/kyaml v0.16.0
go: downloading golang.org/x/exp v0.0.0-20231006140011-7918f672742d
go: downloading github.com/go-errors/errors v1.4.2
go: downloading k8s.io/kube-openapi v0.0.0-20230601164746-7562a1006961
go: downloading github.com/xlab/treeprint v1.2.0
go: downloading gopkg.in/evanphx/json-patch.v5 v5.6.0
# sigs.k8s.io/kustomize/kustomize/v5
ld: warning: -ld_classic is deprecated and will be removed in a future release
/Users/hbelmiro/dev/feast/upstream/feast/infra/feast-operator/bin/kustomize-v5.3.0 build config/crd | kubectl apply -f -
error: no objects passed to apply
make: *** [install] Error 1
infra/feast-operator/bin/kustomize-v5.3.0 build config/crd
[1]    83129 killed      build config/crd

I can see the following in a crash report on macOS.

Exception Type:        EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid))
Exception Codes:       UNKNOWN_0x32 at 0x0000000100d25d70
Exception Codes:       0x0000000000000032, 0x0000000100d25d70

Steps to reproduce

Try to deploy on the cluster by following https://github.com/feast-dev/feast/tree/master/infra/feast-operator#to-deploy-on-the-cluster.

Specifications

  • Version:
  • Platform:
  • Subsystem:

Possible Solution

@dmartinol
Copy link
Contributor

@tchughesiv FYI

@tchughesiv
Copy link
Contributor

@hbelmiro thanks for reporting this... what a strange (and new) issue. my mac is suddenly experiencing the same with all of the binaries being installed to bin/. while i'm not yet sure about the root cause, the following fixed the issue for me -

% pwd
/Users/..../feast/infra/feast-operator

% codesign -vv -f -s - bin/*
bin/controller-gen-v0.14.0: replacing existing signature
bin/controller-gen-v0.14.0: signed Mach-O thin (arm64) [controller-gen-v0-8a77f5c89597693086ce092cd5bf19252a159829]
bin/golangci-lint-v1.57.2: replacing existing signature
bin/golangci-lint-v1.57.2: signed Mach-O thin (arm64) [golangci-lint-v1-555549446336df27ce3937f989d8d9b3ba48cb67]
bin/kustomize-v5.3.0: replacing existing signature
bin/kustomize-v5.3.0: signed Mach-O thin (arm64) [kustomize-v5-55554944eaa4147b457837bd8461e098a1c467e0]

Alternatively, you can bypass the need for any installed binaries and install the operator with the following command -

% kubectl apply -f dist/install.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants