Skip to content

Commit

Permalink
Container Image Inspection bsc#1236323 (#3729)
Browse files Browse the repository at this point in the history
* bsc#1236323
* update cfg files
* add background info
* Update modules/administration/pages/troubleshooting/tshoot-container-inspection.adoc
Co-authored-by: Ornela Marić <[email protected]>
  • Loading branch information
keichwa authored Feb 25, 2025
1 parent 12e87fd commit eaa1948
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
- Add section about container image inspection to Image
Management chapter in Administration Guide (bsc#1236323)
- Fixed typo in Installation and Upgrade Guide (bsc#1237403)
- Fixed host operating system name in Installation and Upgrade
Guide
Expand Down
1 change: 1 addition & 0 deletions l10n-weblate/administration.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
[type: asciidoc] modules/administration/pages/custom-channels.adoc $lang:translations/$lang/modules/administration/pages/custom-channels.adoc
[type: asciidoc] modules/administration/pages/disconnected-setup.adoc $lang:translations/$lang/modules/administration/pages/disconnected-setup.adoc
[type: asciidoc] modules/administration/pages/image-management.adoc $lang:translations/$lang/modules/administration/pages/image-management.adoc
[type: asciidoc] modules/administration/pages/image-mgmt-container-inspection.adoc $lang:translations/$lang/modules/administration/pages/image-mgmt-container-inspection.adoc
[type: asciidoc] modules/administration/pages/infra-maintenance.adoc $lang:translations/$lang/modules/administration/pages/infra-maintenance.adoc
[type: asciidoc] modules/administration/pages/iss.adoc $lang:translations/$lang/modules/administration/pages/iss.adoc
[type: asciidoc] modules/administration/pages/iss_intro.adoc $lang:translations/$lang/modules/administration/pages/iss_intro.adoc
Expand Down
9 changes: 9 additions & 0 deletions modules/administration/pages/image-management.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ From the {productname} {webui}, perform these steps to configure a build host:
. Install all required packages by applying [systemitem]``Highstate``.
From the system details tab select menu:States[Highstate], and click btn:[Apply Highstate].
Alternatively, apply [systemitem]``Highstate`` from the {productname} Server command line:

+

[source,shell]
----
salt '$your_client' state.highstate
----
Expand Down Expand Up @@ -332,6 +335,12 @@ The status icon for the imported image can also be seen on the ``Overview`` tab
=== Troubleshooting



include::image-mgmt-container-inspection.adoc[]


==== General Issues

These are some known problems when working with images:

* HTTPS certificates to access the registry or the git repositories should be deployed to the client by a custom state file.
Expand Down
16 changes: 16 additions & 0 deletions modules/administration/pages/image-mgmt-container-inspection.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
==== Image Inspection

A base container image (BCI) comes with all the software to run it, but because BCIs are lightweight they may not come with all tools and libraries you may need for inspection.

When inspecting a container image you can see an error message such as:

----
libssl.so.1.1: cannot open shared object file: No such file or directory
----

A BCI can be used in the other scenarios than with the container build host and using the {salt} bundle for the inspection, but if you need inspection to work you must add all needed software in advance.

To avoid such issues you must add [systemitem]``libopenssl`` to the image with [systemitem]``Dockerfile`` and rebuild the image.

The same can happen with [systemitem]``libexpat``.

0 comments on commit eaa1948

Please sign in to comment.