-
Bug
-
Resolution: Duplicate
-
Normal
-
None
-
4.13
-
No
-
False
-
Description of problem:
If the workload has an image and it is from outside the Red Hat domain, it is collected by the workload-info gatherer.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Prepare a workload (existing or new) with an image from an external domain (e.g. docker, quay.io,...). 2. Run Insights Operator 3. Check the config/workload_info.json file in the archive.
Actual results:
{ "pods": 132, "imageCount": 72, "images": { "sha256:3cfb3379dbce10c1088bc8bf2429e72984db656ecee57c359c288f23580a3ab2": { "layerIDs": [ "sha256:13897c84ca5715a68feafcce9acf779f35806f42d1fcd37e8a2a5706c075252d", "sha256:64607cc74f9cbe0e12f167547df0cf661de5a8b1fb4ebe930a43b9f621ca457f", "sha256:09bec785a242f9440bd843580731fc7f0a7d72932ef6bc6190708ce1548a2ec0", "sha256:87307f0f97c765b52904ba48264829295ee167025bc72ab1df4d2ce2ed9f7f6c", "sha256:403753cee738023fc093b5ad6bd95a3e93cf84b05838f0936e943fc0e8b5140d", "sha256:1bd85e07834910cad1fda7967cfd86ada69377ba0baf875683e7739d8de6d1b0" ], "firstCommand": "icTsn2s_EIax", "firstArg": "2v1NneeWoS_9" }, [...]
Expected results:
{ "pods": 132, "imageCount": 72, "images": { "sha256:47b6bd1c661fa24528cc8fad8cc11b403c68980a22978d4eb1b7b989785967dd": { "layerIDs": [ "sha256:13897c84ca5715a68feafcce9acf779f35806f42d1fcd37e8a2a5706c075252d", "sha256:64607cc74f9cbe0e12f167547df0cf661de5a8b1fb4ebe930a43b9f621ca457f", "sha256:09bec785a242f9440bd843580731fc7f0a7d72932ef6bc6190708ce1548a2ec0", "sha256:87307f0f97c765b52904ba48264829295ee167025bc72ab1df4d2ce2ed9f7f6c", "sha256:403753cee738023fc093b5ad6bd95a3e93cf84b05838f0936e943fc0e8b5140d", "sha256:1bd85e07834910cad1fda7967cfd86ada69377ba0baf875683e7739d8de6d1b0" ], "firstCommand": "icTsn2s_EIax", "firstArg": "2v1NneeWoS_9", "repository":"2W0Xq9hxQzho" <--- } [...]
Additional info:
- clones
-
OCPBUGS-17428 Extend workload-info gatherer to collect image repository info
- Closed