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

V2 instance creation requires explicit cluster information #1929

Closed
tseaver opened this issue Jun 28, 2016 · 2 comments
Closed

V2 instance creation requires explicit cluster information #1929

tseaver opened this issue Jun 28, 2016 · 2 comments
Assignees
Labels
api: bigtable Issues related to the Bigtable API.

Comments

@tseaver
Copy link
Contributor

tseaver commented Jun 28, 2016

@garye The protos seem to indicate that an instance will get a default cluster created if nothing is specified, but:

raceback (most recent call last):
  File "/home/tseaver/projects/agendaless/Google/src/gcloud-python/system_tests/bigtable.py", line 98, in setUpModule
    created_op = Config.INSTANCE.create()
  File "/home/tseaver/projects/agendaless/Google/src/gcloud-python/gcloud/bigtable/instance.py", line 362, in create
    request_pb, self._client.timeout_seconds)
  File "/home/tseaver/projects/agendaless/Google/src/gcloud-python/.tox/system-tests/lib/python2.7/site-packages/grpc/beta/_client_adaptations.py", line 300, in __call__
    self._request_serializer, self._response_deserializer)
  File "/home/tseaver/projects/agendaless/Google/src/gcloud-python/.tox/system-tests/lib/python2.7/site-packages/grpc/beta/_client_adaptations.py", line 198, in _blocking_unary_unary
    raise _abortion_error(rpc_error_call)
grpc.framework.interfaces.face.face.AbortionError: AbortionError(code=StatusCode.INVALID_ARGUMENT, details="Error in field 'clusters' : Need to have at least one cluster map element in CreateInstanceRequest.")
@tseaver tseaver added the api: bigtable Issues related to the Bigtable API. label Jun 28, 2016
@garye
Copy link
Contributor

garye commented Jun 28, 2016

@tseaver
Copy link
Contributor Author

tseaver commented Jun 28, 2016

My mistake: I somehow imagined that cluster location and serve_nodes had server-side defaults.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigtable Issues related to the Bigtable API.
Projects
None yet
Development

No branches or pull requests

2 participants