<html><body bgcolor="#FFFFFF"><p>Thanks Steve.  We indeed have been using the image built by Yolanda's DIB elements and things have been stable.  Dane and I have resolved the problems with the load balancer at least for the LBaaS v1.  For LBaaS v2, we need to build a new image with Kubernetes 1.3 and we just got one built today.<br>Ton,<br><br><img width="16" height="16" src="cid:1__=07BB0AAFDFB3DAF98f9e8a93df938690918c07B@" border="0" alt="Inactive hide details for "Steven Dake (stdake)" ---09/27/2016 10:18:07 PM---Dane, I’ve heard Yolanda has done good work on ma"><font color="#424282">"Steven Dake (stdake)" ---09/27/2016 10:18:07 PM---Dane, I’ve heard Yolanda has done good work on making disk image builder build fedora atomic properl</font><br><br><font size="2" color="#5F5F5F">From:        </font><font size="2">"Steven Dake (stdake)" <stdake@cisco.com></font><br><font size="2" color="#5F5F5F">To:        </font><font size="2">"OpenStack Development Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org></font><br><font size="2" color="#5F5F5F">Date:        </font><font size="2">09/27/2016 10:18 PM</font><br><font size="2" color="#5F5F5F">Subject:        </font><font size="2">Re: [openstack-dev] [magnum] Fedora Atomic image that supports kubernetes external load balancer (for stable/mitaka)</font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br><font face="Calibri">Dane,</font><br><font face="Calibri"> </font><br><font face="Calibri">I’ve heard Yolanda has done good work on making disk image builder build fedora atomic properly consistently.  This may work better than the current image building tools available with atomic if you need to roll your own.  Might try pinging her on irc for advice if you get jammed up here.  Might consider consulting tango as well as I handed off my knowledge in this area to him first and he has distributed to the rest of the Magnum core reviewer team.  I’m not sure if tango and Yolanda have synced on this – recommend checking with them.</font><br><font face="Calibri"> </font><br><font face="Calibri">Seems important to have a working atomic image for both Mitaka and Newton.</font><br><font face="Calibri"> </font><br><font face="Calibri">Regards</font><br><font face="Calibri">-steve</font><br><font face="Calibri"> </font><br><font face="Calibri"> </font><br><b><font face="Calibri">From: </font></b><font face="Calibri">"Dane Leblanc (leblancd)" <leblancd@cisco.com></font><b><font face="Calibri"><br>Reply-To: </font></b><font face="Calibri">"OpenStack Development Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org></font><b><font face="Calibri"><br>Date: </font></b><font face="Calibri">Thursday, September 8, 2016 at 2:18 PM</font><b><font face="Calibri"><br>To: </font></b><font face="Calibri">"OpenStack Development Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org></font><b><font face="Calibri"><br>Subject: </font></b><font face="Calibri">[openstack-dev] [magnum] Fedora Atomic image that supports kubernetes external load balancer (for stable/mitaka)</font><br><font face="Times New Roman"> </font><br><font face="Calibri">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]?</font><br><font face="Calibri"> </font><br><font face="Calibri">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:</font><ul><ul><i><font face="Tahoma">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: </font></i><i><font color="#FF0000" face="Tahoma">SubnetID is required</font></i></ul></ul><font face="Calibri"> </font><br><font face="Calibri">I verified that I have the subnet-id field set in the [LoadBalancer] section in /etc/sysconfig/kube_openstack_config.</font><br><font face="Calibri"> </font><br><font face="Calibri">I’ve tried this using the following Fedora Atomic images from [2]:</font><ul><ul><font face="Calibri">fedora-21-atomic-5.qcow2</font><br><font face="Calibri">fedora-21-atomic-6.qcow2</font><br><font face="Calibri">fedora-atomic-latest.qcow2</font></ul></ul><font face="Calibri"> </font><br><font face="Calibri">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:</font><ul><ul><a href="https://github.com/GoogleCloudPlatform/kubernetes/pull/12203"><u><font color="#0000FF" face="Calibri">https://github.com/GoogleCloudPlatform/kubernetes/pull/12203</font></u></a><u><font color="#0000FF" face="Calibri"><br></font></u><a href="https://github.com/GoogleCloudPlatform/kubernetes/pull/12262"><u><font color="#0000FF" face="Calibri">https://github.com/GoogleCloudPlatform/kubernetes/pull/12262</font></u></a><u><font color="#0000FF" face="Calibri"><br></font></u><a href="https://github.com/GoogleCloudPlatform/kubernetes/pull/12288"><u><font color="#0000FF" face="Calibri">https://github.com/GoogleCloudPlatform/kubernetes/pull/12288</font></u></a></ul></ul><font face="Calibri">The first of these patches, “Pass SubnetID to vips.Create()”, is apparently necessary to fix the “SubnetID is required” error shown above.</font><br><font face="Calibri"> </font><br><font face="Calibri">According to the Magnum external load balancer blueprint [3], the fedora-21-atomic-6 image should include the above 3 fixes:</font><ul><ul><font face="Calibri">“</font><i><font face="Calibri">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</font></i><font face="Calibri">”</font></ul></ul><font face="Calibri">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:</font><ul><ul><font face="Calibri">[minion@k8-64n4bna2v6-0-ffukgho7n7tf-kube-master-fif5b6pivdmy sysconfig]$ rpm -qa | grep kube</font><br><font face="Calibri">kubernetes-node-1.2.0-0.15.alpha6.gitf0cd09a.fc23.x86_64</font><br><font face="Calibri">kubernetes-1.2.0-0.15.alpha6.gitf0cd09a.fc23.x86_64</font><br><font face="Calibri">kubernetes-client-1.2.0-0.15.alpha6.gitf0cd09a.fc23.x86_64</font><br><font face="Calibri">kubernetes-master-1.2.0-0.15.alpha6.gitf0cd09a.fc23.x86_64</font><br><font face="Calibri">[minion@k8-64n4bna2v6-0-ffukgho7n7tf-kube-master-fif5b6pivdmy sysconfig]$</font></ul></ul><font face="Calibri"> </font><br><font face="Calibri">Does anyone have a pointer to a Fedora Atomic image that contains the 3 kubernetes fixes listed earlier (and works with stable/mitaka)?</font><br><font face="Calibri"> </font><br><font face="Calibri">Thanks!</font><br><font face="Calibri">-Dane</font><br><font face="Calibri"> </font><br><font face="Calibri">[1] </font><a href="http://kubernetes.io/docs/user-guide/services/#type-loadbalancer"><u><font color="#0000FF" face="Calibri">http://kubernetes.io/docs/user-guide/services/#type-loadbalancer</font></u></a><br><font face="Calibri">[2] </font><a href="https://fedorapeople.org/groups/magnum/"><u><font color="#0000FF" face="Calibri">https://fedorapeople.org/groups/magnum/</font></u></a><br><font face="Calibri">[3] </font><a href="https://blueprints.launchpad.net/magnum/+spec/external-lb"><u><font color="#0000FF" face="Calibri">https://blueprints.launchpad.net/magnum/+spec/external-lb</font></u></a><br><font face="Calibri"> </font><tt>__________________________________________________________________________<br>OpenStack Development Mailing List (not for usage questions)<br>Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br></tt><tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></tt><tt><br></tt><br><br><BR>
</body></html>