Node list error
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
-
210 210 return super(NodeList, self).get(*args, **kwargs) 211 211 212 212 def get_queryset(self): 213 self.wrong_nodes_message() 213 214 return Node.objects.annotate( 214 215 number_of_VMs=Count('instance_set')).select_related('host') 215 216 217 def wrong_nodes_message(self): 218 wrong_nodes = '' -
Master
Maybe it could be done with a list and join.
-
-
-
363 363 def driver_version(self): 364 364 return self.info.get('driver_version') 365 365 366 def get_monitor_info(self, metric): 367 # return with the metric value if the monitor info not none 368 # or return 0 if its None or the metric unreachable -
Master
Please log these as warning! You can also show an alert message to the user.
-
-
added 1 commit
- 5b6f9cc1 - Modify wrong nodes message function, logging infos of monitor info
Toggle commit list -
-
merged
Toggle commit list -