TECHZEN Zenoss User Community ARCHIVE  

Zenpack Azure - newbie problem

Subject: Zenpack Azure - newbie problem
Author: [Not Specified]
Posted: 2014-02-19 13:29

Hi Guys,
I tried to use ZenPack for Azure, but failed on couple of probes. Zenoss version is v4.2.4, installed on one box.
I followed wiki guide and added new subscription. Used certtificate pem file but Zenoss screamed about certificate path. Finally I converted and joined cert file+private key. It stopped complaining. After that I saw 2 new errors:

1. Traceback (most recent call last): File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.Microsoft.Azure-1.0.1-py2.7.egg/ZenPacks/zenoss/Microsoft/Azure/monitoring_data_collector.py", line 76, in collect_data *get_credentials(datasource) File "/opt/zenoss/ ...
File "/opt/zenoss/lib/python2.7/ssl.py", line 132, in __init__ ciphers) SSLError: [Errno 336445449] _ssl.c:365: error:140DC009:SSL routines:SSL_CTX_use_certificate_chain_file:PEM lib

After some googling it's look like problem with self-signed certificates.
Do you know how to make python happy about that

2. AZURE-ACP||/Status/Update|4|Problem while executing plugin AzureCollector

Traceback (most recent call last): File "/opt/zenoss/Products/DataCollector/zenmodeler.py", line 647, in processClient datamaps = plugin.process(device, results, self.log) File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.Microsoft.Azure-1.0.1-py2.7.egg/ZenPacks/zenoss/Microsoft/Azure/modeler/plugins/AzureCollector.py", line 95, in process 'production_status': item.production_status, File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.Microsoft.Azure-1.0.1-py2.7.egg/ZenPacks/zenoss/Microsoft/Azure/lib/azureext/metrics/hosted_service_wrapper.py", line 69, in production_status for instance in self.instances: File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.Microsoft.Azure-1.0.1-py2.7.egg/ZenPacks/zenoss/Microsoft/Azure/lib/azureext/metrics/utils.py", line 26, in __get__ value = self.__func(inst) File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.Microsoft.Azure-1.0.1-py2.7.egg/ZenPacks/zenoss/Microsoft/Azure/lib/azureext/metrics/hosted_service_wrapper.py", line 40, in instances embed_detail=True File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.Microsoft.Azure-1.0.1-py2.7.egg/ZenPacks/zenoss/Microsoft/Azure/lib/azure/servicemanagement/servicemanagementservice.py", line 225, in get_hosted_service_properties HostedService) File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.Microsoft.Azure-1.0.1-py2.7.egg/ZenPacks/zenoss/Microsoft/Azure/lib/azure/servicemanagement/servicemanagementclient.py", line 89, in _perform_get response = self._perform_request(request) File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.Microsoft.Azure-1.0.1-py2.7.egg/ZenPacks/zenoss/Microsoft/Azure/lib/azure/servicemanagement/servicemanagementclient.py", line 76, in _perform_request resp = self._filter(request) File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.Microsoft.Azure-1.0.1-py2.7.egg/ZenPacks/zenoss/Microsoft/Azure/lib/azure/http/httpclient.py", line 124, in perform_request self.send_request_headers(connection, request.headers) File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.Microsoft.Azure-1.0.1-py2.7.egg/ZenPacks/zenoss/Microsoft/Azure/lib/azure/http/httpclient.py", line 110, in send_request_headers connection.endheaders() File "/opt/zenoss/lib/python2.7/httplib.py", line 951, in endheaders self._send_output(message_body) File "/opt/zenoss/lib/python2.7/httplib.py", line 811, in _send_output self.send(msg) File "/opt/zenoss/lib/python2.7/httplib.py", line 773, in send self.connect() File "/opt/zenoss/lib/python2.7/httplib.py", line 1154, in connect self.timeout, self.source_address) File "/opt/zenoss/lib/python2.7/socket.py", line 553, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): gaierror: [Errno -2] Name or service not known

This one, I have no idea.

Do you have any clues, ideas
Thank you in advance.
Tomek



Subject: Take a look a this link: http
Author: [Not Specified]
Posted: 2014-02-20 10:10

Take a look a this link: http://stackoverflow.com/questions/17605908/ssl-sslerror-outinesssl-ctx-...

Hydruid



< Previous
Downloading Zenpacks?
  Next
New component property not displayed
>