usdp部署安装Prometheus失败,执行失败的安装任务如下:
[失败] [node129]通过 Restful 重载 Prometheus 配置文件
日志报错信息如下:
2023-03-22 10:42:31 [AsyncTask] Task Started: [node129]通过 Restful 重载 Prometheus 配置文件
TaskInfo:
[
hostname: node129,
ipv4: 192.168.12.10,
ipv6: null,
name: ReloadPrometheusRestfulTask,
desc: [node129]通过 Restful 重载 Prometheus 配置文件,
exec: empty,
timeout: null,
args: [],
interactArgs: null,
state: RUNNING,
skippable: false
]
2023-03-22 10:42:31 [AsyncTask] Task Failed: [node129]通过 Restful 重载 Prometheus 配置文件
TaskInfo:
[
hostname: node129,
ipv4: 192.168.12.10,
ipv6: null,
name: ReloadPrometheusRestfulTask,
desc: [node129]通过 Restful 重载 Prometheus 配置文件,
exec: empty,
timeout: null,
args: [],
interactArgs: null,
state: FAILED,
skippable: false
]
null
2023-03-22 10:42:31 [AsyncTask] org.springframework.web.client.HttpClientErrorException$MethodNotAllowed: 405 Method Not Allowed: [<!DOCTYPE html> <html> <head> <title>Method Not Allowed</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initi... (3428 bytes)] at org.springframework.web.client.HttpClientErrorException.create(HttpClientErrorException.java:117) at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:170) at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:112) at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63) at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:785) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:743) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:677) at org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:421) at cn.ucloud.udp.async.task.impl.service.prometheus.ReloadPrometheusRestfulTask.execute(ReloadPrometheusRestfulTask.java:47) at cn.ucloud.udp.async.task.AbstractTask.run(AbstractTask.java:206) at cn.ucloud.udp.async.task.AbstractTask.call(AbstractTask.java:192) at cn.ucloud.udp.async.task.AbstractTask.call(AbstractTask.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
0
回答0
回答0
回答0
回答0
回答0
回答0
回答1
回答0
回答0
回答