Bug 2075676
| Summary: | Unable to deploy TALO - "make deploy" fails | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | yliu1 | |
| Component: | Telco Edge | Assignee: | Vitaly Grinberg <vgrinber> | |
| Telco Edge sub component: | TALO | QA Contact: | yliu1 | |
| Status: | CLOSED ERRATA | Docs Contact: | ||
| Severity: | urgent | |||
| Priority: | unspecified | CC: | aos-bugs, ijolliff, keyoung, mcornea, vgrinber | |
| Version: | 4.10 | |||
| Target Milestone: | --- | |||
| Target Release: | 4.10.z | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2075914 2075934 (view as bug list) | Environment: | ||
| Last Closed: | 2022-07-11 15:28:29 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | 2075914 | |||
| Bug Blocks: | 2073144 | |||
Fixed in https://github.com/openshift-kni/cluster-group-upgrades-operator/pull/165 If you need a workaround before it merges, just run "make bundle" before "make deploy". If you want to test pre-caching, the "make bundle" should specify the pre-caching image, e.g. "make bundle PRECACHE_IMG=*your_precache_repo_image*" Sorry for missing this. Verified in TALO main branch. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (OpenShift Container Platform 4.10.22 extras update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:5514 |
Description of problem: Error thrown when trying to deploy TALO from latest release-4.10 branch using make deploy. [kni@provisionhost-0-0 cluster-group-upgrades-operator]$ make deploy IMG=${regimage}:latest /home/kni/cluster-group-upgrades-operator/bin/controller-gen "crd:trivialVersions=true,preserveUnknownFields=false" rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases cd config/manager && /home/kni/cluster-group-upgrades-operator/bin/kustomize edit set image controller=registry.ocp-edge-cluster-0.qe.lab.redhat.com:5000/cluster-group-upgrades-operator:latest /home/kni/cluster-group-upgrades-operator/bin/kustomize build config/default | kubectl apply -f - Error: accumulating resources: 2 errors occurred: * accumulateFile error: "accumulating resources from '../manager': '/home/kni/cluster-group-upgrades-operator/config/manager' must resolve to a file" * accumulateDirector error: "recursed accumulation of path '/home/kni/cluster-group-upgrades-operator/config/manager': trouble configuring builtin PatchStrategicMergeTransformer with config: `\npaths:\n- related-images/patch.yaml\n`: evalsymlink failure on '/home/kni/cluster-group-upgrades-operator/config/manager/related-images/patch.yaml' : lstat /home/kni/cluster-group-upgrades-operator/config/manager/related-images/patch.yaml: no such file or directory" error: no objects passed to apply make: *** [Makefile:200: deploy] Error 1 Version-Release number of selected component (if applicable): 4.10 How reproducible: 100% Steps to Reproduce: # Follow README to deploy TALO https://github.com/openshift-kni/cluster-group-upgrades-operator export regimage=${registry}/cluster-group-upgrades-operator oc image mirror ${talo_image} ${regimage}:latest make deploy IMG=${regimage}:latest Actual results: Error: accumulating resources: 2 errors occurred: * accumulateFile error: "accumulating resources from '../manager': '/home/kni/cluster-group-upgrades-operator/config/manager' must resolve to a file" * accumulateDirector error: "recursed accumulation of path '/home/kni/cluster-group-upgrades-operator/config/manager': trouble configuring builtin PatchStrategicMergeTransformer with config: `\npaths:\n- related-images/patch.yaml\n`: evalsymlink failure on '/home/kni/cluster-group-upgrades-operator/config/manager/related-images/patch.yaml' : lstat /home/kni/cluster-group-upgrades-operator/config/manager/related-images/patch.yaml: no such file or directory" Expected results: TALO deployed Additional info: