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

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

Closed
sonyafenge opened this issue Aug 25, 2022 · 0 comments · Fixed by #149
Assignees

Comments

@sonyafenge
Copy link
Collaborator

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

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants