designate's named is conflicting with unbound in CI scenario003

Bug #1795043 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Ben Nemec

Bug Description

After deployments on scenario003, we attempt to install dstat on the overcloud. Unfortunately it appears to be failing fairly regularly because it can't download the rpm.

http://logs.openstack.org/20/603220/1/gate/tripleo-ci-centos-7-scenario003-multinode-oooq-container/43093ac/job-output.txt#_2018-09-28_03_02_02_287193

2018-09-28 03:02:02.287193 | primary | PLAY [setup dstat performance monitoring] **************************************
2018-09-28 03:02:02.326067 | primary |
2018-09-28 03:02:02.326291 | primary | TASK [validate-perf : Install the latest version of dstat on overcloud] ********
2018-09-28 03:02:02.377924 | primary | Friday 28 September 2018 03:02:02 +0000 (0:00:00.331) 0:00:00.331 ******
2018-09-28 03:02:08.786581 | primary | fatal: [subnode-2]: FAILED! => {"changed": false, "msg": "http://mirror.gra1.ovh.openstack.org/centos/7/os/x86_64/Packages/dstat-0.7.2-12.el7.noarch.rpm: [Errno 14] curl#6 - \"Could not resolve host: mirror.gra1.ovh.openstack.org; Unknown error\"\nTrying other mirror.\n\n\nError downloading packages:\n dstat-0.7.2-12.el7.noarch: [Errno 256] No more mirrors to try.\n\n", "rc": 1, "results": ["Loaded plugins: fastestmirror, priorities\nLoading mirror speeds from cached hostfile\n130 packages excluded due to repository priority protections\nResolving Dependencies\n--> Running transaction check\n---> Package dstat.noarch 0:0.7.2-12.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n dstat noarch 0.7.2-12.el7 quickstart-centos-base 163 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 163 k\nInstalled size: 752 k\nDownloading packages:\n"]}
2018-09-28 03:02:08.786773 | primary | ...ignoring

I believe this is because named which is for designate may be causing issues.

http://logs.openstack.org/20/603220/1/gate/tripleo-ci-centos-7-scenario003-multinode-oooq-container/43093ac/logs/subnode-2/var/log/extra/netstat.txt.gz

udp6 0 0 :::53 :::* 82170/named
udp6 0 0 ::1:53 :::* 1755/unbound
udp6 0 0 ::1:53 :::* 1755/unbound
udp6 0 0 ::1:53 :::* 1755/unbound
udp6 0 0 ::1:53 :::* 1755/unbound

Revision history for this message
Ben Nemec (bnemec) wrote :

I'm a little surprised this is even allowed, but I think we can shut off BIND listening on localhost. The issue is I think it will break Designate functionality in ci because I used localhost as the predictable ip. If scenario003 isn't already using predictable ips we'll need to enable that so Designate knows where to look for BIND. This is good anyway since that's how Designate would be configured in real deployments, but it does complicate the fix for this problem.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/606180

Changed in tripleo:
assignee: nobody → Ben Nemec (bnemec)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-quickstart-extras (master)

Fix proposed to branch: master
Review: https://review.openstack.org/606198

Changed in tripleo:
assignee: Ben Nemec (bnemec) → wes hayutin (weshayutin)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-quickstart-extras (master)

Change abandoned by wes hayutin (<email address hidden>) on branch: master
Review: https://review.openstack.org/606198
Reason: https://review.openstack.org/#/c/606180/

Revision history for this message
wes hayutin (weshayutin) wrote :

https://review.openstack.org/606180 is the correct patch to pursue

Changed in tripleo:
assignee: wes hayutin (weshayutin) → Ben Nemec (bnemec)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/606180
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=9a694265089fe8c964d9e38e0577c42d88d3efd1
Submitter: Zuul
Branch: master

commit 9a694265089fe8c964d9e38e0577c42d88d3efd1
Author: Ben Nemec <email address hidden>
Date: Fri Sep 28 13:53:56 2018 -0500

    Don't configure BIND to listen on localhost

    It isn't useful for much of anything in a production deployment
    and it conflicts with the local DNS server in CI.

    Change-Id: Ied3ecdc71bfdf9bb6439e2c9464aa01346e69226
    Closes-Bug: 1795043

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 10.0.0

This issue was fixed in the openstack/tripleo-heat-templates 10.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/615324

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/rocky)

Reviewed: https://review.openstack.org/615324
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=81f1193631fb99311983e0f51fa7fa708790cdfb
Submitter: Zuul
Branch: stable/rocky

commit 81f1193631fb99311983e0f51fa7fa708790cdfb
Author: Ben Nemec <email address hidden>
Date: Fri Sep 28 13:53:56 2018 -0500

    Don't configure BIND to listen on localhost

    It isn't useful for much of anything in a production deployment
    and it conflicts with the local DNS server in CI.

    Change-Id: Ied3ecdc71bfdf9bb6439e2c9464aa01346e69226
    Closes-Bug: 1795043
    (cherry picked from commit 9a694265089fe8c964d9e38e0577c42d88d3efd1)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 9.3.0

This issue was fixed in the openstack/tripleo-heat-templates 9.3.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.