CentaurusInfra / mizar

Mizar – Experimental, High Scale and High Performance Cloud Network https://mizar.readthedocs.io
https://mizar.readthedocs.io
GNU General Public License v2.0
112 stars 50 forks source link

Error: resource-management/pkg/service-api/endpoints/installer.go:137:20: assignment mismatch: 1 variable but location.GetPartitionFromPartitionName returns 2 values #659

Closed sonyafenge closed 2 years ago

sonyafenge commented 2 years ago

What happened: This is a regression of PR #147 when run service and found error below in service log:

resource-management/pkg/service-api/endpoints/installer.go:137:20: assignment mismatch: 1 variable but location.GetPartitionFromPartitionName returns 2 values

What you expected to happen: No error How to reproduce it (as minimally and precisely as possible):

sonyali@sonyaowndev:~/go/src/global-resource-service$ export GRS_INSTANCE_PREFIX=grs-daily-0825-100x50 AUTORUN_E2E=true SIM_NUM=5 CLIENT_NUM=5 SERVER_NUM=1
sonyali@sonyaowndev:~/go/src/global-resource-service$ export SERVER_ZONE=us-central1-a   SIM_ZONE=us-central1-a,us-east1-b,us-west2-a,us-west4-a,us-west3-c CLIENT_ZONE=us-west3-b,us-east4-b,us-central1-b,us-east1-c,us-central1-a
sonyali@sonyaowndev:~/go/src/global-resource-service$ export SERVICE_EXTRA_ARGS="--enable_metrics=false"
sonyali@sonyaowndev:~/go/src/global-resource-service$ export SIM_REGIONS="Beijing,Shanghai,Wulan,Guizhou,Reserved1" SIM_RP_NUM=40 NODES_PER_RP=25000 SCHEDULER_REQUEST_MACHINE=50000 SCHEDULER_REQUEST_LIMIT=51000 SCHEDULER_NUM=100
sonyali@sonyaowndev:~/go/src/global-resource-service$ export SIM_DATA_PATTERN=Daily
sonyali@sonyaowndev:~/go/src/global-resource-service$ ./hack/test-setup.sh

Anything else we need to know?:

Environment:

sonyafenge commented 2 years ago

wrong repo, close this issue and move to global-resource-service