apache / apache/cloudstack

Improvement: Filesystem permission check

未关闭
#5,686 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
component:upgrade no-issue-activity status:stale type:enhancement
主要语言
Java
星标
3.1k
派生
1.4k
平均合并
6 天 19 小时
30 天内合并 PR
32

描述

##### ISSUE TYPE
* Improvement Request

##### COMPONENT NAME

~~~
cloudstack-sysvmadm
~~~

##### CLOUDSTACK VERSION
~~~
N/A
~~~

##### CONFIGURATION

N/A

##### OS / ENVIRONMENT
Cloudstack running on linux systems

##### SUMMARY
Check filesystem permission before upgrading systemvms

##### STEPS TO REPRODUCE

Currently, when issuing the cloudstack-sysvmadm script for upgrading the systemvms (or doing it manually), the process starts without any prechecks.
When there is somehow an issue with filesystem permissions, the new systemvm.iso cannot be copied to the new location. It would be a nice enhancement, when cloudstack had a health check or at least the cloudstack-sysvmadm script a permission check.

A newly introduced health check could continuously check some relevant cloudstack metrics, including the filesystem permissions and show a simple go/nogo somewhere in the admin ui. Or the simple way: a script or the modified sysvmadm script which checks first all storage paths for the correct rights.

~~~

~~~

##### EXPECTED RESULTS

~~~

~~~

##### ACTUAL RESULTS

~~~

~~~

贡献指南

打开贡献指南

调研方向

首先定位入口点 cloudstack-sysvmadm,以及它在升级 System VM 之前如何发现存储路径。检查现有的升级流程,并确定预期的权限检查和失败行为。当选定的脚本或 health check 在 systemvm.iso 复制或升级开始之前检测到不可用的权限时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
linux
领域
infrastructure
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
需要澄清
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。