Skip to content

Commit 4d54604

Browse files
authored
Merge pull request #55396 from stevsmit/OSDOCS-5089
Adds OMR Release Notes for 1.3.0
2 parents 9c724c1 + 53f15e2 commit 4d54604

7 files changed

+90
-10
lines changed

installing/disconnected_install/installing-mirroring-creating-registry.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ include::modules/mirror-registry-remote-host-update.adoc[leveloffset=+1]
3535
include::modules/mirror-registry-uninstall.adoc[leveloffset=+1]
3636
include::modules/mirror-registry-flags.adoc[leveloffset=+1]
3737
include::modules/mirror-registry-release-notes.adoc[leveloffset=+1]
38+
include::modules/mirror-registry-troubleshooting.adoc[leveloffset=+1]
3839

3940
[role="_additional-resources"]
4041
.Additional resources

modules/mirror-registry-flags.adoc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,19 @@ The following flags are available for the _mirror registry for Red Hat OpenShift
1313
| `--autoApprove` | A boolean value that disables interactive prompts. If set to `true`, the `quayRoot` directory is automatically deleted when uninstalling the mirror registry. Defaults to `false` if left unspecified.
1414
| `--initPassword` | The password of the init user created during Quay installation. Must be at least eight characters and contain no whitespace.
1515
|`--initUser string` | Shows the username of the initial user. Defaults to `init` if left unspecified.
16-
|`--no-color`, `-c` | Allows users to disable color sequences and propagate that to Ansible when running install, uninstall, and upgrade commands.
16+
| `--no-color`, `-c` | Allows users to disable color sequences and propagate that to Ansible when running install, uninstall, and upgrade commands.
17+
| `--pgStorage` | The folder where Postgres persistent storage data is saved. Defaults to the `pg-storage` Podman volume. Root privileges are required to uninstall.
1718
| `--quayHostname` | The fully-qualified domain name of the mirror registry that clients will use to contact the registry. Equivalent to `SERVER_HOSTNAME` in the Quay `config.yaml`. Must resolve by DNS. Defaults to `<targetHostname>:8443` if left unspecified. ^[1]^
18-
| `--quayRoot`, `-r` | The directory where container image layer and configuration data is saved, including `rootCA.key`, `rootCA.pem`, and `rootCA.srl` certificates. Requires about 12 GB for {product-title} 4.10 Release images, or about 358 GB for {product-title} 4.10 Release images and {product-title} 4.10 Red Hat Operator images. Defaults to `/etc/quay-install` if left unspecified.
19+
| `--quayStorage` | The folder where Quay persistent storage data is saved. Defaults to the `quay-storage` Podman volume. Root privileges are required to uninstall.
20+
| `--quayRoot`, `-r` | The directory where container image layer and configuration data is saved, including `rootCA.key`, `rootCA.pem`, and `rootCA.srl` certificates. Defaults to `$HOME/quay-install` if left unspecified.
1921
| `--ssh-key`, `-k` | The path of your SSH identity key. Defaults to `~/.ssh/quay_installer` if left unspecified.
2022
| `--sslCert` | The path to the SSL/TLS public key / certificate. Defaults to `{quayRoot}/quay-config` and is auto-generated if left unspecified.
2123
| `--sslCheckSkip` | Skips the check for the certificate hostname against the `SERVER_HOSTNAME` in the `config.yaml` file. ^[2]^
2224
| `--sslKey` | The path to the SSL/TLS private key used for HTTPS communication. Defaults to `{quayRoot}/quay-config` and is auto-generated if left unspecified.
2325
| `--targetHostname`, `-H` | The hostname of the target you want to install Quay to. Defaults to `$HOST`, for example, a local host, if left unspecified.
2426
| `--targetUsername`, `-u` | The user on the target host which will be used for SSH. Defaults to `$USER`, for example, the current user if left unspecified.
2527
| `--verbose`, `-v` | Shows debug logs and Ansible playbook outputs.
26-
|`--version` | Shows the version for the _mirror registry for Red Hat OpenShift_.
28+
| `--version` | Shows the version for the _mirror registry for Red Hat OpenShift_.
2729
|===
2830
[.small]
2931
1. `--quayHostname` must be modified if the public DNS name of your system is different from the local hostname. Additionally, the `--quayHostname` flag does not support installation with an IP address. Installation with a hostname is required.

modules/mirror-registry-localhost-update.adoc

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[id="mirror-registry-localhost-update_{context}"]
77
= Updating mirror registry for Red Hat OpenShift from a local host
88

9-
This procedure explains how to update the _mirror registry for Red Hat OpenShift_ from a local host using the `upgrade` command. Updating to the latest version ensures bug fixes and security vulnerability fixes.
9+
This procedure explains how to update the _mirror registry for Red Hat OpenShift_ from a local host using the `upgrade` command. Updating to the latest version ensures new features, bug fixes, and security vulnerability fixes.
1010

1111
[IMPORTANT]
1212
====
@@ -19,7 +19,7 @@ When updating, there is intermittent downtime of your mirror registry, as it is
1919
2020
.Procedure
2121

22-
* To upgrade the _mirror registry for Red Hat OpenShift_ from localhost, enter the following command:
22+
* If you are upgrading the _mirror registry for Red Hat OpenShift_ from 1.2.z -> 1.3.0, and your installation directory is the default at `/etc/quay-install`, you can enter the following command:
2323
+
2424
[source,terminal]
2525
----
@@ -28,5 +28,15 @@ $ sudo ./mirror-registry upgrade -v
2828
+
2929
[NOTE]
3030
====
31-
Users who upgrade the _mirror registry for Red Hat OpenShift_ with the `./mirror-registry upgrade -v` flag must include the same credentials used when creating their mirror registry. For example, if you installed the _mirror registry for Red Hat OpenShift_ with `--quayHostname <host_example_com>` and `--quayRoot <example_directory_name>`, you must include that string to properly upgrade the mirror registry.
31+
* _mirror registry for Red Hat OpenShift_ migrates Podman volumes for Quay storage, Postgres data, and `/etc/quay-install` data to the new `$HOME/quay-install` location. This allows you to use _mirror registry for Red Hat OpenShift_ without the `--quayRoot` flag during future upgrades.
32+
33+
* Users who upgrade _mirror registry for Red Hat OpenShift_ with the `./mirror-registry upgrade -v` flag must include the same credentials used when creating their mirror registry. For example, if you installed the _mirror registry for Red Hat OpenShift_ with `--quayHostname <host_example_com>` and `--quayRoot <example_directory_name>`, you must include that string to properly upgrade the mirror registry.
3234
====
35+
36+
* If you are upgrading the _mirror registry for Red Hat OpenShift_ from 1.2.z -> 1.3.0 and you used a specified directory in your 1.2.z deployment, you must pass in the new `--pgStorage`and `--quayStorage` flags. For example:
37+
+
38+
[source,terminal]
39+
----
40+
$ sudo ./mirror-registry upgrade --quayHostname <host_example_com> --quayRoot <example_directory_name> --pgStorage <example_directory_name>/pg-data --quayStorage <example_directory_name>/quay-storage -v
41+
----
42+

modules/mirror-registry-localhost.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This procedure explains how to install the _mirror registry for Red Hat OpenShif
1010

1111
[NOTE]
1212
====
13-
Installing the _mirror registry for Red Hat OpenShift_ using the `mirror-registry` CLI tool makes several changes to your machine. After installation, a `/etc/quay-install` directory is created, which has installation files, local storage, and the configuration bundle. Trusted SSH keys are generated in case the deployment target is the local host, and systemd files on the host machine are set up to ensure that container runtimes are persistent. Additionally, an initial user named `init` is created with an automatically generated password. All access credentials are printed at the end of the install routine.
13+
Installing the _mirror registry for Red Hat OpenShift_ using the `mirror-registry` CLI tool makes several changes to your machine. After installation, a `$HOME/quay-install` directory is created, which has installation files, local storage, and the configuration bundle. Trusted SSH keys are generated in case the deployment target is the local host, and systemd files on the host machine are set up to ensure that container runtimes are persistent. Additionally, an initial user named `init` is created with an automatically generated password. All access credentials are printed at the end of the install routine.
1414
====
1515

1616
.Procedure

modules/mirror-registry-release-notes.adoc

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,39 @@ These release notes track the development of the _mirror registry for Red Hat Op
1111

1212
For an overview of the _mirror registry for Red Hat OpenShift_, see xref:../../installing/disconnected_install/installing-mirroring-creating-registry.html#mirror-registry-flags_installing-mirroring-creating-registry[Creating a mirror registry with mirror registry for Red Hat OpenShift].
1313

