Bug 1667022 - [DOCS] oc volume command change to oc set command in 3.11 version
Summary: [DOCS] oc volume command change to oc set command in 3.11 version
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: doc-Container_Native_Storage_with_OpenShift
Version: ocs-3.11
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
: OCS 3.11.z Batch Update 2
Assignee: Chandrakanth Pai
QA Contact: RamaKasturi
URL:
Whiteboard:
Depends On:
Blocks: 1672844
TreeView+ depends on / blocked
 
Reported: 2019-01-17 09:24 UTC by Camino Noguera
Modified: 2022-03-13 16:47 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-01 06:08:24 UTC
Embargoed:


Attachments (Terms of Use)
Attaching the pdf where the bug is verified (6.93 MB, application/pdf)
2019-03-18 18:10 UTC, RamaKasturi
no flags Details

Description Camino Noguera 2019-01-17 09:24:16 UTC
I am trying to move the default OCP registry to a Gluster registry as [1].

Getting the below error:

$ oc volume dc/docker-registry --add --name=gluster-registry-storage -m /gluster-registry -t pvc --claim-name=gluster-registry-claim
Error: unknown command "volume" for "oc"
Run 'oc --help' for usage



command needs to be replaced with:

[quicklab@master-0 ~]$ oc set volume dc/docker-registry --add --name=gluster-registry-storage -m /gluster-registry -t pvc --claim-name=gluster-registry-claim
deploymentconfig.apps.openshift.io/docker-registry volume updated





[1]https://access.redhat.com/documentation/en-us/red_hat_openshift_container_storage/3.11/html/operations_guide/ch09s02

Comment 1 Camino Noguera 2019-01-17 09:28:36 UTC
oc version
oc v3.11.59
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://master-0.caminogluster.lab.pnq2.cee.redhat.com:443
openshift v3.11.59
kubernetes v1.11.0+d4cacc0

Comment 2 Camino Noguera 2019-01-17 11:28:09 UTC
Command executed at point 20 should be also replaced.

$ oc volume dc/docker-registry --add --name=registry-storage -t pvc --claim-name=gluster-registry-claim --overwrite
Error: unknown command "volume" for "oc"
Run 'oc --help' for usage.

$ oc set volume dc/docker-registry --add --name=registry-storage -t pvc --claim-name=gluster-registry-claim --overwrite
deploymentconfig.apps.openshift.io/docker-registry volume updated

Comment 5 Chandrakanth Pai 2019-03-06 08:37:22 UTC
Moved to MODIFIED state as the BZ still does not have PM ack.

Comment 6 Chandrakanth Pai 2019-03-07 06:45:06 UTC
Moving to ON_QA as we have received the PM ack

Comment 7 RamaKasturi 2019-03-18 18:09:15 UTC
Verified in the pdf provided by doc team and the changes looks good to me.


Moving the bug to verified state.

Comment 8 RamaKasturi 2019-03-18 18:10:28 UTC
Created attachment 1545410 [details]
Attaching the pdf where the bug is verified


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