automation-suite
2023.10
false
UiPath logo, featuring letters U and I in white
Linux 版 Automation Suite 安装指南
Last updated 2024年12月3日

无法调整对象存储 PVC 的大小

描述

objectstore resize-pvc 操作失败并显示以下错误时,会发生此问题:
Failed resizing the PVC: <pvc name> in namespace: rook-ceph, ROLLING BACKFailed resizing the PVC: <pvc name> in namespace: rook-ceph, ROLLING BACK

解决方案

要解决此问题,请执行以下步骤:

  1. 手动运行以下脚本:

    #!/bin/sh
    
    ROOK_CEPH_OSD_PREPARE=$(kubectl -n rook-ceph get pods | grep rook-ceph-osd-prepare-set | awk '{print $1}')
    if [[ -n ${ROOK_CEPH_OSD_PREPARE} ]]; then
        for pod in ${ROOK_CEPH_OSD_PREPARE}; do
        echo "Start deleting rook ceph osd pod $pod .."
        kubectl -n rook-ceph delete pod $pod
        echo "Done"
        done;
    fi#!/bin/sh
    
    ROOK_CEPH_OSD_PREPARE=$(kubectl -n rook-ceph get pods | grep rook-ceph-osd-prepare-set | awk '{print $1}')
    if [[ -n ${ROOK_CEPH_OSD_PREPARE} ]]; then
        for pod in ${ROOK_CEPH_OSD_PREPARE}; do
        echo "Start deleting rook ceph osd pod $pod .."
        kubectl -n rook-ceph delete pod $pod
        echo "Done"
        done;
    fi
  2. 重新运行 objectstore resize-pvc 命令。
  • 描述
  • 解决方案

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。