<html 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="Title" content="">
<meta name="Keywords" content="">
<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;}
@font-face
{font-family:Menlo;
panose-1:2 11 6 9 3 8 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:Calibri;}
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;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Calibri;
color:windowtext;}
p.p1, li.p1, div.p1
{mso-style-name:p1;
margin:0cm;
margin-bottom:.0001pt;
background:white;
font-size:8.5pt;
font-family:Menlo;
color:black;}
p.p2, li.p2, div.p2
{mso-style-name:p2;
margin:0cm;
margin-bottom:.0001pt;
background:white;
font-size:8.5pt;
font-family:Menlo;
color:#34BC26;}
span.s1
{mso-style-name:s1;
color:#34BC26;}
span.s3
{mso-style-name:s3;
color:#5230E1;}
span.s4
{mso-style-name:s4;
color:black;}
span.s2
{mso-style-name:s2;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
span.msoIns
{mso-style-type:export-only;
mso-style-name:"";
text-decoration:underline;
color:teal;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:Calibri;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">What is expected for the “--nets network=...” parameter on zun run or create ?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Is it the network name, the subnet name, the network uuid, the subnet uuid, ... I think I’ve tried them all and none work.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Full logs:<o:p></o:p></span></p>
<p class="p1"><span class="s1"><b>stack@devstack-zun</b></span><span class="s2">:</span><span class="s3"><b>~/devstack</b></span><span class="s2">$ neutron net-list</span><o:p></o:p></p>
<p class="p1"><span class="s2">neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.</span><o:p></o:p></p>
<p class="p1"><span class="s2">+--------------------------------------+---------+----------------------------------+----------------------------------------------------------+</span><o:p></o:p></p>
<p class="p1"><span class="s2">| id </span><span class="apple-converted-space">
</span><span class="s2">| name</span><span class="apple-converted-space"> </span>
<span class="s2">| tenant_id</span><span class="apple-converted-space">
</span><span class="s2">| subnets</span><span class="apple-converted-space">
</span><span class="s2">|</span><o:p></o:p></p>
<p class="p1"><span class="s2">+--------------------------------------+---------+----------------------------------+----------------------------------------------------------+</span><o:p></o:p></p>
<p class="p1"><span class="s2">| c1731d77-c849-4b6b-b5e9-85030c8c6b52 | public</span><span class="apple-converted-space">
</span><span class="s2">| dcea3cea809f40c1a53b85ec3522de36 | aec0bc66-fb6a-453b-93c7-d04537a6bb05 2001:db8::/64
</span><span class="apple-converted-space"> </span><span class="s2">|</span><o:p></o:p></p>
<p class="p1"><span class="s2">|</span><span class="apple-converted-space">
</span><span class="s2">| </span><span class="apple-converted-space"> </span>
<span class="s2">|</span><span class="apple-converted-space">
</span><span class="s2">| 8c881229-982e-417b-bbaa-e86d6192afa6 172.24.4.0/24 </span>
<span class="apple-converted-space"> </span><span class="s2">|</span><o:p></o:p></p>
<p class="p1"><span class="s2">| c59455d9-c103-4c05-b28c-a1f5d041d804 | private | c8398b3154094049960e86b3caba1a4a | e12679b1-87e6-42cf-a2fe-e0f954dbd15f fdac:1365:7242::/64 |</span><o:p></o:p></p>
<p class="p1"><span class="s2">|</span><span class="apple-converted-space">
</span><span class="s2">| </span><span class="apple-converted-space"> </span>
<span class="s2">|</span><span class="apple-converted-space">
</span><span class="s2">| a1fc0a84-8cae-4193-8d33-711b612529b7 10.0.0.0/26 </span>
<span class="apple-converted-space"> </span><span class="s2">|</span><o:p></o:p></p>
<p class="p1"><span class="s2">+--------------------------------------+---------+----------------------------------+----------------------------------------------------------+</span><o:p></o:p></p>
<p class="p2"><span class="s2"><b>stack@devstack-zun</b></span><span class="s4">:</span><span class="s3"><b>~/devstack</b></span><span class="s4">$</span><span class="apple-converted-space"><span style="color:black"> </span></span><o:p></o:p></p>
<p class="p2"><span class="s2"><b>stack@devstack-zun</b></span><span class="s4">:</span><span class="s3"><b>~/devstack</b></span><span class="s4">$</span><span class="apple-converted-space"><span style="color:black"> </span></span><o:p></o:p></p>
<p class="p2"><span class="s2"><b>stack@devstack-zun</b></span><span class="s4">:</span><span class="s3"><b>~/devstack</b></span><span class="s4">$</span><span class="apple-converted-space"><span style="color:black"> </span></span><o:p></o:p></p>
<p class="p2"><span class="s2"><b>stack@devstack-zun</b></span><span class="s4">:</span><span class="s3"><b>~/devstack</b></span><span class="s4">$</span><span class="apple-converted-space"><span style="color:black"> </span></span><o:p></o:p></p>
<p class="p1"><span class="s1"><b>stack@devstack-zun</b></span><span class="s2">:</span><span class="s3"><b>~/devstack</b></span><span class="s2">$ zun run --name ctn-ping --nets network=private cirros ping 8.8.8.8</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">...<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span style="font-size:8.5pt;font-family:Menlo;color:#34BC26">stack@devstack-zun</span></b><span style="font-size:8.5pt;font-family:Menlo;color:black">:</span><b><span style="font-size:8.5pt;font-family:Menlo;color:#5230E1">~/devstack</span></b><span style="font-size:8.5pt;font-family:Menlo;color:black">$
zun list</span><span style="font-size:8.5pt;font-family:Menlo;color:#34BC26"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:8.5pt;font-family:Menlo;color:black">+--------------------------------------+----------+--------+--------+------------+-----------+-------+<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:8.5pt;font-family:Menlo;color:black">| uuid | name | image | status | task_state | addresses | ports |<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:8.5pt;font-family:Menlo;color:black">+--------------------------------------+----------+--------+--------+------------+-----------+-------+<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:8.5pt;font-family:Menlo;color:black">| 649724f6-2ccd-4b21-8684-8f6616228d86 | ctn-ping | cirros | Error | None | | [] |<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:8.5pt;font-family:Menlo;color:black">+--------------------------------------+----------+--------+--------+------------+-----------+-------+<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span style="font-size:8.5pt;font-family:Menlo;color:#34BC26">stack@devstack-zun</span></b><span style="font-size:8.5pt;font-family:Menlo;color:black">:</span><b><span style="font-size:8.5pt;font-family:Menlo;color:#5230E1">~/devstack</span></b><span style="font-size:8.5pt;font-family:Menlo;color:black">$
zun show ctn-ping | fgrep reason<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:8.5pt;font-family:Menlo;color:black">| status_</span><b><span style="font-size:8.5pt;font-family:Menlo;color:#C33720">reason</span></b><span style="font-size:8.5pt;font-family:Menlo;color:black">
| Docker internal error: 404 Client Error: Not Found ("network private not found"). |<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span style="font-size:8.5pt;font-family:Menlo;color:#34BC26">stack@devstack-zun</span></b><span style="font-size:8.5pt;font-family:Menlo;color:black">:</span><b><span style="font-size:8.5pt;font-family:Menlo;color:#5230E1">~/devstack</span></b><span style="font-size:8.5pt;font-family:Menlo;color:black">$ </span><span style="font-size:8.5pt;font-family:Menlo;color:#34BC26"><o:p></o:p></span></p>
<p class="p1"><span class="s1"><b>stack@devstack-zun</b></span><span class="s2">:</span><span class="s3"><b>~/devstack</b></span><span class="s2">$ zun delete ctn-ping</span><o:p></o:p></p>
<p class="p1"><span class="s2">Request to delete container ctn-ping has been accepted.</span><o:p></o:p></p>
<p class="p2"><span class="s2"><b>stack@devstack-zun</b></span><span class="s4">:</span><span class="s3"><b>~/devstack</b></span><span class="s4">$
<o:p></o:p></span></p>
<p class="p1"><span class="s1"><b>stack@devstack-zun</b></span><span class="s2">:</span><span class="s3"><b>~/devstack</b></span><span class="s2">$ zun run --name ctn-ping --nets network=c59455d9-c103-4c05-b28c-a1f5d041d804 cirros ping 8.8.8.8</span><o:p></o:p></p>
<p class="p2">...</p>
<p class="MsoNormal" style="background:white"><b><span style="font-size:8.5pt;font-family:Menlo;color:#34BC26">stack@devstack-zun</span></b><span style="font-size:8.5pt;font-family:Menlo;color:black">:</span><b><span style="font-size:8.5pt;font-family:Menlo;color:#5230E1">~/devstack</span></b><span style="font-size:8.5pt;font-family:Menlo;color:black">$
zun list</span><span style="font-size:8.5pt;font-family:Menlo;color:#34BC26"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:8.5pt;font-family:Menlo;color:black">+--------------------------------------+----------+--------+--------+------------+-----------+-------+<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:8.5pt;font-family:Menlo;color:black">| uuid | name | image | status | task_state | addresses | ports |<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:8.5pt;font-family:Menlo;color:black">+--------------------------------------+----------+--------+--------+------------+-----------+-------+<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:8.5pt;font-family:Menlo;color:black">| 6093bdc2-d288-4ea9-a98b-3ca055318c9e | ctn-ping | cirros | Error | None | | [] |<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:8.5pt;font-family:Menlo;color:black">+--------------------------------------+----------+--------+--------+------------+-----------+-------+<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span style="font-size:8.5pt;font-family:Menlo;color:#34BC26">stack@devstack-zun</span></b><span style="font-size:8.5pt;font-family:Menlo;color:black">:</span><b><span style="font-size:8.5pt;font-family:Menlo;color:#5230E1">~/devstack</span></b><span style="font-size:8.5pt;font-family:Menlo;color:black">$
zun show ctn-ping | fgrep reason<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:8.5pt;font-family:Menlo;color:black">| status_</span><b><span style="font-size:8.5pt;font-family:Menlo;color:#C33720">reason</span></b><span style="font-size:8.5pt;font-family:Menlo;color:black">
| Docker internal error: 404 Client Error: Not Found ("network c59455d9-c103-4c05-b28c-a1f5d041d804 not found"). |<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span style="font-size:8.5pt;font-family:Menlo;color:#34BC26">stack@devstack-zun</span></b><span style="font-size:8.5pt;font-family:Menlo;color:black">:</span><b><span style="font-size:8.5pt;font-family:Menlo;color:#5230E1">~/devstack</span></b><span style="font-size:8.5pt;font-family:Menlo;color:black">$ </span><span style="font-size:8.5pt;font-family:Menlo;color:#34BC26"><o:p></o:p></span></p>
<p class="p2"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Any ideas ?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Greg.<o:p></o:p></span></p>
</div>
</body>
</html>