redpanda-operator icon indicating copy to clipboard operation
redpanda-operator copied to clipboard

Topic replication won't match number of brokers

Open mike-code opened this issue 1 year ago • 1 comments

There are two errors This server does not host this topic-partition and Replication factor is below 1 or larger than the number of available brokers despite there being two brokers running.

image

Spec:
  Interval:  3s
  Kafka API Spec:
    Brokers:
      redpanda-alpha-0.redpanda-alpha.operations.svc.cluster.local:9093
      redpanda-alpha-1.redpanda-alpha.operations.svc.cluster.local:9093
  Partitions:          20
  Replication Factor:  2
Status:
  Conditions:
    Last Transition Time:  2024-08-15T23:48:44Z
    Message:               Topic reconciliation failed
    Observed Generation:   1
    Reason:                Failed
    Status:                False
    Type:                  Ready
  Observed Generation:     1
Events:
  Type     Reason                             Age                 From             Message
  ----     ------                             ----                ----             -------
  Warning  topicCreationFailure               85s (x12 over 95s)  TopicReconciler  creating topic ([INVALID_REPLICATION_FACTOR: Replication factor is below 1 or larger than the number of available brokers.]) CreateTopicsResponse error (%!!(MISSING)s(MISSING)): %!!(MISSING)s(MISSING)
  Warning  topicConfigurationDescribeFailure  74s (x13 over 95s)  TopicReconciler  describing topic configuration ([UNKNOWN_TOPIC_OR_PARTITION: This server does not host this topic-partition.]) DescribeConfigsResponse error (%!!(MISSING)s(MISSING)): %!!(MISSING)s(MISSING)

JIRA Link: K8S-322

mike-code avatar Aug 15 '24 23:08 mike-code

+1 me too. describing topic configuration ([UNKNOWN_TOPIC_OR_PARTITION: This server does not host this topic-partition.]) DescribeConfigsResponse error (%!!(MISSING)s(MISSING)): %!!(MISSING)s(MISSING)

but status Ready and topic created and work

vasyakrg avatar Oct 19 '24 06:10 vasyakrg