Skip to content

Unable to obtain Agent info #504

@edwardcallahan

Description

@edwardcallahan

version 1.2.4, conductr 2.1.1

After simultaneously loading multiple bundles, ie

conduct load typesafe/internal-bundle/typesafe-website www-lb-prod-use-4b70508f9225bebe9c5884bd07e5429f9723b1fb6ffb3a34491d01304fbf7a26.zip &
conduct load typesafe/internal-bundle/sherpa-desk sherpa-desk-prod-7d0de0840454316214a1a0a3f8b9d0f50ba56b9ed10a62b1d3249a910a8e9bc0.zip &
conduct load typesafe/internal-bundle/sherpa-akka sherpa-akka-prod-cc8275cabf75e086da32ece40f0e84ec326d0fc44efe5c9fc801feddc0a5dd09.zip &
conduct load typesafe/internal-bundle/sherpa-sfdc sherpa-sfdc-prod-7e628f219c004870f61e3c81f65b40b1b78bde99c159e4ed3965787be987c29b.zip &
conduct load typesafe/internal-bundle/sherpa-desk sherpa-desk-prod-7d0de0840454316214a1a0a3f8b9d0f50ba56b9ed10a62b1d3249a910a8e9bc0.zip & 	

None of the bundles could be started.

Although agents are present

}ubuntu@ip-10-100-5-89:~/2.0$ curl http://10.100.6.104:9005/agents
[ {
  "address" : "akka.tcp://conductr-agent@10.100.3.244:2552/user/reaper/cluster-client#1475773385",
  "roles" : [ "haproxy", "us-east-1b" ],
  "observedBy" : [ {
    "node" : {
      "uid" : "-612088483",
      "address" : "akka.tcp://conductr@10.100.2.17:9004"
    }
  } ],
  "resourceAvailable" : {
    "nrOfCpus" : 2,
    "memory" : 7845437440,
    "diskSpace" : 18955894784
  }
}, {
  "address" : "akka.tcp://conductr-agent@10.100.6.23:2552/user/reaper/cluster-client#-820219770",
  "roles" : [ "web", "elasticsearch", "us-east-1c" ],
  "observedBy" : [ {
    "node" : {
      "uid" : "-612088483",
      "address" : "akka.tcp://conductr@10.100.2.17:9004"
    }
  } ]
}, {
  "address" : "akka.tcp://conductr-agent@10.100.4.200:2552/user/reaper/cluster-client#-1603607557",
  "roles" : [ "web", "elasticsearch", "us-east-1b" ],
  "observedBy" : [ {
    "node" : {
      "uid" : "-612088483",
      "address" : "akka.tcp://conductr@10.100.2.17:9004"
    }
  } ]
}, {
  "address" : "akka.tcp://conductr-agent@10.100.2.4:2552/user/reaper/cluster-client#-2138392620",
  "roles" : [ "web", "elasticsearch", "us-east-1a" ],
  "observedBy" : [ {
    "node" : {
      "uid" : "-612088483",
      "address" : "akka.tcp://conductr@10.100.2.17:9004"
    }
  } ]
} ]

The agents command cannot be used

ubuntu@ip-10-100-5-89:~/2.0$ conduct version
1.2.14
Supported API version(s): 1, 2

ubuntu@ip-10-100-5-89:~/2.0$ conduct agents
Error: Encountered unexpected error.
Error: Reason: KeyError 'resourceAvailable'
Error: Further information of the error can be found in the error log file: /home/ubuntu/.conductr/errors.log
ubuntu@ip-10-100-5-89:~/2.0$ tail -n 100 /home/ubuntu/.conductr/errors.log
2017-06-14 23:00:31,243: Failure running the following command: ['conduct', 'events', 'conductr.lightbend.com']
Traceback (most recent call last):
  File "site-packages/requests/packages/urllib3/connectionpool.py", line 386, in _make_request
  File "<string>", line 2, in raise_from
  File "site-packages/requests/packages/urllib3/connectionpool.py", line 382, in _make_request
  File "http/client.py", line 1197, in getresponse
  File "http/client.py", line 297, in begin
  File "http/client.py", line 258, in _read_status
  File "socket.py", line 575, in readinto
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "site-packages/requests/adapters.py", line 438, in send
  File "site-packages/requests/packages/urllib3/connectionpool.py", line 649, in urlopen
  File "site-packages/requests/packages/urllib3/util/retry.py", line 357, in increment
  File "site-packages/requests/packages/urllib3/packages/six.py", line 686, in reraise
  File "site-packages/requests/packages/urllib3/connectionpool.py", line 600, in urlopen
  File "site-packages/requests/packages/urllib3/connectionpool.py", line 388, in _make_request
  File "site-packages/requests/packages/urllib3/connectionpool.py", line 308, in _raise_timeout
requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='10.100.6.90', port=9005): Read timed out. (read timeout=5)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "conductr_cli/main_handler.py", line 14, in run
  File "conductr_cli/conduct.py", line 35, in main_method
  File "conductr_cli/conduct_main.py", line 610, in run
  File "conductr_cli/validation.py", line 43, in handler
  File "conductr_cli/validation.py", line 59, in handler
  File "conductr_cli/conduct_events.py", line 15, in events
  File "conductr_cli/conduct_events.py", line 40, in get_bundle_events
  File "conductr_cli/conduct_request.py", line 18, in get
  File "site-packages/requests/api.py", line 72, in get
  File "site-packages/requests/api.py", line 58, in request
  File "site-packages/requests/sessions.py", line 518, in request
  File "site-packages/requests/sessions.py", line 639, in send
  File "site-packages/requests/adapters.py", line 514, in send
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='10.100.6.90', port=9005): Read timed out. (read timeout=5)
2017-06-22 21:31:59,733: Failure running the following command: ['conduct', 'load', 'typesafe/internal-bundle/sherpa-desk', 'sherpa-desk-prod-7d0de0840454316214a1a0a3f8b9d0f50ba56b9ed10a62b1d3249a910a8e9bc0.zip']
Traceback (most recent call last):
  File "conductr_cli/main_handler.py", line 14, in run
  File "conductr_cli/conduct.py", line 35, in main_method
  File "conductr_cli/conduct_main.py", line 610, in run
  File "conductr_cli/validation.py", line 43, in handler
  File "conductr_cli/validation.py", line 59, in handler
  File "conductr_cli/validation.py", line 99, in handler
  File "conductr_cli/validation.py", line 116, in handler
  File "conductr_cli/validation.py", line 136, in handler
  File "conductr_cli/validation.py", line 152, in handler
  File "conductr_cli/validation.py", line 198, in handler
  File "conductr_cli/validation.py", line 222, in handler
  File "conductr_cli/validation.py", line 238, in handler
  File "conductr_cli/validation.py", line 256, in handler
  File "conductr_cli/validation.py", line 428, in handler
  File "conductr_cli/validation.py", line 464, in handler
  File "conductr_cli/conduct_load.py", line 71, in load
  File "conductr_cli/conduct_load.py", line 249, in load_v2
  File "conductr_cli/resolver.py", line 28, in resolve_bundle
  File "conductr_cli/resolvers/bintray_resolver.py", line 33, in resolve_bundle
  File "conductr_cli/resolvers/bintray_resolver.py", line 148, in bintray_download_artefact
  File "conductr_cli/resolvers/uri_resolver.py", line 44, in resolve_file
FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/.conductr/cache/bundle/sherpa-desk-v2-0c4eaae7f57dd510e355eb5ef4c502f90840d2d82e576d8d81e7b4a681a5b46b.zip.tmp'
2017-06-22 23:16:35,741: Failure running the following command: ['conduct', 'agents']
Traceback (most recent call last):
  File "conductr_cli/main_handler.py", line 14, in run
  File "conductr_cli/conduct.py", line 35, in main_method
  File "conductr_cli/conduct_main.py", line 610, in run
  File "conductr_cli/validation.py", line 43, in handler
  File "conductr_cli/validation.py", line 59, in handler
  File "conductr_cli/conduct_agents.py", line 48, in agents
KeyError: 'resourceAvailable'
2017-06-22 23:16:50,497: Failure running the following command: ['conduct', 'agents']
Traceback (most recent call last):
  File "conductr_cli/main_handler.py", line 14, in run
  File "conductr_cli/conduct.py", line 35, in main_method
  File "conductr_cli/conduct_main.py", line 610, in run
  File "conductr_cli/validation.py", line 43, in handler
  File "conductr_cli/validation.py", line 59, in handler
  File "conductr_cli/conduct_agents.py", line 48, in agents
KeyError: 'resourceAvailable'
2017-06-22 23:18:02,514: Failure running the following command: ['conduct', 'agents']
Traceback (most recent call last):
  File "conductr_cli/main_handler.py", line 14, in run
  File "conductr_cli/conduct.py", line 35, in main_method
  File "conductr_cli/conduct_main.py", line 610, in run
  File "conductr_cli/validation.py", line 43, in handler
  File "conductr_cli/validation.py", line 59, in handler
  File "conductr_cli/conduct_agents.py", line 48, in agents
KeyError: 'resourceAvailable'
2017-06-22 23:59:57,756: Failure running the following command: ['conduct', 'agents']
Traceback (most recent call last):
  File "conductr_cli/main_handler.py", line 14, in run
  File "conductr_cli/conduct.py", line 35, in main_method
  File "conductr_cli/conduct_main.py", line 610, in run
  File "conductr_cli/validation.py", line 43, in handler
  File "conductr_cli/validation.py", line 59, in handler
  File "conductr_cli/conduct_agents.py", line 48, in agents
KeyError: 'resourceAvailable'
ubuntu@ip-10-100-5-89:~/2.0$ 

Agents logs:
agent6.23.tar.gz

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions