You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
The method make_payloads in the module maas.client.utils.multipart contains a bug I guess. We can not set value to cpu_over_commit_ratio parameter of Pod class. This parameter is supposed to be set with float value. When I try to create
a KVM virsh pod I get the following error: AssertionError: 'cpu_over_commit_ratio' is unrecognised: <float value>
I guess we have to add the following elif condition in the make_payloads function: elif isinstance(content, float): yield make_bytes_payload(name, b"%f" % content)
The text was updated successfully, but these errors were encountered:
Hi,
The method make_payloads in the module maas.client.utils.multipart contains a bug I guess. We can not set value to cpu_over_commit_ratio parameter of Pod class. This parameter is supposed to be set with float value. When I try to create
a KVM virsh pod I get the following error:
AssertionError: 'cpu_over_commit_ratio' is unrecognised: <float value>
I guess we have to add the following elif condition in the make_payloads function:
elif isinstance(content, float): yield make_bytes_payload(name, b"%f" % content)
The text was updated successfully, but these errors were encountered: