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

OSASINFRA-IPV6 DT #421

Conversation

rlobillo
Copy link
Contributor

A DT for deploying OpenShift on OpenStack using IPV6.

This DT is inspired on the existing OSASINFRA DT but configuring the IPV6 endpoints.

Copy link

openshift-ci bot commented Oct 18, 2024

Hi @rlobillo. Thanks for your PR.

I'm waiting for a openstack-k8s-operators member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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-sigs/prow repository.

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/013cb64fd36d4085ad14266925c9c500

✔️ noop SUCCESS in 0s
✔️ rhoso-architecture-validate-osasinfra SUCCESS in 3m 47s
rhoso-architecture-validate-osasinfra-ipv6 FAILURE in 4m 13s

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/acc4ec87c26c4e24980c6a25720bba0b

✔️ noop SUCCESS in 0s
✔️ rhoso-architecture-validate-osasinfra SUCCESS in 3m 39s
rhoso-architecture-validate-osasinfra-ipv6 FAILURE in 3m 15s

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/43e445b092d240db866681cf32e9a694

✔️ noop SUCCESS in 0s
✔️ rhoso-architecture-validate-osasinfra SUCCESS in 3m 39s
rhoso-architecture-validate-osasinfra-ipv6 FAILURE in 3m 11s

@rlobillo
Copy link
Contributor Author

recheck

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/0632cdf7a67647bbbd00cce256939599

✔️ noop SUCCESS in 0s
✔️ rhoso-architecture-validate-osasinfra SUCCESS in 3m 42s
rhoso-architecture-validate-osasinfra-ipv6 FAILURE in 3m 08s

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/df9d6f2200214e47a5f67c0110a650d2

✔️ noop SUCCESS in 0s
✔️ rhoso-architecture-validate-osasinfra SUCCESS in 3m 57s
rhoso-architecture-validate-osasinfra-ipv6 FAILURE in 3m 33s

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/6512d0ab2b904eaa9120e71c537d6ab2

✔️ noop SUCCESS in 0s
✔️ rhoso-architecture-validate-osasinfra SUCCESS in 5m 05s
rhoso-architecture-validate-osasinfra-ipv6 FAILURE in 4m 04s

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/f35f332320f54178b8ede2e81bd81729

✔️ noop SUCCESS in 0s
✔️ rhoso-architecture-validate-osasinfra SUCCESS in 3m 41s
rhoso-architecture-validate-osasinfra-ipv6 FAILURE in 3m 57s

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/5c81e61370fe4c9d89287c8fb997c719

✔️ noop SUCCESS in 0s
✔️ rhoso-architecture-validate-osasinfra SUCCESS in 3m 42s
rhoso-architecture-validate-osasinfra-ipv6 FAILURE in 4m 05s

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/ebc2bac28a0447e1a9dc37dae29a3d28

✔️ noop SUCCESS in 0s
✔️ rhoso-architecture-validate-osasinfra SUCCESS in 3m 46s
rhoso-architecture-validate-osasinfra-ipv6 FAILURE in 4m 17s

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/ba1834d06fbd462c872af3583ef6d089

✔️ noop SUCCESS in 0s
✔️ rhoso-architecture-validate-osasinfra SUCCESS in 3m 39s
rhoso-architecture-validate-osasinfra-ipv6 FAILURE in 3m 10s

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/2f49998c9e46452aba10468f5a7a1c65

✔️ noop SUCCESS in 0s
✔️ rhoso-architecture-validate-osasinfra SUCCESS in 5m 06s
rhoso-architecture-validate-osasinfra-ipv6 FAILURE in 4m 05s

@rlobillo rlobillo added ready-review Request is ready to be reviewed and removed do-not-merge/work-in-progress labels Nov 13, 2024
@rlobillo
Copy link
Contributor Author

rlobillo commented Nov 13, 2024

Ready for review!

/cc @mandre
/cc @abays

Could you please take a look on this?

Successful installation on https://sf.hosted.upshift.rdu2.redhat.com/zuul/t/tripleo-ci-internal/build/ad230d0b5a5246feaa3265e22928341b

rhoso-architecture-validate-osasinfra-ipv6 is failing because openstack-k8s-operators/ci-framework#2481 needs to be merged.

@rlobillo rlobillo added the deployment-topology Deployment topology changes or implementations label Nov 13, 2024
Copy link
Contributor

@abays abays left a comment

Choose a reason for hiding this comment

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

+1 from me

Copy link
Contributor

@mandre mandre left a comment

Choose a reason for hiding this comment

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

This is identical to the osasinfra DT for the most part. The only diffs I could find where:

  • name changed from osasinfra to osasinfra-ipv6
  • obviously, IP addresses changed from v4 to v6
  • edpm_network_config_template in edpm-pre-ceph/nodeset/values.yaml:
    • dropped nic1
    • use the >- block scalar header for the networks ip_netmask
  • define a storagemgmt subnet in edpm-pre-ceph/nodeset/values.yaml (probably an overlook of the osasinfra DT)

I wish there was a better way than duplicating the whole DT. This is going to be painful maintaining down the line. It feels like we should be able to do better with kustomize.

Simply looking a the content of the DT, LGTM.

@rlobillo rlobillo marked this pull request as ready for review November 18, 2024 10:33
@openshift-ci openshift-ci bot requested a review from cjeanner November 18, 2024 10:33
@rlobillo
Copy link
Contributor Author

This is identical to the osasinfra DT for the most part. The only diffs I could find where:

  • name changed from osasinfra to osasinfra-ipv6

  • obviously, IP addresses changed from v4 to v6

  • edpm_network_config_template in edpm-pre-ceph/nodeset/values.yaml:

    • dropped nic1
    • use the >- block scalar header for the networks ip_netmask
  • define a storagemgmt subnet in edpm-pre-ceph/nodeset/values.yaml (probably an overlook of the osasinfra DT)

I wish there was a better way than duplicating the whole DT. This is going to be painful maintaining down the line. It feels like we should be able to do better with kustomize.

Simply looking a the content of the DT, LGTM.

Thanks @mandre. Your list is correct. There is another difference which is that osasinfra DT uses lib/nncp_ipv6 on dt/osasinfra-ipv6/nncp/kustomization.yaml, while osasinfra DT uses lib/nncp

@mandre
Copy link
Contributor

mandre commented Nov 18, 2024

@abays who do we need to get reviews from? From my point of view, this looks good to merge.

@abays
Copy link
Contributor

abays commented Nov 18, 2024

@mandre Maybe @fultonj wants to take a look. If not, I could approve it, but there's a CI error that needs to be addressed first.

@mandre
Copy link
Contributor

mandre commented Nov 18, 2024

Oh indeed, I missed the CI failure:

  stderr: 'error: accumulating components: accumulateDirectory: "recursed accumulation of path ''/home/zuul/src/github.com/openstack-k8s-operators/architecture/dt/osasinfra-ipv6/nncp'': accumulating components: accumulateDirectory: \"recursed accumulation of path ''/home/zuul/src/github.com/openstack-k8s-operators/architecture/lib/nncp_ipv6'': fieldPath `data.node_0.node_name` is missing for replacement source ConfigMap.[noVer].[noGrp]/network-values.[noNs]\""'

That must be fixed first, of course.

@rlobillo
Copy link
Contributor Author

Oh indeed, I missed the CI failure:

  stderr: 'error: accumulating components: accumulateDirectory: "recursed accumulation of path ''/home/zuul/src/github.com/openstack-k8s-operators/architecture/dt/osasinfra-ipv6/nncp'': accumulating components: accumulateDirectory: \"recursed accumulation of path ''/home/zuul/src/github.com/openstack-k8s-operators/architecture/lib/nncp_ipv6'': fieldPath `data.node_0.node_name` is missing for replacement source ConfigMap.[noVer].[noGrp]/network-values.[noNs]\""'

That must be fixed first, of course.

This error is happening because openstack-k8s-operators/ci-framework#2481 is still not merged.

@rlobillo
Copy link
Contributor Author

/retest

@rlobillo
Copy link
Contributor Author

recheck

@rlobillo
Copy link
Contributor Author

@fultonj Would you mind to take a look on this? Thank you.

Copy link
Contributor

@fultonj fultonj left a comment

Choose a reason for hiding this comment

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

I don't have any major problems with it. I saw a few small things which should be easy to fix.

This is a collection of CR templates that represent a validated Red Hat
OpenStack Services on OpenShift deployment following the recommendations from
the (OpenShift on OpenStack reference
architecture)[https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.2/html-single/reference_architecture_for_deploying_red_hat_openshift_container_platform_on_red_hat_openstack_platform/index]. It has the following characteristics:
Copy link
Contributor

Choose a reason for hiding this comment

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

This link not formatted correctly. Please transpose [] and ().

Copy link
Contributor

Choose a reason for hiding this comment

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

After the readme is fixed, I'm ok if it merges.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. Thanks John!

@fultonj
Copy link
Contributor

fultonj commented Nov 22, 2024

Oh indeed, I missed the CI failure:

  stderr: 'error: accumulating components: accumulateDirectory: "recursed accumulation of path ''/home/zuul/src/github.com/openstack-k8s-operators/architecture/dt/osasinfra-ipv6/nncp'': accumulating components: accumulateDirectory: \"recursed accumulation of path ''/home/zuul/src/github.com/openstack-k8s-operators/architecture/lib/nncp_ipv6'': fieldPath `data.node_0.node_name` is missing for replacement source ConfigMap.[noVer].[noGrp]/network-values.[noNs]\""'

That must be fixed first, of course.

This error is happening because openstack-k8s-operators/ci-framework#2481 is still not merged.

I see that rhoso-architecture-validate-osasinfra-ipv6 is now passing.

https://softwarefactory-project.io/zuul/t/rdoproject.org/build/aa69db50d6b44e9f831b26d79d51ccad

A DT for deploying OpenShift on OpenStack using IPV6.

This DT is inspired on the existing OSASINFRA DT but configuring the
IPV6 endpoints.
Copy link
Contributor

@abays abays left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

Copy link

openshift-ci bot commented Nov 25, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abays, rlobillo

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

@abays
Copy link
Contributor

abays commented Nov 25, 2024

recheck-gate

Copy link
Contributor

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit 8cbc28e into openstack-k8s-operators:main Nov 25, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved deployment-topology Deployment topology changes or implementations lgtm needs-ok-to-test ready-review Request is ready to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants