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
As a fix I suggest changing the MANILA_QUOTA_FIELDS variable to a tuple gigabytes" , snapshots" , snapshot_ gigabytes" , networks" ,
MANILA_QUOTA_FIELDS = {
"shares",
"share_
"share_
"share_
"share_
}
to
MANILA_QUOTA_FIELDS = ( gigabytes" , snapshots" , snapshot_ gigabytes" , networks" ,
"shares",
"share_
"share_
"share_
"share_
)
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