<div dir="ltr">Hi Y<span style="font-size:12.8px">uanying.</span><br><div class="gmail_extra"><br><div class="gmail_quote">On 21 June 2016 at 08:02, Yuanying OTSUKA <span dir="ltr"><<a href="mailto:yuanying@oeilvert.org" target="_blank">yuanying@oeilvert.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi, Spyros<div><br></div><div>Thanks for testing it.</div><div>Maybe you see that there are some problems to support baremetal.</div><div>We should add functional test to our jenkins job</div><div>because this template will be broken easily if anyone adds some logic to our templates/codes.</div><div>But following problems will block us.</div><div><br></div><div>1. How to get Fedora 23 image which includes k8s?</div></div></blockquote><div><br></div><div>* The image that Ton uploaded isn't good enough? He did it by following your instructions.</div><div>* Can we use atomic for baremetal?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>2. How to solve Ironic instance_info problem?</div></div></blockquote><div><br></div><div>I'll look into this in more detail.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>Currently I have no idea, maybe time will solve these?</div><div><br></div><div><br></div><div>Thanks</div><div>-yuanying</div></div></blockquote><div><br></div><div>Thanks,</div><div>Spyros</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><br><div class="gmail_quote"><div dir="ltr">2016年6月21日(火) 0:30 Spyros Trigazis <<a href="mailto:strigazi@gmail.com" target="_blank">strigazi@gmail.com</a>>:<br></div><div><div class="h5"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Y<span style="font-size:12.8px">uanying,</span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I tested your patch [2] with the image that Ton created [1] and it worked</span><span style="font-size:12.8px">.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">For me devicemapper as docker-storage-driver didn't work but this is</span></div><div><span style="font-size:12.8px">unrelated to this patch, I'll update devicemapper. I used overlay and</span></div><div><span style="font-size:12.8px">it was ok.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I'll sum up what I did here, for others to test.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">On a fresh install of Ubuntu 14.04.3</span></div><div><span style="font-size:12.8px"><br></span></div><div>0-</div><div>setup environment as in:</div><div><a href="http://docs.openstack.org/developer/magnum/dev/dev-quickstart.html#dev-quickstart" target="_blank">http://docs.openstack.org/developer/magnum/dev/dev-quickstart.html#dev-quickstart</a><br></div><div><br></div><div><span style="font-size:12.8px">1-</span></div><div><span style="font-size:12.8px">I used a local.conf with less configuration and I added magnum.</span></div><div><span style="font-size:12.8px"><a href="https://stikked.web.cern.ch/stikked/view/35816b1d" target="_blank">https://stikked.web.cern.ch/stikked/view/35816b1d</a></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">2-</span></div><div><span style="font-size:12.8px">Update subnets with dns-nameserver</span></div><div><div><span style="font-size:12.8px">neutron subnet-update private-subnet --dns-nameserver 8.8.8.8</span></div><div><span style="font-size:12.8px">neutron subnet-update public-subnet --dns-nameserver 8.8.8.8</span></div></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">3-</span></div><div><span style="font-size:12.8px">Modify ironic.nodes table</span></div></div><div dir="ltr"><div><span style="font-size:12.8px">alter table ironic.nodes modify instance_info LONGTEXT;</span><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div></div><div dir="ltr"><div><span style="font-size:12.8px">4-</span></div><div><span style="font-size:12.8px">download images [1] and register as in:</span></div><div><span style="font-size:12.8px"><a href="https://review.openstack.org/#/c/320968/10/magnum/elements/kubernetes/README.md" target="_blank">https://review.openstack.org/#/c/320968/10/magnum/elements/kubernetes/README.md</a></span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">5-</span></div><div><span style="font-size:12.8px">update iptables as in our devstack script:</span></div><div><span style="font-size:12.8px"><a href="https://github.com/openstack/magnum/blob/master/devstack/lib/magnum#L326" target="_blank">https://github.com/openstack/magnum/blob/master/devstack/lib/magnum#L326</a></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">6-</span></div><div><div><span style="font-size:12.8px">magnum baymodel-create --name k8s-ironic-baymodel \</span></div><div><span style="font-size:12.8px">                       --keypair-id testkey \</span></div></div></div><div dir="ltr"><div><div><span style="font-size:12.8px">                       --server-type bm \</span></div><div><span style="font-size:12.8px">                       --external-network-id public \</span></div><div><span style="font-size:12.8px">                       --fixed-network private \</span></div><div><span style="font-size:12.8px">                       --image-id fedora-k8s \</span></div><div><span style="font-size:12.8px">                       --flavor-id baremetal \</span></div><div><span style="font-size:12.8px">                       --network-driver flannel \</span></div></div></div><div dir="ltr"><div><div><span style="font-size:12.8px">                       --dns 8.8.8.8 \</span></div><div><span style="font-size:12.8px">                       --coe kubernetes \</span></div><div><span style="font-size:12.8px">                       --docker-storage-driver overlay</span></div></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">7-</span></div><div><span style="font-size:12.8px">create bay</span></div><div><span style="font-size:12.8px">magnum bay-create --name k8s-ironbay --baymodel </span><span style="font-size:12.8px">k8s-ironic-baymodel</span><span style="font-size:12.8px"> --node-count 1</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">It took a few minutes to get CREATE_COMPLETE on my 4-core desktop.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thanks Y</span><span style="font-size:12.8px">uanying and Ton!</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Cheers,</span></div><div><span style="font-size:12.8px">Spyros</span></div><div><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">[1] <a href="https://fedorapeople.org/groups/magnum/fedora-23-kubernetes*" target="_blank">https://fedorapeople.org/groups/magnum/fedora-23-kubernetes*</a></span></div><div><span style="font-size:12.8px">[2] <a href="https://review.openstack.org/#/c/320968/" target="_blank">https://review.openstack.org/#/c/320968/</a></span></div><div><span style="font-size:12.8px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 14 June 2016 at 03:26, Yuanying OTSUKA <span dir="ltr"><<a href="mailto:yuanying@oeilvert.org" target="_blank">yuanying@oeilvert.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi, Spyros<div><br></div><div>I updated ironic heat template, and succeeded booting k8s bay with Ironic.</div><div>Could you test it?</div><div><br></div><div>Unfortunately there are some problem and requirement to test.</div><div>I describe below.</div><div><br></div><div>* subnet which belongs to private network should be set up with dns_nameservers like following.</div><div><br></div><div>    $ neutron subnet-update private-subnet —dns-nameserver 8.8.8.8</div><div><br></div><div>* modify ironic.nodes table</div><div><br></div><div>    $ alter table ironic.nodes modify instance_info LONGTEXT;</div><div><br></div><div>* baymodel</div><div><br></div><div><div>    $ magnum baymodel-create —name kubernetes —keypair-id default \</div><div>                       --server-type bm \</div><div>                       --external-network-id public \</div><div>                       --fixed-network private \</div><div>                       --image-id fedora-k8s \</div><div>                       --flavor-id baremetal \</div><div>                       --network-driver flannel \</div><div>                       --coe kubernetes</div></div><div><br></div><div>* Fedora image</div><div>Following procedure depends on diskimage-builder fix: <a href="https://review.openstack.org/#/c/247296/" target="_blank">https://review.openstack.org/#/c/247296/</a></div><div><a href="https://review.openstack.org/#/c/320968/10/magnum/elements/kubernetes/README.md" target="_blank">https://review.openstack.org/#/c/320968/10/magnum/elements/kubernetes/README.md</a></div><div><br></div><div>* my local.conf to setup ironic env</div><div><a href="http://paste.openstack.org/show/515877/" target="_blank">http://paste.openstack.org/show/515877/</a><br></div><div><br></div><div><br></div><div>Thanks</div><div>-yuanying</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">2016年5月25日(水) 22:00 Yuanying OTSUKA <<a href="mailto:yuanying@oeilvert.org" target="_blank">yuanying@oeilvert.org</a>>:<br></div><div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi, Spyros<div><br></div><div>I fixed a conflicts and upload following patch.</div><div>* <a href="https://review.openstack.org/#/c/320968/" target="_blank">https://review.openstack.org/#/c/320968/</a><br></div><div><br></div><div>But it isn’t tested yet, maybe it doesn’t work..</div><div>If you have a question, please feel free to ask.</div><div><br></div><div><br></div><div>Thanks</div><div>-yuanying</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">2016年5月25日(水) 17:56 Spyros Trigazis <<a href="mailto:strigazi@gmail.com" target="_blank">strigazi@gmail.com</a>>:<br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Yuanying,<div><br></div><div>please upload your workaround. I can test it and try to fix the conflicts.</div><div>Even if it conflicts we can have some iterations on it.</div><div><br></div><div>I'll upload later what worked for me on devstack.</div><div><br></div><div>Thanks,</div><div>Spyros <br></div></div><div dir="ltr"><div><div class="gmail_extra"><br><div class="gmail_quote">On 25 May 2016 at 05:13, Yuanying OTSUKA <span dir="ltr"><<a href="mailto:yuanying@oeilvert.org" target="_blank">yuanying@oeilvert.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi, Hongbin, Spyros.<div><br></div><div>I’m also interesting this work.</div><div>I have workaround patch to support ironic.</div><div>(but currently conflict with master.</div><div>Is it helpful to upload it for initial step of the implementation?</div><div><br></div><div>Thanks</div><div>-yuanying</div></div><br><div class="gmail_quote"><div dir="ltr">2016年5月25日(水) 6:52 Hongbin Lu <<a href="mailto:hongbin.lu@huawei.com" target="_blank">hongbin.lu@huawei.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div><div>





