为提高效率,提问时请尽量提供详细背景信息,问题描述清晰可优先响应。以下信息点请尽量提供:
- 系统版本 & kernel 版本:
- TiDB 版本:3.0.2
- 磁盘型号:
- 集群节点分布:
- 数据量 & region 数量 & 副本数:
- 集群 QPS、.999-Duration、读写比例:
- 问题描述(我做了什么):再测试机使用docker-compose安装,再执行 ``` cd tidb-docker-compose && docker-compose pull
[root@JH-BJ-TEST-8-16 data]# cd tidb-docker-compose && docker-compose pull
Traceback (most recent call last):
File "/bin/docker-compose", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.7/site-packages/compose/cli/main.py", line 71, in main
command()
File "/usr/lib/python2.7/site-packages/compose/cli/main.py", line 124, in perform_command
project = project_from_options('.', options)
File "/usr/lib/python2.7/site-packages/compose/cli/command.py", line 42, in project_from_options
compatibility=options.get('--compatibility'),
File "/usr/lib/python2.7/site-packages/compose/cli/command.py", line 128, in get_project
project_name, config_data, client, environment.get('DOCKER_DEFAULT_PLATFORM')
File "/usr/lib/python2.7/site-packages/compose/project.py", line 101, in from_config
service_networks = get_networks(service_dict, networks)
File "/usr/lib/python2.7/site-packages/compose/network.py", line 320, in get_networks
networks[network.true_name] = netdef
File "/usr/lib/python2.7/site-packages/compose/network.py", line 125, in true_name
self._set_legacy_flag()
File "/usr/lib/python2.7/site-packages/compose/network.py", line 146, in _set_legacy_flag
data = self.inspect(legacy=True)
File "/usr/lib/python2.7/site-packages/compose/network.py", line 106, in inspect
return self.client.inspect_network(self.legacy_full_name)
File "/usr/lib/python2.7/site-packages/docker/utils/decorators.py", line 19, in wrapped
return f(self, resource_id, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/docker/api/network.py", line 211, in inspect_network
res = self._get(url, params=params)
File "/usr/lib/python2.7/site-packages/docker/utils/decorators.py", line 46, in inner
return f(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/docker/api/client.py", line 230, in _get
return self.get(url, **self._set_request_timeout(kwargs))
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 546, in get
return self.request(
之前安装是没有问题,现在换个环境报错