Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCPBUGS-18246: Add networkResourceGroupName parameter for Azure #597

Merged
merged 1 commit into from Sep 27, 2023

Conversation

dlom
Copy link
Contributor

@dlom dlom commented Sep 5, 2023

This optional paramter can be used to specify a resource group containing existing network resources, which (if provided) will be scoped to several network-related operators in addition to the main installation resource group

xref: OCPBUGS-18246

Virtual network related permissions were discovered in the following credentials requests (recent nightly):

0000_30_machine-api-operator_00_credentials-request.yaml
53:    - Microsoft.Network/virtualNetworks/delete
54:    - Microsoft.Network/virtualNetworks/read
55:    - Microsoft.Network/virtualNetworks/subnets/delete
56:    - Microsoft.Network/virtualNetworks/subnets/join/action
57:    - Microsoft.Network/virtualNetworks/subnets/read
58:    - Microsoft.Network/virtualNetworks/subnets/write
59:    - Microsoft.Network/virtualNetworks/write

0000_50_cluster-storage-operator_03_credentials_request_azure_file.yaml
17:    - Microsoft.Network/virtualNetworks/subnets/read
18:    - Microsoft.Network/virtualNetworks/subnets/write

0000_50_cluster-network-operator_02-cncc-credentials.yaml
19:    - Microsoft.Network/virtualNetworks/read

/assign @abutcher
/cc @jstuever

@openshift-ci-robot openshift-ci-robot added jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Sep 5, 2023
@openshift-ci-robot
Copy link
Contributor

@dlom: This pull request references Jira Issue OCPBUGS-18246, which is invalid:

  • expected the bug to target the "4.14.0" version, but it targets "4.14.z" instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

This optional paramter can be used to specify a resource group containing existing network resources, which (if provided) will be scoped to several network-related operators in addition to the main installation resource group

xref: OCPBUGS-18246

Virtual network related permissions were discovered in the following credentials requests (recent nightly):

0000_30_machine-api-operator_00_credentials-request.yaml
53:    - Microsoft.Network/virtualNetworks/delete
54:    - Microsoft.Network/virtualNetworks/read
55:    - Microsoft.Network/virtualNetworks/subnets/delete
56:    - Microsoft.Network/virtualNetworks/subnets/join/action
57:    - Microsoft.Network/virtualNetworks/subnets/read
58:    - Microsoft.Network/virtualNetworks/subnets/write
59:    - Microsoft.Network/virtualNetworks/write

0000_50_cluster-storage-operator_03_credentials_request_azure_file.yaml
17:    - Microsoft.Network/virtualNetworks/subnets/read
18:    - Microsoft.Network/virtualNetworks/subnets/write

0000_50_cluster-network-operator_02-cncc-credentials.yaml
19:    - Microsoft.Network/virtualNetworks/read

/assign @abutcher
/cc @jstuever

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 kubernetes/test-infra repository.

@openshift-ci openshift-ci bot requested a review from jstuever September 5, 2023 23:49
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 5, 2023
@openshift-ci-robot
Copy link
Contributor

@dlom: This pull request references Jira Issue OCPBUGS-18246, which is invalid:

  • expected the bug to target the "4.14.0" version, but it targets "4.14.z" instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

In response to this:

This optional paramter can be used to specify a resource group containing existing network resources, which (if provided) will be scoped to several network-related operators in addition to the main installation resource group

xref: OCPBUGS-18246

Virtual network related permissions were discovered in the following credentials requests (recent nightly):

0000_30_machine-api-operator_00_credentials-request.yaml
53:    - Microsoft.Network/virtualNetworks/delete
54:    - Microsoft.Network/virtualNetworks/read
55:    - Microsoft.Network/virtualNetworks/subnets/delete
56:    - Microsoft.Network/virtualNetworks/subnets/join/action
57:    - Microsoft.Network/virtualNetworks/subnets/read
58:    - Microsoft.Network/virtualNetworks/subnets/write
59:    - Microsoft.Network/virtualNetworks/write

0000_50_cluster-storage-operator_03_credentials_request_azure_file.yaml
17:    - Microsoft.Network/virtualNetworks/subnets/read
18:    - Microsoft.Network/virtualNetworks/subnets/write

0000_50_cluster-network-operator_02-cncc-credentials.yaml
19:    - Microsoft.Network/virtualNetworks/read

/assign @abutcher
/cc @jstuever

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 kubernetes/test-infra repository.

@codecov
Copy link

codecov bot commented Sep 6, 2023

Codecov Report

Merging #597 (5cb042b) into master (2c3298b) will decrease coverage by 0.09%.
The diff coverage is 4.54%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #597      +/-   ##
==========================================
- Coverage   48.19%   48.10%   -0.09%     
==========================================
  Files          96       96              
  Lines       11635    11656      +21     
==========================================
  Hits         5607     5607              
