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

[Bug]: can't create volume #3365

Open
1 task done
yangrw1 opened this issue May 9, 2024 · 1 comment
Open
1 task done

[Bug]: can't create volume #3365

yangrw1 opened this issue May 9, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@yangrw1
Copy link

yangrw1 commented May 9, 2024

Contact Details

No response

Is there an existing issue for this?

  • I have searched all the existing issues

Priority

low (Default)

Environment

- CubeFS version: 3.3.2
- Deployment mode(docker or standalone or cluster): cluster
- Dependent components: k8s
- OS kernel version(Ubuntu or CentOS): centos
- CPU/Memory: 8cpu/64GB
- Others:

Current Behavior

cfs-cli volume create test test

Create volume failed

Expected Behavior

Create volume successful

Steps To Reproduce

1. init env
2. create user
3. create volume

CubeFS Log

Error: Create volume failed case:
action[createVol], clusterID[my-cluster] name:test, err:action[createVol] initMetaPartitions failed,err[action[initMetaPartitions] vol[test] init meta partition failed,mpCount[0],expectCount[3],err[[vol.go 1317] [topology.go 1691] zone[default],err[no node set available for creating a meta partition]]]

curl http://172.16.176.120:17010/topo/get
{
    "code": 0,
    "msg": "success",
    "data": {
        "Zones": [
            {
                "Name": "default",
                "Status": "available",
                "NodeSet": {
                    "1": {
                        "DataNodeLen": 2,
                        "MetaNodeLen": 2,
                        "MetaNodes": [
                            {
                                "Addr": "172.16.176.119:17210",
                                "Status": true,
                                "DomainAddr": "iZ0jl2eb3vsyksbj7rsguwZ:17210,iZ0jl2eb3vsyksbj7rsguwZ:17210",
                                "ID": 8,
                                "IsWritable": true
                            },
                            {
                                "Addr": "172.16.176.118:17210",
                                "Status": true,
                                "DomainAddr": "172-16-176-118.node-exporter.arms-prom.svc.cluster.local:17210,master-2.master-service.cubefs.svc.cluster.local:17210",
                                "ID": 3,
                                "IsWritable": true
                            }
                        ],
                        "DataNodes": [
                            {
                                "Addr": "172.16.176.119:17310",
                                "Status": true,
                                "DomainAddr": "iZ0jl2eb3vsyksbj7rsguwZ:17310,iZ0jl2eb3vsyksbj7rsguwZ:17310",
                                "ID": 5,
                                "IsWritable": true
                            },
                            {
                                "Addr": "172.16.176.120:17310",
                                "Status": true,
                                "DomainAddr": "172-16-176-120.hub-agent.koderover-agent.svc.cluster.local:17310,master-1.master-service.cubefs.svc.cluster.local:17310,172-16-176-120.node-exporter.arms-prom.svc.cluster.local:17310",
                                "ID": 7,
                                "IsWritable": true
                            }
                        ]
                    },
                    "2": {
                        "DataNodeLen": 1,
                        "MetaNodeLen": 1,
                        "MetaNodes": [
                            {
                                "Addr": "172.16.176.120:17210",
                                "Status": true,
                                "DomainAddr": "172-16-176-120.node-exporter.arms-prom.svc.cluster.local:17210,172-16-176-120.hub-agent.koderover-agent.svc.cluster.local:17210,master-1.master-service.cubefs.svc.cluster.local:17210",
                                "ID": 6,
                                "IsWritable": true
                            }
                        ],
                        "DataNodes": [
                            {
                                "Addr": "172.16.176.118:17310",
                                "Status": true,
                                "DomainAddr": "172-16-176-118.node-exporter.arms-prom.svc.cluster.local:17310,master-2.master-service.cubefs.svc.cluster.local:17310",
                                "ID": 43,
                                "IsWritable": true
                            }
                        ]
                    }
                }
            }
        ]
    }
}

Anything else? (Additional Context)

No response

@yangrw1 yangrw1 added the bug Something isn't working label May 9, 2024
Copy link

github-actions bot commented May 9, 2024

See

  1. 71% can't write data on volume #1130

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants