hdinsight_cluster_* queries should validate the provisioning_state
rajlearner17 opened this issue · 0 comments
Describe the bug
A clear and concise description of what the bug is.
The current queries are not checked against the provisioning_state
, as when the provisioning_state
either 'InProgress', 'Failed', 'Canceled', 'Deleting', then the control still alarm
/ok
Steampipe version (steampipe -v
)
Example: v0.12.1
Plugin version (steampipe plugin list
)
Example: v0.23.2
To reproduce
Steps to reproduce the behavior (please include relevant code and/or commands).
Expected behavior
A clear and concise description of what you expected to happen.
We should skip those steps, as HD clusters remain in any of the failed states for a long time in the console, and this may create confusion. We should check provisioning_state
= Succeeded
to report the control ok
/alarm
rest can be skipped with the state info to be specific.
Additional context
Add any other context about the problem here.