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

Dedupe services to be deployed for nodeset #881

Merged
merged 3 commits into from
Jul 10, 2024

Conversation

rabi
Copy link
Contributor

@rabi rabi commented Jun 24, 2024

  • Multiple Services of same ServiceType/ServiceName in nodeset
  • Global Services in multiple NodeSets for a deployment

Jira: https://issues.redhat.com/browse/OSPRH-8104

@openshift-ci openshift-ci bot requested review from lewisdenny and rebtoor June 24, 2024 10:25
@rabi rabi force-pushed the dedeup branch 2 times, most recently from 6ced53b to b7d60d1 Compare June 25, 2024 03:35
@rabi
Copy link
Contributor Author

rabi commented Jun 25, 2024

Marking WIP to add functional tests.

@rabi
Copy link
Contributor Author

rabi commented Jun 25, 2024

/test openstack-operator-build-deploy-kuttl

Copy link

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://review.rdoproject.org/zuul/buildset/cee782a66b9242aab5c479b2bffeadd2

✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 35m 11s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 20m 21s
cifmw-crc-podified-edpm-baremetal RETRY_LIMIT Host unreachable in 10m 24s
✔️ openstack-operator-tempest-multinode SUCCESS in 1h 45m 36s

@slagle
Copy link
Contributor

slagle commented Jun 26, 2024

Is this something you view as blocker for GA? It was shared in the podified call yesterday that "We should consider ourselves in blockers-only mode at this point". If we intend to proceed with this for GA, it should likely have an associated blocking Jira.

@rabi
Copy link
Contributor Author

rabi commented Jun 27, 2024

Is this something you view as blocker for GA?

I think this is a good UX improvement. I was not aware of the decision and also started this before Tuesday's podified call. Are we applying this rule for all PRs as I notice PRs[1] merged yesterday without blocker flags? Having said that, if we think we should not merge this before GA, it can wait.

[1] #847

pkg/dataplane/service.go Show resolved Hide resolved
pkg/dataplane/const.go Outdated Show resolved Hide resolved
@slagle
Copy link
Contributor

slagle commented Jun 27, 2024

Is this something you view as blocker for GA?

I think this is a good UX improvement. I was not aware of the decision and also started this before Tuesday's podified call. Are we applying this rule for all PRs as I notice PRs[1] merged yesterday without blocker flags? Having said that, if we think we should not merge this before GA, it can wait.

[1] #847

we can check with @cmsj, the guidance came from him

@rabi
Copy link
Contributor Author

rabi commented Jun 28, 2024

error: build error: Failed to push image: trying to reuse blob sha256:e394ea8406c7ed85ddc862f882ec77dcfd3863de3cb90fd8006238d521d22d44 at destination: pinging container registry quay.rdoproject.org: Get "https://quay.rdoproject.org/v2/": dial tcp 38.129.56.158:443: i/o timeout

@rabi
Copy link
Contributor Author

rabi commented Jun 28, 2024

/test openstack-operator-build-deploy-kuttl

@jpodivin
Copy link
Contributor

The code has +2 from me, even though we can't merge it right away. Couple of things to consider in the meantime.

  • add JIRA epic/task for tracking
  • set up followup PR for documentation of this behavior

@jpodivin jpodivin self-requested a review June 28, 2024 09:10
@rabi
Copy link
Contributor Author

rabi commented Jun 28, 2024

even though we can't merge it right away.

Why is that (as discussed yesterday we're not in blocker only mode yet and this is an UX improvement)? As per documentation is concerned, we need to just document that:

  • For duplicate services, later services in the service list would be ignored
  • For global services in multiple nodesets, we won't fail like before.

I'll will do a doc only follow-up next week.

@jpodivin
Copy link
Contributor

jpodivin commented Jul 3, 2024

This isn't a blocker so I'm putting DNM until we either get the priority or the GA is out.

Copy link

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://review.rdoproject.org/zuul/buildset/83bbe194b89047f88f617ea7b9608d0b

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 34m 40s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 15m 10s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 21m 55s
✔️ openstack-operator-tempest-multinode SUCCESS in 2h 03m 16s
openstack-operator-docs-preview POST_FAILURE in 2m 06s

rabi added 2 commits July 9, 2024 09:24
- Multiple Services of same ServiceType/ServiceName in nodeset
- Global Services in multiple NodeSets for a deployment

Signed-off-by: rabi <[email protected]>
@rabi rabi force-pushed the dedeup branch 2 times, most recently from 7f7f47d to 5fc7157 Compare July 9, 2024 04:22
@rabi rabi dismissed jpodivin’s stale review July 9, 2024 04:48

resolved

Copy link

This change depends on a change that failed to merge.

Change openstack-k8s-operators/ci-framework#2047 is needed.

@rabi
Copy link
Contributor Author

rabi commented Jul 9, 2024

recheck

Copy link

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://review.rdoproject.org/zuul/buildset/6fddb3b235304558b7bd2cbfd538b25d

✔️ openstack-k8s-operators-content-provider SUCCESS in 4h 10m 23s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 17m 26s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 16m 34s
✔️ openstack-operator-tempest-multinode SUCCESS in 1h 40m 02s
openstack-operator-docs-preview POST_FAILURE in 1m 07s

@slagle
Copy link
Contributor

slagle commented Jul 9, 2024

recheck

openstack-k8s-operators/ci-framework#2009 is merged now, let's see if that fixes the docs job

Copy link

Merge Failed.

This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.
Warning:
Error merging github.com/openstack-k8s-operators/ci-framework for 2047,50c3186a84b69dc2e18d5c7f82b2b0fac8a24c59

Copy link
Contributor

openshift-ci bot commented Jul 9, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rabi, slagle

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

@slagle
Copy link
Contributor

slagle commented Jul 9, 2024

recheck

dropped the outdated Depends-On from the description

@rabi
Copy link
Contributor Author

rabi commented Jul 10, 2024

Failed to run 'make crc_storage' target. Aborting

@rabi
Copy link
Contributor Author

rabi commented Jul 10, 2024

/test openstack-operator-build-deploy-kuttl

@openshift-merge-bot openshift-merge-bot bot merged commit da9a7be into openstack-k8s-operators:main Jul 10, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants