Improvement: Filesystem permission check
- 主要言語
- Java
- スター
- 3.1k
- フォーク
- 1.4k
- 平均マージ
- 6日 19時間
- マージ済み PR(30日)
- 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
~~~
~~~
コントリビューションガイド
調査の方向性
まず、System VM をアップグレードする前に、エントリポイント cloudstack-sysvmadm と、ストレージパスをどのように検出するかを特定します。既存のアップグレードフローを確認し、想定される権限チェックと失敗時の動作を判断します。選択したスクリプトまたは health check が、systemvm.iso のコピーまたはアップグレードの開始前に使用不能な権限を検出できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- linux
- 領域
- infrastructure
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 38/100