← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1992445] [NEW] Designate DNS – the default SOA and NS recordsets are counted for quota

 

Public bug reported:


The default created SOA and NS recordsets for a Zone are counted in quota, but shouldn't.
We should only count stuffs that is created by user.

Test scenario:
1) Set quotas for a user with:
quotas = {
    'zones': 7, 'zone_recordsets': 1, 'zone_records': 7,
    'recordset_records': 7, 'api_export_size': 7}

2) Try to create a Zone

Expected Result:
Zone is sucsesfully created

Actual result:
Zone creation fails on:
Details: {'code': 413, 'type': 'over_quota', 'message': 'Quota exceeded for zone_recordsets.', 'request_id': 'req-0a7f59a6-7c06-42dc-b6fd-6ae4d78e2cc6'}

** Affects: designate
     Importance: Undecided
         Status: New


** Tags: designate

** Project changed: nova => designate

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1992445

Title:
  Designate DNS – the default SOA and NS recordsets are counted for
  quota

Status in Designate:
  New

Bug description:
  
  The default created SOA and NS recordsets for a Zone are counted in quota, but shouldn't.
  We should only count stuffs that is created by user.

  Test scenario:
  1) Set quotas for a user with:
  quotas = {
      'zones': 7, 'zone_recordsets': 1, 'zone_records': 7,
      'recordset_records': 7, 'api_export_size': 7}

  2) Try to create a Zone

  Expected Result:
  Zone is sucsesfully created

  Actual result:
  Zone creation fails on:
  Details: {'code': 413, 'type': 'over_quota', 'message': 'Quota exceeded for zone_recordsets.', 'request_id': 'req-0a7f59a6-7c06-42dc-b6fd-6ae4d78e2cc6'}

To manage notifications about this bug go to:
https://bugs.launchpad.net/designate/+bug/1992445/+subscriptions