APC PDU AP7xxx models do not allow multiple telnet connections
Bug #1453669 reported by
Newell Jensen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Newell Jensen |
Bug Description
As detailed in the link below:
the APC AP7xxx models don't allow multiple connections for telnet (which is the connection that MAAS uses to power control these units). Due to this, MAAS cannot run bulk action commands that use power control (on nodes that are powered from the same PDU). Reason being, this is done concurrently with each command/job trying to gain access to the telnet connection.
Here is an example of the logs showing this error:
May 10 23:17:29 maas-172-16-9-14 maas.power: [ERROR] Node could not be queried node-426a33ea-
Related branches
lp:~newell-jensen/maas/apc-telnet-to-snmp
- Mike Pontillo (community): Approve
-
Diff: 709 lines (+186/-396)5 files modifiedetc/maas/templates/power/apc.template (+1/-4)
src/provisioningserver/drivers/hardware/apc.py (+45/-127)
src/provisioningserver/drivers/hardware/tests/test_apc.py (+136/-263)
src/provisioningserver/power/tests/test_poweraction.py (+1/-0)
src/provisioningserver/power_schema.py (+3/-2)
summary: |
- APC PDU support for AP7xxx models doesn't allow multiple telnet - connections + APC PDU AP7xxx models do not allow multiple telnet connections |
description: | updated |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is something that the port-power- drivers- to-Python work should alleviate. Drivers should be able to provide set-based operations and/or queue/limit/ synchronise concurrent requests.