Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve expand_root_partition.yaml (#191)
ticket - [\[SKS-3327\] 原地更新 - ARM的集群,磁盘扩容,原地更新失败 - Jira](http://jira.smartx.com/browse/SKS-3327) 根因: openEuler 的根目录分区是 vda3,playbook 中写死了 vda2 导致失败: <img width="400" alt="image" src="https://github.com/user-attachments/assets/4d953689-5054-4895-8404-c3f42a88d708" /> changes - - 优化 expand_root_partition.yaml - 从 ansible facts 中提取根目录的挂载设备和分区 - 调整 shell 语法,兼容 sh test - - rocky 集群磁盘热扩容成功 ![image](https://github.com/user-attachments/assets/9e2e15aa-3e66-4c95-867a-af9a001ae8e6) - openEuler 磁盘热扩容成功 ![image](https://github.com/user-attachments/assets/5c9f17c4-c8f4-4739-b4cb-d83b185cdbb0) - 手动在 Kylin 系统中测试 playbook 扩容成功 - 手动在 ubuntu 系统中测试 playbook 扩容成功
- Loading branch information