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

Pods stuck on terminate status #1519

Open
Gsantomaggio opened this issue Jan 2, 2024 · 1 comment
Open

Pods stuck on terminate status #1519

Gsantomaggio opened this issue Jan 2, 2024 · 1 comment
Labels
bug Something isn't working never-stale Issue or PR marked to never go stale

Comments

@Gsantomaggio
Copy link
Member

Describe the bug

Two rabbitmq PODs are stuck on terminate status when during a namespace deletion.

To Reproduce

Steps to reproduce the behavior:

  1. Create a stream queue
  2. pump some message
  3. remove the leader replica with rabbitmq-streams delete_replica my_stream my_leader_node
  4. restart the leader node
  5. it should happen the bug ( it is not systematic )
apiVersion: v1
kind: Namespace
metadata:
  name: stream-clients-test
---
apiVersion: rabbitmq.com/v1beta1
kind: RabbitmqCluster
metadata:
  name: tls
  namespace: stream-clients-test
spec:
  replicas: 3
  image: rabbitmq:3.13-rc-management
  service:
    type: LoadBalancer
  tls:
    secretName: tls-secret
  resources:
    requests:
      cpu: 500m
      memory: 1Gi
    limits:
      cpu: 800m
      memory: 1Gi
  rabbitmq:
    additionalPlugins:
      - rabbitmq_stream
      - rabbitmq_stream_management

Expected behavior
Should stop all the pods

Screenshots

Version and environment information

  • RabbitMQ: rabbitmq:3.13-rc-management
  • GCP

Additional context

Per conversation with @mkuratczyk the problem is:

queue 'BenchmarkDotNet0' in vhost '/' will become unavailable if node rabbit@tls-server-0.tls-nodes.stream-clients-test stops

rabbit_stream_coordinator will become unavailable if node rabbit@tls-server-0.tls-nodes.stream-clients-test stops
@Gsantomaggio Gsantomaggio added the bug Something isn't working label Jan 2, 2024
Copy link

github-actions bot commented Mar 3, 2024

This issue has been marked as stale due to 60 days of inactivity. Stale issues will be closed after a further 30 days of inactivity; please remove the stale label in order to prevent this occurring.

@github-actions github-actions bot added the stale Issue or PR with long period of inactivity label Mar 3, 2024
@mkuratczyk mkuratczyk added never-stale Issue or PR marked to never go stale and removed stale Issue or PR with long period of inactivity labels Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working never-stale Issue or PR marked to never go stale
Projects
None yet
Development

No branches or pull requests

2 participants