From 656a26c45ce4c9bc7931867c7db0883ff763cf2e Mon Sep 17 00:00:00 2001 From: Nicolas Bock Date: Mon, 15 Feb 2021 08:01:38 -0700 Subject: [PATCH] Fix pdns4 devstack plugin and drop lower-constraints This change drops the lower-constraints test. (cherry picked from commit d08dd621c988fe13b9844c5c44e143907aa74d0c) And fixes the pdns4 devstack plugin. We no longer need to deal with xenial or older distro versions, so we can assume that we can always install pdns4 from the distro directly and don't need the distro version check any longer. Drop a config option that was removed in pdns 4.2.x. Use mysql credentials correctly. (cherry picked from commit 6f17fe10bb37d71944e16a422606ccf0f78c6771) Change-Id: I90af3a092296f943509833608f25522b6f8e9ab6 Depends-On: I36799ee9d4db20104377e2772c86229b8083448d Signed-off-by: Nicolas Bock --- .zuul.yaml | 4 +- devstack/designate_plugins/backend-pdns4 | 22 +-- lower-constraints.txt | 168 ----------------------- tox.ini | 8 -- 4 files changed, 3 insertions(+), 199 deletions(-) delete mode 100644 lower-constraints.txt diff --git a/.zuul.yaml b/.zuul.yaml index 6bd807e03..7d9e219f4 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -70,7 +70,8 @@ - name: openstack/designate-tempest-plugin override-checkout: 0.7.0 - openstack/python-designateclient - - openstack/tempest + - name: openstack/tempest + override-checkout: stein-last run: playbooks/legacy/designate-devstack-base/run.yaml post-run: playbooks/legacy/designate-devstack-base/post.yaml timeout: 4200 @@ -180,7 +181,6 @@ templates: - designate-devstack-jobs - openstack-cover-jobs - - openstack-lower-constraints-jobs - openstack-python-jobs - openstack-python35-jobs - openstack-python36-jobs diff --git a/devstack/designate_plugins/backend-pdns4 b/devstack/designate_plugins/backend-pdns4 index d0cf01dd3..adf9ae7cb 100644 --- a/devstack/designate_plugins/backend-pdns4 +++ b/devstack/designate_plugins/backend-pdns4 @@ -32,25 +32,6 @@ fi # install_designate_backend - install any external requirements function install_designate_backend { if is_ubuntu; then - GetOSVersion - if [ "$os_CODENAME" = "trusty" ]; then - sudo tee /etc/apt/sources.list.d/pdns.list > /dev/null < /dev/null <