<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
h1
        {mso-style-priority:9;
        mso-style-link:"Heading 1 Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:24.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.Heading1Char
        {mso-style-name:"Heading 1 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 1";
        font-family:"Times New Roman","serif";
        font-weight:bold;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Does anyone have a pointer to a Fedora Atomic image that works with stable/mitaka Magnum, and supports the kubernetes external load balancer feature [1]?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m trying to test the kubernetes external load balancer feature with stable/mitaka Magnum. However, when I try to bring up a load-balanced service, I’m seeing these errors in the kube-controller-manager logs:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><i><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";background:white">E0907 16:26:54.375286       1 servicecontroller.go:173] Failed to process service delta. Retrying: failed to create external load
 balancer for service default/nginx-service: <span style="color:red">SubnetID is required</span></span></i><i><span style="font-size:10.0pt"><o:p></o:p></span></i></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I verified that I have the subnet-id field set in the [LoadBalancer] section in /etc/sysconfig/kube_openstack_config.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve tried this using the following Fedora Atomic images from [2]:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">fedora-21-atomic-5.qcow2<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">fedora-21-atomic-6.qcow2<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">fedora-atomic-latest.qcow2<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">According to the Magnum external load balancer blueprint [3], there were 3 patches in kubernetes that are required to get the OpenStack provider plugin to work in kubernetes:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><a href="https://github.com/GoogleCloudPlatform/kubernetes/pull/12203">https://github.com/GoogleCloudPlatform/kubernetes/pull/12203</a><br>
<a href="https://github.com/GoogleCloudPlatform/kubernetes/pull/12262">https://github.com/GoogleCloudPlatform/kubernetes/pull/12262</a><br>
<a href="https://github.com/GoogleCloudPlatform/kubernetes/pull/12288">https://github.com/GoogleCloudPlatform/kubernetes/pull/12288</a><o:p></o:p></p>
<p class="MsoNormal">The first of these patches, “Pass SubnetID to vips.Create()”, is apparently necessary to fix the “SubnetID is required” error shown above.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">According to the Magnum external load balancer blueprint [3], the fedora-21-atomic-6 image should include the above 3 fixes:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">“<i>Our work-around is to use our own custom Kubernetes build (version 1.0.4 + 3 fixes) until the fixes are released. This is in image fedora-21-atomic-6.qcow2</i>”<o:p></o:p></p>
<p class="MsoNormal">However, I’m still seeing the “SubnetID is required” errors with this image downloaded from [2]. Here are the kube versions I’m seeing with this image:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">[minion@k8-64n4bna2v6-0-ffukgho7n7tf-kube-master-fif5b6pivdmy sysconfig]$ rpm -qa | grep kube<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">kubernetes-node-1.2.0-0.15.alpha6.gitf0cd09a.fc23.x86_64<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">kubernetes-1.2.0-0.15.alpha6.gitf0cd09a.fc23.x86_64<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">kubernetes-client-1.2.0-0.15.alpha6.gitf0cd09a.fc23.x86_64<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">kubernetes-master-1.2.0-0.15.alpha6.gitf0cd09a.fc23.x86_64<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">[minion@k8-64n4bna2v6-0-ffukgho7n7tf-kube-master-fif5b6pivdmy sysconfig]$<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Does anyone have a pointer to a Fedora Atomic image that contains the 3 kubernetes fixes listed earlier (and works with stable/mitaka)?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks!<o:p></o:p></p>
<p class="MsoNormal">-Dane<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[1] <a href="http://kubernetes.io/docs/user-guide/services/#type-loadbalancer">
http://kubernetes.io/docs/user-guide/services/#type-loadbalancer</a><o:p></o:p></p>
<p class="MsoNormal">[2] <a href="https://fedorapeople.org/groups/magnum/">https://fedorapeople.org/groups/magnum/</a><o:p></o:p></p>
<p class="MsoNormal">[3] <a href="https://blueprints.launchpad.net/magnum/+spec/external-lb">
https://blueprints.launchpad.net/magnum/+spec/external-lb</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>