Skip to content

Commit 464da36

Browse files
authored
Merge pull request #87971 from sbeskin-redhat/CNV_45186_Issue_in_virt/storage/virt-configuring-storage-profile
CNV-45186: Issue in file virt-configuring-storage-profile.adoc
2 parents b5a5651 + 2e3f039 commit 464da36

File tree

3 files changed

+77
-22
lines changed

3 files changed

+77
-22
lines changed

modules/virt-customizing-storage-profile.adoc

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Module included in the following assemblies:
22
//
3-
// * virt/storage/virt-customizing-storageprofiles.adoc
3+
// * virt/storage/virt-configuring-storage-profile.adoc
44

55
:_mod-docs-content-type: PROCEDURE
66
[id="virt-customizing-storage-profile_{context}"]
@@ -108,24 +108,3 @@ status:
108108
<1> Specify the access mode.
109109
<2> Specify the volume mode.
110110
<3> Specify the default cloning strategy.
111-
112-
[id="virt-customizing-storage-profile-providers-and-default-behaviors_{context}"]
113-
.Storage providers and default behaviors
114-
115-
[cols="1,1",options="header"]
116-
|===
117-
|Storage provider|Default behavior
118-
|rook-ceph.rbd.csi.ceph.com|Snapshot
119-
|openshift-storage.rbd.csi.ceph.com|Snapshot
120-
|csi-vxflexos.dellemc.com|CSI Clone
121-
|csi-isilon.dellemc.com|CSI Clone
122-
|csi-powermax.dellemc.com|CSI Clone
123-
|csi-powerstore.dellemc.com|CSI Clone
124-
|hspc.csi.hitachi.com|CSI Clone
125-
|csi.hpe.com|CSI Clone
126-
|spectrumscale.csi.ibm.com|CSI Clone
127-
|rook-ceph.rbd.csi.ceph.com|CSI Clone
128-
|openshift-storage.rbd.csi.ceph.com|CSI Clone
129-
|cephfs.csi.ceph.com|CSI Clone
130-
|openshift-storage.cephfs.csi.ceph.com|CSI Clone
131-
|===
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * virt/storage/virt-configuring-storage-profile.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="virt-viewing-automatically-created-storage-profiles_{context}"]
7+
= Viewing automatically created storage profiles
8+
9+
The system creates storage profiles for each storage class automatically.
10+
11+
.Procedure
12+
. To view the list of storage profiles, run the following command:
13+
+
14+
[source,terminal]
15+
----
16+
$ oc get storageprofile
17+
----
18+
19+
. To fetch the details of a particular storage profile, run the following command:
20+
+
21+
[source,terminal]
22+
----
23+
$ oc describe storageprofile <name>
24+
----
25+
+
26+
.Example storage profile details
27+
[source,yaml]
28+
----
29+
Name: ocs-storagecluster-ceph-rbd-virtualization
30+
Namespace:
31+
Labels: app=containerized-data-importer
32+
app.kubernetes.io/component=storage
33+
app.kubernetes.io/managed-by=cdi-controller
34+
app.kubernetes.io/part-of=hyperconverged-cluster
35+
app.kubernetes.io/version=4.17.2
36+
cdi.kubevirt.io=
37+
Annotations: <none>
38+
API Version: cdi.kubevirt.io/v1beta1
39+
Kind: StorageProfile
40+
Metadata:
41+
Creation Timestamp: 2023-11-13T07:58:02Z
42+
Generation: 2
43+
Owner References:
44+
API Version: cdi.kubevirt.io/v1beta1
45+
Block Owner Deletion: true
46+
Controller: true
47+
Kind: CDI
48+
Name: cdi-kubevirt-hyperconverged
49+
UID: 2d6f169a-382c-4caf-b614-a640f2ef8abb
50+
Resource Version: 4186799537
51+
UID: 14aef804-6688-4f2e-986b-0297fd3aaa68
52+
Spec:
53+
Status:
54+
Claim Property Sets: <1>
55+
accessModes:
56+
ReadWriteMany
57+
volumeMode: Block
58+
accessModes:
59+
ReadWriteOnce
60+
volumeMode: Block
61+
accessModes:
62+
ReadWriteOnce
63+
volumeMode: Filesystem
64+
Clone Strategy: csi-clone <2>
65+
Data Import Cron Source Format: snapshot <3>
66+
Provisioner: openshift-storage.rbd.csi.ceph.com
67+
Snapshot Class: ocs-storagecluster-rbdplugin-snapclass
68+
Storage Class: ocs-storagecluster-ceph-rbd-virtualization
69+
Events: <none>
70+
----
71+
<1> `Claim Property Sets` is an ordered list of `AccessMode`/`VolumeMode` pairs, which describe the PVC modes that are used to provision VM disks.
72+
<2> The `Clone Strategy` line indicates the clone strategy to be used.
73+
<3> `Data Import Cron Source Format` indicates whether golden images on this storage are stored as PVCs or volume snapshots.
74+
75+

virt/storage/virt-configuring-storage-profile.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ To specify RBD block mode PVCs, use the 'ocs-storagecluster-ceph-rbd' storage cl
2222
endif::openshift-rosa,openshift-dedicated[]
2323

2424
include::modules/virt-customizing-storage-profile.adoc[leveloffset=+1]
25+
include::modules/virt-viewing-automatically-created-storage-profiles.adoc[leveloffset=+2]

0 commit comments

Comments
 (0)