the rook-ceph uninstall procedure doesn't seem correct (dsr10)
Change-Id: I6dc8e987101b402dea7502e3ef0221092efc76cf Signed-off-by: Ngairangbam Mili <ngairangbam.mili@windriver.com>
This commit is contained in:
parent
2b8613d3b0
commit
49f242107e
@ -26,7 +26,7 @@ environment configurations to prevent an automatic reinstall.
|
|||||||
rookstatus=$(system application-list | grep rook-ceph | awk '{print $10}')
|
rookstatus=$(system application-list | grep rook-ceph | awk '{print $10}')
|
||||||
echo $rookstatus
|
echo $rookstatus
|
||||||
if [[ "$rookstatus" == "uploaded" ]]; then
|
if [[ "$rookstatus" == "uploaded" ]]; then
|
||||||
system application-delete rook-ceph --force
|
system application-delete rook-ceph
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
echo "Retry #" $retry_count
|
echo "Retry #" $retry_count
|
||||||
@ -55,61 +55,41 @@ environment configurations to prevent an automatic reinstall.
|
|||||||
|
|
||||||
~(keystone_admin)$ system host-stor-delete <uuid>
|
~(keystone_admin)$ system host-stor-delete <uuid>
|
||||||
|
|
||||||
#. Remove the storage backend ceph-rook.
|
#. Unlock the host.
|
||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
~(keystone_admin)$ system storage-backend-delete ceph-rook-store --force
|
~(keystone_admin)$ system host-unlock <hostname>
|
||||||
|
|
||||||
#. Remove ``host-fs``.
|
#. (|AIO-DX| Only) Remove ``controllerfs``.
|
||||||
|
|
||||||
#. Check ``host-fs`` status.
|
#. 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-fs-list <hostname>
|
|
||||||
|
|
||||||
#. 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:
|
|
||||||
|
|
||||||
.. code-block:: none
|
|
||||||
|
|
||||||
~(keystone_admin)$ system host-fs-modify <hostname> 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 <hostname> 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.
|
|
||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
~(keystone_admin)$ system host-lock <hostname>
|
~(keystone_admin)$ system host-lock <hostname>
|
||||||
|
|
||||||
#. To release an In-Use ``controller-fs``, remove all functions from it
|
#. Remove the ``controllerfs``.
|
||||||
and reapply the application.
|
|
||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
~(keystone_admin)$ system controllerfs-modify ceph-float --functions=
|
~(keystone_admin)$ system controllerfs-delete ceph-float
|
||||||
~(keystone_admin)$ system appliction-apply rook-ceph
|
|
||||||
|
|
||||||
#. When the ``controller-fs`` is in Ready state, remove the
|
#. Unlock the standby controller.
|
||||||
``host-fs``.
|
|
||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
~(keystone_admin)$ system controller-fs-delete ceph-float
|
~(keystone_admin)$ system host-unlock <hostname>
|
||||||
|
|
||||||
|
#. Remove the ``host-fs``.
|
||||||
|
|
||||||
|
.. code-block:: none
|
||||||
|
|
||||||
|
~(keystone_admin)$ system host-fs-delete <hostname> ceph
|
||||||
|
|
||||||
|
#. Remove the storage backend ceph-rook.
|
||||||
|
|
||||||
|
.. code-block:: none
|
||||||
|
|
||||||
|
~(keystone_admin)$ system storage-backend-delete ceph-rook-store --force
|
||||||
|
Loading…
x
Reference in New Issue
Block a user