-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
4.13
-
None
Description of problem:
Install OSUS failed by using graph-data image built by oc-mirror. Graph-data container is initialized correctly. But graph-builder failed while reading "/var/lib/cincinnati/graph-data/version". # oc get pod NAME READY STATUS RESTARTS AGE update-service-oc-mirror-9d558875c-bnk5l 1/2 Running 0 2m42s updateservice-operator-5699c7d897-ncxll 1/1 Running 0 24m # oc logs update-service-oc-mirror-9d558875c-bnk5l ...... [2023-02-22T15:38:04Z TRACE cincinnati::plugins] Running next plugin 'openshift-secondary-metadata-parse' [2023-02-22T15:38:04Z ERROR graph_builder::graph] Reading "/var/lib/cincinnati/graph-data/version" [2023-02-22T15:38:04Z ERROR graph_builder::graph] No such file or directory (os error 2) # oc rsh update-service-oc-mirror-9d558875c-bnk5l Defaulted container "graph-builder" out of: graph-builder, policy-engine, graph-data (init) sh-4.4$ cd /var/lib/cincinnati/registry-credentials sh-4.4$ ls -a . .. ..2023_02_22_15_37_59.1450366521 ..data .dockerconfigjson sh-4.4$ cd .. sh-4.4$ ls graph-data registry-credentials sh-4.4$ cd graph-data/ sh-4.4$ ls -a . .. sh-4.4$ Looks like graph-data is not mounted.
Version-Release number of selected component (if applicable):
$ oc-mirror version Client Version: version.Info{Major:"", Minor:"", GitVersion:"4.13.0-202302171841.p0.gd06d98a.assembly.stream-d06d98a", GitCommit:"d06d98a958c45b4d1aa361deea5b9b7225c359de", GitTreeState:"clean", BuildDate:"2023-02-17T19:00:13Z", GoVersion:"go1.19.2", Compiler:"gc", Platform:"linux/amd64"} OSUS: 5.0.0 OCP: 4.11.27
How reproducible:
2/2
Steps to Reproduce:
1. Build graph-data image by oc-mirror using the imageset config file $ cat imageset-config.yaml kind: ImageSetConfiguration apiVersion: mirror.openshift.io/v1alpha2 storageConfig: registry: imageURL: upshift.mirror-registry.qe.devcluster.openshift.com:5000/mirror skipTLS: false mirror: platform: channels: - name: candidate-4.11 minVersion: 4.11.26 maxVersion: 4.11.28 graph: true 2. Install OSUS 5.0.0 on OCP 4.11 3.
Actual results:
Graph-builder failed while reading "/var/lib/cincinnati/graph-data/version"
Expected results:
OSUS install passed
Additional info:
[cloud-user@preserve-yangyang-02 graph-data]$ pwd /home/cloud-user/oc-mirror/oc-mirror-workspace/src/cincinnati/graph-data [cloud-user@preserve-yangyang-02 graph-data]$ ll total 36 drwxr-xr-x. 2 cloud-user cloud-user 12288 Feb 22 11:20 blocked-edges drwxr-xr-x. 2 cloud-user cloud-user 4096 Feb 22 11:20 channels -rw-rw-r--. 1 cloud-user cloud-user 11357 Feb 22 11:20 LICENSE drwxr-xr-x. 2 cloud-user cloud-user 27 Feb 22 11:20 raw -rw-rw-r--. 1 cloud-user cloud-user 6 Feb 22 11:20 version
- blocks
-
OCPBUGS-10278 Graph-data is not mounted on graph-builder correctly while install using graph-data image built by oc-mirror
- Closed
- is cloned by
-
OCPBUGS-10278 Graph-data is not mounted on graph-builder correctly while install using graph-data image built by oc-mirror
- Closed
- links to