<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:"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:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">You can check it with<o:p></o:p></p>
<p class="MsoNormal"># openstack server list<o:p></o:p></p>
<p class="MsoNormal"># openstack port list<o:p></o:p></p>
<p class="MsoNormal">You need to see which port is allocated to VM<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>From:</b> Manula Thantriwatte <manulachathurika@gmail.com>
<br>
<b>Sent:</b> Thursday, July 18, 2019 12:03 PM<br>
<b>To:</b> Lenny Verkhovsky <lennyb@mellanox.com><br>
<b>Cc:</b> openstack-discuss <openstack-discuss@lists.openstack.org><br>
<b>Subject:</b> Re: Unable to ssh openstack instance<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Hi Lenny,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">When I trying to associate floating IP it asking port. What would be the default port for this ?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks !<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Thu, Jul 18, 2019 at 2:26 PM Manula Thantriwatte <<a href="mailto:manulachathurika@gmail.com">manulachathurika@gmail.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">Hi Lenny,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Got it. Need to source openrc file in devstack folder. <o:p>
</o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks !<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Thu, Jul 18, 2019 at 2:17 PM Manula Thantriwatte <<a href="mailto:manulachathurika@gmail.com" target="_blank">manulachathurika@gmail.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">Hi Lenny,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">When I run the above command it asking password. OS password and OpenStack admin password didn't work. Also I haven't set any password when installing DevStack.
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Is there a default password for this ?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks !<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Thu, Jul 18, 2019 at 1:10 PM Lenny Verkhovsky <<a href="mailto:lennyb@mellanox.com" target="_blank">lennyb@mellanox.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">You need to create public ip, add it to network port and try to ssh to the image<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"># openstack floating ip create public<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"># openstack floating ip set --port <portid> <floating ip><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Best Regards<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Lenny<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b>From:</b> Manula Thantriwatte <<a href="mailto:manulachathurika@gmail.com" target="_blank">manulachathurika@gmail.com</a>>
<br>
<b>Sent:</b> Thursday, July 18, 2019 10:28 AM<br>
<b>To:</b> openstack-discuss <<a href="mailto:openstack-discuss@lists.openstack.org" target="_blank">openstack-discuss@lists.openstack.org</a>><br>
<b>Subject:</b> Unable to ssh openstack instance<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi All,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I'm trying to ssh openstack image I have created using cirros image. But I'm getting following error.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">ssh: connect to host 172.24.4.147 port 22: No route to host<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">But when I go to the instance console I'm able to login.
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">For the security groups I have enable port 22.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I have associated floating IP as well.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">How to resolve this?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thanks !<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><br>
-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:black">Regards,</span><o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.5pt;color:#888888">Manula Chathurika Thantriwatte</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.5pt;color:#888888">phone : (+94) 772492511</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.5pt;color:#999999">email : <a href="mailto:manulachathurika@gmail.com" target="_blank">manulachathurika@gmail.com</a></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.5pt;color:#888888">Linkedin : <u><a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flk.linkedin.com%2Fin%2Fmanulachathurika&data=02%7C01%7Clennyb%40mellanox.com%7Cc222291f0dcd4084510308d70b5ecf33%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636990374142258575&sdata=pTyobgYI%2BSNC8niss1UPJuuN1Bd4uDxSFM7q69ZOrH0%3D&reserved=0" target="_blank"><span style="color:#1155CC">http://lk.linkedin.com/in/manulachathurika</span></a></u> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.5pt;color:#888888">blog : <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmanulachathurika.blogspot.com%2F&data=02%7C01%7Clennyb%40mellanox.com%7Cc222291f0dcd4084510308d70b5ecf33%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636990374142268566&sdata=5HuiwyVeH6cQQ9GQYRzEVC0n0XhB0JuHDedBleHmD9I%3D&reserved=0" target="_blank">http://manulachathurika.blogspot.com/</a></span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<br>
-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="color:black">Regards,</span><o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;color:#888888">Manula Chathurika Thantriwatte<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;color:#888888">phone : (+94) 772492511<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;color:#999999">email : <a href="mailto:manulachathurika@gmail.com" target="_blank">manulachathurika@gmail.com</a></span><span style="font-size:9.5pt;color:#888888"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;color:#888888">Linkedin : <u><a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flk.linkedin.com%2Fin%2Fmanulachathurika&data=02%7C01%7Clennyb%40mellanox.com%7Cc222291f0dcd4084510308d70b5ecf33%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636990374142278559&sdata=1nJvDghxv4tqhBcJxV7QLxfwMtR86Hq3s2tKjDfIG3c%3D&reserved=0" target="_blank"><span style="color:#1155CC">http://lk.linkedin.com/in/manulachathurika</span></a></u> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;color:#888888">blog : <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmanulachathurika.blogspot.com%2F&data=02%7C01%7Clennyb%40mellanox.com%7Cc222291f0dcd4084510308d70b5ecf33%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636990374142278559&sdata=bwNaq8OhdTgkr%2FsqElZrjB1wDoLl3mTyS5kugD50hag%3D&reserved=0" target="_blank">http://manulachathurika.blogspot.com/</a><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<br>
-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="color:black">Regards,</span><o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;color:#888888">Manula Chathurika Thantriwatte<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;color:#888888">phone : (+94) 772492511<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;color:#999999">email : <a href="mailto:manulachathurika@gmail.com" target="_blank">manulachathurika@gmail.com</a></span><span style="font-size:9.5pt;color:#888888"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;color:#888888">Linkedin : <u><a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flk.linkedin.com%2Fin%2Fmanulachathurika&data=02%7C01%7Clennyb%40mellanox.com%7Cc222291f0dcd4084510308d70b5ecf33%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636990374142288550&sdata=tMDmtw9xYfdJrqkJzYeqvs7ZvgkNa23mWqb3Itxh%2BZM%3D&reserved=0" target="_blank"><span style="color:#1155CC">http://lk.linkedin.com/in/manulachathurika</span></a></u> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;color:#888888">blog : <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmanulachathurika.blogspot.com%2F&data=02%7C01%7Clennyb%40mellanox.com%7Cc222291f0dcd4084510308d70b5ecf33%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636990374142288550&sdata=KNtPojNlEY2CaEfg2rqhbf3gpym4skc1qLNxXL%2FsZpU%3D&reserved=0" target="_blank">http://manulachathurika.blogspot.com/</a><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<br>
-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="color:black">Regards,</span><o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;color:#888888">Manula Chathurika Thantriwatte<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;color:#888888">phone : (+94) 772492511<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;color:#999999">email : <a href="mailto:manulachathurika@gmail.com" target="_blank">manulachathurika@gmail.com</a></span><span style="font-size:9.5pt;color:#888888"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;color:#888888">Linkedin : <u><a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flk.linkedin.com%2Fin%2Fmanulachathurika&data=02%7C01%7Clennyb%40mellanox.com%7Cc222291f0dcd4084510308d70b5ecf33%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636990374142298548&sdata=NIi%2FlJL38AwASFOzci3wTDsedYB2Y6zIauB%2FQ8fX8WI%3D&reserved=0" target="_blank"><span style="color:#1155CC">http://lk.linkedin.com/in/manulachathurika</span></a></u> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;color:#888888">blog : <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmanulachathurika.blogspot.com%2F&data=02%7C01%7Clennyb%40mellanox.com%7Cc222291f0dcd4084510308d70b5ecf33%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636990374142298548&sdata=B5Oqiac2TFl4UDwNeni3xMo04fVQrcuBcbxFKBuU%2FHI%3D&reserved=0" target="_blank">http://manulachathurika.blogspot.com/</a><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>