请完善如下信息,方便我们协助排查问题:
仅可能详细点
Rainbond版本:5.1.5
操作系统:CentOS7.4
内核版本:
环境:实体机
节点配置:1管理3计算/存储
安装类型:离线安装
如何复现:无法
尝试解决: 自动修复了
相关截图:
是否重新执行安装:未
从内部应用市场安装组件报系统错误
集群或应用问题额外需要提供如下信息:
1. 集群是否正常(grctl node list)正常
2. 应用是否正常 (grctl service get <应用别名> -t <租户>)无单独组件错误
3. 应用监听端口是否正确,是否开启了健康检测,持久化目录是否设置正确
4. 集群状态
5. 操作流程,能否复现
6. 是否尝试过更新部分组件的镜像,是否有效
7. 控制台报错或者异常请确定哪个接口报异常,F12
查看tail -f -n100 /opt/rainbond/logs/rbd-app-ui/goodrain.log日志内容为
2019-08-07 15:10:20 [DEBUG] localhost [port_changes] /app/ui/console/services/app_actions/properties_changes.py:225 ports: {"add": [{"port_alias": "GRFFDBA980", "protocol": "tcp", "tenant_id": "3c20d1aef5824819aef169c406f89a1b", "container_port": 80, "is_outer_service": true, "is_inner_service": true}]}
2019-08-07 15:10:20 [DEBUG] localhost [key] /app/ui/console/services/app_actions/properties_changes.py:309 sid: 414b2accf6ef4b5f95be37c41dbe74f9; mnt_name: OALogin
2019-08-07 15:10:20 [DEBUG] localhost [dep_volumes_changes] /app/ui/console/services/app_actions/properties_changes.py:327 dep_service: {'service_id': u'414b2accf6ef4b5f95be37c41dbe74f9', 'service_cname': u'OALogin-common-api'}
2019-08-07 15:10:20 [DEBUG] localhost [key] /app/ui/console/services/app_actions/properties_changes.py:309 sid: 414b2accf6ef4b5f95be37c41dbe74f9; mnt_name: OALogin
2019-08-07 15:10:20 [DEBUG] localhost [key] /app/ui/console/services/app_actions/properties_changes.py:309 sid: 414b2accf6ef4b5f95be37c41dbe74f9; mnt_name: OALogin
2019-08-07 15:10:20 [DEBUG] localhost [dep_volumes_changes] /app/ui/console/services/app_actions/properties_changes.py:335 ignore dep volume: 414b2accf6ef4b5f95be37c41dbe74f9-OALogin; dep volume exist.
2019-08-07 15:10:20 [DEBUG] localhost [has_changes] /app/ui/console/services/app_actions/properties_changes.py:372 found a change; key: ports; value: {'add': [{u'port_alias': u'GRFFDBA980', u'protocol': u'tcp', u'tenant_id': u'3c20d1aef5824819aef169c406f89a1b', u'container_port': 80, u'is_outer_service': True, u'is_inner_service': True}]}
2019-08-07 15:10:20 [DEBUG] localhost [probe_changes] /app/ui/console/services/app_actions/properties_changes.py:303 found a change in the probe; key: is_used; old value: True; new value: False
2019-08-07 15:10:20 [DEBUG] localhost [has_changes] /app/ui/console/services/app_actions/properties_changes.py:372 found a change; key: probe; value: {'add': [], 'upd': {u'http_header': u'', u'initial_delay_second': 2, u'is_used': True, u'cmd': u'', u'period_second': 3, u'mode': u'readiness', u'failure_threshold': 3, u'path': u'', u'scheme': u'tcp', u'success_threshold': 1, u'port': 8888, u'timeout_second': 30}}
2019-08-07 15:10:20 [DEBUG] localhost [key] /app/ui/console/services/app_actions/properties_changes.py:309 sid: a26124607b6d45b5ab9dc78deb279dc5; mnt_name: message_work
2019-08-07 15:10:20 [DEBUG] localhost [dep_volumes_changes] /app/ui/console/services/app_actions/properties_changes.py:327 dep_service: {'service_id': u'a26124607b6d45b5ab9dc78deb279dc5', 'service_cname': u'Message-common-api'}
2019-08-07 15:10:20 [DEBUG] localhost [key] /app/ui/console/services/app_actions/properties_changes.py:309 sid: a26124607b6d45b5ab9dc78deb279dc5; mnt_name: message_work
2019-08-07 15:10:20 [DEBUG] localhost [key] /app/ui/console/services/app_actions/properties_changes.py:309 sid: a26124607b6d45b5ab9dc78deb279dc5; mnt_name: message_work
2019-08-07 15:10:20 [DEBUG] localhost [dep_volumes_changes] /app/ui/console/services/app_actions/properties_changes.py:335 ignore dep volume: a26124607b6d45b5ab9dc78deb279dc5-message_work; dep volume exist.
2019-08-07 15:10:23 [ERROR] localhost [post] /app/ui/console/views/center_pool/apps.py:167 Unable to find the server at api.goodrain.com
Traceback (most recent call last):
File "/app/ui/console/views/center_pool/apps.py", line 143, in post
app = market_app_service.get_app_from_cloud(self.tenant, group_key, group_version, True)
File "/app/ui/console/services/market_app_service.py", line 860, in get_app_from_cloud
tenant.tenant_id, group_key, group_version, install=install)
File "/app/ui/www/apiclient/marketclient.py", line 45, in get_remote_app_templates
res, body = self.get(url, self.__authheader(market_client_id, market_client_token))
File "/app/ui/www/apiclient/baseclient.py", line 129, in _get
url, 'GET', headers=headers, *args, **kwargs)
File "/app/ui/goodrain_web/decorator.py", line 15, in wrapper
ret = func(self, *args, **kwargs)
File "/app/ui/www/apiclient/baseclient.py", line 89, in _request
url, method, headers=headers)
File "/usr/local/lib/python2.7/site-packages/httplib2/__init__.py", line 1608, in request
(response, content) = self.request(conn, authority, uri, requesturi, method, body, headers, redirections, cachekey)
File "/usr/local/lib/python2.7/site-packages/httplib2/__init__.py", line 1350, in _request
(response, content) = self.connrequest(conn, request_uri, method, body, headers)
File "/usr/local/lib/python2.7/site-packages/httplib2/__init__.py", line 1278, in connrequest
raise ServerNotFoundError("Unable to find the server at %s" % conn.host)
ServerNotFoundError: Unable to find the server at api.goodrain.com
抄送: @barnett