Skip to content

Cannot generate operator bundle #2056

@chaitanya1731

Description

@chaitanya1731

Describe the bug
Unable to generate the operator bundle for tag 0.32.1 using `make bundle' command

To Reproduce
Steps to reproduce the behavior:
git clone to v0.32.1 branch and run - make bundle TAG=0.32.1 CHANNELS=alpha DEFAULT_CHANNEL=alpha

Expected behavior
Operator bundle files generated

Logs

[ckulkar1@jfz1r09h07 intel-device-plugins-for-kubernetes]$ make bundle TAG=0.32.1 CHANNELS=alpha DEFAULT_CHANNEL=alpha
rm -rf community-operators/operators/intel-device-plugins-operator/0.32.1
mkdir -p community-operators/operators/intel-device-plugins-operator/0.32.1
operator-sdk generate kustomize manifests -q --input-dir deployments/operator/manifests --output-dir deployments/operator/manifests --apis-dir pkg/apis
kustomize build deployments/operator/manifests | sed "s|intel-deviceplugin-operator:devel|intel-deviceplugin-operator:0.32.1|" | operator-sdk generate bundle -q --overwrite --version 0.32.1 --channels=alpha --default-channel=alpha --kustomize-dir deployments/operator/manifests --output-dir . --use-image-digests
Error: accumulating resources: accumulation err='accumulating resources from '../scorecard': evalsymlink failure on '/home/ckulkar1/intel/intel-device-plugins-for-kubernetes/deployments/operator/scorecard' : lstat /home/ckulkar1/intel/intel-device-plugins-for-kubernetes/deployments/operator/scorecard: no such file or directory': evalsymlink failure on '/home/ckulkar1/intel/intel-device-plugins-for-kubernetes/deployments/operator/scorecard' : lstat /home/ckulkar1/intel/intel-device-plugins-for-kubernetes/deployments/operator/scorecard: no such file or directory
2025/05/12 10:29:23 manifests true
2025/05/12 10:29:23 skipping non-yaml file without errors: manifests 
2025/05/12 10:29:23 intel-device-plugins-operator.clusterserviceversion.yaml false
2025/05/12 10:29:23 visited file or dir: "manifests/intel-device-plugins-operator.clusterserviceversion.yaml"
2025/05/12 10:29:23 Pull spec heuristic: docker.io/intel/intel-deviceplugin-operator:0.32.1 looks like a pullspec
2025/05/12 10:29:23 Pull spec heuristic: docker.io/intel/intel-deviceplugin-operator:0.32.1 looks like a pullspec
2025/05/12 10:29:23 Pull spec heuristic: docker.io/intel/intel-deviceplugin-operator:0.32.1 looks like a pullspec
2025/05/12 10:29:23 Pull spec heuristic: docker.io/intel/intel-deviceplugin-operator:0.32.1 looks like a pullspec
2025/05/12 10:29:23 Found pullspec for annotation intel-deviceplugin-operator-0.32.1-annotation: docker.io/intel/intel-deviceplugin-operator:0.32.1
2025/05/12 10:29:23 Found pullspec for annotation intel-deviceplugin-operator-0.32.1-annotation: docker.io/intel/intel-deviceplugin-operator:0.32.1
2025/05/12 10:29:23 Found pullspec for annotation intel-deviceplugin-operator-0.32.1-annotation: docker.io/intel/intel-deviceplugin-operator:0.32.1
2025/05/12 10:29:23 Found pullspec for annotation intel-deviceplugin-operator-0.32.1-annotation: docker.io/intel/intel-deviceplugin-operator:0.32.1
2025/05/12 10:29:23 Pull spec heuristic: docker.io/intel/intel-deviceplugin-operator:0.32.1 looks like a pullspec
2025/05/12 10:29:23 Pull spec heuristic: docker.io/intel/intel-deviceplugin-operator:0.32.1 looks like a pullspec
2025/05/12 10:29:23 Pull spec heuristic: docker.io/intel/intel-deviceplugin-operator:0.32.1 looks like a pullspec
2025/05/12 10:29:23 Pull spec heuristic: docker.io/intel/intel-deviceplugin-operator:0.32.1 looks like a pullspec
2025/05/12 10:29:23 manifests/intel-device-plugins-operator.clusterserviceversion.yaml - Replaced pullspec for annotation intel-deviceplugin-operator-0.32.1-annotation: {docker.io intel intel-deviceplugin-operator 0.32.1} -> {docker.io intel intel-deviceplugin-operator sha256:ef1187484172179e6dfeb9dbbc4156958b7ae0661b0ffcbbba3b6b5d04f3e08a}
2025/05/12 10:29:23 Pull spec heuristic: docker.io/intel/intel-deviceplugin-operator@sha256:ef1187484172179e6dfeb9dbbc4156958b7ae0661b0ffcbbba3b6b5d04f3e08a looks like a pullspec
2025/05/12 10:29:23 Pull spec heuristic: docker.io/intel/intel-deviceplugin-operator@sha256:ef1187484172179e6dfeb9dbbc4156958b7ae0661b0ffcbbba3b6b5d04f3e08a looks like a pullspec
2025/05/12 10:29:23 Pull spec heuristic: docker.io/intel/intel-deviceplugin-operator@sha256:ef1187484172179e6dfeb9dbbc4156958b7ae0661b0ffcbbba3b6b5d04f3e08a looks like a pullspec
2025/05/12 10:29:23 Pull spec heuristic: docker.io/intel/intel-deviceplugin-operator@sha256:ef1187484172179e6dfeb9dbbc4156958b7ae0661b0ffcbbba3b6b5d04f3e08a looks like a pullspec
2025/05/12 10:29:23 Pull spec heuristic: operators.operatorframework.io/builder:operator-sdk-v1.22.2 looks like a pullspec
2025/05/12 10:29:23 Pull spec heuristic: docker.io/intel/intel-deviceplugin-operator@sha256:ef1187484172179e6dfeb9dbbc4156958b7ae0661b0ffcbbba3b6b5d04f3e08a looks like a pullspec
2025/05/12 10:29:23 Pull spec heuristic: docker.io/intel/intel-deviceplugin-operator@sha256:ef1187484172179e6dfeb9dbbc4156958b7ae0661b0ffcbbba3b6b5d04f3e08a looks like a pullspec
2025/05/12 10:29:23 Pull spec heuristic: docker.io/intel/intel-deviceplugin-operator@sha256:ef1187484172179e6dfeb9dbbc4156958b7ae0661b0ffcbbba3b6b5d04f3e08a looks like a pullspec
2025/05/12 10:29:23 Pull spec heuristic: docker.io/intel/intel-deviceplugin-operator@sha256:ef1187484172179e6dfeb9dbbc4156958b7ae0661b0ffcbbba3b6b5d04f3e08a looks like a pullspec
2025/05/12 10:29:23 manifests/intel-device-plugins-operator.clusterserviceversion.yaml - Set relateImage intel-deviceplugin-operator-ef1187484172179e6dfeb9dbbc4156958b7ae0661b0ffcbbba3b6b5d04f3e08a-annotation (from annotation intel-deviceplugin-operator-ef1187484172179e6dfeb9dbbc4156958b7ae0661b0ffcbbba3b6b5d04f3e08a-annotation): docker.io/intel/intel-deviceplugin-operator@sha256:ef1187484172179e6dfeb9dbbc4156958b7ae0661b0ffcbbba3b6b5d04f3e08a
INFO[0001] Creating bundle.Dockerfile                   
INFO[0001] Creating metadata/annotations.yaml           
INFO[0001] Bundle metadata generated suceessfully       
# Remove unneeded resources
rm manifests/*service.yaml
rm: cannot remove 'manifests/*service.yaml': No such file or directory
make: *** [Makefile:126: bundle] Error 1

Additional context
Got same issue on v0.32.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions