<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
@font-face
{font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
a:link, span.MsoHyperlink
{color:#0563C1;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:#954F72;
text-decoration:underline}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
p.msonormal0, li.msonormal0, div.msonormal0
{margin-right:0in;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif}
span.EmailStyle19
{font-family:"Calibri",sans-serif;
color:windowtext}
span.EmailStyle20
{font-family:"Calibri",sans-serif;
color:#1F497D}
span.EmailStyle22
{font-family:"Calibri",sans-serif;
color:windowtext}
span.author-a-z76z1z71zz68zz80zz75zz78zaz87zz72zz84zez68zz88znq
{}
span.SpellE
{}
.MsoChpDefault
{font-size:10.0pt}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
{}
-->
</style><style type="text/css" id="owaParaStyle"></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="" fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div class="WordSection1">
<p class="MsoNormal"><span style="">Thanks Kristine. From the doc update perspective, we’ve added this as a new task to
<a href="https://storyboard.openstack.org/#!/story/2006289" target="_blank" rel="noopener noreferrer">
https://storyboard.openstack.org/#!/story/2006289</a>. </span></p>
<p class="MsoNormal"><span style=""> </span></p>
<p class="MsoNormal"><span style="">-- Mike and team</span></p>
<p class="MsoNormal"><span style=""> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><a name="_MailOriginal"></a><a name="_____replyseparator"></a><span style=""><b><span style="">From:</span></b></span><span style=""><span style=""> Liu, Yang <yang.liu@windriver.com>
<br>
<b>Sent:</b> Tuesday, August 13, 2019 10:04 AM<br>
<b>To:</b> Bujold, Kristine <Kristine.Bujold@windriver.com>; starlingx-discuss@lists.starlingx.io<br>
<b>Cc:</b> <span class="SpellE">Balaraj</span>, Juanita <Juanita.Balaraj@windriver.com><br>
<b>Subject:</b> Re: [<span class="SpellE">Starlingx</span>-discuss] [DOCS] new host-fs CLI commands</span></span></p>
</div>
</div>
<p class="MsoNormal"><span style=""> </span></p>
<p class="MsoNormal"><span style=""><span style="color:#1F497D">Hi Kristine, </span>
</span></p>
<p class="MsoNormal"><span style=""><span style="color:#1F497D"> </span></span></p>
<p class="MsoNormal"><span style=""><span style="color:#1F497D">What is the current expectation for backup fs when modify
<span class="SpellE">controllerfs</span>?</span></span></p>
<p class="MsoNormal"><span style=""><span style="color:#1F497D">e.g., if we want to increase any replicated controller fs, do we first need to modify non-replicated backup fs on both controllers to ensure there are enough spaces for all the replicated and non-replicated
file systems?</span></span></p>
<p class="MsoNormal"><span style=""><span style="color:#1F497D"> </span></span></p>
<p class="MsoNormal"><span style=""><span style="color:#1F497D">Thanks,</span></span></p>
<p class="MsoNormal"><span style=""><span style="color:#1F497D">Yang </span></span></p>
<p class="MsoNormal"><span style=""><span style="color:#1F497D"> </span></span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style=""><span style=""><b><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif">From:</span></b></span><span style=""><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif"> Bujold, Kristine [</span></span><a href="mailto:Kristine.Bujold@windriver.com" target="_blank" rel="noopener noreferrer"><span style=""><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif">mailto:Kristine.Bujold@windriver.com</span></span><span style=""></span></a><span style=""><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif">]
<br>
<b>Sent:</b> August-13-19 12:49 PM<br>
<b>To:</b> </span></span><a href="mailto:starlingx-discuss@lists.starlingx.io" target="_blank" rel="noopener noreferrer"><span style=""><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif">starlingx-discuss@lists.starlingx.io</span></span><span style=""></span></a><span style=""><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif"><br>
<b>Cc:</b> <span class="SpellE">Balaraj</span>, Juanita<br>
<b>Subject:</b> [<span class="SpellE">Starlingx</span>-discuss] [DOCS] new host-fs CLI commands</span></span></p>
</div>
</div>
<p class="MsoNormal"><span style=""> </span></p>
<p class="MsoNormal"><span style="">A new CLI command called host-fs has been introduced to enable resizing of filesystems on a specific host. Changes were also made to the
<span class="SpellE">controllerfs</span> API.</span></p>
<p class="MsoNormal"><span style=""> </span></p>
<p class="MsoNormal"><span style=""></span><a href="https://bugs.launchpad.net/starlingx/+bug/1830142" target="_blank" rel="noopener noreferrer"><span style="">https://bugs.launchpad.net/starlingx/+bug/1830142</span><span style=""></span></a><span style=""></span></p>
<p class="MsoNormal"><span style=""> </span></p>
<p class="MsoNormal"><span style=""> </span></p>
<p class="MsoNormal"><span style=""><b><span style="font-size:14.0pt">Previously</span></b></span></p>
<p class="MsoNormal"><span style="">Previously we allowed resizing of our filesystems through the
<span class="SpellE">controllerfs</span> API, which only applied to controller hosts. The
<span class="SpellE">controllerfs</span> API modified the following filesystems; </span>
</p>
<p class="MsoNormal" style="margin-left:.5in; text-autospace:none"><span style="">-
<span class="SpellE"><b>drbd</b></span><b> replicated</b></span></p>
<p class="MsoNormal" style="margin-left:.5in; text-autospace:none"><span style=""> database</span></p>
<p class="MsoNormal" style="margin-left:.5in; text-autospace:none"><span style=""> docker-distribution</span></p>
<p class="MsoNormal" style="margin-left:.5in; text-autospace:none"><span style="">
<span class="SpellE">etcd</span></span></p>
<p class="MsoNormal" style="margin-left:.5in; text-autospace:none"><span style=""> extension</span></p>
<p class="MsoNormal" style="margin-left:.5in; text-autospace:none"><span style=""> glance</span></p>
<p class="MsoNormal" style="margin-left:.5in; text-autospace:none"><span style=""> </span></p>
<p class="MsoNormal" style="margin-left:.5in; text-autospace:none"><span style="">-
<b>non replicated</b></span></p>
<p class="MsoNormal" style="margin-left:.5in; text-autospace:none"><span style=""> backup</span></p>
<p class="MsoNormal" style="margin-left:.5in; text-autospace:none"><span style=""> docker
</span></p>
<p class="MsoNormal" style="margin-left:.5in; text-autospace:none"><span style=""> scratch</span></p>
<p class="MsoNormal"><span style=""> </span></p>
<p class="MsoNormal"><span style=""> </span></p>
<p class="MsoNormal"><span style=""><b><span style="font-size:14.0pt">New host-fs API</span></b></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="">A new host-fs API has been created to allow a filesystem to be resized on any specific host. The non
<span class="SpellE">drbd</span> filesystems from <span class="SpellE">controllerfs</span> (backup, docker and scratch) have been moved to the new host-fs API. Also a new filesystem called "<span class="SpellE">kublet</span>" has been created on all hosts with
a default size of 10G.</span></p>
<p class="MsoNormal"><span style=""> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="">The new API has the following CLI commands
</span></p>
<p class="MsoNormal" style="margin-left:.5in; text-autospace:none"><span style="">system host-fs-list <hostname or id></span></p>
<p class="MsoNormal" style="margin-left:.5in; text-autospace:none"><span style="">system host-fs-modify <hostname or id> <<span class="SpellE">fs_name</span>=size> [<<span class="SpellE">fs_name</span>=size> ...]</span></p>
<p class="MsoNormal" style="margin-left:.5in; text-autospace:none"><span style="">system host-host-show <hostname or id> <fs name or
<span class="SpellE">uuid</span>> </span></p>
<p class="MsoNormal"><span style=""> </span></p>
<p class="MsoNormal"><span style=""> </span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">system host-fs-list controller-1</span></span><span style=""><span style="font-size:8.0pt; font-family:"Calibri",sans-serif; color:black"></span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">+--------------------------------------+---------+-------------+----------------+</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">| UUID | FS Name | Size in
<span class="SpellE">GiB</span> | Logical Volume |</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">+--------------------------------------+---------+-------------+----------------+</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">| a4d83571-a555-4ba5-999f-af709206ae35 | backup | 40 | backup-lv |</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">| d57652a1-af17-47b8-b941-9ebfeee4a56f | docker | 30 | docker-lv |</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">| a84374c6-8917-4db5-bd34-2a8d244f2bf6 |
<span class="SpellE">kubelet</span> | 10 | <span class="SpellE">kubelet</span>-lv |</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">| 2c026d6f-5c03-4135-abca-c0047aa7f5a6 | scratch | 8 | scratch-lv |</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">+--------------------------------------+---------+-------------+----------------+</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black"> </span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">system host-fs-list compute-1</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">+--------------------------------------+---------+-------------+----------------+</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">| UUID | FS Name | Size in
<span class="SpellE">GiB</span> | Logical Volume |</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">+--------------------------------------+---------+-------------+----------------+</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">| 32e8b0b2-8a26-4c87-ae2e-71477b276740 | docker | 30 | docker-lv |</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">| 223671f7-aed0-4c6e-b1d2-1327aae74439 |
<span class="SpellE">kubelet</span> | 10 | <span class="SpellE">kubelet</span>-lv |</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">| 36b96d05-febb-411b-a290-abdc5a2be0ff | scratch | 4 | scratch-lv |</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">+--------------------------------------+---------+-------------+----------------+</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black"> </span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">system host-fs-show controller-1 a4d83571-a555-4ba5-999f-af709206ae35</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">+----------------+--------------------------------------+</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">| Property | Value |</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">+----------------+--------------------------------------+</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">|
<span class="SpellE">uuid</span> | a4d83571-a555-4ba5-999f-af709206ae35 |</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">| name | backup |</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">| size | 40 |</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">|
<span class="SpellE">logical_volume</span> | backup-lv |</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">|
<span class="SpellE">created_at</span> | 2019-08-08T03:05:25.341669+00:00 |</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">|
<span class="SpellE">updated_at</span> | None |</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">+----------------+--------------------------------------+</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black"> </span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">system host-fs-modify controller-1 docker=31
<span class="SpellE">kubelet</span>=11</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">+--------------------------------------+---------+-------------+----------------+</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">| UUID | FS Name | Size in
<span class="SpellE">GiB</span> | Logical Volume |</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">+--------------------------------------+---------+-------------+----------------+</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">| a4d83571-a555-4ba5-999f-af709206ae35 | backup | 40 | backup-lv |</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">| d57652a1-af17-47b8-b941-9ebfeee4a56f | docker | 31 | docker-lv |</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">| a84374c6-8917-4db5-bd34-2a8d244f2bf6 |
<span class="SpellE">kubelet</span> | 11 | <span class="SpellE">kubelet</span>-lv |</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">| 2c026d6f-5c03-4135-abca-c0047aa7f5a6 | scratch | 8 | scratch-lv |</span></span></p>
<p style="margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt">
<span style=""><span style="font-size:8.0pt; font-family:"Courier New"; color:black">+--------------------------------------+---------+-------------+----------------+</span></span></p>
<p class="MsoNormal"><span style=""> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style=""><span style="font-family:"Courier New""> </span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style=""><b>Filesystem Supported Hosts Folder Logical Volume Default Size</b>
</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="">backup controller /opt/backups backup-lv 40G</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="">scratch all hosts /scratch scratch-lv varies depending on system, configured in kickstart</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="">docker all hosts /var/lib/docker docker-lv 30G (new fs to worker and storage hosts)</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style=""><span class="SpellE">kublet</span> all hosts /var/lib/<span class="SpellE">kublet</span> <span class="SpellE">kublet</span>-lv
10G (new fs to all hosts)</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style=""> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style=""> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style=""><b><span style="font-size:14.0pt">Changes to
<span class="SpellE">controllerfs</span> API</span></b></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="">The existing “platform” filesystem is now resizable and added to
<span class="SpellE">controllerfs</span>. The “glance” filesystem is now merged into platform. Below are the new filesystems resizable by
<span class="SpellE">controllerfs</span>. The backup, docker and scratch filesystems are now resizable under host-fs.</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style=""><span style="font-family:"Courier New""> </span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style=""><b>Filesystem Folder Logical Volume Default Size</b>
</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="">database /var/lib/<span class="SpellE">postgresql</span>
<span class="SpellE">pgsql</span>-lv 40G</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="">docker-distribution /var/lib/docker-distribution
<span class="SpellE">dockerdistribution</span>-lv 16G</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style=""><span class="SpellE">etcd</span> /opt/<span class="SpellE">etcd</span>
<span class="SpellE">etcd</span>-lv 5G</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="">extension /opt/extension extension-lv 1G</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style=""><s>glance /opt/<span class="SpellE">cgcs</span> <span class="SpellE">cgcs</span>-lv
20g (removed and merged with platform)</s></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="">platform /opt/platform platform-lv 10G</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style=""><s>backup /opt/backups backup-lv managed by host-fs</s></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style=""><s>scratch /scratch scratch-lv managed by host-fs</s></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style=""><s>docker /var/lib/docker docker-lv managed by host-fs</s></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style=""> </span></p>
<p class="MsoNormal"><span style=""> </span></p>
<p class="MsoNormal"><span style="">Thanks,</span></p>
<p class="MsoNormal"><span style="">Kristine </span></p>
</div>
</div>
</body>
</html>