apache / apache/cloudstack

Improvement: Filesystem permission check

Offen
#5,686 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
component:upgrade no-issue-activity status:stale type:enhancement
Vorherrschende Sprache
Java
Sterne
3.1k
Forks
1.4k
Ø Merge
6 T. 19 Std.
Gemergte PRs (30 T.)
32

Beschreibung

##### 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

~~~

~~~

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, den Einstiegspunkt cloudstack-sysvmadm und die Art und Weise zu finden, wie es Speicherpfade ermittelt, bevor System-VMs aktualisiert werden. Überprüfe den bestehenden Aktualisierungsablauf und ermittle die erwarteten Berechtigungsprüfungen und das Fehlerverhalten. Als erledigt gilt die Aufgabe, wenn das ausgewählte Skript oder der Health Check unbrauchbare Berechtigungen erkennt, bevor das Kopieren oder die Aktualisierung von systemvm.iso beginnt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
linux
Bereich
infrastructure
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
38/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.