From 376b9c63d8f62f345abee2ed3cefd56a28c694e8 Mon Sep 17 00:00:00 2001 From: Ngairangbam Mili Date: Fri, 17 Jan 2025 04:25:46 +0000 Subject: [PATCH] the rook-ceph uninstall procedure doesn't seem correct (dsr10) Change-Id: I6dc8e987101b402dea7502e3ef0221092efc76cf Signed-off-by: Ngairangbam Mili (cherry picked from commit 49f242107ee5b4303b5205fbd406b71f58bebd80) --- .../uninstall-rook-ceph-cbb046746782.rst | 64 +++++++------------ 1 file changed, 22 insertions(+), 42 deletions(-) diff --git a/doc/source/storage/kubernetes/uninstall-rook-ceph-cbb046746782.rst b/doc/source/storage/kubernetes/uninstall-rook-ceph-cbb046746782.rst index c7467ac71..6e2fd0051 100644 --- a/doc/source/storage/kubernetes/uninstall-rook-ceph-cbb046746782.rst +++ b/doc/source/storage/kubernetes/uninstall-rook-ceph-cbb046746782.rst @@ -26,7 +26,7 @@ environment configurations to prevent an automatic reinstall. rookstatus=$(system application-list | grep rook-ceph | awk '{print $10}') echo $rookstatus if [[ "$rookstatus" == "uploaded" ]]; then - system application-delete rook-ceph --force + system application-delete rook-ceph break fi echo "Retry #" $retry_count @@ -55,61 +55,41 @@ environment configurations to prevent an automatic reinstall. ~(keystone_admin)$ system host-stor-delete - #. Remove the storage backend ceph-rook. - - .. code-block:: none - - ~(keystone_admin)$ system storage-backend-delete ceph-rook-store --force - - #. Remove ``host-fs``. - - #. Check ``host-fs`` status. + #. Unlock the host. .. code-block:: none - ~(keystone_admin)$ system host-fs-list + ~(keystone_admin)$ system host-unlock - #. To remove a ``host-fs``, the filesystem needs to be in Ready state. - To release an In-Use host-fs, remove all functions from it and - reapply the application: + #. (|AIO-DX| Only) Remove ``controllerfs``. - .. code-block:: none - - ~(keystone_admin)$ system host-fs-modify ceph --functions= - ~(keystone_admin)$ system appliction-apply rook-ceph - - #. When the ``host-fs`` is in Ready state, remove the ``host-fs``: - - .. code-block:: none - - ~(keystone_admin)$ system host-fs-delete ceph - - #. (|AIO-DX| Only) Remove ``controller-fs``. - - #. Check ``controller-fs`` status. - - .. code-block:: none - - ~(keystone_admin)$ system controller-fs-list - - #. To remove a ``controller-fs``, the standby controller must be - locked and the ``controller-fs`` needs to be in Ready state. + #. To remove a ``controllerfs``, the standby controller must be + locked and the ``controllerfs`` needs to be in Ready state. .. code-block:: none ~(keystone_admin)$ system host-lock - #. To release an In-Use ``controller-fs``, remove all functions from it - and reapply the application. + #. Remove the ``controllerfs``. .. code-block:: none - ~(keystone_admin)$ system controllerfs-modify ceph-float --functions= - ~(keystone_admin)$ system appliction-apply rook-ceph + ~(keystone_admin)$ system controllerfs-delete ceph-float - #. When the ``controller-fs`` is in Ready state, remove the - ``host-fs``. + #. Unlock the standby controller. .. code-block:: none - ~(keystone_admin)$ system controller-fs-delete ceph-float \ No newline at end of file + ~(keystone_admin)$ system host-unlock + + #. Remove the ``host-fs``. + + .. code-block:: none + + ~(keystone_admin)$ system host-fs-delete ceph + + #. Remove the storage backend ceph-rook. + + .. code-block:: none + + ~(keystone_admin)$ system storage-backend-delete ceph-rook-store --force