Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement: Filesystem permission check #5686

Open
ngrosc opened this issue Nov 15, 2021 · 3 comments
Open

Improvement: Filesystem permission check #5686

ngrosc opened this issue Nov 15, 2021 · 3 comments

Comments

@ngrosc
Copy link

ngrosc commented Nov 15, 2021

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

@nvazquez
Copy link
Contributor

nvazquez commented Feb 5, 2022

Thanks @ngrosc - are you working on this improvement?

@SakshiT25
Copy link

Hi, I'm interested in working on this issue Kindly guide me for the further steps.

@DaanHoogland
Copy link
Contributor

@SakshiT25 if you feel confident just create a PR and mention this issue with a line like

Fixes: #5686

If you want to learn about the project first, go through https://github.com/shapeblue/hackerbook
I can assign the issue to you if you say so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

6 participants