1. 10 Mar, 2022 1 commit
  2. 09 Mar, 2022 1 commit
    • Dmitry Galkin's avatar
      Fix zone update when adding new Bind9 target to pool. · 66cc876e
      Dmitry Galkin authored
      
      
      When a new Bind9 is added to the pool, Designate will trigger 'modzone'
      rndc command that will fail, unless zone is already present on the backend.
      
      This change will first verify that the zone is present on the backend,
      before an update attempt. If zone is not present - zone creation will be
      triggered.
      
      Closes-Bug: 1958409
      
      Co-authored-by: default avatarKiran Pawar <kinpaa@gmail.com>
      Change-Id: I782bf38a68f24a2e7133ff2afad7c96e2ae6b7f0
      66cc876e
  3. 03 Mar, 2022 1 commit
    • Erik Olof Gunnar Andersson's avatar
      Add inactive value to floating ip status · 93ebb1af
      Erik Olof Gunnar Andersson authored
      This patch adds a new status value for floating ips called
      inactive that is used to indicate if there is not a dns record
      assosciated with a floating ip.
      
      Partial-Bug: #1932026
      
      Change-Id: Ieca3cb06b99ba4556f4e6e770f82ec594d1ab1b6
      93ebb1af
  4. 01 Mar, 2022 1 commit
  5. 28 Feb, 2022 1 commit
  6. 23 Feb, 2022 1 commit
  7. 22 Feb, 2022 1 commit
  8. 18 Feb, 2022 12 commits
  9. 17 Feb, 2022 4 commits
  10. 14 Feb, 2022 3 commits
  11. 11 Feb, 2022 1 commit
    • zhouhenglc's avatar
      Fix recordset_records quota enforcement · df10ff5b
      zhouhenglc authored
      First I set recordset_records=3, and I can create recordset with 4 records
      successfully.
      Now enforce record quota by count records in database. when create recordset
      the number in database is 0., and quotas will not work no matter how much
      quota recordset_records are set. And once the excess quota is created
      successfully, it can not be updated. Unless quotas are updated.
      
      Closes-Bug: #1847200
      
      Change-Id: If8bc6043d95f52f67899a5ac69a2f72c8fd4de17
      df10ff5b
  12. 07 Feb, 2022 1 commit
    • kpdev's avatar
      Integrate OSprofiler and Designate · 9541a297
      kpdev authored
      *) Add osprofiler wsgi middleware
      
      This middleware is used for 2 things:
      1) It checks that person who want to trace is trusted and knows
      secret HMAC key.
      2) It start tracing in case of proper trace headers and add
      first wsgi trace point, with info about HTTP request
      *) Add initialization of osprofiler at start of serivce.
      
      You should use python-designateclient with this patch:
      
      https://review.opendev.org/#/c/773575
      
      Run any command with --os-profile SECRET_KEY
      
        $ openstack zone create --email <email_id> <zone_name> \
          --os-profile SECRET_KEY
        # it will print <Trace ID>
      
      Get pretty HTML with traces:
      
        $ osprofiler trace show --html <Trace ID> --connection-string \
         <connection_string> --out <output.html>
        e.g. --connection-string can be redis://localhost:6379
      
      Note that osprofiler should be run from admin user name & tenant.
      
      Implements: blueprint designate-os-profiler
      Change-Id: I2a3787b6428d679555a9add3a57ffe8c2112b6d3
      9541a297
  13. 06 Feb, 2022 2 commits
    • Zuul's avatar
      75803bf6
    • Erik Olof Gunnar Andersson's avatar
      Updated status logic to always NOTIFY on change · 3c495ed7
      Erik Olof Gunnar Andersson authored
      In this patch we revise the workflow after the zone api has
      finished updating the upstream dns servers after a change. The goal
      is to fix issues with actions that would overwrite other actions,
      potentially causing zone change notifications to not be sent in a
      timely manner.
      
      Additional changes.
      - Changed update_status method args
      - Improved unit test coverage of multiple code paths.
      
      Change-Id: I5d566588be66e9ed0df9484e36504a69b4f4b5a9
      3c495ed7
  14. 05 Feb, 2022 1 commit
    • Takashi Kajinami's avatar
      setup.cfg: Replace dashes by underscores · 30b9a085
      Takashi Kajinami authored
      Since setuptools v54.1.0[1], the parmeters with dash have been
      deprecated in favor of the new parameters with underscore.
      
      This change updates the parameters accordingly to avoid the warnings
      like the example below.
      
        UserWarning: Usage of dash-separated 'description-file' will not be
        supported in future versions. Please use the underscore name
        'description_file' instead
      
      [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
      
      Change-Id: I0c8e6a3a474a5cfa029b741b1a26b7d48d244206
      30b9a085
  15. 04 Feb, 2022 2 commits
  16. 03 Feb, 2022 1 commit
  17. 26 Jan, 2022 1 commit
    • Erik Olof Gunnar Andersson's avatar
      Fix duplicate zone when creating ptr records · 0c7d218b
      Erik Olof Gunnar Andersson authored
      This fixes a race-condition when creating multiple PTR records
      under the same zone. There is a brief window when creating two
      identical zones can cause an error. This adds a fallback that
      should prevent the error.
      
      I also added a threaded test that caught multiple additional
      bugs in this code.
      - Wrong find_recordset used caused the wrong exception to be thrown.
      - The transaction workflow would break error handling.
      
      Change-Id: Ia1194ab838c52d5d91cb1d26c4556c73b4f3a745
      0c7d218b
  18. 25 Jan, 2022 1 commit
  19. 24 Jan, 2022 1 commit
  20. 22 Jan, 2022 1 commit
    • Christian Rohmann's avatar
      Allow email subadresses to be used within mail url of CAA records · 1cef20ed
      Christian Rohmann authored
      This patch allows for +subaddress to be used for the local part of mail urls
      used for CAA records. While there are more characters allowed in email
      addresses, using subadresses for incoming email to role accounts is quite
      common.
      
      Closes-Bug: 1958533
      Change-Id: Id265fa1dfa5c0703d8e95b5de1334d4ca716fbc0
      1cef20ed
  21. 13 Jan, 2022 1 commit
    • michaeltchapman's avatar
      Move context from tenant to project_id · 6c80f616
      michaeltchapman authored
      in the sudo context unit test:
      DeprecationWarning: Property 'tenant' has moved to 'project_id'
      in version '2.6' and will be removed in version '3.0'
      
      oslo_context is deprecating the tenant field, so move to using
      project_id. This does leave a less than ideal state where both
      project_id and tenant are referenced (since all_tenants remains
      untouched) but replacing 'tenant' with 'project' across the
      entire codebase is a much larger task.
      
      Change-Id: Id78112b49d5c0e99064fcb271aaded871da3f633
      6c80f616
  22. 06 Jan, 2022 1 commit
    • Erik Olof Gunnar Andersson's avatar
      Fix designate-manage pool update bugs · bff3d5f6
      Erik Olof Gunnar Andersson authored
      This patch addresses a few problems with the manage
      command for pools and NS records.
      
      - Fixed an issue where having multiple NS records
        would break the pool command.
      
      - Fixed a scenario where manually (non-managed) NS
        records could break the pool command.
      
      - Fixed a potential edge case that could break the
        pool command.
      
      The biggest change is that we now only manage the NS
      record for the zone itself. This was always the case,
      but because we didn't check for this specifically,
      other NS records would conflict with the command.
      
      Change-Id: I4e6ea0b6b717d2a1b5cc420874d1bb8fb290e04b
      bff3d5f6