You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/03/31 03:53:20 UTC
[GitHub] [servicecomb-service-center] imhuzi opened a new issue #641: docker sc 版本不是最新的
imhuzi opened a new issue #641: docker sc 版本不是最新的
URL: https://github.com/apache/servicecomb-service-center/issues/641
**Describe the bug**
servicecomb-java-chassis 2.x 版本 和 docker sc 的版本规则 不匹配
问题 是:docker 的 service-center版本 太低了
```
~ docker run servicecomb/service-center -it /bin/bash
2020-03-31T03:46:20.282Z INFO core/config.go:102 service center is running simultaneously with 2 CPU cores
2020-03-31T03:46:20.283Z INFO version/version.go:50 Version: 1.1.0
2020-03-31T03:46:20.284Z INFO version/version.go:51 Build tag: 20190507120440.1.1.0.c6821d1d
2020-03-31T03:46:20.284Z INFO version/version.go:52 Go version: go1.11.2
2020-03-31T03:46:20.284Z INFO version/version.go:53 OS/Arch: linux/amd64
```
**To Reproduce**
Steps to reproduce the behavior:
1. run demo-edge and docker run servicecomb/service-center -it /bin/bash
2. See error:
```
[2020-03-31 10:54:05,476/CST][Default Service Center Task [0]][ERROR]Can not find any instances from service center due to previous errors. service=ucrm/demo/0.0.0.0+ org.apache.servicecomb.serviceregistry.registry.cache.RefreshableMicroserviceCache.pullInstance(RefreshableMicroserviceCache.java:92)
[2020-03-31 10:54:05,655/CST][registry-vert.x-eventloop-thread-2][WARN]failed to findInstances: {"errorCode":"400001","errorMessage":"Invalid parameter(s)","detail":"field 'FindInstancesRequest.VersionRule' invalid value '0.0.0.0+' does not match rule: {Min: 1, Max: 129, Regexp: x[.y[.z]] or x[.y[.z]]+ or x[.y[.z]]-x[.y[.z]] or latest, x y and z should be int16 format}"}
```
**Expected behavior**
A clear and concise description of what you expected to happen.
**Platform And Runtime (please complete the following information):**
Platform
- OS: mac
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Runtime
- Version [e.g. Go 1.11]
**Additional context**
Add any other context about the problem here.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services