14+
[id="mirror-registry-for-openshift-1-3-0"]
15+
== Mirror registry for Red Hat OpenShift 1.3.0
16+
17+
Issued: 2023-02-20
18+
19+
_Mirror registry for Red Hat OpenShift_ is now available with Red Hat Quay 3.8.1.
20+
21+
The following advisory is available for the _mirror registry for Red Hat OpenShift_:
22+
23+
* link:https://access.redhat.com/errata/RHBA-2023:0558[RHBA-2023:0558 - mirror registry for Red Hat OpenShift 1.3.0]
24+
25+
=== New features
26+
27+
* _Mirror registry for Red Hat OpenShift_ is now supported on {op-system-base-full} 9 installations.
28+
29+
* IPv6 support is now available on _Mirror registry for Red Hat OpenShift_ local host installations.
30+
+
31+
IPv6 is currently unsupported on _Mirror registry for Red Hat OpenShift_ remote host installations.
32+
33+
* A new feature flag, `--quayStorage`, has been added. With this flag, users with root privileges can manually set the location of their Quay persistent storage.
34+
35+
* A new feature flag, `--pgStorage`, has been added. With this flag, users with root privileges can manually set the location of their Postgres persistent storage.
36+
37+
* Previously, users were required to have root privileges (`sudo`) to install _Mirror registry for Red Hat OpenShift_. With this update, `sudo` is no longer required to install _Mirror registry for Red Hat OpenShift_.
38+
+
39+
When _Mirror registry for Red Hat OpenShift_ was installed with `sudo`, an `/etc/quay-install` directory that contained installation files, local storage, and the configuration bundle was created. With the removal of the `sudo` requirement, installation files and the configuration bundle are now installed to `$HOME/quay-install`. Local storage, for example Postgres and Quay, are now stored in named volumes automatically created by Podman.
40+
+
41+
To override the default directories that these files are stored in, you can use the command line arguments for _Mirror registry for Red Hat OpenShift_. For more information about _Mirror registry for Red Hat OpenShift_ command line arguments, see "_Mirror registry for Red Hat OpenShift_ flags".
42+
43+
=== Bug fixes
44+
45+
* Previously, the following error could be returned when attempting to uninstall _Mirror registry for Red Hat OpenShift_: `["Error: no container with name or ID \"quay-postgres\" found: no such container"], "stdout": "", "stdout_lines": []***`. With this update, the order that _Mirror registry for Red Hat OpenShift_ services are stopped and uninstalled have been changed so that the error no longer occurs when uninstalling _Mirror registry for Red Hat OpenShift_. For more information, see link:https://issues.redhat.com/browse/PROJQUAY-4629[*PROJQUAY-4629*].
46+
1447

1548
[id="mirror-registry-for-openshift-1-2-9"]
1649
== Mirror registry for Red Hat OpenShift 1.2.9
@@ -54,9 +87,9 @@ The following advisory is available for the _mirror registry for Red Hat OpenShi
5487

5588
* link:https://access.redhat.com/errata/RHBA-2022:6278[RHBA-2022:6278 - mirror registry for Red Hat OpenShift 1.2.6]
5689

57-
=== New features
90+
=== New features
5891

59-
A new feature flag, `--no-color` (`-c`) has been added. This feature flag allows users to disable color sequences and propagate that to Ansible when running install, uninstall, and upgrade commands.
92+
A new feature flag, `--no-color` (`-c`) has been added. This feature flag allows users to disable color sequences and propagate that to Ansible when running install, uninstall, and upgrade commands.
6093

6194
[id="mirror-registry-for-openshift-1-2-5"]
6295
== Mirror registry for Red Hat OpenShift 1.2.5

modules/mirror-registry-remote.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This procedure explains how to install the _mirror registry for Red Hat OpenShif
1010

1111
[NOTE]
1212
====
13-
Installing the _mirror registry for Red Hat OpenShift_ using the `mirror-registry` CLI tool makes several changes to your machine. After installation, a `/etc/quay-install` directory is created, which has installation files, local storage, and the configuration bundle. Trusted SSH keys are generated in case the deployment target is the local host, and systemd files on the host machine are set up to ensure that container runtimes are persistent. Additionally, an initial user named `init` is created with an automatically generated password. All access credentials are printed at the end of the install routine.
13+
Installing the _mirror registry for Red Hat OpenShift_ using the `mirror-registry` CLI tool makes several changes to your machine. After installation, a `$HOME/quay-install` directory is created, which has installation files, local storage, and the configuration bundle. Trusted SSH keys are generated in case the deployment target is the local host, and systemd files on the host machine are set up to ensure that container runtimes are persistent. Additionally, an initial user named `init` is created with an automatically generated password. All access credentials are printed at the end of the install routine.
1414
====
1515

1616
.Procedure
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// module included in the following assembly:
2+
//
3+
// * installing-mirroring-creating-registry.adoc
4+
5+
:_content-type: PROCEDURE
6+
[id="mirror-registry-troubleshooting_{context}"]
7+
= Troubleshooting mirror registry for Red Hat OpenShift
8+
9+
To assist in troubleshooting _mirror registry for Red Hat OpenShift_, you can gather logs of systemd services installed by the mirror registry. The following services are installed:
10+
11+
* quay-app.service
12+
* quay-postgres.service
13+
* quay-redis.service
14+
* quay-pod.service
15+
16+
.Prerequisites
17+
18+
* You have installed _mirror registry for Red Hat OpenShift_.
19+
20+
.Procedure
21+
22+
* If you installed _mirror registry for Red Hat OpenShift_ with root privileges, you can get the status information of its systemd services by entering the following command:
23+
+
24+
[source,terminal]
25+
----
26+
$ sudo systemctl status <service>
27+
----
28+
29+
* If you installed _mirror registry for Red Hat OpenShift_ as a standard user, you can get the status information of its systemd services by entering the following command:
30+
+
31+
[source,terminal]
32+
----
33+
$ systemctl --user status <service>
34+
----

0 commit comments

Comments
 (0)