<div dir="ltr">This is an update on what has been achieved the last month with the regard of Containerized Undercloud efforts in TripleO:<br><div><br></div><div>## CI</div><div>- Running OVB (ovs-ha, fs001) with a containerized undercloud: it finally works, with some workarounds, all work in progress.</div><div>Results can be seen here:</div><div><a href="https://logs.rdoproject.org/56/542556/79/openstack-check/gate-tripleo-ci-centos-7-ovb-3ctlr_1comp-featureset001-master/Ze1390e6e0df54a88836d75316da4b206/console.txt.gz#_2018-03-24_06_07_23_171" target="_blank">https://logs.rdoproject.org/<wbr>56/542556/79/openstack-check/<wbr>gate-tripleo-ci-centos-7-ovb-<wbr>3ctlr_1comp-featureset001-<wbr>master/<wbr>Ze1390e6e0df54a88836d75316da4b<wbr>206/console.txt.gz#_2018-03-<wbr>24_06_07_23_171</a></div><div>List of workarounds/blockers:</div><div>* we need a new release of python-openstackclient that includes <a href="https://review.openstack.org/#/c/553374/" target="_blank">https://review.<wbr>openstack.org/#/c/553374/</a> and therefore we need <a href="https://review.openstack.org/#/c/553026/" target="_blank">https://review.openstack.<wbr>org/#/c/553026/</a></div><div>* container workflow to be finished (sbaker is on it) (in the meantime we're loading envs in quickstart).</div><div>* masquerading workaround: <a href="https://review.openstack.org/#/c/553620" target="_blank">https://review.<wbr>openstack.org/#/c/553620</a> (long term solution will be <a href="https://review.openstack.org/#/c/553427/" target="_blank">https://review.openstack.<wbr>org/#/c/553427/</a> but still WIP)</div><div>Once we clear the workarounds/blockers and have a clean / stable deployment, we'll switch featureset001 (ovb-ha) to deploy a containerized undercloud. The target was end of rocky-m1 and we still aim for it.</div><div><br></div><div>- Running an CI job that test upgrades from a non containerized undercloud on Queens to a containerized undercloud on Rocky. Work is in progress and can be monitored here: <a href="https://review.openstack.org/#/c/553633/" target="_blank">https://review.<wbr>openstack.org/#/c/553633/</a></div><div>Special thanks to the Upgrade squads who help a lot on that front!</div><div><br></div><div>## Upgrades support</div><div>We said we would provide a way to upgrade a non containerized undercloud to a containerized undercloud by rocky-m1 and we still aim for it.</div><div>This is a demo of an upgrade from Queens (non containerized) to Rocky (containerized): <a href="https://youtu.be/5gLKL3YkC2c">https://youtu.be/5gLKL3YkC2c</a></div><div>We'll wait a bit for feedback from the demo and start documenting. Note that most of the workflow remains the same as before (we still use openstack undercloud upgrade command).</div><div>We'll also continue to push efforts to have this workflow tested by the CI job in progress.</div><div><br></div><div>## Other items</div><div>- TripleO UI has been containerized.</div><div>- Routed networks is still in progress by Harald (we probably aim for rocky-m2 now).</div><div>- We're investigating some way to validate than an upgrade to a containerized undercloud worked fine (with Ansible?). More to come.</div><div>- Containerization of Tempest so we can run Tempest against a containerized undercloud and also investigate how we could switch CI scenarios to be deployed on one node.</div><div>- Port the TLS by default done in instack-undercloud.</div><div><br></div><div>Any feedback or help on testing is very welcome.</div><div>All efforts can be seen here: <a href="https://trello.com/b/nmGSNPoQ/containerized-undercloud" target="_blank">https://trello.com/b/<wbr>nmGSNPoQ/containerized-<wbr>undercloud</a></div><div><br></div><div>Thanks everyone who helped in these efforts so far!</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 18, 2018 at 10:18 AM, Emilien Macchi <span dir="ltr"><<a href="mailto:emilien@redhat.com" target="_blank">emilien@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">This is an update on what has been achieved this week with the regard of Containerized Undercloud efforts in TripleO:<div><br></div><div>TL;DR: really good efforts have been made and we can now deploy a full (multinode) overcloud in CI. OVB testing in progress and lot of remaining items!</div><div><br></div><div>## Bugfixes</div><div>docker-registry: add missing firewall rules - <a href="https://review.openstack.org/#/c/545185/" target="_blank">https://review.openstack.<wbr>org/#/c/545185/</a><br></div><div>mistral-executor: mount /var/lib/mistral - <a href="https://review.openstack.org/#/c/545143/" target="_blank">https://review.openstack.<wbr>org/#/c/545143/</a><br></div><div>docker: configure group/user for deployment_user - <a href="https://review.openstack.org/#/c/544761/" target="_blank">https://review.openstack.<wbr>org/#/c/544761/</a> + dependencies<br></div><div>Fix PublicVirtualFixedIPs in envs - <a href="https://review.openstack.org/#/c/544744/" target="_blank">https://review.openstack.<wbr>org/#/c/544744/</a><br></div><div>Align zaqar max_messages_post_size with undercloud - <a href="https://review.openstack.org/#/c/544756/" target="_blank">https://review.openstack.<wbr>org/#/c/544756/</a><br></div><div>undercloud_post: fix subnet name - <a href="https://review.openstack.org/#/c/544587/" target="_blank">https://review.openstack.<wbr>org/#/c/544587/</a><br></div><div><br></div><div>## CI</div><div>We manage to run a containerized overcloud deployed by a containerized undercloud in CI, results can be seen here: <a href="https://review.openstack.org/#/c/542906/" target="_blank">https://review.<wbr>openstack.org/#/c/542906/</a></div><div>The job is running on featureser010 now (for testing purpose) but as James mentioned in the review, we won't switch this job to run a containerized undercloud. Note there is no impact on the job runtime.</div><div>We'll need to properly deprecate the non-containerized undercloud first but we'll need to find a CI job that we can use for gating, so we avoid regression during the cycle.</div><div>Now we're working on deploying featureset001 (ovb-ha), with TLS, net-iso, Ironic/Nova/Neutron (baremetal bits) from a containerized undercloud:</div><div><a href="https://review.openstack.org/#/c/542556/" target="_blank">https://review.openstack.org/#<wbr>/c/542556/</a></div><div>It's not working yet but we're working toward the blockers as they come during testing.</div><div><br></div><div># TLS Support</div><div>All patches that were in progress have been merged, and now under testing in ovb-ha + containerized u/c (see above).</div><div><br></div><div># UI Support</div><div>Work is still in progress, patches are ready for review, but some one them don't pass pep8 yet. We'll hopefully fix it soon.</div><div><br></div><div># Other items</div><div>routed ctlplane networking: Harald is currently making progress on the items, some patches are ready for review.<br></div><div>Create temp copy of tripleo-heat-templates before processing them: Bogdan is working on <a href="https://review.openstack.org/#/c/542875" target="_blank">https://review.openstack.<wbr>org/#/c/542875</a> - the patch is under review!<br></div><div>Upgrades: no work has been started so far but we'll probably discuss about this topic during the PTG.</div><div><br></div><div>As usual please comment or add anything that I missed.</div><div>Thanks all for your help/reviews/efforts so far,</div><div><br></div><div>Emilien</div><div><br></div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Tue, Feb 13, 2018 at 6:41 AM, Emilien Macchi <span dir="ltr"><<a href="mailto:emilien@redhat.com" target="_blank">emilien@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Tue, Feb 13, 2018 at 2:40 AM, Harald Jensås <span dir="ltr"><<a href="mailto:hjensas@redhat.com" target="_blank">hjensas@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="m_-3932755758325474749m_4585904838679609651gmail-">On Fri, 2018-02-09 at 14:39 -0800, Emilien Macchi wrote:<br>
> On Fri, Feb 9, 2018 at 2:30 PM, James Slagle <<a href="mailto:james.slagle@gmail.com" target="_blank">james.slagle@gmail.com</a>><br>
> wrote:<br>
> [...]<br>
><br>
> > You may want to add an item for the routed ctlplane work that<br>
> > landed<br>
> > at the end of Queens. Afaik, that will need to be supported with<br>
> > the<br>
> > containerized undercloud.<br>
><br>
> Done: <a href="https://trello.com/c/kFtIkto1/17-routed-ctlplane-networking" rel="noreferrer" target="_blank">https://trello.com/c/kFt<wbr>Ikto1/17-routed-ctlplane-netwo<wbr>rking</a><br>
><br>
<br>
</span>Tanks Emilien,<br>
<br>
<br>
I added several work items to the Trello card, and a few patches. Still<br>
WiP.<br>
<br>
Do we have any CI that use containerized undercloud with actual Ironic<br>
deployement? Or are they all using deployed-server?<br>
<br>
E.g do we have anything actually testing this type of change?<br>
   <a href="https://review.openstack.org/#/c/543582" rel="noreferrer" target="_blank">https://review.openstack.org/<wbr>#/c/543582</a><br>
<br>
I belive that would have to be an ovb job with containerized undercloud?<br></blockquote><div><br></div></span><div>I'm working on it since last week: <a href="https://trello.com/c/uLqbHTip/13-switch-other-jobs-to-run-a-containerized-undercloud" target="_blank">https://trello.com/c/uLq<wbr>bHTip/13-switch-other-jobs-to-<wbr>run-a-containerized-undercloud</a></div><div>But currently trying to make things stable again, we introduce regressions and this is high prio now. </div></div><span class="m_-3932755758325474749HOEnZb"><font color="#888888">-- <br><div class="m_-3932755758325474749m_4585904838679609651gmail_signature"><div dir="ltr">Emilien Macchi<br></div></div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_-3932755758325474749gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Emilien Macchi<br></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Emilien Macchi<br></div></div>
</div>