<fix>[ctl]: heal zstack-ctl build deps#4134
Open
zstack-robot-2 wants to merge 1 commit into
Open
Conversation
Run a minimal build dependency check before zstack-ctl recreates its Python 3.11 virtualenv. The check installs missing Python 3.11, gcc, libffi, and OpenSSL build packages from zstack-local, restores Red Hat spec or plugin packages when Python CFLAGS requires them, and verifies a tiny Python C extension can compile before pip builds zstackctl dependencies. This lets a rerun of the upgrade command recover hosts where Python C extension build files were lost during an interrupted upgrade. JIRA: ZSTAC-74634 Change-Id: I1805307cff2ba922ccf8c55e5c23daaefec78000
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: http://open.zstack.ai:20001/code-reviews/zstack-cloud.yaml (via .coderabbit.yaml) Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
总览脚本在 变更内容构建依赖预检查
评估指标🎯 3 (中等) | ⏱️ ~20 分钟 庆祝诗
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Owner
|
Comment from 刘德靖: Additional validation on 5.5.22 Python3 environment:
No code update was needed after this validation. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Run a minimal build dependency check before zstack-ctl recreates its
Python 3.11 virtualenv. The check installs missing Python 3.11, gcc,
libffi, and OpenSSL build packages from zstack-local, restores Red Hat
spec or plugin packages when Python CFLAGS requires them, and verifies a
tiny Python C extension can compile before pip builds zstackctl
dependencies.
This lets a rerun of the upgrade command recover hosts where Python C
extension build files were lost during an interrupted upgrade.
JIRA: ZSTAC-74634
Change-Id: I1805307cff2ba922ccf8c55e5c23daaefec78000
sync from gitlab !10038