OCPBUGS-92086: GetVnetID is empty when running setup_all.sh in Managed AKS#8830
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@georgelipceanu: This pull request references Jira Issue OCPBUGS-92086, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughIn 🚥 Pre-merge checks | ✅ 11✅ Passed checks (11 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@georgelipceanu: This pull request references Jira Issue OCPBUGS-92086, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@contrib/managed-azure/setup_MIv3_kv.sh`:
- Line 26: Validate the Key Vault name before `az keyvault create` by checking
the derived `KV_NAME` in `setup_MIv3_kv.sh` right after it is built from
`PREFIX`. Add validation or normalization logic around the `KV_NAME` assignment
so `PREFIX` values that would produce invalid Azure Key Vault names are rejected
or transformed to meet the 3–24 character, letter-start, letter/digit-end, and
hyphen rules.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Central YAML (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: 93bd80ed-9b33-4507-95bf-df3e183c38c4
📒 Files selected for processing (2)
contrib/managed-azure/create_basic_hosted_cluster.shcontrib/managed-azure/setup_MIv3_kv.sh
9b18316 to
90ce514
Compare
|
@georgelipceanu: This pull request references Jira Issue OCPBUGS-92086, which is valid. 3 validation(s) were run on this bug
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
90ce514 to
580e704
Compare
|
/area platform/azure |
jparrill
left a comment
There was a problem hiding this comment.
Dropped some comments. Thanks!
Add --resource-group parameter to network list commands since the Azure CLI now requires --resource-group for 'az network vnet list' Fixes issue where GetVnetID becomes empty on basic HC creation Signed-off-by: George Lipceanu <glipcean@redhat.com>
580e704 to
710ed78
Compare
|
@georgelipceanu: This pull request references Jira Issue OCPBUGS-92086, which is valid. 3 validation(s) were run on this bug
The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/approve |
|
/verified by "manual testing" Ran the script "setup_all.sh" and created everything as expected |
|
@georgelipceanu: This PR has been marked as verified by DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Pipeline controller notification No second-stage tests were triggered for this PR. This can happen when:
Use |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bryan-cox, georgelipceanu, jparrill The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@georgelipceanu: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
@georgelipceanu: Jira Issue Verification Checks: Jira Issue OCPBUGS-92086 Jira Issue OCPBUGS-92086 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Fix included in release 5.0.0-0.nightly-2026-07-07-080851 |
What this PR does / why we need it:
This PR adds the
--resource-groupflag to network NSG and VNet list commands in the since the Azure CLI now requires this foraz network vnet list, which fixes issue whereGetVnetIDbecomes empty on basic HC creation.This flag was originally optional but was changed to required in commit 2ff0af0 in the Azure/azure-cli repo repo (PR #33241). This is still compatible with older versions with the
azure-cli.Which issue(s) this PR fixes:
Fixes #OCPBUGS-92086
Special notes for your reviewer:
Checklist:
Summary by CodeRabbit
Summary by CodeRabbit