Qiskit / qiskit

Qiskit is an open-source SDK for working with quantum computers at the level of extended quantum circuits, operators, and primitives.
https://www.ibm.com/quantum/qiskit
Apache License 2.0
5.22k stars 2.36k forks source link

enable connect datadog agent on kubernetes. #5291

Closed kerberos5 closed 4 years ago

kerberos5 commented 4 years ago

HI, i use minikube cluster : docker@ubuntu:~/Container/kubernates/dd-agent/dd-corso$ kubectl version Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.3", GitCommit:"1e11e4a2108024935ecfcb2912226cedeafd99df", GitTreeState:"clean", BuildDate:"2020-10-14T12:50:19Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.2", GitCommit:"f5743093fd1c663cb0cbc89748f730662345d44d", GitTreeState:"clean", BuildDate:"2020-09-16T13:32:58Z", GoVersion:"go1.15", Compiler:"gc", Platform:"linux/amd64"}

I have followed various topics for this problem but I can not solve the problem

dd-agent: `=============== Agent (v7.23.1)

Status date: 2020-10-26 17:39:46.442372 UTC Agent start: 2020-10-26 17:39:22.287649 UTC Pid: 390 Go Version: go1.14.7 Python Version: 3.8.5 Build arch: amd64 Agent flavor: agent Check Runners: 4 Log Level: info

Paths

Config File: /etc/datadog-agent/datadog.yaml
conf.d: /etc/datadog-agent/conf.d
checks.d: /etc/datadog-agent/checks.d

Clocks

System UTC time: 2020-10-26 17:39:46.442372 UTC

Host Info

bootTime: 2020-10-26 06:35:51.000000 UTC
kernelArch: x86_64
kernelVersion: 4.15.0-122-generic
os: linux
platform: debian
platformFamily: debian
platformVersion: bullseye/sid
procs: 292
uptime: 11h3m48s
virtualizationRole: host
virtualizationSystem: kvm

Hostnames

host_aliases: [ubuntu]
hostname: ubuntu
socket-fqdn: datadog-agent-7cnpw
socket-hostname: datadog-agent-7cnpw
host tags:
  env:k8s-apm-workshop
hostname provider: container
unused hostname providers:
  aws: not retrieving hostname from AWS: the host is not an ECS instance and other providers already retrieve non-default hostnames
  configuration/environment: hostname is empty
  gce: unable to retrieve hostname from GCE: Get "http://169.254.169.254/computeMetadata/v1/instance/hostname": dial tcp 169.254.169.254:80: i/o timeout (Client.Timeout exceeded while awaiting headers)

Metadata

hostname_source: container

========= Collector

Running Checks

coredns (1.5.0)
---------------
  Instance ID: coredns:4d8f24365efdd00b [OK]
  Configuration Source: file:/etc/datadog-agent/conf.d/coredns.d/auto_conf.yaml
  Total Runs: 1
  Metric Samples: Last Run: 203, Total: 203
  Events: Last Run: 0, Total: 0
  Service Checks: Last Run: 1, Total: 1
  Average Execution Time : 107ms
  Last Execution Date : 2020-10-26 17:39:36.000000 UTC
  Last Successful Execution Date : 2020-10-26 17:39:36.000000 UTC

cpu
---
  Instance ID: cpu [OK]
  Configuration Source: file:/etc/datadog-agent/conf.d/cpu.d/conf.yaml.default
  Total Runs: 1
  Metric Samples: Last Run: 1, Total: 1
  Events: Last Run: 0, Total: 0
  Service Checks: Last Run: 0, Total: 0
  Average Execution Time : 0s
  Last Execution Date : 2020-10-26 17:39:41.000000 UTC
  Last Successful Execution Date : 2020-10-26 17:39:41.000000 UTC

docker
------
  Instance ID: docker [OK]
  Configuration Source: file:/etc/datadog-agent/conf.d/docker.d/conf.yaml.default
  Total Runs: 1
  Metric Samples: Last Run: 394, Total: 394
  Events: Last Run: 1, Total: 1
  Service Checks: Last Run: 1, Total: 1
  Average Execution Time : 429ms
  Last Execution Date : 2020-10-26 17:39:40.000000 UTC
  Last Successful Execution Date : 2020-10-26 17:39:40.000000 UTC

etcd (2.5.0)
------------
  Instance ID: etcd:d5440923b4740d51 [ERROR]
  Configuration Source: file:/etc/datadog-agent/conf.d/etcd.d/auto_conf.yaml
  Total Runs: 1
  Metric Samples: Last Run: 0, Total: 0
  Events: Last Run: 0, Total: 0
  Service Checks: Last Run: 1, Total: 1
  Average Execution Time : 13ms
  Last Execution Date : 2020-10-26 17:39:43.000000 UTC
  Last Successful Execution Date : Never
  Error: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
  Traceback (most recent call last):
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen
      httplib_response = self._make_request(
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/connectionpool.py", line 426, in _make_request
      six.raise_from(e, None)
    File "<string>", line 3, in raise_from
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/connectionpool.py", line 421, in _make_request
      httplib_response = conn.getresponse()
    File "/opt/datadog-agent/embedded/lib/python3.8/http/client.py", line 1347, in getresponse
      response.begin()
    File "/opt/datadog-agent/embedded/lib/python3.8/http/client.py", line 307, in begin
      version, status, reason = self._read_status()
    File "/opt/datadog-agent/embedded/lib/python3.8/http/client.py", line 276, in _read_status
      raise RemoteDisconnected("Remote end closed connection without"
  http.client.RemoteDisconnected: Remote end closed connection without response

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
      resp = conn.urlopen(
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen
      retries = retries.increment(
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/util/retry.py", line 410, in increment
      raise six.reraise(type(error), error, _stacktrace)
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/packages/six.py", line 734, in reraise
      raise value.with_traceback(tb)
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen
      httplib_response = self._make_request(
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/connectionpool.py", line 426, in _make_request
      six.raise_from(e, None)
    File "<string>", line 3, in raise_from
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/connectionpool.py", line 421, in _make_request
      httplib_response = conn.getresponse()
    File "/opt/datadog-agent/embedded/lib/python3.8/http/client.py", line 1347, in getresponse
      response.begin()
    File "/opt/datadog-agent/embedded/lib/python3.8/http/client.py", line 307, in begin
      version, status, reason = self._read_status()
    File "/opt/datadog-agent/embedded/lib/python3.8/http/client.py", line 276, in _read_status
      raise RemoteDisconnected("Remote end closed connection without"
  urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/base.py", line 828, in run
      self.check(instance)
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/etcd/etcd.py", line 105, in check
      self.check_post_v3(instance)
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/etcd/etcd.py", line 159, in check_post_v3
      self.process(scraper_config)
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/openmetrics/mixins.py", line 507, in process
      for metric in self.scrape_metrics(scraper_config):
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/openmetrics/mixins.py", line 447, in scrape_metrics
      response = self.poll(scraper_config)
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/openmetrics/mixins.py", line 713, in poll
      response = self.send_request(endpoint, scraper_config, headers)
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/openmetrics/mixins.py", line 739, in send_request
      return http_handler.get(endpoint, stream=True, **kwargs)
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/utils/http.py", line 283, in get
      return self._request('get', url, options)
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/utils/http.py", line 332, in _request
      return getattr(requests, method)(url, **new_options)
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/requests/api.py", line 75, in get
      return request('get', url, params=params, **kwargs)
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/requests/api.py", line 60, in request
      return session.request(method=method, url=url, **kwargs)
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/requests/sessions.py", line 533, in request
      resp = self.send(prep, **send_kwargs)
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/requests/sessions.py", line 646, in send
      r = adapter.send(request, **kwargs)
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/requests/adapters.py", line 498, in send
      raise ConnectionError(err, request=request)
  requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

io
--
  Instance ID: io [OK]
  Configuration Source: file:/etc/datadog-agent/conf.d/io.d/conf.yaml.default
  Total Runs: 1
  Metric Samples: Last Run: 12, Total: 12
  Events: Last Run: 0, Total: 0
  Service Checks: Last Run: 0, Total: 0
  Average Execution Time : 1ms
  Last Execution Date : 2020-10-26 17:39:39.000000 UTC
  Last Successful Execution Date : 2020-10-26 17:39:39.000000 UTC

kube_controller_manager (1.7.0)
-------------------------------
  Instance ID: kube_controller_manager:d572e30b6f97af0c [ERROR]
  Configuration Source: file:/etc/datadog-agent/conf.d/kube_controller_manager.d/auto_conf.yaml
  Total Runs: 1
  Metric Samples: Last Run: 0, Total: 0
  Events: Last Run: 0, Total: 0
  Service Checks: Last Run: 1, Total: 1
  Average Execution Time : 8ms
  Last Execution Date : 2020-10-26 17:39:42.000000 UTC
  Last Successful Execution Date : Never
  Error: HTTPConnectionPool(host='192.168.71.129', port=10252): Max retries exceeded with url: /metrics (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f3b3fce4d00>: Failed to establish a new connection: [Errno 111] Connection refused'))
  Traceback (most recent call last):
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn
      conn = connection.create_connection(
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection
      raise err
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection
      sock.connect(sa)
  ConnectionRefusedError: [Errno 111] Connection refused

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen
      httplib_response = self._make_request(
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request
      conn.request(method, url, **httplib_request_kw)
    File "/opt/datadog-agent/embedded/lib/python3.8/http/client.py", line 1255, in request
      self._send_request(method, url, body, headers, encode_chunked)
    File "/opt/datadog-agent/embedded/lib/python3.8/http/client.py", line 1301, in _send_request
      self.endheaders(body, encode_chunked=encode_chunked)
    File "/opt/datadog-agent/embedded/lib/python3.8/http/client.py", line 1250, in endheaders
      self._send_output(message_body, encode_chunked=encode_chunked)
    File "/opt/datadog-agent/embedded/lib/python3.8/http/client.py", line 1010, in _send_output
      self.send(msg)
    File "/opt/datadog-agent/embedded/lib/python3.8/http/client.py", line 950, in send
      self.connect()
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect
      conn = self._new_conn()
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn
      raise NewConnectionError(
  urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f3b3fce4d00>: Failed to establish a new connection: [Errno 111] Connection refused

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
      resp = conn.urlopen(
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen
      retries = retries.increment(
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/util/retry.py", line 446, in increment
      raise MaxRetryError(_pool, url, error or ResponseError(cause))
  urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.71.129', port=10252): Max retries exceeded with url: /metrics (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f3b3fce4d00>: Failed to establish a new connection: [Errno 111] Connection refused'))

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/base.py", line 828, in run
      self.check(instance)
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/kube_controller_manager/kube_controller_manager.py", line 148, in check
      self.process(scraper_config, metric_transformers=transformers)
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/openmetrics/mixins.py", line 507, in process
      for metric in self.scrape_metrics(scraper_config):
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/openmetrics/mixins.py", line 447, in scrape_metrics
      response = self.poll(scraper_config)
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/openmetrics/mixins.py", line 713, in poll
      response = self.send_request(endpoint, scraper_config, headers)
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/openmetrics/mixins.py", line 739, in send_request
      return http_handler.get(endpoint, stream=True, **kwargs)
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/utils/http.py", line 283, in get
      return self._request('get', url, options)
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/utils/http.py", line 332, in _request
      return getattr(requests, method)(url, **new_options)
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/requests/api.py", line 75, in get
      return request('get', url, params=params, **kwargs)
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/requests/api.py", line 60, in request
      return session.request(method=method, url=url, **kwargs)
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/requests/sessions.py", line 533, in request
      resp = self.send(prep, **send_kwargs)
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/requests/sessions.py", line 646, in send
      r = adapter.send(request, **kwargs)
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/requests/adapters.py", line 516, in send
      raise ConnectionError(e, request=request)
  requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.71.129', port=10252): Max retries exceeded with url: /metrics (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f3b3fce4d00>: Failed to establish a new connection: [Errno 111] Connection refused'))

load
----
  Instance ID: load [OK]
  Configuration Source: file:/etc/datadog-agent/conf.d/load.d/conf.yaml.default
  Total Runs: 1
  Metric Samples: Last Run: 6, Total: 6
  Events: Last Run: 0, Total: 0
  Service Checks: Last Run: 0, Total: 0
  Average Execution Time : 0s
  Last Execution Date : 2020-10-26 17:39:38.000000 UTC
  Last Successful Execution Date : 2020-10-26 17:39:38.000000 UTC

memory
------
  Instance ID: memory [OK]
  Configuration Source: file:/etc/datadog-agent/conf.d/memory.d/conf.yaml.default
  Total Runs: 1
  Metric Samples: Last Run: 18, Total: 18
  Events: Last Run: 0, Total: 0
  Service Checks: Last Run: 0, Total: 0
  Average Execution Time : 1ms
  Last Execution Date : 2020-10-26 17:39:45.000000 UTC
  Last Successful Execution Date : 2020-10-26 17:39:45.000000 UTC

network (1.18.1)
----------------
  Instance ID: network:5c571333f400457d [OK]
  Configuration Source: file:/etc/datadog-agent/conf.d/network.d/conf.yaml.default
  Total Runs: 1
  Metric Samples: Last Run: 73, Total: 73
  Events: Last Run: 0, Total: 0
  Service Checks: Last Run: 0, Total: 0
  Average Execution Time : 12ms
  Last Execution Date : 2020-10-26 17:39:37.000000 UTC
  Last Successful Execution Date : 2020-10-26 17:39:37.000000 UTC

uptime
------
  Instance ID: uptime [OK]
  Configuration Source: file:/etc/datadog-agent/conf.d/uptime.d/conf.yaml.default
  Total Runs: 1
  Metric Samples: Last Run: 1, Total: 1
  Events: Last Run: 0, Total: 0
  Service Checks: Last Run: 0, Total: 0
  Average Execution Time : 0s
  Last Execution Date : 2020-10-26 17:39:44.000000 UTC
  Last Successful Execution Date : 2020-10-26 17:39:44.000000 UTC

======== JMXFetch

Initialized checks

no checks

Failed checks

no checks

========= Forwarder

Transactions

CheckRunsV1: 1
Connections: 0
Containers: 0
Deployments: 0
Dropped: 0
DroppedOnInput: 0
Events: 0
HostMetadata: 0
IntakeV1: 2
Metadata: 0
Nodes: 0
Pods: 0
Processes: 0
RTContainers: 0
RTProcesses: 0
ReplicaSets: 0
Requeued: 0
Retried: 0
RetryQueueSize: 0
Series: 0
ServiceChecks: 0
Services: 0
SketchSeries: 0
Success: 0
TimeseriesV1: 1

API Keys status

API key ending with bc9de: Unable to validate API Key

========== Endpoints

https://app.datadoghq.com - API Key ending with:

========== Logs Agent

Sending uncompressed logs in SSL encrypted TCP to agent-intake.logs.datadoghq.com on port 10516

You are currently sending Logs to Datadog through TCP (either because logs_config.use_tcp or logs_config.socks5_proxy_address is set or the HTTP connectivity test has failed). To benefit from increased reliability and better network performances, we strongly encourage switching over to compressed HTTPS which is now the default protocol.

BytesSent: 0
EncodedBytesSent: 28
LogsProcessed: 40
LogsSent: 0

container_collect_all

Type: docker
Status: OK
Inputs: a03eddb2d243208333efd92e322678adce16752ba6082bf1d6cece4b33c66397 2c34171d5794ee2735e87821c5144d9e90d21ee9b503017ac33316abd2200749 e77899aca4e7cb1a259b34dc8c3b7cb95c9f840f6428e21b91c305471107fab2 de9a62b46fc0f95086c3be1f35c4bede1df126b5ced3ebb1da3963fb7d7e8396 e70e6e829b7aec2a1417ab8de6ecff2c8bbf639a7e8fd95f57da41bcf551ebc0 d247e4bc3a6ddddfaf9504200d71b84ebf76723a3b805dcf16c24a46f81f4b77 70cd78075a2c7834b9780b7c0dde4d162756b12838418dca8318132ba0b8515b 659d0c0e0281794c57af1d177e365c07004b1f183f0ff6f94ccb53d49f6c4ad0 ac4a2e6f4674bbd92769d132455e48870cc86df1503aef8ff4da8595796c2141 c9219692a305257779d7672d9e4151ff508f628446d629ed1c6a587c5647a28b e3afcde3971dc63b8207e52ef5bc25413c5ad6967cb3ddff90cd4e426d8ca0a1 

========= APM Agent

Status: Running Pid: 391 Uptime: 24 seconds Mem alloc: 11,978,064 bytes Hostname: ubuntu Receiver: 0.0.0.0:8126 Endpoints: https://trace.agent.datadoghq.com

Receiver (previous minute)

No traces received in the previous minute.
Default priority sampling rate: 100.0%

Writer (previous minute)

Traces: 0 payloads, 0 traces, 0 events, 0 bytes
Stats: 0 payloads, 0 stats buckets, 0 bytes

========= Aggregator

Checks Metric Sample: 728 Dogstatsd Metric Sample: 120 Event: 2 Events Flushed: 1 Number Of Flushes: 1 Series Flushed: 228 Service Check: 14 Service Checks Flushed: 6

========= DogStatsD

Event Packets: 0 Event Parse Errors: 0 Metric Packets: 119 Metric Parse Errors: 0 Service Check Packets: 0 Service Check Parse Errors: 0 Udp Bytes: 8,818 Udp Packet Reading Errors: 0 Udp Packets: 14 Uds Bytes: 0 Uds Origin Detection Errors: 0 Uds Packet Reading Errors: 0 Uds Packets: 0`