<div lang="EN-CA" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">Hi all,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">One of the most important feature that Magnum team wants to deliver in Newton is the full baremetal support. There is a blueprint [1] created for that and the blueprint was marked as “essential” (that is the
 highest priority). Spyros is the owner of the blueprint and he is looking for helps from other contributors. For now, we immediately needs help to fix the existing Ironic templates [2][3][4] that are used to provision a Kubernetes cluster on top of baremetal
 instances. These templates were used to work, but they become outdated right now. We need help to fix those Heat template as an initial step of the implementation. Contributors are expected to follow the Ironic devstack guide to setup the environment. Then,
 exercise those templates in Heat.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">If you interest to take the work, please contact Spyros or me and we will coordinate the efforts.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">[1] <a href="https://blueprints.launchpad.net/magnum/+spec/magnum-baremetal-full-support" target="_blank">https://blueprints.launchpad.net/magnum/+spec/magnum-baremetal-full-support</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">[2] <a href="https://github.com/openstack/magnum/blob/master/magnum/templates/kubernetes/kubecluster-fedora-ironic.yaml" target="_blank">
https://github.com/openstack/magnum/blob/master/magnum/templates/kubernetes/kubecluster-fedora-ironic.yaml</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">[3] <a href="https://github.com/openstack/magnum/blob/master/magnum/templates/kubernetes/kubemaster-fedora-ironic.yaml" target="_blank">
https://github.com/openstack/magnum/blob/master/magnum/templates/kubernetes/kubemaster-fedora-ironic.yaml</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">[4] <a href="https://github.com/openstack/magnum/blob/master/magnum/templates/kubernetes/kubeminion-fedora-ironic.yaml" target="_blank">
https://github.com/openstack/magnum/blob/master/magnum/templates/kubernetes/kubeminion-fedora-ironic.yaml</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">Best regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">Hongbin<u></u><u></u></span></p>
</div>
</div></div></div>

__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div></div></div>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div></blockquote></div></div></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div></div></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div></div>