The utility function 'qos_min_feature_name' computes the QOS by concatenating a prefix to a node name. However, under some circumstances, it's possible that the node name is `None`, thus raising a TypeError. This can happen for example, if the 'storage.aggregate' feature is not present (or the user doesn't have privileges for it), which leads to an always-None node_name (see the method '_get_ssc_aggregate_info' in volume/drivers/netapp/utils/capabilities:270)
An easy fix is to check for `None`, and if so, return an empty string.
The utility function 'qos_min_ feature_ name' computes the QOS by concatenating a prefix to a node name. However, under some circumstances, it's possible that the node name is `None`, thus raising a TypeError. This can happen for example, if the 'storage.aggregate' feature is not present (or the user doesn't have privileges for it), which leads to an always-None node_name (see the method '_get_ssc_ aggregate_ info' in volume/ drivers/ netapp/ utils/capabilit ies:270)
An easy fix is to check for `None`, and if so, return an empty string.