Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

distutils and cloudutils warnings when upgrading to 4.22.1.0

未關閉
#13,265 5 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
48/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
冷清
技術堆疊
linux, python

研究方向

在 Rocky Linux 10 上重現升級,然後檢查套件 scriptlet 和 /usr/bin/cloudstack-agent-upgrade,包括它們對 distutils 和 cloudutils.networkConfig 的匯入。追蹤這些模組在升級期間如何封裝和載入。當 cloudstack-common 和 cloudstack-agent 的升級在沒有這些 ModuleNotFoundError 警告的情況下完成時,即表示完成。

由索引模型根據 Issue 內容生成。

描述

component:upgrade EL10 status:needs-investigation
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 "<string>", line 1, in <module>
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 <module>
    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

...

What to do about it?

No response

主要語言
Java
星號
3.1k
分支
1.4k
平均合併
7 天 20 小時
30 天內合併 PR
14

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

apache/cloudstack 的其他 Issue

查看 apache/cloudstack 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。