<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 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri",sans-serif;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:12.0pt;color:#1F497D">Adding thread to starlingx-discuss@lists.starlingx.io.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>From:</b> Kumar, Sharath <br>
<b>Sent:</b> Wednesday, August 12, 2020 10:02 AM<br>
<b>To:</b> Smith, Tyler <tyler.smith@windriver.com>; Bhat, Gopalkrishna <gopalkrishna.bhat@intel.com>; Das, Ambarish <ambarish.das@intel.com>; Penney, Don <Don.Penney@windriver.com>; Mukherjee, Sanjay K <sanjay.k.mukherjee@intel.com><br>
<b>Cc:</b> Wold, Saul <saul.wold@intel.com>; Jones, Bruce E <bruce.e.jones@intel.com>; Sun, Austin <austin.sun@intel.com>; Eslimi, Dariush <Dariush.Eslimi@windriver.com>; Wold, Saul <saul.wold@intel.com><br>
<b>Subject:</b> RE: Fault Containerization: Enable FM panels in Openstack Dashboard<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:#1F497D">Thanks a lot Tyler, it really helps.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>From:</b> Smith, Tyler <<a href="mailto:tyler.smith@windriver.com">tyler.smith@windriver.com</a>>
<br>
<b>Sent:</b> Wednesday, August 12, 2020 2:18 AM<br>
<b>To:</b> Kumar, Sharath <<a href="mailto:sharath.kumar@intel.com">sharath.kumar@intel.com</a>>; Bhat, Gopalkrishna <<a href="mailto:gopalkrishna.bhat@intel.com">gopalkrishna.bhat@intel.com</a>>; Das, Ambarish <<a href="mailto:ambarish.das@intel.com">ambarish.das@intel.com</a>>;
Penney, Don <<a href="mailto:Don.Penney@windriver.com">Don.Penney@windriver.com</a>>; Mukherjee, Sanjay K <<a href="mailto:sanjay.k.mukherjee@intel.com">sanjay.k.mukherjee@intel.com</a>><br>
<b>Cc:</b> Wold, Saul <<a href="mailto:saul.wold@intel.com">saul.wold@intel.com</a>>; Jones, Bruce E <<a href="mailto:bruce.e.jones@intel.com">bruce.e.jones@intel.com</a>>; Sun, Austin <<a href="mailto:austin.sun@intel.com">austin.sun@intel.com</a>>; Eslimi,
Dariush <<a href="mailto:Dariush.Eslimi@windriver.com">Dariush.Eslimi@windriver.com</a>>; Wold, Saul <<a href="mailto:saul.wold@intel.com">saul.wold@intel.com</a>><br>
<b>Subject:</b> RE: Fault Containerization: Enable FM panels in Openstack Dashboard<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks Sarath,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Ok I misunderstood the question, to build the flock layer you can use “build-pkgs starlingx-dashboard” to build our existing plugin. “build-pkgs python-django-horizon” will build horizon, but there shouldn’t
need to be any modifications to that.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">During development I tend to just copy over any altered files and restart horizon via “sm-restart service horizon”, or using the dev server as you mentioned should be fine too. As for your question from IRC,
the credentials to the dev server would be whatever is setup in keystone. Are you running the dev server on the controller? if not then you'll need to make sure your local_settings file is pointing to the controller via the openstack_host settings and others
as documented here: <a href="https://docs.openstack.org/horizon/latest/contributor/quickstart.html">
https://docs.openstack.org/horizon/latest/contributor/quickstart.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Tyler<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>From:</b> Kumar, Sharath [<a href="mailto:sharath.kumar@intel.com">mailto:sharath.kumar@intel.com</a>]
<br>
<b>Sent:</b> Tuesday, August 11, 2020 10:47 AM<br>
<b>To:</b> Bhat, Gopalkrishna <<a href="mailto:gopalkrishna.bhat@intel.com">gopalkrishna.bhat@intel.com</a>>; Smith, Tyler <<a href="mailto:tyler.smith@windriver.com">tyler.smith@windriver.com</a>>; Das, Ambarish <<a href="mailto:ambarish.das@intel.com">ambarish.das@intel.com</a>>;
Penney, Don <<a href="mailto:Don.Penney@windriver.com">Don.Penney@windriver.com</a>>; Mukherjee, Sanjay K <<a href="mailto:sanjay.k.mukherjee@intel.com">sanjay.k.mukherjee@intel.com</a>><br>
<b>Cc:</b> Wold, Saul <<a href="mailto:saul.wold@intel.com">saul.wold@intel.com</a>>; Jones, Bruce E <<a href="mailto:bruce.e.jones@intel.com">bruce.e.jones@intel.com</a>>; Sun, Austin <<a href="mailto:austin.sun@intel.com">austin.sun@intel.com</a>>; Eslimi,
Dariush <<a href="mailto:Dariush.Eslimi@windriver.com">Dariush.Eslimi@windriver.com</a>>; Wold, Saul <<a href="mailto:saul.wold@intel.com">saul.wold@intel.com</a>><br>
<b>Subject:</b> RE: Fault Containerization: Enable FM panels in Openstack Dashboard<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:#1F497D">Hi Tyler,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:#1F497D">Thank you for your time to let us present and review our approach document in the flock meeting.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:#1F497D">As discussed , attaching the approach document we presented today.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:#1F497D">To start with our approach, we need help on how to
<span style="background:yellow;mso-highlight:yellow">build GUI package</span> only in the flock layer. As an example, we can build fault using “build-pkg fault” command.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:#1F497D">Other queries are highlighted in the approach document. Please let us know if you need any clarifications.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:#1F497D">Sharath<o:p></o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>From:</b> Bhat, Gopalkrishna <<a href="mailto:gopalkrishna.bhat@intel.com">gopalkrishna.bhat@intel.com</a>>
<br>
<b>Sent:</b> Monday, August 10, 2020 10:15 PM<br>
<b>To:</b> Smith, Tyler <<a href="mailto:tyler.smith@windriver.com">tyler.smith@windriver.com</a>>; Das, Ambarish <<a href="mailto:ambarish.das@intel.com">ambarish.das@intel.com</a>>; Penney, Don <<a href="mailto:Don.Penney@windriver.com">Don.Penney@windriver.com</a>>;
Mukherjee, Sanjay K <<a href="mailto:sanjay.k.mukherjee@intel.com">sanjay.k.mukherjee@intel.com</a>><br>
<b>Cc:</b> Wold, Saul <<a href="mailto:saul.wold@intel.com">saul.wold@intel.com</a>>; Jones, Bruce E <<a href="mailto:bruce.e.jones@intel.com">bruce.e.jones@intel.com</a>>; Sun, Austin <<a href="mailto:austin.sun@intel.com">austin.sun@intel.com</a>>; Eslimi,
Dariush <<a href="mailto:Dariush.Eslimi@windriver.com">Dariush.Eslimi@windriver.com</a>>; Kumar, Sharath <<a href="mailto:sharath.kumar@intel.com">sharath.kumar@intel.com</a>>; Wold, Saul <<a href="mailto:saul.wold@intel.com">saul.wold@intel.com</a>><br>
<b>Subject:</b> RE: Fault Containerization: Enable FM panels in Openstack Dashboard<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-IN">Hello Tyler ,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN">Would like to give heads-up that Sanjay & Sharath wanted to present the updates on the 2<sup>nd</sup> approach mentioned in the below email in tomorrow’s community meeting .Hope you could be part of the meeting so that
we can align on the next steps<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><span lang="EN-IN">[Starlingx-discuss] StarlingX Config/DC/Flock/Upgrade Bi-weekly Meeting 6:30am UST/7pm BLR
<o:p></o:p></span></i></b></p>
<p class="MsoNormal"><span lang="EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN">Gopi<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>From:</b> Smith, Tyler <<a href="mailto:tyler.smith@windriver.com">tyler.smith@windriver.com</a>>
<br>
<b>Sent:</b> Friday, May 15, 2020 1:35 AM<br>
<b>To:</b> Das, Ambarish <<a href="mailto:ambarish.das@intel.com">ambarish.das@intel.com</a>>; Penney, Don <<a href="mailto:Don.Penney@windriver.com">Don.Penney@windriver.com</a>>; Mukherjee, Sanjay K <<a href="mailto:sanjay.k.mukherjee@intel.com">sanjay.k.mukherjee@intel.com</a>><br>
<b>Cc:</b> Wold, Saul <<a href="mailto:saul.wold@intel.com">saul.wold@intel.com</a>>; Jones, Bruce E <<a href="mailto:bruce.e.jones@intel.com">bruce.e.jones@intel.com</a>>; Bhat, Gopalkrishna <<a href="mailto:gopalkrishna.bhat@intel.com">gopalkrishna.bhat@intel.com</a>>;
<a href="mailto:starlingx-discuss@lists.starlingx.io">starlingx-discuss@lists.starlingx.io</a>; Sun, Austin <<a href="mailto:austin.sun@intel.com">austin.sun@intel.com</a>>; Eslimi, Dariush <<a href="mailto:Dariush.Eslimi@windriver.com">Dariush.Eslimi@windriver.com</a>><br>
<b>Subject:</b> RE: Fault Containerization: Enable FM panels in Openstack Dashboard<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal">Hi Ambarish & Sanjay<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">There were two approaches that were being looked at. The first was to use the same GUI plugin for both the platform horizon and containerized horizon, but only copy over the horizon 'enabled' files corresponding to the panels that we
want to enable (fault panels in the containerized case). This is the approach that was tried but it ended up not working and required lots of hacks during the docker image build step, such as modifying the code, which we really want to avoid. The reasons
it wasn't working weren't really clear to me, I didn't spend time debugging etc.<o:p></o:p></p>
<p class="MsoPlainText">Attached is some background on what was being discussed then.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">The decision was made to instead split our plugin into two, one for the platform panels, and one for just the fault panels. This will involve creating a new package next to starlingx-dashboard (in the same repo though) that has a similar
structure but only has the relevant fault components. Including:<o:p></o:p></p>
<p class="MsoPlainText">Api/fm.py<o:p></o:p></p>
<p class="MsoPlainText">Api/rest/fm.py<o:p></o:p></p>
<p class="MsoPlainText">Dashboards/admin/active_alarms/<o:p></o:p></p>
<p class="MsoPlainText">Static/dashboard/fault_management/<o:p></o:p></p>
<p class="MsoPlainText">Enabled/ -> need the fm related enabled files in here, along with the banner view header section definition (see ADD_HEADER_SECTIONS). These files will get copied over in the docker image build step. The only other instruction in
this step should be the csrftoken customization command from the attached email, which I think unfortunately is required.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">As for the settings for the containerized horizon, they are stored in the openstack helm application manifest here: openstack-armada-app/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">My understanding is fault management will remain in the platform as well. A distributed cloud deployment will also have to be tested, as the dc_admin dashboard also queries fm.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">There's decent documentation on the plugin structure upstream:
<a href="https://docs.openstack.org/horizon/latest/contributor/tutorials/plugin.html">
https://docs.openstack.org/horizon/latest/contributor/tutorials/plugin.html</a><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Let me know if you need more details<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Tyler<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>From:</b> Das, Ambarish [<a href="mailto:ambarish.das@intel.com">mailto:ambarish.das@intel.com</a>]
<br>
<b>Sent:</b> Wednesday, May 13, 2020 2:22 AM<br>
<b>To:</b> Penney, Don <<a href="mailto:Don.Penney@windriver.com">Don.Penney@windriver.com</a>>; Smith, Tyler <<a href="mailto:tyler.smith@windriver.com">tyler.smith@windriver.com</a>><br>
<b>Cc:</b> Wold, Saul <<a href="mailto:saul.wold@intel.com">saul.wold@intel.com</a>>; Jones, Bruce E <<a href="mailto:bruce.e.jones@intel.com">bruce.e.jones@intel.com</a>>; Bhat, Gopalkrishna <<a href="mailto:gopalkrishna.bhat@intel.com">gopalkrishna.bhat@intel.com</a>>;
<a href="mailto:starlingx-discuss@lists.starlingx.io">starlingx-discuss@lists.starlingx.io</a>; Mukherjee, Sanjay K <<a href="mailto:sanjay.k.mukherjee@intel.com">sanjay.k.mukherjee@intel.com</a>>; Sun, Austin <<a href="mailto:austin.sun@intel.com">austin.sun@intel.com</a>><br>
<b>Subject:</b> Fault Containerization: Enable FM panels in Openstack Dashboard<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-IN">Hello Tyler & Don,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN">We have started looking into the remaining work in Fault Containerization and looked into the earlier abandoned patch implementation (</span><a href="https://review.opendev.org/#/c/661423/">https://review.opendev.org/#/c/661423/</a>).<o:p></o:p></p>
<p class="MsoNormal">As we have joined the team newly, we would like to understand GUI and Horizon implementation and next steps to move forward regarding this pending activity.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We had a initial discussion regarding this with Saul and Austin and based on their inputs, we would like to have a discussion. Please let me know if you need any clarification.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks & regards,<o:p></o:p></p>
<p class="MsoNormal">Ambarish/Sanjay<o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-IN"><o:p> </o:p></span></p>
</div>
</body>
</html>