- Misses       5415     5435      +20     
- Partials      613      614       +1     
Files Changed Coverage Δ
pkg/cmd/provisioning/azure/azure.go 0.00% <ø> (ø)
pkg/cmd/provisioning/azure/create_all.go 0.00% <0.00%> (ø)
...md/provisioning/azure/create_managed_identities.go 58.58% <7.69%> (-1.55%) ⬇️

@abutcher
Copy link
Member

/test e2e-azure-manual-oidc

Copy link
Member

@abutcher abutcher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't expect that the CSI driver would need subnet permissions but changes look good to me. Added comments for updating the parameter description to make it clearer that its related to pre-existing VNet for use in install-config.

pkg/cmd/provisioning/azure/create_all.go Outdated Show resolved Hide resolved
pkg/cmd/provisioning/azure/create_managed_identities.go Outdated Show resolved Hide resolved
@jstuever
Copy link
Contributor

/test e2e-azure-manual-oidc

This paramter can be used to specify a resource group containing
existing network resources, which will be scoped to several
network-related operators in addition to the main installation resource
group (if one is provided)
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 20, 2023

@dlom: all tests passed!

Full PR test history. Your PR dashboard.

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 kubernetes/test-infra repository. I understand the commands that are listed here.

@dlom
Copy link
Contributor Author

dlom commented Sep 21, 2023

/jira refresh

@openshift-ci-robot openshift-ci-robot added the jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. label Sep 21, 2023
@openshift-ci-robot
Copy link
Contributor

@dlom: This pull request references Jira Issue OCPBUGS-18246, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.15.0) matches configured target version for branch (4.15.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @jianping-shu

In response to this:

/jira refresh

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 kubernetes/test-infra repository.

@openshift-ci-robot openshift-ci-robot removed the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Sep 21, 2023
@jianping-shu
Copy link

@huangmingxia PTAL

@jstuever
Copy link
Contributor

/unassign @abutcher
/assign

@openshift-ci openshift-ci bot assigned jstuever and unassigned abutcher Sep 22, 2023
@jstuever
Copy link
Contributor

/hold
We will be requiring QE approval before we merge. However, this repo is not configured for that, yet. I'm placing this on hold until we get the qe-approval label.

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 22, 2023
@jstuever
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 22, 2023
@jstuever
Copy link
Contributor

/assign @jianping-shu
For qe-approved

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 22, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dlom, jstuever

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jianping-shu
Copy link

@huangmingxia Pls. verify and add 'qe-approved'

@huangmingxia
Copy link

Thank you, it is being tested, but the cluster has not been installed successfully at present, I am checking the reason for the installation failure now.

@huangmingxia
Copy link

/label qe-approved
Cluster install successfully.

@openshift-ci openshift-ci bot added the qe-approved Signifies that QE has signed off on this PR label Sep 27, 2023
@dlom
Copy link
Contributor Author

dlom commented Sep 27, 2023

/unhold

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 27, 2023
@openshift-merge-robot openshift-merge-robot merged commit 286b3c5 into openshift:master Sep 27, 2023
10 checks passed
@openshift-ci-robot
Copy link
Contributor

@dlom: Jira Issue OCPBUGS-18246: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-18246 has been moved to the MODIFIED state.

In response to this:

This optional paramter can be used to specify a resource group containing existing network resources, which (if provided) will be scoped to several network-related operators in addition to the main installation resource group

xref: OCPBUGS-18246

Virtual network related permissions were discovered in the following credentials requests (recent nightly):

0000_30_machine-api-operator_00_credentials-request.yaml
53:    - Microsoft.Network/virtualNetworks/delete
54:    - Microsoft.Network/virtualNetworks/read
55:    - Microsoft.Network/virtualNetworks/subnets/delete
56:    - Microsoft.Network/virtualNetworks/subnets/join/action
57:    - Microsoft.Network/virtualNetworks/subnets/read
58:    - Microsoft.Network/virtualNetworks/subnets/write
59:    - Microsoft.Network/virtualNetworks/write

0000_50_cluster-storage-operator_03_credentials_request_azure_file.yaml
17:    - Microsoft.Network/virtualNetworks/subnets/read
18:    - Microsoft.Network/virtualNetworks/subnets/write

0000_50_cluster-network-operator_02-cncc-credentials.yaml
19:    - Microsoft.Network/virtualNetworks/read

/assign @abutcher
/cc @jstuever

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 kubernetes/test-infra repository.

@dlom
Copy link
Contributor Author

dlom commented Sep 27, 2023

/backport release-4.14

@dlom
Copy link
Contributor Author

dlom commented Sep 27, 2023

/cherry-pick release-4.14

@openshift-cherrypick-robot

@dlom: new pull request created: #602

In response to this:

/cherry-pick release-4.14

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 kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. qe-approved Signifies that QE has signed off on this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants