Comment 1 for bug 1705087

Revision history for this message
Antonio Abinader (abinade2) wrote :

As a fix I suggest changing the MANILA_QUOTA_FIELDS variable to a tuple
MANILA_QUOTA_FIELDS = {
    "shares",
    "share_gigabytes",
    "share_snapshots",
    "share_snapshot_gigabytes",
    "share_networks",
}

to

MANILA_QUOTA_FIELDS = (
    "shares",
    "share_gigabytes",
    "share_snapshots",
    "share_snapshot_gigabytes",
    "share_networks",
)

and changing the line:
quotas.QUOTA_FIELDS = quotas.QUOTA_FIELDS | MANILA_QUOTA_FIELDS

to:
quotas.QUOTA_FIELDS = quotas.QUOTA_FIELDS + MANILA_QUOTA_FIELDS

This solved the issue for me