Skip to content

Commit ece482f

Browse files
AkshayGadhaveRHAkshay Gadhave
andauthored
Add procedure to update container images (#4038)
Co-authored-by: Akshay Gadhave <[email protected]>
1 parent 1f5c8f3 commit ece482f

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

guides/common/modules/proc_upgrading-a-disconnected-project-server.adoc

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,31 @@ baseurl=file:///media/sat6/Satellite
109109
baseurl=file:///media/sat6/Maintenance/
110110
----
111111

112+
ifdef::katello,satellite,orcharhino[]
113+
. If you use {advisorengine} in your environment, update to the latest images:
114+
* To update using the {Project} installation ISO image, set up containers on your {ProjectServer}:
115+
+
116+
[options="nowrap", subs="+quotes,verbatim,attributes"]
117+
----
118+
# /media/sat6/containers/setup_containers
119+
----
120+
* Alternatively, to update by transferring the latest image from a connected system to a disconnected {ProjectServer}, follow these steps:
121+
... On the connected system, export the container image:
122+
+
123+
[options="nowrap", subs="+quotes,verbatim,attributes"]
124+
----
125+
# skopeo copy containers-storage:registry.redhat.io/satellite/iop-advisor-engine-rhel9:{ProjectVersion} \
126+
oci-archive:/tmp/iop-advisor-engine.tar
127+
----
128+
... Transfer the `iop-advisor-engine.tar` file to the disconnected {ProjectServer}.
129+
... On the disconnected {ProjectServer}, import the container image:
130+
+
131+
[options="nowrap", subs="+quotes,verbatim,attributes"]
132+
----
133+
# skopeo copy oci-archive:/tmp/iop-advisor-engine.tar \
134+
containers-storage:registry.redhat.io/satellite/iop-advisor-engine-rhel9:{ProjectVersion}
135+
----
136+
endif::[]
112137
. Upgrade the {foreman-maintain} utility to its latest version:
113138
+
114139
[options="nowrap" subs="attributes"]

guides/common/modules/proc_upgrading-your-project-server.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ include::snip_warning-maintain-config-noop.adoc[]
1818
----
1919
+
2020
This prevents the upgrade process from overwriting your DNS and DHCP configuration.
21+
ifdef::katello,satellite,orcharhino[]
22+
* If you use {advisorengine} in your environment, ensure you are logged in to `registry.redhat.io` so that the latest container images can be downloaded:
23+
+
24+
[options="nowrap" subs="attributes"]
25+
----
26+
$ podman login registry.redhat.io
27+
----
28+
endif::[]
2129

2230
.Procedure
2331
ifdef::foreman-deb[]

0 commit comments

Comments
 (0)