[2.5, performance] ListNodePowerParameters still performed on region/rack

Bug #1786563 reported by Andres Rodriguez on 2018-08-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
High
Unassigned

Bug Description

My understanding was that ListNodePowerParameters was no longer used provided that we have the information in the database. However, while debugging a MAAS i noticed it still was and it was constant:
2018-08-10 22:58:03 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1b1', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 22:58:18 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'17a', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 22:58:33 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1be', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 22:58:48 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'184', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 22:59:03 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1ac', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 22:59:03 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1ae', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 22:59:18 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1c7', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 22:59:33 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'18c', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 22:59:48 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1ca', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:00:03 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'18f', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:00:18 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1d0', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:00:33 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'196', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:00:48 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1b6', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:01:03 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1d3', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:01:04 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1d7', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:01:18 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1c4', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:01:33 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1be', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:01:34 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1bf', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:01:48 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1cc', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:02:03 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1c9', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:02:04 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1cb', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:02:18 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1d1', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:02:33 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1e6', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:02:48 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1d4', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:02:49 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1db', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:03:03 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1ab', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:03:18 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1d7', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:03:33 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1e2', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:03:48 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1f3', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:04:03 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1b4', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:04:18 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1b7', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:04:19 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1b9', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:04:33 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1e6', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:04:48 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1bb', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:05:03 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1f1', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:05:18 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1c2', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:05:19 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1c3', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:05:33 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'203', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:05:48 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1f9', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:06:03 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'205', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:06:18 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'207', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:06:20 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'20c', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:06:33 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1cb', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:06:48 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1ce', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:06:49 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1d3', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:07:03 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'1d5', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:07:18 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'20d', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:07:19 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'212', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:07:33 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'205', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:07:48 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'216', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:08:03 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'20d', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:08:04 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'212', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})
2018-08-10 23:08:18 provisioningserver.rpc.common: [debug] [RPC <- received] AmpBox({b'_ask': b'216', b'_command': b'ListNodePowerParameters', b'uuid': b'thxysq'})

Changed in maas:
importance: Undecided → High
milestone: none → 2.5.0alpha2
tags: added: track
tags: added: performance
Blake Rouse (blake-rouse) wrote :

This is not what you think it is. This is the rack controller asking the region controller, "hey do you have any machines I need to perform a power check on?". When the region controller does have machines that it wants the rack controller to check, it will return a list of machines w/ power parameters to check the power information.

This is *NOT* the RPC called used to get the power driver information from the rack controller.

Changed in maas:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers