Update to CoreDNS 011

Bug #1717238 reported by Spyros Trigazis
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Magnum
Fix Released
Undecided
Spyros Trigazis

Bug Description

CoreDNS released 011 which includes a fix kubernetes srv requests, we need to update the image that we use to 011.

https://github.com/coredns/coredns/pull/823

Revision history for this message
Spyros Trigazis (strigazi) wrote :

We also need to change the corefile like so:
         errors
         log stdout
         health
- kubernetes ${DNS_CLUSTER_DOMAIN} {
- cidrs ${PORTAL_NETWORK_CIDR}
- }
+ kubernetes ${DNS_CLUSTER_DOMAIN} cidrs ${PORTAL_NETWORK_CIDR}
         proxy . /etc/resolv.conf
         cache 30
     }
@@ -49,7 +47,7 @@ spec:
     spec:
       containers:
       - name: coredns
- image: coredns/coredns:007
+ image: coredns/coredns:011
         imagePullPolicy: Always
         args: [ "-conf", "/etc/coredns/Corefile" ]
         volumeMounts:

to not get the error below.
2017/09/14 13:49:53 middleware/kubernetes: /etc/coredns/Corefile:6 - Error during parsing: unknown property 'cidrs'
[stack@strigazi-cen

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

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

Changed in magnum:
assignee: nobody → Spyros Trigazis (strigazi)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/504062

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/504063

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (stable/ocata)

Reviewed: https://review.openstack.org/504063
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=a6d9f8950cfd91e5856a047061ac8057b7e257f3
Submitter: Jenkins
Branch: stable/ocata

commit a6d9f8950cfd91e5856a047061ac8057b7e257f3
Author: Spyros Trigazis <email address hidden>
Date: Thu Sep 14 13:53:27 2017 +0000

    Update CoreDNS to 011

    Update CoreDNS to version 011 which includes a fix [0]
    for kubernetes srv and update the Corefile appropriately [1].

    [0] https://github.com/coredns/coredns/pull/823
    [1] https://github.com/coredns/deployment/blob/master/kubernetes/coredns.yaml.sed#L12
    Closes-Bug: #1717238

    (Cherry-picked from 68d7b87a0bd506ed1ed9b1e24a9eda3ec568b0ef)
    Change-Id: Ibeaa01578874335ddb70ac178ff708c6b953f129

tags: added: in-stable-ocata
tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (stable/pike)

Reviewed: https://review.openstack.org/504062
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=d14815742174c99410b1e0f6d4f9fc52d805c3cb
Submitter: Jenkins
Branch: stable/pike

commit d14815742174c99410b1e0f6d4f9fc52d805c3cb
Author: Spyros Trigazis <email address hidden>
Date: Thu Sep 14 13:53:27 2017 +0000

    Update CoreDNS to 011

    Update CoreDNS to version 011 which includes a fix [0]
    for kubernetes srv and update the Corefile appropriately [1].

    [0] https://github.com/coredns/coredns/pull/823
    [1] https://github.com/coredns/deployment/blob/master/kubernetes/coredns.yaml.sed#L12
    Closes-Bug: #1717238

    (Cherry-picked from 68d7b87a0bd506ed1ed9b1e24a9eda3ec568b0ef)
    Change-Id: Ibeaa01578874335ddb70ac178ff708c6b953f129

Changed in magnum:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (master)

Reviewed: https://review.openstack.org/504058
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=68d7b87a0bd506ed1ed9b1e24a9eda3ec568b0ef
Submitter: Jenkins
Branch: master

commit 68d7b87a0bd506ed1ed9b1e24a9eda3ec568b0ef
Author: Spyros Trigazis <email address hidden>
Date: Thu Sep 14 13:53:27 2017 +0000

    Update CoreDNS to 011

    Update CoreDNS to version 011 which includes a fix [0]
    for kubernetes srv and update the Corefile appropriately [1].

    [0] https://github.com/coredns/coredns/pull/823
    [1] https://github.com/coredns/deployment/blob/master/kubernetes/coredns.yaml.sed#L12
    Closes-Bug: #1717238

    Change-Id: Ibeaa01578874335ddb70ac178ff708c6b953f129

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/magnum 6.0.0

This issue was fixed in the openstack/magnum 6.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/magnum 5.0.2

This issue was fixed in the openstack/magnum 5.0.2 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.