Repository navigation
MGMT-18513: Add machine networks validation when iSCSI boot disk is in use - #6978
openshift-merge-bot[bot] merged 6 commits into
Conversation
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adriengentil 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 |
3b3391b to
0525314
Compare
|
@adriengentil: This pull request references MGMT-18513 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.18.0" version, but no target version was set. 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. |
|
@adriengentil: This pull request references MGMT-18513 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.18.0" version, but no target version was set. 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. |
|
/test edge-e2e-metal-assisted |
0525314 to
2b4626f
Compare
|
/test edge-lint edge-unit-test |
|
@adriengentil: This pull request references MGMT-18513 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.18.0" version, but no target version was set. 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. |
|
/test edge-e2e-metal-assisted |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6978 +/- ##
==========================================
+ Coverage 68.82% 68.86% +0.04%
==========================================
Files 251 251
Lines 37630 37684 +54
==========================================
+ Hits 25897 25952 +55
+ Misses 9416 9412 -4
- Partials 2317 2320 +3
|
2b4626f to
1d0ee57
Compare
…n use In order to successfully install an OCP cluster using iSCSI boot disk, we need to ensure that the machine networks doesn't belong the IP addresses set on the network interface connected to the iSCSI disk. In a previous effort (openshift#6434), we ensured that the iSCSI disk can be selected as installation disk only if the machine has 2 network interfaces.
1d0ee57 to
25d8677
Compare
|
/retest |
| HostValidationIDNoIPCollisionsInNetwork HostValidationID = "no-ip-collisions-in-network" | ||
|
|
||
| // HostValidationIDIscsiHostNetworkInterfaceDoesNotBelongToMachineCidr captures enum value "iscsi-host-network-interface-does-not-belong-to-machine-cidr" | ||
| HostValidationIDIscsiHostNetworkInterfaceDoesNotBelongToMachineCidr HostValidationID = "iscsi-host-network-interface-does-not-belong-to-machine-cidr" |
There was a problem hiding this comment.
I really think that a short name will help here
eifrach
left a comment
There was a problem hiding this comment.
Great Work, small changes just to make it easier to read / deubg
I also want you to add deubg output for the Expect I didn't comment on all of them.
There was a problem hiding this comment.
let's check if it's ClusterManagedNetworking retrun true
cause we allow only one network
There was a problem hiding this comment.
why? It was not there before?
There was a problem hiding this comment.
ignore it - It OK
you can have different host network form ISCSI network
2965621 to
6f6bfc5
Compare
|
@adriengentil: 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. |
|
/lgtm |
|
[ART PR BUILD NOTIFIER] Distgit: ose-agent-installer-api-server |


In order to successfully install an OCP cluster using iSCSI boot disk,
we need to ensure that the machine networks doesn't belong the IP
addresses set on the network interface connected to the iSCSI
disk.
In a previous effort
(#6434), we ensured
that the iSCSI disk can be selected as installation disk only if the
machine has 2 network interfaces.
Example with SNO (same behavior with MNO+CMN), the iSCSI disk is connected through the subnet 192.168.11.0/24:

