kubeblocks
kubeblocks copied to clipboard
[BUG] rabbitmq 3.8.14 rabbitmqadmin connect Access refused
Describe the bug A clear and concise description of what the bug is.
kbcli version
Kubernetes: v1.30.4-vke.4
KubeBlocks: 0.9.5-beta.8
kbcli: 0.9.5-beta.7
To Reproduce Steps to reproduce the behavior:
- create cluster
apiVersion: apps.kubeblocks.io/v1alpha1
kind: Cluster
metadata:
name: rabbitmq-yatiiu
namespace: default
spec:
terminationPolicy: WipeOut
componentSpecs:
- name: rabbitmq
componentDef: rabbitmq
serviceVersion: 3.8.14
replicas: 3
resources:
requests:
cpu: 500m
memory: 0.5Gi
limits:
cpu: 500m
memory: 0.5Gi
serviceAccountName: kb-rabbitmq-yatiiu
volumeClaimTemplates:
- name: data
spec:
storageClassName:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 20Gi
- See error
kubectl exec -it rabbitmq-yatiiu-rabbitmq-0 --namespace default -- bash
root@rabbitmq-yatiiu-rabbitmq-0:/# rabbitmqadmin -H rabbitmq-yatiiu-rabbitmq.default.svc.cluster.local -u root -p '05K6YJ15r56R9pfK' -P 15672 list nodes
*** Access refused: /api/nodes?columns=name,type,mem_used
root@rabbitmq-yatiiu-rabbitmq-0:/# rabbitmqadmin -H rabbitmq-yatiiu-rabbitmq.default.svc.cluster.local -u root -p '05K6YJ15r56R9pfK' -P 15672 show overview
*** Access refused: /api/overview?columns=rabbitmq_version,cluster_name,queue_totals.messages,object_totals.queues
root@rabbitmq-yatiiu-rabbitmq-0:/# rabbitmqctl list_users
Listing users ...
user tags
guest [administrator]
root@rabbitmq-yatiiu-rabbitmq-0:/# env|grep USER
RABBITMQ_DEFAULT_USER=root
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
This issue has been marked as stale because it has been open for 30 days with no activity
This issue has been marked as stale because it has been open for 30 days with no activity