[cisco_aci] collection fails when using a username/password
See original GitHub issueOutput of the info page
Getting the status from the agent.
==============
Agent (v6.5.0)
==============
Status date: 2018-09-14 13:48:17.782210 UTC
Pid: 26121
Python Version: 2.7.15
Logs:
Check Runners: 10
Log Level: info
Paths
=====
Config File: /opt/datadog-agent/etc/datadog.yaml
conf.d: /opt/datadog-agent/etc/conf.d
checks.d: /opt/datadog-agent/etc/checks.d
Clocks
======
System UTC time: 2018-09-14 13:48:17.782210 UTC
Host Info
=========
bootTime: 2018-09-11 07:37:41.000000 UTC
kernelVersion: 16.6.0
os: darwin
platform: darwin
platformVersion: 10.12.5
procs: 446
uptime: 78h10m29s
Hostnames
=========
hostname: MYHOST
socket-fqdn: MYHOST
socket-hostname: MYHOST
hostname provider: os
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: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
=========
Collector
=========
Running Checks
==============
cisco_aci (1.2.0)
-----------------
Instance ID: cisco_aci:2d4cf26435def959 [ERROR]
Total Runs: 1
Metric Samples: 0, Total: 0
Events: 0, Total: 0
Service Checks: 1, Total: 1
Average Execution Time : 1.022s
Error: 'NoneType' object has no attribute 'sign'
Traceback (most recent call last):
File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/datadog_checks/checks/base.py", line 352, in run
self.check(copy.deepcopy(self.instances[0]))
File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/datadog_checks/cisco_aci/cisco.py", line 103, in check
tenant.collect()
File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/datadog_checks/cisco_aci/tenant.py", line 44, in collect
list_apps = self.api.get_apps(t)
File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/datadog_checks/cisco_aci/api.py", line 190, in get_apps
response = self.make_request(path)
File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/datadog_checks/cisco_aci/api.py", line 186, in make_request
return session.make_request(path)
File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/datadog_checks/cisco_aci/api.py", line 52, in make_request
signature = self.cert_key.sign(payload,
AttributeError: 'NoneType' object has no attribute 'sign'
disk (1.3.0)
------------
Instance ID: disk:e5dffb8bef24336f [OK]
Total Runs: 1
Metric Samples: 18, Total: 18
Events: 0, Total: 0
Service Checks: 0, Total: 0
Average Execution Time : 6ms
load
----
Instance ID: load [OK]
Total Runs: 1
Metric Samples: 6, Total: 6
Events: 0, Total: 0
Service Checks: 0, Total: 0
Average Execution Time : 4ms
uptime
------
Instance ID: uptime [OK]
Total Runs: 1
Metric Samples: 1, Total: 1
Events: 0, Total: 0
Service Checks: 0, Total: 0
Average Execution Time : 0s
Loading Errors
==============
apm
---
Core Check Loader:
Could not configure check APM Agent: APM agent disabled through main configuration file
JMX Check Loader:
check is not a jmx check, or unable to determine if it's so
Python Check Loader:
No module named apm
========
JMXFetch
========
Initialized checks
==================
no checks
Failed checks
=============
no checks
=========
Forwarder
=========
CheckRunsV1: 0
Dropped: 0
DroppedOnInput: 0
Errors: 0
Events: 0
HostMetadata: 0
IntakeV1: 1
Metadata: 0
Requeued: 0
Retried: 0
RetryQueueSize: 0
Series: 0
ServiceChecks: 0
SketchSeries: 0
Success: 1
TimeseriesV1: 0
API Keys status
===============
API key ending in 0b326 for endpoint https://app.datadoghq.com: API Key valid
==========
Logs Agent
==========
Logs Agent is not running
=========
DogStatsD
=========
Checks Metric Sample: 33
Event: 1
Service Check: 5
Additional environment details (Operating System, Cloud provider, etc):
Steps to reproduce the issue:
- configure cisco_aci agent with username and password
Describe the results you received: cisco_aci collection fails when using a username and password
Describe the results you expected: cisco_aci collection works when using a username and password
Additional information you deem important (e.g. issue happens only occasionally): collection works properly when using a cert but not username and password. It looks like it’s probably related to this recent code change to support certs: https://github.com/DataDog/integrations-core/pull/1986
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Password Login error on Spine Switch - Cisco Community
I reboot the nexus, but the switch has boot with the data ports in shutdown. I try to login to the switch, but...
Read more >Solved: APIC Login Failure - Cisco Community
Solved: Recently, I have tried to deploy APIC-dk9.5.3.1e on vCenter but after initial configuration, the system does not accept the user and password, ......
Read more >Login errors after APIC Firmware upgrades - Cisco Community
I'm in the process of upgrading my ACI environment 1.2(1) to 1.3(2) went fine, APICs and Switches 1.3(2) to 2.1(2) APICs now results...
Read more >Solved: [ACI] Unable to login after initialization of APIC
UI connection was attempted after the APIC-1 initial setup. An error message appeared, such as a picture. " REST Endpoint user.
Read more >Cisco APIC Troubleshooting Guide, Release 4.0(1)
For a standby Cisco APIC, you can log in using SSH with the username "rescue-user" and no password. If the standby Cisco APIC...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jgcasd Have you had an opportunity to try the latest release?
@rfarney3 Can you please open a separate issue? Thanks!
Closing for lack of activity, feel free to reopen if #2267 didn’t fix it.