distutils and cloudutils warnings when upgrading to 4.22.1.0
- Vorherrschende Sprache
- Java
- Sterne
- 3.1k
- Forks
- 1.4k
- Ø Merge
- 6 T. 19 Std.
- Gemergte PRs (30 T.)
- 32
Beschreibung
### problem
I upgraded Cloudstack from version 4.22.0.1 to version 4.22.1.0 on Rocky Linux 10 via community packages.
During the packages upgrade the following errors are displayed:
```
Running scriptlet: cloudstack-common-4.22.1.0-1.noarch 10/10
/var/tmp/rpm-tmp.LLxpZf: line 2: unalias: cp: not found
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'distutils'
```
and
```
Running scriptlet: cloudstack-agent-4.22.1.0-1.noarch 10/10
Running /usr/bin/cloudstack-agent-upgrade to update bridge name for upgrade from CloudStack 4.0.x (and before) to CloudStack 4.1 (and later)
Traceback (most recent call last):
File "/usr/bin/cloudstack-agent-upgrade", line 18, in
from cloudutils.networkConfig import networkConfig
ModuleNotFoundError: No module named 'cloudutils'
```
### versions
Cloudstack upgraded from 4.22.0.1 to 4.22.1.0
Rocky Linux 10
KVM hypervisor
### The steps to reproduce the bug
1. dnf upgrade cloudstack-management cloudstack-usage
2. dnf upgrade cloudstack-agent
3.
...
### What to do about it?
_No response_
Beitragsleitfaden
Rechercherichtung
Reproduziere das Upgrade auf Rocky Linux 10 und untersuche anschließend das Paket-Skriptlet und /usr/bin/cloudstack-agent-upgrade, einschließlich ihrer Importe von distutils und cloudutils.networkConfig. Verfolge, wie diese Module während des Upgrades paketiert und geladen werden. Als abgeschlossen gilt die Aufgabe, wenn die Upgrades von cloudstack-common und cloudstack-agent ohne diese ModuleNotFoundError-Warnungen abgeschlossen werden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- linux, python
- Bereich
- devops, infrastructure
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 48/100