my datadog-agent.yaml: `apiVersion: apps/v1 kind: DaemonSet metadata: name: datadog-agent spec: updateStrategy: type: RollingUpdate rollingUpdate: maxUnavailable: 1 selector: matchLabels: app: datadog-agent template: metadata: labels: app: datadog-agent name: datadog-agent spec: tolerations:


kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 metadata: name: dca rules:

by log of datadog-agent pod: 2020-10-26 17:39:42 UTC | CORE | ERROR | (pkg/collector/runner/runner.go:292 in work) | Error running check kube_controller_manager: [{"message": "HTTPConnectionPool(host='192.168.71.129', port=10252): Max retries exceeded with url: /metrics (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f3b3fce4d00>: Failed to establish a new connection: [Errno 111] Connection refused'))", "traceback": "Traceback (most recent call last):\n File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/connection.py\", line 159, in _new_conn\n conn = connection.create_connection(\n File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/util/connection.py\", line 84, in create_connection\n raise err\n File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/util/connection.py\", line 74, in create_connection\n sock.connect(sa)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/connectionpool.py\", line 670, in urlopen\n httplib_response = self._make_request(\n File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/connectionpool.py\", line 392, in _make_request\n conn.request(method, url, **httplib_request_kw)\n File \"/opt/datadog-agent/embedded/lib/python3.8/http/client.py\", line 1255, in request\n self._send_request(method, url, body, headers, encode_chunked)\n File \"/opt/datadog-agent/embedded/lib/python3.8/http/client.py\", line 1301, in _send_request\n self.endheaders(body, encode_chunked=encode_chunked)\n File \"/opt/datadog-agent/embedded/lib/python3.8/http/client.py\", line 1250, in endheaders\n self._send_output(message_body, encode_chunked=encode_chunked)\n File \"/opt/datadog-agent/embedded/lib/python3.8/http/client.py\", line 1010, in _send_output\n self.send(msg)\n File \"/opt/datadog-agent/embedded/lib/python3.8/http/client.py\", line 950, in send\n self.connect()\n File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/connection.py\", line 187, in connect\n conn = self._new_conn()\n File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/connection.py\", line 171, in _new_conn\n raise NewConnectionError(\nurllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f3b3fce4d00>: Failed to establish a new connection: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/requests/adapters.py\", line 439, in send\n resp = conn.urlopen(\n File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/connectionpool.py\", line 726, in urlopen\n retries = retries.increment(\n File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/urllib3/util/retry.py\", line 446, in increment\n raise MaxRetryError(_pool, url, error or ResponseError(cause))\nurllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.71.129', port=10252): Max retries exceeded with url: /metrics (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f3b3fce4d00>: Failed to establish a new connection: [Errno 111] Connection refused'))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/base.py\", line 828, in run\n self.check(instance)\n File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/kube_controller_manager/kube_controller_manager.py\", line 148, in check\n self.process(scraper_config, metric_transformers=transformers)\n File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/openmetrics/mixins.py\", line 507, in process\n for metric in self.scrape_metrics(scraper_config):\n File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/openmetrics/mixins.py\", line 447, in scrape_metrics\n response = self.poll(scraper_config)\n File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/openmetrics/mixins.py\", line 713, in poll\n response = self.send_request(endpoint, scraper_config, headers)\n File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/openmetrics/mixins.py\", line 739, in send_request\n return http_handler.get(endpoint, stream=True, **kwargs)\n File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/utils/http.py\", line 283, in get\n return self._request('get', url, options)\n File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/utils/http.py\", line 332, in _request\n return getattr(requests, method)(url, **new_options)\n File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/requests/api.py\", line 75, in get\n return request('get', url, params=params, **kwargs)\n File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/requests/api.py\", line 60, in request\n return session.request(method=method, url=url, **kwargs)\n File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/requests/sessions.py\", line 533, in request\n resp = self.send(prep, **send_kwargs)\n File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/requests/sessions.py\", line 646, in send\n r = adapter.send(request, **kwargs)\n File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/requests/adapters.py\", line 516, in send\n raise ConnectionError(e, request=request)\nrequests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.71.129', port=10252): Max retries exceeded with url: /metrics (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f3b3fce4d00>: Failed to establish a new connection: [Errno 111] Connection refused'))\n"}]

help please! thk

mtreinish commented 4 years ago

This doesn't seem to be an issue related to qiskit-terra, I'm assuming this was a mistake and intended for a different repo. So I'm going to close this.