Bug 1767948 - [Docs] Manual migration operator install commands should indicate sudo is required if rootless containers are unavailable
Summary: [Docs] Manual migration operator install commands should indicate sudo is req...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Migration Tooling
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.2.z
Assignee: Avital Pinnick
QA Contact: Xin jiang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-01 17:24 UTC by Erik Nelson
Modified: 2019-11-06 12:06 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-06 12:06:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Erik Nelson 2019-11-01 17:24:22 UTC
Description of problem:

Rootless podman containers are Tech Preview for RHEL 7.7+ and RHEL 8, so by default the user on these systems will need to run the podman commands to extract our operator and controller files with sudo.

However it is also possible to have configured a system for rootless podman containers, and for these systems sudo is not required. The docs should be updated to use sudo by default, with a note that indicates if the user's system has been configured for rootless podman containers, sudo is not required:

```
.Procedure

. Log in to the Red Hat Container Registry with your Red Hat Customer Portal credentials:
+
----
$ sudo podman login registry.redhat.io
----

. Download the `operator.yml` file:
+
----
$ sudo podman cp $(podman create registry.redhat.io/rhcam-1-0/openshift-migration-rhel7-operator:v1.0 ):/operator.yml ./
----

. Download the `controller-3.yml` file:
+
----
$ sudo podman cp $(podman create registry.redhat.io/rhcam-1-0/openshift-migration-rhel7-operator:v1.0 ):/controller-3.yml ./
----

NOTE: If the user's system has been configured for rootless podman containers, sudo can be omitted from the above commands.
```

Comment 2 Xin jiang 2019-11-04 02:36:06 UTC
Verified


Note You need to log in before you can comment on or make changes to this bug.