<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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:等线;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@等线";
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"\@宋体";
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:微软雅黑;
panose-1:2 11 5 3 2 2 4 2 2 4;}
@font-face
{font-family:"\@微软雅黑";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:等线;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal;
font-family:等线;
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:等线;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.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="ZH-CN" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi Austin:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:11.25pt"><span lang="EN-US">Yes, there is no way to modify the prefix of mgmt. subnet cloud after unlocking controller-0, and I have deployed the whole context.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:11.25pt"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:11.25pt"><span lang="EN-US">Thanks for your reply.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Best regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">parkeryan<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US"><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" align="left" style="text-align:left"><b><span style="font-size:11.0pt">发件人<span lang="EN-US">:</span></span></b><span lang="EN-US" style="font-size:11.0pt"> Sun, Austin <austin.sun@intel.com>
<br>
</span><b><span style="font-size:11.0pt">发送时间<span lang="EN-US">:</span></span></b><span lang="EN-US" style="font-size:11.0pt"> 2019</span><span style="font-size:11.0pt">年<span lang="EN-US">12</span>月<span lang="EN-US">11</span>日<span lang="EN-US"> 23:22<br>
</span><b>收件人<span lang="EN-US">:</span></b><span lang="EN-US"> parkeryan(</span>闫志杰<span lang="EN-US">) <parkeryan@tencent.com>; starlingx-discuss@lists.starlingx.io<br>
</span><b>主题<span lang="EN-US">:</span></b><span lang="EN-US"> RE: How to modify management subnet_pool?(Internet mail)<o:p></o:p></span></span></p>
</div>
</div>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">Hi Parker:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> As command prompt , prefix of mgmt subnet could not be modified after cluster is setup.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">Thanks.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">BR<br>
Austin Sun. <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"><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" align="left" style="text-align:left"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> parkeryan(</span><span style="font-size:11.0pt;font-family:"微软雅黑",sans-serif">闫志杰</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">)
<<a href="mailto:parkeryan@tencent.com">parkeryan@tencent.com</a>> <br>
<b>Sent:</b> Wednesday, December 4, 2019 5:16 PM<br>
<b>To:</b> <a href="mailto:starlingx-discuss@lists.starlingx.io">starlingx-discuss@lists.starlingx.io</a><br>
<b>Subject:</b> [Starlingx-discuss] How to modify management subnet_pool?<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I have a problem while deploying StarlingX 2.0, and I found the management subnet-pool was not enough for context. Here is the log.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[sysadmin@controller-1 ~(keystone_admin)]$ system host-update 12 personality=worker hostname=compute-7<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Remote error: AddressPoolExhausted Address pool management has no available addresses<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[u'Traceback (most recent call last):\n', u'</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> File "/usr/lib64/python2.7/site-packages/sysinv/openstack/common/rpc/amqp.py",
line 438, in _process_data\n</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> **args)\n', u'</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> File "/usr/lib64/python2.7/site-packages/sysinv/openstack/common/rpc/dispatcher.py",
line 172, in dispatch\n</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> result = getattr(proxyobj, method)(ctxt, **kwargs)\n', u'</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US">
File "/usr/lib64/python2.7/site-packages/sysinv/conductor/manager.py", line 1643, in configure_ihost\n</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> self._configure_worker_host(context, host)\n', u'</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US">
File "/usr/lib64/python2.7/site-packages/sysinv/conductor/manager.py", line 1505, in _configure_worker_host\n</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> self._allocate_addresses_for_host(context, host)\n',
u'</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> File "/usr/lib64/python2.7/site-packages/sysinv/conductor/manager.py", line 1100, in _allocate_addresses_for_host\n</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US">
address_name).address\n', u'</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> File "/usr/lib64/python2.7/site-packages/sysinv/conductor/manager.py", line 1055, in _allocate_pool_address\n</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US">
interface_id, pool_uuid, address_name, dbapi=self.dbapi\n', u'</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> File "/usr/lib64/python2.7/site-packages/sysinv/api/controllers/v1/address_pool.py", line 416, in assign_address\n</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US">
ip_address = cls.allocate_address(pool, dbapi)\n', u'</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> File "/usr/lib64/python2.7/site-packages/sysinv/api/controllers/v1/address_pool.py", line 399, in allocate_address\n</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US">
raise exception.AddressPoolExhausted(name=pool.name)\n', u'AddressPoolExhausted: Address pool management has no available addresses\n'].<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">And I have to extend the management address pool.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[sysadmin@controller-0 sow(keystone_admin)]$ system addrpool-show d6ed7b27-4037-42db-97c7-676256b1c883<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">+---------------------+--------------------------------------+<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| Property</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> | Value</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US">
|<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">+---------------------+--------------------------------------+<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| uuid</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> | d6ed7b27-4037-42db-97c7-676256b1c883 |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| name</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> | management</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US">
|<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| network</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> | 192.168.204.0</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US">
|<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| prefix</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> | 28</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US">
|<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| order</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> | random</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US">
|<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| ranges</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> | ['192.168.204.2-192.168.204.14']</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US">
|<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| floating_address</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> | 192.168.204.2</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US">
|<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| controller0_address | 192.168.204.3</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| controller1_address | 192.168.204.4</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| gateway_address</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> | None</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US">
|<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">+---------------------+--------------------------------------+<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I am trying to extend the ranges by </span>
‘<span lang="EN-US">system addrpool-modify</span>’<span lang="EN-US">, but it reminds the prefix can only be modified during bootstrap phase,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[sysadmin@controller-0 sow(keystone_admin)]$ system help addrpool-modify
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">usage: system addrpool-modify [--name <name>] [--ranges <ranges>]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> [--order <sequential | random>]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US">
</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US">[--prefix <prefix>]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> <address_pool uuid><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Modify interface attributes.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Positional arguments:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> <address_pool uuid></span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> UUID of IP address pool entry<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Optional arguments:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> --name <name></span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> Name of the Address Pool]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> --ranges <ranges></span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> The inclusive range of addresses
to allocate<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> <startaddr1-endaddr1>[,<startaddr2-endaddr2>,...]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> --order <sequential | random><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> The allocation order within the start/end range<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> --prefix <prefix></span><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"> CIDR prefix, only modifiable during
bootstrap phase.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Anybody can tell me how to make the controller node and the compute node into bootstrap phase or I should redeploy the whole context from start, thanks in advance.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</body>
</html>