Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1767948

Summary: [Docs] Manual migration operator install commands should indicate sudo is required if rootless containers are unavailable
Product: OpenShift Container Platform Reporter: Erik Nelson <ernelson>
Component: Migration ToolingAssignee: Avital Pinnick <apinnick>
Status: CLOSED CURRENTRELEASE QA Contact: Xin jiang <xjiang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.2.0   
Target Milestone: ---   
Target Release: 4.2.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-06 12:06:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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