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

DNM - Decouple uni07eta network stage from control plane stage #490

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dsariel
Copy link
Contributor

@dsariel dsariel commented Feb 3, 2025

No description provided.

@openshift-ci openshift-ci bot requested review from karelyatin and raukadah February 3, 2025 14:04
Copy link

openshift-ci bot commented Feb 3, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dsariel
Once this PR has been reviewed and has the lgtm label, please assign fultonj for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@dsariel dsariel requested review from ciecierski and jirimacku and removed request for karelyatin and raukadah February 3, 2025 14:05
Copy link
Contributor

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/97e777d9b09249fa946ae391513df630

✔️ noop SUCCESS in 0s
rhoso-architecture-validate-hci FAILURE in 3m 21s
rhoso-architecture-validate-hci-adoption FAILURE in 3m 17s

@dsariel dsariel marked this pull request as draft February 3, 2025 17:07
@dsariel dsariel added the wontfix This will not be worked on label Feb 3, 2025
@dsariel
Copy link
Contributor Author

dsariel commented Feb 3, 2025

no need in this change according to the support matrix

@dsariel dsariel force-pushed the octavia_for_uni_gamma_adoption branch from 7e24cb7 to b97d854 Compare February 4, 2025 19:33
@dsariel dsariel changed the title DNM - Octavia for unigamma adoption job DNM - Decouple uni07eta network stage from control plane stage Feb 4, 2025
@dsariel dsariel force-pushed the octavia_for_uni_gamma_adoption branch from b97d854 to 74aca4c Compare February 4, 2025 19:38
Copy link
Contributor

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/aa3a71b99cc74b4da617451f42be2cc8

✔️ noop SUCCESS in 0s
rhoso-architecture-validate-uni07eta FAILURE in 4m 20s

@dsariel dsariel force-pushed the octavia_for_uni_gamma_adoption branch 2 times, most recently from b0ce80d to 5523609 Compare February 4, 2025 21:56
Copy link
Contributor

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/3785f8440d30470d87f34695274330f5

✔️ noop SUCCESS in 0s
rhoso-architecture-validate-uni07eta FAILURE in 5m 31s

@dsariel dsariel force-pushed the octavia_for_uni_gamma_adoption branch 2 times, most recently from d6fd1ed to f7f65d3 Compare February 5, 2025 00:35
@dsariel dsariel removed the wontfix This will not be worked on label Feb 5, 2025
@dsariel
Copy link
Contributor Author

dsariel commented Feb 5, 2025

recheck

@dsariel dsariel marked this pull request as ready for review February 5, 2025 01:53
@openshift-ci openshift-ci bot requested review from karelyatin and raukadah February 5, 2025 01:53
@dsariel dsariel requested a review from abays February 5, 2025 01:54
@dsariel dsariel force-pushed the octavia_for_uni_gamma_adoption branch from a2e52dd to 5d9b2d0 Compare February 6, 2025 15:21
@dsariel dsariel force-pushed the octavia_for_uni_gamma_adoption branch 3 times, most recently from 8c575e2 to 4bf74b4 Compare February 7, 2025 09:49
@dsariel dsariel force-pushed the octavia_for_uni_gamma_adoption branch from 4bf74b4 to 25d3057 Compare February 7, 2025 10:02
@dsariel
Copy link
Contributor Author

dsariel commented Feb 10, 2025

@abays hi, where from network.tools.multus and network.network_name are coming from with relate to

https://github.com/openstack-k8s-operators/ci-framework/blob/main/roles/ci_gen_kustomize_values/templates/uni07eta/network-values/values.yaml.j2#L87?

This line is a suspect that

we have no

apiVersion: k8s.cni.cncf.io/v1
kind: NetworkAttachmentDefinition
metadata:
  labels:
    osp/net: octavia
    osp/net-attach-def-type: standard
  name: octavia
  namespace: openstack
spec:
  config: |
    {
      "cniVersion": "0.3.1",
      "name": "octavia",
      "type": "bridge",
      "bridge": "octbr",
      "ipam": {
        "type": "whereabouts",
        "range": "172.23.0.0/24",
        "routes":  [
           {
              "dst": "172.24.0.0/16",
             "gw": "172.23.0.150"
           }          ],
        "range_start": "172.23.0.30",
        "range_end": "172.23.0.70"
      }
    }
---

in logs/controller-0/ci-framework-data/artifacts/kustomize_deploy/network.yaml

@abays
Copy link
Contributor

abays commented Feb 10, 2025

@abays hi, where from network.tools.multus and network.network_name are coming from with relate to

https://github.com/openstack-k8s-operators/ci-framework/blob/main/roles/ci_gen_kustomize_values/templates/uni07eta/network-values/values.yaml.j2#L87?

This line is a suspect that

we have no

apiVersion: k8s.cni.cncf.io/v1
kind: NetworkAttachmentDefinition
metadata:
  labels:
    osp/net: octavia
    osp/net-attach-def-type: standard
  name: octavia
  namespace: openstack
spec:
  config: |
    {
      "cniVersion": "0.3.1",
      "name": "octavia",
      "type": "bridge",
      "bridge": "octbr",
      "ipam": {
        "type": "whereabouts",
        "range": "172.23.0.0/24",
        "routes":  [
           {
              "dst": "172.24.0.0/16",
             "gw": "172.23.0.150"
           }          ],
        "range_start": "172.23.0.30",
        "range_end": "172.23.0.70"
      }
    }
---

in logs/controller-0/ci-framework-data/artifacts/kustomize_deploy/network.yaml

@dsariel I think the base source is this [1], but that is ingested by CIFMW and then goes through further refinement/processing before it is fed to the template you mentioned [2]. I am not familiar with the internal details of that CIFMW process though.

[1]

octavia:
dnsDomain: octavia.openstack.lab
mtu: 1500
vlan: 23
base_iface: enp6s0
net-attach-def: |
{
"cniVersion": "0.3.1",
"name": "octavia",
"type": "bridge",
"bridge": "octbr",
"ipam": {
"type": "whereabouts",
"range": "172.23.0.0/24",
"range_start": "172.23.0.30",
"range_end": "172.23.0.70",
"routes": [
{
"dst": "172.24.0.0/16",
"gw": "172.23.0.150"
}
]
}
}

[2] https://github.com/openstack-k8s-operators/ci-framework/blob/main/roles/ci_gen_kustomize_values/templates/uni07eta/network-values/values.yaml.j2#L87

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants