You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "victorgkang (via GitHub)" <gi...@apache.org> on 2024/03/31 02:00:11 UTC
[I] create topictransfer encounter Failed to list topic with output: The sub command topiclist -c -n 192.168.25.11:9876 not exist. [rocketmq-operator]
victorgkang opened a new issue, #219:
URL: https://github.com/apache/rocketmq-operator/issues/219
This is my topictransfer.yaml
apiVersion: rocketmq.apache.org/v1alpha1
kind: TopicTransfer
metadata:
annotations:
meta.helm.sh/release-name: rocketmq
meta.helm.sh/release-namespace: rocketmq
labels:
app.kubernetes.io/managed-by: Helm
name: topictransfer
namespace: rocketmq
selfLink: /apis/rocketmq.apache.org/v1alpha1/namespaces/rocketmq/topictransfers/topictransfer
uid: d9ebc8e4-6a97-4cb3-9fbc-7dc5ee967541
spec:
sourceCluster: broker-0
targetCluster: broker-1
topic: TopicTest
After create above topictransfer.yaml, operator encounter
2024-03-31T01:25:16.872Z ERROR controller_topictransfer Failed to list topic with output: The sub command topiclist -c -n 192.168.25.11:9876 not exist.
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.10.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.10.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.10.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.10.0/pkg/internal/controller/controller.go:227
So, I guess under code has bug!!!
cmd := exec.Command(cons.BasicCommand, cons.AdminToolDir, topicListCmd)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] create topictransfer encounter Failed to list topic with output: The sub command topiclist -c -n 192.168.25.11:9876 not exist. [rocketmq-operator]
Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #219:
URL: https://github.com/apache/rocketmq-operator/issues/219#issuecomment-5235135679
**Issue Evaluation**
Category: `bug` | Status: **Confirmed**
The error `The sub command topiclist -c -n 192.168.25.11:9876 not exist` indicates the operator is invoking the mqadmin tool with an incorrect subcommand name.
**Root Cause:** In the `TopicTransfer` controller, the command construction uses `topicListCmd` which resolves to `topiclist`, but the correct mqadmin subcommand is likely `topicList` (case-sensitive) or `topicClusterList`. The operator's `cons.AdminToolDir` + command concatenation produces an invalid mqadmin invocation.
**Impact:** `TopicTransfer` CRD is non-functional — cannot migrate topics between clusters.
**Severity:** Medium — affects the topic transfer feature specifically.
---
*Automated evaluation by github-manager*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] create topictransfer encounter Failed to list topic with output: The sub command topiclist -c -n 192.168.25.11:9876 not exist. [rocketmq-operator]
Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #219:
URL: https://github.com/apache/rocketmq-operator/issues/219#issuecomment-5655101929
**Issue Evaluation**
Category: `type/bug` | Status: **Needs Info**
The `TopicTransfer` CR reports that `topiclist -c` sub-command doesn't exist. This suggests the operator is using an incorrect or outdated admin command syntax. Please provide:
- [ ] The RocketMQ version deployed
- [ ] The operator version
- [ ] The full error log from the operator pod
---
*Automated evaluation by github-manager*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] create topictransfer encounter Failed to list topic with output: The sub command topiclist -c -n 192.168.25.11:9876 not exist. [rocketmq-operator]
Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #219:
URL: https://github.com/apache/rocketmq-operator/issues/219#issuecomment-4689443206
**Issue Evaluation**
Category: `type/bug` | Status: **Needs Info**
The error `The sub command topiclist -c -n ... not exist` suggests the operator is using an incorrect or unsupported subcommand format when invoking the RocketMQ admin tools.
Please provide:
- [ ] RocketMQ image version used in the CRD
- [ ] Operator version
- [ ] Full `TopicTransfer` CRD spec and error output
---
*Automated evaluation by RockteMQ-AI*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] create topictransfer encounter Failed to list topic with output: The sub command topiclist -c -n 192.168.25.11:9876 not exist. [rocketmq-operator]
Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #219:
URL: https://github.com/apache/rocketmq-operator/issues/219#issuecomment-5487025725
**Issue Evaluation**
Category: `bug` | Status: **Needs Info**
The `topiclist -c -n` subcommand not found error suggests a version mismatch between the mqadmin tool and the broker. The `-c` flag for `topicList` may not be supported in your RocketMQ version.
Please provide:
- [ ] RocketMQ server version
- [ ] The exact mqadmin command and version used
- [ ] Whether `mqadmin topicList -n <namesrv>` (without -c) works
---
*Automated evaluation by RockteMQ-AI*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org