Skip to content

Instantly share code, notes, and snippets.

@p-mongo
Created April 24, 2020 21:51
Show Gist options
  • Save p-mongo/6711c5f08e2926b3cd4ab825876e828b to your computer and use it in GitHub Desktop.
Save p-mongo/6711c5f08e2926b3cd4ab825876e828b to your computer and use it in GitHub Desktop.
Tenex Paste
carbon% astrolabe --log-level DEBUG spec-tests run-one ./tests/retryReads-resizeCluster.yaml -e ./.evergreen/python/pymongo/workload-executor.py --group-name oleg2 --cluster-name-salt hello
DEBUG:astrolabe.cli:AtlasClient Configuration
====================== ===================================
Configuration option Value
====================== ===================================
Atlas API base URL https://cloud.mongodb.com/api/atlas
HTTP timeout (s) 10.0
====================== ===================================
INFO:astrolabe.cli:Astrolabe Configuration
======================== ====================
Configuration option Value
======================== ====================
Atlas organization name MongoDB Drivers Team
Atlas group/project name oleg2
Salt for cluster names hello
Polling frequency (Hz) 1.0
Polling timeout (s) 1200.0
======================== ====================
INFO:astrolabe.spec_runner:Loading spec test from file '/home/w/apps/astrolabe/tests/retryReads-resizeCluster.yaml'
DEBUG:astrolabe.commands:Organization details: {'id': '5bbe62059ccf64925a541bde', 'links': [{'href': 'https://cloud.mongodb.com/api/atlas/v1.0/orgs/5bbe62059ccf64925a541bde', 'rel': 'self'}], 'name': 'MongoDB Drivers Team'}
b'{"detail":"Unexpected error.","error":500,"errorCode":"UNEXPECTED_ERROR","parameters":[],"reason":"Internal Server Error"}'
Traceback (most recent call last):
File "/home/w/.local/bin/astrolabe", line 11, in <module>
load_entry_point('astrolabe', 'console_scripts', 'astrolabe')()
File "/home/w/.local/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/home/w/.local/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/w/.local/lib/python3.6/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/w/.local/lib/python3.6/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/w/.local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/w/.local/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/w/.local/lib/python3.6/site-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/w/apps/astrolabe/astrolabe/cli.py", line 426, in run_single_test
persist_clusters=no_delete)
File "/home/w/apps/astrolabe/astrolabe/spec_runner.py", line 268, in __init__
configuration=self.config))
File "/home/w/apps/astrolabe/astrolabe/spec_runner.py", line 63, in __init__
organization_id=self.organization.id)
File "/home/w/apps/astrolabe/astrolabe/commands.py", line 41, in ensure_project
name=group_name, orgId=organization_id).data
File "/home/w/apps/astrolabe/atlasclient/client.py", line 61, in post
return self._client.request('POST', self._path, **params)
File "/home/w/apps/astrolabe/atlasclient/client.py", line 214, in request
return self.handle_response(method, response)
File "/home/w/apps/astrolabe/atlasclient/client.py", line 262, in handle_response
**kwargs)
atlasclient.exceptions.AtlasApiError: 500: Unknown. Error Code: 'UNEXPECTED_ERROR' (POST https://cloud.mongodb.com/api/atlas/v1.0/groups)
carbon%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment