<div dir="ltr"><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)">​I did following steps earlier :</div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)"><div class="" style="width:0px;height:0px;white-space:nowrap;color:red;font-weight:bold;font-size:2em;margin-top:30px;font-family:Verdana,Geneva,sans-serif">Juno -  Juno -  Juno -  Juno -  Juno -  Juno -  Juno - </div><div class="" style="color:rgb(0,0,0);font-family:Verdana,Geneva,sans-serif;font-size:12px"><div class=""><h2 class="" style="font-stretch:normal;font-size:12pt;font-family:Arial,Helvetica,geneva;color:rgb(204,0,0)"><a id="ch_basic_environment"> </a>Chapter 2. Basic environment</h2></div><div class=""><p style="font-weight:bold;font-stretch:normal;font-size:10pt"><strong>Contents</strong></p><dl><dt><span class=""><a href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#basics-prerequisites">Before you begin</a></span></dt><dt><span class=""><a href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#basics-security">Security</a></span></dt><dt><span class=""><a href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#basics-networking">Networking</a></span></dt><dt><span class=""><a href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#basics-ntp">Network Time Protocol (NTP)</a></span></dt><dt><span class=""><a href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#basics-packages">OpenStack packages</a></span></dt><dt><span class=""><a href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#basics-database">Database</a></span></dt><dt><span class=""><a href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#basics-messaging-server">Messaging server</a></span></dt></dl></div><p style="font-stretch:normal;font-size:10pt">This chapter explains how to configure each node in the <a class="" href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_overview.html#architecture_example-architectures" title="Example architectures">example architectures</a> including the <a class="" href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_overview.html#example-architecture-with-legacy-networking-hw" title="Figure 1.5. Minimal architecture example with legacy networking (nova-network)—Hardware requirements">two-node architecture with legacy networking</a> and <a class="" href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_overview.html#example-architecture-with-neutron-networking-hw" title="Figure 1.2. Minimal architecture example with OpenStack Networking (neutron)—Hardware requirements">three-node architecture with OpenStack Networking (neutron)</a>.</p><div class="" style="margin-left:0.5in;margin-right:0.5in"><table border="0" summary="Note" style="border:1px solid black;margin-bottom:20px;border-collapse:collapse;color:inherit!important;background:inherit!important"><tbody style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td rowspan="2" align="center" valign="top" width="25" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;text-align:center;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><img alt="[Note]" src="http://docs.openstack.org/juno/install-guide/install/yum/common/images/admon/note.png" style="color: inherit !important; border: inherit !important; background: inherit !important;"></td><th align="left" style="color:white;padding:5px;border:inherit!important;background:gray">Note</th></tr><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td align="left" valign="top" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><p style="font-stretch:normal;font-size:10pt;margin-top:0px;color:inherit!important;border:inherit!important;background:inherit!important">Although most environments include Identity, Image Service, Compute, at least one networking service, and the dashboard, the Object Storage service can operate independently. If your use case only involves Object Storage, you can skip to <a class="" href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_swift.html" title="Chapter 9. Add Object Storage" style="color:inherit!important;border:inherit!important;background:inherit!important">Chapter 9, <em style="color:inherit!important;border:inherit!important;background:inherit!important">Add Object Storage</em></a> after configuring the appropriate nodes for it. However, the dashboard requires at least the Image Service and Compute.</p></td></tr></tbody></table></div><div class="" style="margin-left:0.5in;margin-right:0.5in"><table border="0" summary="Note" style="border:1px solid black;margin-bottom:20px;border-collapse:collapse;color:inherit!important;background:inherit!important"><tbody style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td rowspan="2" align="center" valign="top" width="25" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;text-align:center;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><img alt="[Note]" src="http://docs.openstack.org/juno/install-guide/install/yum/common/images/admon/note.png" style="color: inherit !important; border: inherit !important; background: inherit !important;"></td><th align="left" style="color:white;padding:5px;border:inherit!important;background:gray">Note</th></tr><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td align="left" valign="top" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><p style="font-stretch:normal;font-size:10pt;margin-top:0px;color:inherit!important;border:inherit!important;background:inherit!important">You must use an account with administrative privileges to configure each node. Either run the commands as the <code class="" style="color:inherit!important;border:inherit!important;background:inherit!important">root</code> user or configure the <code class="" style="color:inherit!important;border:inherit!important;background:inherit!important">sudo</code> utility.</p></td></tr></tbody></table></div><div class="" style="margin-left:0.5in;margin-right:0.5in"><table border="0" summary="Note" style="border:1px solid black;margin-bottom:20px;border-collapse:collapse;color:inherit!important;background:inherit!important"><tbody style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td rowspan="2" align="center" valign="top" width="25" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;text-align:center;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><img alt="[Note]" src="http://docs.openstack.org/juno/install-guide/install/yum/common/images/admon/note.png" style="color: inherit !important; border: inherit !important; background: inherit !important;"></td><th align="left" style="color:white;padding:5px;border:inherit!important;background:gray">Note</th></tr><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td align="left" valign="top" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><p style="font-stretch:normal;font-size:10pt;margin-top:0px;color:inherit!important;border:inherit!important;background:inherit!important">The <span class="" style="color:inherit!important;border:inherit!important;background:inherit!important"><strong style="color:inherit!important;border:inherit!important;background:inherit!important">systemctl enable</strong></span> call on openSUSE outputs a warning message when the service uses SysV Init scripts instead of native systemd files. This warning can be ignored.</p></td></tr></tbody></table></div><div class=""><div class=""><h2 class="" style="font-stretch:normal;font-size:12pt;font-family:Arial,Helvetica,geneva;color:rgb(204,0,0);clear:both"><a id="basics-prerequisites"> </a>Before you begin</h2></div><p style="font-stretch:normal;font-size:10pt">For best performance, we recommend that your environment meets or exceeds the hardware requirements in <a class="" href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_overview.html#example-architecture-with-neutron-networking-hw" title="Figure 1.2. Minimal architecture example with OpenStack Networking (neutron)—Hardware requirements">Figure 1.2, “Minimal architecture example with OpenStack Networking (neutron)—Hardware requirements”</a> or <a class="" href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_overview.html#example-architecture-with-legacy-networking-hw" title="Figure 1.5. Minimal architecture example with legacy networking (nova-network)—Hardware requirements">Figure 1.5, “Minimal architecture example with legacy networking (nova-network)—Hardware requirements”</a>. However, OpenStack does not require a significant amount of resources and the following minimum requirements should support a proof-of-concept environment with core services and several <a class="" href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#" style="border:thin dotted green;text-decoration:none;color:black;padding-left:2px;padding-right:2px;background-color:rgb(255,255,238)">CirrOS</a> instances:</p><div class=""><ul class="" type="disc" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Controller Node: 1 processor, 2 GB memory, and 5 GB storage</p></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Network Node: 1 processor, 512 MB memory, and 5 GB storage</p></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Compute Node: 1 processor, 2 GB memory, and 10 GB storage</p></li></ul></div><p style="font-stretch:normal;font-size:10pt">To minimize clutter and provide more resources for OpenStack, we recommend a minimal installation of your Linux distribution. Also, we strongly recommend that you install a 64-bit version of your distribution on at least the compute node. If you install a 32-bit version of your distribution on the compute node, attempting to start an instance using a 64-bit image will fail.</p><div class="" style="margin-left:0.5in;margin-right:0.5in"><table border="0" summary="Note" style="border:1px solid black;margin-bottom:20px;border-collapse:collapse;color:inherit!important;background:inherit!important"><tbody style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td rowspan="2" align="center" valign="top" width="25" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;text-align:center;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><img alt="[Note]" src="http://docs.openstack.org/juno/install-guide/install/yum/common/images/admon/note.png" style="color: inherit !important; border: inherit !important; background: inherit !important;"></td><th align="left" style="color:white;padding:5px;border:inherit!important;background:gray">Note</th></tr><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td align="left" valign="top" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><p style="font-stretch:normal;font-size:10pt;margin-top:0px;color:inherit!important;border:inherit!important;background:inherit!important">A single disk partition on each node works for most basic installations. However, you should consider <a class="" href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#" style="border:thin dotted green;color:black;text-decoration:none;padding-left:2px;padding-right:2px;background-image:inherit!important;background-color:rgb(255,255,238);background-repeat:inherit!important">Logical Volume Manager (LVM)</a>for installations with optional services such as Block Storage.</p></td></tr></tbody></table></div><p style="font-stretch:normal;font-size:10pt">Many users build their test environments on <a class="" href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#" style="border:thin dotted green;text-decoration:none;color:black;padding-left:2px;padding-right:2px;background-color:rgb(255,255,238)">virtual machines (VMs)</a>. The primary benefits of VMs include the following:</p><div class=""><ul class="" type="disc" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">One physical server can support multiple nodes, each with almost any number of network interfaces.</p></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Ability to take periodic "snap shots" throughout the installation process and "roll back" to a working configuration in the event of a problem.</p></li></ul></div><p style="font-stretch:normal;font-size:10pt">However, VMs will reduce performance of your instances, particularly if your hypervisor and/or processor lacks support for hardware acceleration of nested VMs.</p><div class="" style="margin-left:0.5in;margin-right:0.5in"><table border="0" summary="Note" style="border:1px solid black;margin-bottom:20px;border-collapse:collapse;color:inherit!important;background:inherit!important"><tbody style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td rowspan="2" align="center" valign="top" width="25" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;text-align:center;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><img alt="[Note]" src="http://docs.openstack.org/juno/install-guide/install/yum/common/images/admon/note.png" style="color: inherit !important; border: inherit !important; background: inherit !important;"></td><th align="left" style="color:white;padding:5px;border:inherit!important;background:gray">Note</th></tr><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td align="left" valign="top" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><p style="font-stretch:normal;font-size:10pt;margin-top:0px;color:inherit!important;border:inherit!important;background:inherit!important">If you choose to install on VMs, make sure your hypervisor permits <a class="" href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#" style="border:thin dotted green;color:black;text-decoration:none;padding-left:2px;padding-right:2px;background-image:inherit!important;background-color:rgb(255,255,238);background-repeat:inherit!important">promiscuous mode</a> and disables MAC address filtering on the<a class="" href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#" style="border:thin dotted green;color:black;text-decoration:none;padding-left:2px;padding-right:2px;background-image:inherit!important;background-color:rgb(255,255,238);background-repeat:inherit!important">external network</a>.</p></td></tr></tbody></table></div><p style="font-stretch:normal;font-size:10pt">For more information about system requirements, see the <a class="" href="http://docs.openstack.org/ops/" target="_top">OpenStack Operations Guide</a>.</p></div><div class=""><div class=""><h2 class="" style="font-stretch:normal;font-size:12pt;font-family:Arial,Helvetica,geneva;color:rgb(204,0,0);clear:both"><a id="basics-security"> </a>Security</h2></div><p style="font-stretch:normal;font-size:10pt">OpenStack services support various security methods including password, policy, and encryption. Additionally, supporting services including the database server and message broker support at least password security.</p><p style="font-stretch:normal;font-size:10pt">To ease the installation process, this guide only covers password security where applicable. You can create secure passwords manually, generate them using a tool such as <a class="" href="http://sourceforge.net/projects/pwgen/" target="_top">pwgen</a>, or by running the following command:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1095px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;padding:0.5em!important">$ openssl rand -hex 10</pre><p style="font-stretch:normal;font-size:10pt">For OpenStack services, this guide uses <em class=""><code>SERVICE_PASS</code></em> to reference service account passwords and <em class=""><code>SERVICE_DBPASS</code></em> to reference database passwords.</p><p style="font-stretch:normal;font-size:10pt">The following table provides a list of services that require passwords and their associated references in the guide:</p><table rules="all" id="d6e506" style="border:1px solid black;margin-bottom:20px;border-collapse:collapse"><caption style="font-weight:bold">Table 2.1. Passwords</caption><thead style="color:white;font-weight:bold;background:gray"><tr><th style="padding:5px;background-image:initial;background-repeat:initial">Password name</th><th style="padding:5px;background-image:initial;background-repeat:initial">Description</th></tr></thead><tbody><tr><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px">Database password (no variable used)</td><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px">Root password for the database</td></tr><tr><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px"><code class=""><em class=""><code>RABBIT_PASS</code></em></code></td><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px">Password of user guest of RabbitMQ</td></tr><tr><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px"><code class=""><em class=""><code>KEYSTONE_DBPASS</code></em></code></td><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px">Database password of Identity service</td></tr><tr><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px"><code class=""><em class=""><code>DEMO_PASS</code></em></code></td><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px">Password of user <code class="">demo</code></td></tr><tr><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px"><code class=""><em class=""><code>ADMIN_PASS</code></em></code></td><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px">Password of user <code class="">admin</code></td></tr><tr><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px"><code class=""><em class=""><code>GLANCE_DBPASS</code></em></code></td><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px">Database password for Image Service</td></tr><tr><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px"><code class=""><em class=""><code>GLANCE_PASS</code></em></code></td><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px">Password of Image Service user <code class="">glance</code></td></tr><tr><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px"><code class=""><em class=""><code>NOVA_DBPASS</code></em></code></td><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px">Database password for Compute service</td></tr><tr><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px"><code class=""><em class=""><code>NOVA_PASS</code></em></code></td><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px">Password of Compute service user <code class="">nova</code></td></tr><tr><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px"><code class=""><em class=""><code>DASH_DBPASS</code></em></code></td><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px">Database password for the dashboard</td></tr><tr><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px"><code class=""><em class=""><code>CINDER_DBPASS</code></em></code></td><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px">Database password for the Block Storage service</td></tr><tr><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px"><code class=""><em class=""><code>CINDER_PASS</code></em></code></td><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px">Password of Block Storage service user <code class="">cinder</code></td></tr><tr><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px"><code class=""><em class=""><code>NEUTRON_DBPASS</code></em></code></td><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px">Database password for the Networking service</td></tr><tr><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px"><code class=""><em class=""><code>NEUTRON_PASS</code></em></code></td><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px">Password of Networking service user <code class="">neutron</code></td></tr><tr><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px"><code class=""><em class=""><code>HEAT_DBPASS</code></em></code></td><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px">Database password for the Orchestration service</td></tr><tr><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px"><code class=""><em class=""><code>HEAT_PASS</code></em></code></td><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px">Password of Orchestration service user <code class="">heat</code></td></tr><tr><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px"><code class=""><em class=""><code>CEILOMETER_DBPASS</code></em></code></td><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px">Database password for the Telemetry service</td></tr><tr><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px"><code class=""><em class=""><code>CEILOMETER_PASS</code></em></code></td><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px">Password of Telemetry service user <code class="">ceilometer</code></td></tr><tr><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px"><code class=""><em class=""><code>TROVE_DBPASS</code></em></code></td><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px">Database password of Database service</td></tr><tr><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px"><code class=""><em class=""><code>TROVE_PASS</code></em></code></td><td style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px">Password of Database Service user <code class="">trove</code></td></tr></tbody></table><p style="font-stretch:normal;font-size:10pt"></p><p style="font-stretch:normal;font-size:10pt">OpenStack and supporting services require administrative privileges during installation and operation. In some cases, services perform modifications to the host that can interfere with deployment automation tools such as Ansible, Chef, and Puppet. For example, some OpenStack services add a root wrapper to <code class="">sudo</code> that can interfere with security policies. See the <a class="" href="http://docs.openstack.org/admin-guide-cloud/content/root-wrap-reference.html" target="_top">Cloud Administrator Guide</a> for more information. Also, the Networking service assumes default values for kernel network parameters and modifies firewall rules. To avoid most issues during your initial installation, we recommend using a stock deployment of a supported distribution on your hosts. However, if you choose to automate deployment of your hosts, review the configuration and policies applied to them before proceeding further.</p></div><div class=""><div class=""><h2 class="" style="font-stretch:normal;font-size:12pt;font-family:Arial,Helvetica,geneva;color:rgb(204,0,0);clear:both"><a id="basics-networking"> </a>Networking</h2></div><div class=""><dl><dt><span class=""><a href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#basics-networking-neutron">OpenStack Networking (neutron)</a></span></dt><dt><span class=""><a href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#basics-networking-nova">Legacy networking (nova-network)</a></span></dt></dl></div><p style="font-stretch:normal;font-size:10pt">After installing the operating system on each node for the architecture that you choose to deploy, you must configure the network interfaces. We recommend that you disable any automated network management tools and manually edit the appropriate configuration files for your distribution. For more information on how to configure networking on your distribution, see the <a class="" href="https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s1-networkscripts-interfaces.html" target="_top">documentation.</a></p><p style="font-stretch:normal;font-size:10pt">RHEL and CentOS enable a restrictive <a class="" href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#" style="border:thin dotted green;text-decoration:none;color:black;padding-left:2px;padding-right:2px;background-color:rgb(255,255,238)">firewall</a> by default. During the installation process, certain steps will fail unless you alter or disable the firewall. For more information about securing your environment, refer to the <a class="" href="http://docs.openstack.org/sec/" target="_top">OpenStack Security Guide</a>.</p><p style="font-stretch:normal;font-size:10pt">Proceed to network configuration for the example <a class="" href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#basics-networking-neutron" title="OpenStack Networking (neutron)">OpenStack Networking (neutron) </a>or <a class="" href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#basics-networking-nova" title="Legacy networking (nova-network)">legacy networking (nova-network)</a> architecture.</p><div class="" style="margin-left:0.5in;margin-right:0.5in"><table border="0" summary="Note" style="border:1px solid black;margin-bottom:20px;border-collapse:collapse;color:inherit!important;background:inherit!important"><tbody style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td rowspan="2" align="center" valign="top" width="25" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;text-align:center;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><img alt="[Note]" src="http://docs.openstack.org/juno/install-guide/install/yum/common/images/admon/note.png" style="color: inherit !important; border: inherit !important; background: inherit !important;"></td><th align="left" style="color:white;padding:5px;border:inherit!important;background:gray">Note</th></tr><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td align="left" valign="top" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><p style="font-stretch:normal;font-size:10pt;margin-top:0px;color:inherit!important;border:inherit!important;background:inherit!important">All nodes require Internet access to install OpenStack packages and perform maintenance tasks such as periodic updates. In most cases, nodes should obtain Internet access through the management network interface. For simplicity, the network diagrams in this guide only show Internet access for OpenStack network services.</p></td></tr></tbody></table></div><div class=""><div class=""><h3 class=""><a id="basics-networking-neutron"> </a>OpenStack Networking (neutron)</h3></div><div class=""><dl><dt><span class=""><a href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#basics-neutron-networking-controller-node">Controller node</a></span></dt><dt><span class=""><a href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#basics-neutron-networking-network-node">Network node</a></span></dt><dt><span class=""><a href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#basics-neutron-networking-compute-node">Compute node</a></span></dt><dt><span class=""><a href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#basics-neutron-networking-verify">Verify connectivity</a></span></dt></dl></div><p style="font-stretch:normal;font-size:10pt">The example architecture with OpenStack Networking (neutron) requires one controller node, one network node, and at least one compute node. The controller node contains one network interface on the <a class="" href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#" style="border:thin dotted green;text-decoration:none;color:black;padding-left:2px;padding-right:2px;background-color:rgb(255,255,238)">management network</a>. The network node contains one network interface on the management network, one on the<a class="" href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#" style="border:thin dotted green;text-decoration:none;color:black;padding-left:2px;padding-right:2px;background-color:rgb(255,255,238)">instance tunnels network</a>, and one on the <a class="" href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#" style="border:thin dotted green;text-decoration:none;color:black;padding-left:2px;padding-right:2px;background-color:rgb(255,255,238)">external network</a>. The compute node contains one network interface on the management network and one on the instance tunnels network.</p><div class="" style="margin-left:0.5in;margin-right:0.5in"><table border="0" summary="Note" style="border:1px solid black;margin-bottom:20px;border-collapse:collapse;color:inherit!important;background:inherit!important"><tbody style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td rowspan="2" align="center" valign="top" width="25" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;text-align:center;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><img alt="[Note]" src="http://docs.openstack.org/juno/install-guide/install/yum/common/images/admon/note.png" style="color: inherit !important; border: inherit !important; background: inherit !important;"></td><th align="left" style="color:white;padding:5px;border:inherit!important;background:gray">Note</th></tr><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td align="left" valign="top" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><p style="font-stretch:normal;font-size:10pt;margin-top:0px;color:inherit!important;border:inherit!important;background:inherit!important">Network interface names vary by distribution. Traditionally, interfaces use "eth" followed by a sequential number. To cover all variations, this guide simply refers to the first interface as the interface with the lowest number, the second interface as the interface with the middle number, and the third interface as the interface with the highest number.</p></td></tr></tbody></table></div><div class=""><a id="d6e643"> </a><p class="" style="font-weight:bold;font-stretch:normal;font-size:10pt"><strong>Figure 2.1. Minimal architecture example with OpenStack Networking (neutron)—Network layout</strong></p><div class=""><div class=""><img src="http://docs.openstack.org/juno/install-guide/install/yum/content/figures/1/a/common/figures/installguidearch-neutron-networks.png"></div></div></div><br class=""><p style="font-stretch:normal;font-size:10pt">Unless you intend to use the exact configuration provided in this example architecture, you must modify the networks in this procedure to match your environment. Also, each node must resolve the other nodes by name in addition to IP address. For example, the <em class=""><code>controller</code></em> name must resolve to <code class="">10.0.0.11</code>, the IP address of the management interface on the controller node.</p><div class="" style="margin-left:0.5in;margin-right:0.5in"><table border="0" summary="Warning" style="border:1px solid black;margin-bottom:20px;border-collapse:collapse;color:inherit!important;background:inherit!important"><tbody style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td rowspan="2" align="center" valign="top" width="25" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;text-align:center;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><img alt="[Warning]" src="http://docs.openstack.org/juno/install-guide/install/yum/common/images/admon/warning.png" style="color: inherit !important; border: inherit !important; background: inherit !important;"></td><th align="left" style="color:white;padding:5px;border:inherit!important;background:gray">Warning</th></tr><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td align="left" valign="top" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><p style="font-stretch:normal;font-size:10pt;margin-top:0px;color:inherit!important;border:inherit!important;background:inherit!important">Reconfiguring network interfaces will interrupt network connectivity. We recommend using a local terminal session for these procedures.</p></td></tr></tbody></table></div><div class=""><div class=""><h4 class=""><a id="basics-neutron-networking-controller-node"> </a>Controller node</h4></div><div class=""><a id="d6e655"> </a><p class="" style="font-weight:bold;font-stretch:normal;font-size:10pt"><strong>To configure networking:</strong></p><ol class="" type="1" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Configure the first interface as the management interface:</p><p style="font-stretch:normal;font-size:10pt">IP address: 10.0.0.11</p><p style="font-stretch:normal;font-size:10pt">Network mask: 255.255.255.0 (or /24)</p><p style="font-stretch:normal;font-size:10pt">Default gateway: 10.0.0.1</p></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Reboot the system to activate the changes.</p></li></ol></div><div class=""><a id="d6e664"> </a><p class="" style="font-weight:bold;font-stretch:normal;font-size:10pt"><strong>To configure name resolution:</strong></p><ol class="" type="1" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Set the hostname of the node to <code class=""><em class=""><code>controller</code></em></code>.</p></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Edit the <code class="">/etc/hosts</code> file to contain the following:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># controller
10.0.0.11       controller

# network
10.0.0.21       network

# compute1
10.0.0.31       compute1</pre></li></ol></div></div><div class=""><div class=""><h4 class=""><a id="basics-neutron-networking-network-node"> </a>Network node</h4></div><div class=""><a id="d6e676"> </a><p class="" style="font-weight:bold;font-stretch:normal;font-size:10pt"><strong>To configure networking:</strong></p><ol class="" type="1" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Configure the first interface as the management interface:</p><p style="font-stretch:normal;font-size:10pt">IP address: 10.0.0.21</p><p style="font-stretch:normal;font-size:10pt">Network mask: 255.255.255.0 (or /24)</p><p style="font-stretch:normal;font-size:10pt">Default gateway: 10.0.0.1</p></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Configure the second interface as the instance tunnels interface:</p><p style="font-stretch:normal;font-size:10pt">IP address: 10.0.1.21</p><p style="font-stretch:normal;font-size:10pt">Network mask: 255.255.255.0 (or /24)</p></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">The external interface uses a special configuration without an IP address assigned to it. Configure the third interface as the external interface:</p><p style="font-stretch:normal;font-size:10pt">Replace <em class=""><code>INTERFACE_NAME</code></em> with the actual interface name. For example, <span class=""><em>eth2</em></span> or <span class=""><em>ens256</em></span>.</p><ol type="a" class="" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Edit the <code class="">/etc/sysconfig/network-scripts/ifcfg-<em class=""><code>INTERFACE_NAME</code></em></code> file to contain the following:</p><p style="font-stretch:normal;font-size:10pt">Do not change the <code class="">HWADDR</code> and <code class="">UUID</code> keys.</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1015px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important">DEVICE=<em class=""><code>INTERFACE_NAME</code></em>
TYPE=Ethernet
ONBOOT="yes"
BOOTPROTO="none"</pre></li></ol></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Reboot the system to activate the changes.</p></li></ol></div><div class=""><a id="d6e705"> </a><p class="" style="font-weight:bold;font-stretch:normal;font-size:10pt"><strong>To configure name resolution:</strong></p><ol class="" type="1" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Set the hostname of the node to <code class="">network</code>.</p></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Edit the <code class="">/etc/hosts</code> file to contain the following:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># network
10.0.0.21       network

# controller
10.0.0.11       controller

# compute1
10.0.0.31       compute1</pre></li></ol></div></div><div class=""><div class=""><h4 class=""><a id="basics-neutron-networking-compute-node"> </a>Compute node</h4></div><div class=""><a id="d6e716"> </a><p class="" style="font-weight:bold;font-stretch:normal;font-size:10pt"><strong>To configure networking:</strong></p><ol class="" type="1" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Configure the first interface as the management interface:</p><p style="font-stretch:normal;font-size:10pt">IP address: 10.0.0.31</p><p style="font-stretch:normal;font-size:10pt">Network mask: 255.255.255.0 (or /24)</p><p style="font-stretch:normal;font-size:10pt">Default gateway: 10.0.0.1</p><div class="" style="margin-left:0.5in;margin-right:0.5in"><table border="0" summary="Note" style="border:1px solid black;margin-bottom:20px;border-collapse:collapse;color:inherit!important;background:inherit!important"><tbody style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td rowspan="2" align="center" valign="top" width="25" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;text-align:center;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><img alt="[Note]" src="http://docs.openstack.org/juno/install-guide/install/yum/common/images/admon/note.png" style="color: inherit !important; border: inherit !important; background: inherit !important;"></td><th align="left" style="color:white;padding:5px;border:inherit!important;background:gray">Note</th></tr><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td align="left" valign="top" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><p style="font-stretch:normal;font-size:10pt;margin-top:0px;color:inherit!important;border:inherit!important;background:inherit!important">Additional compute nodes should use 10.0.0.32, 10.0.0.33, and so on.</p></td></tr></tbody></table></div></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Configure the second interface as the instance tunnels interface:</p><p style="font-stretch:normal;font-size:10pt">IP address: 10.0.1.31</p><p style="font-stretch:normal;font-size:10pt">Network mask: 255.255.255.0 (or /24)</p><div class="" style="margin-left:0.5in;margin-right:0.5in"><table border="0" summary="Note" style="border:1px solid black;margin-bottom:20px;border-collapse:collapse;color:inherit!important;background:inherit!important"><tbody style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td rowspan="2" align="center" valign="top" width="25" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;text-align:center;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><img alt="[Note]" src="http://docs.openstack.org/juno/install-guide/install/yum/common/images/admon/note.png" style="color: inherit !important; border: inherit !important; background: inherit !important;"></td><th align="left" style="color:white;padding:5px;border:inherit!important;background:gray">Note</th></tr><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td align="left" valign="top" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><p style="font-stretch:normal;font-size:10pt;margin-top:0px;color:inherit!important;border:inherit!important;background:inherit!important">Additional compute nodes should use 10.0.1.32, 10.0.1.33, and so on.</p></td></tr></tbody></table></div></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Reboot the system to activate the changes.</p></li></ol></div><div class=""><a id="d6e733"> </a><p class="" style="font-weight:bold;font-stretch:normal;font-size:10pt"><strong>To configure name resolution:</strong></p><ol class="" type="1" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Set the hostname of the node to <code class="">compute1</code>.</p></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Edit the <code class="">/etc/hosts</code> file to contain the following:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># compute1
10.0.0.31       compute1

# controller
10.0.0.11       controller

# network
10.0.0.21       network</pre></li></ol></div></div><div class=""><div class=""><h4 class=""><a id="basics-neutron-networking-verify"> </a>Verify connectivity</h4></div><p style="font-stretch:normal;font-size:10pt">We recommend that you verify network connectivity to the Internet and among the nodes before proceeding further.</p><div class=""><ol class="" type="1" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">From the <span class=""><em>controller</em></span> node, <span class=""><strong>ping</strong></span> a site on the Internet:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># ping -c 4 <a href="http://openstack.org">openstack.org</a>
PING <a href="http://openstack.org">openstack.org</a> (174.143.194.225) 56(84) bytes of data.
64 bytes from <a href="http://174.143.194.225">174.143.194.225</a>: icmp_seq=1 ttl=54 time=18.3 ms
64 bytes from <a href="http://174.143.194.225">174.143.194.225</a>: icmp_seq=2 ttl=54 time=17.5 ms
64 bytes from <a href="http://174.143.194.225">174.143.194.225</a>: icmp_seq=3 ttl=54 time=17.5 ms
64 bytes from <a href="http://174.143.194.225">174.143.194.225</a>: icmp_seq=4 ttl=54 time=17.4 ms

--- <a href="http://openstack.org">openstack.org</a> ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3022ms
rtt min/avg/max/mdev = 17.489/17.715/18.346/0.364 ms</pre></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">From the <span class=""><em>controller</em></span> node, <span class=""><strong>ping</strong></span> the management interface on the <span class=""><em>network</em></span> node:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># ping -c 4 <em class=""><code>network</code></em>
PING network (10.0.0.21) 56(84) bytes of data.
64 bytes from network (10.0.0.21): icmp_seq=1 ttl=64 time=0.263 ms
64 bytes from network (10.0.0.21): icmp_seq=2 ttl=64 time=0.202 ms
64 bytes from network (10.0.0.21): icmp_seq=3 ttl=64 time=0.203 ms
64 bytes from network (10.0.0.21): icmp_seq=4 ttl=64 time=0.202 ms

--- network ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 0.202/0.217/0.263/0.030 ms</pre></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">From the <span class=""><em>controller</em></span> node, <span class=""><strong>ping</strong></span> the management interface on the <span class=""><em>compute</em></span> node:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># ping -c 4 <em class=""><code>compute1</code></em>
PING compute1 (10.0.0.31) 56(84) bytes of data.
64 bytes from compute1 (10.0.0.31): icmp_seq=1 ttl=64 time=0.263 ms
64 bytes from compute1 (10.0.0.31): icmp_seq=2 ttl=64 time=0.202 ms
64 bytes from compute1 (10.0.0.31): icmp_seq=3 ttl=64 time=0.203 ms
64 bytes from compute1 (10.0.0.31): icmp_seq=4 ttl=64 time=0.202 ms

--- network ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 0.202/0.217/0.263/0.030 ms</pre></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">From the <span class=""><em>network</em></span> node, <span class=""><strong>ping</strong></span> a site on the Internet:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># ping -c 4 <a href="http://openstack.org">openstack.org</a>
PING <a href="http://openstack.org">openstack.org</a> (174.143.194.225) 56(84) bytes of data.
64 bytes from <a href="http://174.143.194.225">174.143.194.225</a>: icmp_seq=1 ttl=54 time=18.3 ms
64 bytes from <a href="http://174.143.194.225">174.143.194.225</a>: icmp_seq=2 ttl=54 time=17.5 ms
64 bytes from <a href="http://174.143.194.225">174.143.194.225</a>: icmp_seq=3 ttl=54 time=17.5 ms
64 bytes from <a href="http://174.143.194.225">174.143.194.225</a>: icmp_seq=4 ttl=54 time=17.4 ms

--- <a href="http://openstack.org">openstack.org</a> ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3022ms
rtt min/avg/max/mdev = 17.489/17.715/18.346/0.364 ms</pre></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">From the <span class=""><em>network</em></span> node, <span class=""><strong>ping</strong></span> the management interface on the <span class=""><em>controller</em></span> node:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># ping -c 4 <em class=""><code>controller</code></em>
PING controller (10.0.0.11) 56(84) bytes of data.
64 bytes from controller (10.0.0.11): icmp_seq=1 ttl=64 time=0.263 ms
64 bytes from controller (10.0.0.11): icmp_seq=2 ttl=64 time=0.202 ms
64 bytes from controller (10.0.0.11): icmp_seq=3 ttl=64 time=0.203 ms
64 bytes from controller (10.0.0.11): icmp_seq=4 ttl=64 time=0.202 ms

--- controller ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 0.202/0.217/0.263/0.030 ms</pre></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">From the <span class=""><em>network</em></span> node, <span class=""><strong>ping</strong></span> the instance tunnels interface on the <span class=""><em>compute</em></span> node:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># ping -c 4 10.0.1.31
PING 10.0.1.31 (10.0.1.31) 56(84) bytes of data.
64 bytes from 10.0.1.31 (10.0.1.31): icmp_seq=1 ttl=64 time=0.263 ms
64 bytes from 10.0.1.31 (10.0.1.31): icmp_seq=2 ttl=64 time=0.202 ms
64 bytes from 10.0.1.31 (10.0.1.31): icmp_seq=3 ttl=64 time=0.203 ms
64 bytes from 10.0.1.31 (10.0.1.31): icmp_seq=4 ttl=64 time=0.202 ms

--- 10.0.1.31 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 0.202/0.217/0.263/0.030 ms</pre></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">From the <span class=""><em>compute</em></span> node, <span class=""><strong>ping</strong></span> a site on the Internet:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># ping -c 4 <a href="http://openstack.org">openstack.org</a>
PING <a href="http://openstack.org">openstack.org</a> (174.143.194.225) 56(84) bytes of data.
64 bytes from <a href="http://174.143.194.225">174.143.194.225</a>: icmp_seq=1 ttl=54 time=18.3 ms
64 bytes from <a href="http://174.143.194.225">174.143.194.225</a>: icmp_seq=2 ttl=54 time=17.5 ms
64 bytes from <a href="http://174.143.194.225">174.143.194.225</a>: icmp_seq=3 ttl=54 time=17.5 ms
64 bytes from <a href="http://174.143.194.225">174.143.194.225</a>: icmp_seq=4 ttl=54 time=17.4 ms

--- <a href="http://openstack.org">openstack.org</a> ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3022ms
rtt min/avg/max/mdev = 17.489/17.715/18.346/0.364 ms</pre></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">From the <span class=""><em>compute</em></span> node, <span class=""><strong>ping</strong></span> the management interface on the <span class=""><em>controller</em></span> node:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># ping -c 4 <em class=""><code>controller</code></em>
PING controller (10.0.0.11) 56(84) bytes of data.
64 bytes from controller (10.0.0.11): icmp_seq=1 ttl=64 time=0.263 ms
64 bytes from controller (10.0.0.11): icmp_seq=2 ttl=64 time=0.202 ms
64 bytes from controller (10.0.0.11): icmp_seq=3 ttl=64 time=0.203 ms
64 bytes from controller (10.0.0.11): icmp_seq=4 ttl=64 time=0.202 ms

--- controller ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 0.202/0.217/0.263/0.030 ms</pre></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">From the <span class=""><em>compute</em></span> node, <span class=""><strong>ping</strong></span> the instance tunnels interface on the <span class=""><em>network</em></span> node:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># ping -c 4 10.0.1.21
PING 10.0.1.21 (10.0.1.21) 56(84) bytes of data.
64 bytes from 10.0.1.21 (10.0.1.21): icmp_seq=1 ttl=64 time=0.263 ms
64 bytes from 10.0.1.21 (10.0.1.21): icmp_seq=2 ttl=64 time=0.202 ms
64 bytes from 10.0.1.21 (10.0.1.21): icmp_seq=3 ttl=64 time=0.203 ms
64 bytes from 10.0.1.21 (10.0.1.21): icmp_seq=4 ttl=64 time=0.202 ms

--- 10.0.1.21 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 0.202/0.217/0.263/0.030 ms</pre></li></ol></div></div></div><div class=""><div class=""><h3 class=""><a id="basics-networking-nova"> </a>Legacy networking (nova-network)</h3></div><div class=""><dl><dt><span class=""><a href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#basics-networking-nova-controller-node">Controller node</a></span></dt><dt><span class=""><a href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#basics-networking-node-compute-node">Compute node</a></span></dt><dt><span class=""><a href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#basics-networking-nova-verify">Verify connectivity</a></span></dt></dl></div><p style="font-stretch:normal;font-size:10pt">The example architecture with legacy networking (nova-network) requires a controller node and at least one compute node. The controller node contains one network interface on the <a class="" href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#" style="border:thin dotted green;text-decoration:none;color:black;padding-left:2px;padding-right:2px;background-color:rgb(255,255,238)">management network</a>. The compute node contains one network interface on the management network and one on the <a class="" href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#" style="border:thin dotted green;text-decoration:none;color:black;padding-left:2px;padding-right:2px;background-color:rgb(255,255,238)">external network</a>.</p><div class="" style="margin-left:0.5in;margin-right:0.5in"><table border="0" summary="Note" style="border:1px solid black;margin-bottom:20px;border-collapse:collapse;color:inherit!important;background:inherit!important"><tbody style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td rowspan="2" align="center" valign="top" width="25" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;text-align:center;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><img alt="[Note]" src="http://docs.openstack.org/juno/install-guide/install/yum/common/images/admon/note.png" style="color: inherit !important; border: inherit !important; background: inherit !important;"></td><th align="left" style="color:white;padding:5px;border:inherit!important;background:gray">Note</th></tr><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td align="left" valign="top" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><p style="font-stretch:normal;font-size:10pt;margin-top:0px;color:inherit!important;border:inherit!important;background:inherit!important">Network interface names vary by distribution. Traditionally, interfaces use "eth" followed by a sequential number. To cover all variations, this guide simply refers to the first interface as the interface with the lowest number and the second interface as the interface with the highest number.</p></td></tr></tbody></table></div><div class=""><a id="d6e808"> </a><p class="" style="font-weight:bold;font-stretch:normal;font-size:10pt"><strong>Figure 2.2. Minimal architecture example with legacy networking (nova-network)—Network layout</strong></p><div class=""><div class=""><img src="http://docs.openstack.org/juno/install-guide/install/yum/content/figures/1/a/common/figures/installguidearch-nova-networks.png"></div></div></div><br class=""><p style="font-stretch:normal;font-size:10pt">Unless you intend to use the exact configuration provided in this example architecture, you must modify the networks in this procedure to match your environment. Also, each node must resolve the other nodes by name in addition to IP address. For example, the <em class=""><code>controller</code></em> name must resolve to <code class="">10.0.0.11</code>, the IP address of the management interface on the controller node.</p><div class="" style="margin-left:0.5in;margin-right:0.5in"><table border="0" summary="Warning" style="border:1px solid black;margin-bottom:20px;border-collapse:collapse;color:inherit!important;background:inherit!important"><tbody style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td rowspan="2" align="center" valign="top" width="25" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;text-align:center;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><img alt="[Warning]" src="http://docs.openstack.org/juno/install-guide/install/yum/common/images/admon/warning.png" style="color: inherit !important; border: inherit !important; background: inherit !important;"></td><th align="left" style="color:white;padding:5px;border:inherit!important;background:gray">Warning</th></tr><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td align="left" valign="top" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><p style="font-stretch:normal;font-size:10pt;margin-top:0px;color:inherit!important;border:inherit!important;background:inherit!important">Reconfiguring network interfaces will interrupt network connectivity. We recommend using a local terminal session for these procedures.</p></td></tr></tbody></table></div><div class=""><div class=""><h4 class=""><a id="basics-networking-nova-controller-node"> </a>Controller node</h4></div><div class=""><a id="d6e820"> </a><p class="" style="font-weight:bold;font-stretch:normal;font-size:10pt"><strong>To configure networking:</strong></p><ol class="" type="1" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Configure the first interface as the management interface:</p><p style="font-stretch:normal;font-size:10pt">IP address: 10.0.0.11</p><p style="font-stretch:normal;font-size:10pt">Network mask: 255.255.255.0 (or /24)</p><p style="font-stretch:normal;font-size:10pt">Default gateway: 10.0.0.1</p></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Reboot the system to activate the changes.</p></li></ol></div><div class=""><a id="d6e829"> </a><p class="" style="font-weight:bold;font-stretch:normal;font-size:10pt"><strong>To configure name resolution:</strong></p><ol class="" type="1" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Set the hostname of the node to <code class=""><em class=""><code>controller</code></em></code>.</p></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Edit the <code class="">/etc/hosts</code> file to contain the following:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># controller
10.0.0.11       controller

# compute1
10.0.0.31       compute1</pre></li></ol></div></div><div class=""><div class=""><h4 class=""><a id="basics-networking-node-compute-node"> </a>Compute node</h4></div><div class=""><a id="d6e841"> </a><p class="" style="font-weight:bold;font-stretch:normal;font-size:10pt"><strong>To configure networking:</strong></p><ol class="" type="1" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Configure the first interface as the management interface:</p><p style="font-stretch:normal;font-size:10pt">IP address: 10.0.0.31</p><p style="font-stretch:normal;font-size:10pt">Network mask: 255.255.255.0 (or /24)</p><p style="font-stretch:normal;font-size:10pt">Default gateway: 10.0.0.1</p><div class="" style="margin-left:0.5in;margin-right:0.5in"><table border="0" summary="Note" style="border:1px solid black;margin-bottom:20px;border-collapse:collapse;color:inherit!important;background:inherit!important"><tbody style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td rowspan="2" align="center" valign="top" width="25" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;text-align:center;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><img alt="[Note]" src="http://docs.openstack.org/juno/install-guide/install/yum/common/images/admon/note.png" style="color: inherit !important; border: inherit !important; background: inherit !important;"></td><th align="left" style="color:white;padding:5px;border:inherit!important;background:gray">Note</th></tr><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td align="left" valign="top" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><p style="font-stretch:normal;font-size:10pt;margin-top:0px;color:inherit!important;border:inherit!important;background:inherit!important">Additional compute nodes should use 10.0.0.32, 10.0.0.33, and so on.</p></td></tr></tbody></table></div></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">The external interface uses a special configuration without an IP address assigned to it. Configure the second interface as the external interface:</p><p style="font-stretch:normal;font-size:10pt">Replace <em class=""><code>INTERFACE_NAME</code></em> with the actual interface name. For example, <span class=""><em>eth1</em></span> or <span class=""><em>ens224</em></span>.</p><ol type="a" class="" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Edit the <code class="">/etc/sysconfig/network-scripts/ifcfg-<em class=""><code>INTERFACE_NAME</code></em></code> file to contain the following:</p><p style="font-stretch:normal;font-size:10pt">Do not change the <code class="">HWADDR</code> and <code class="">UUID</code> keys.</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1015px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important">DEVICE=<em class=""><code>INTERFACE_NAME</code></em>
TYPE=Ethernet
ONBOOT="yes"
BOOTPROTO="none"</pre></li></ol></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Reboot the system to activate the changes.</p></li></ol></div><div class=""><a id="d6e868"> </a><p class="" style="font-weight:bold;font-stretch:normal;font-size:10pt"><strong>To configure name resolution:</strong></p><ol class="" type="1" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Set the hostname of the node to <code class="">compute1</code>.</p></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Edit the <code class="">/etc/hosts</code> file to contain the following:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># compute1
10.0.0.31       compute1

# controller
10.0.0.11       controller</pre></li></ol></div></div><div class=""><div class=""><h4 class=""><a id="basics-networking-nova-verify"> </a>Verify connectivity</h4></div><p style="font-stretch:normal;font-size:10pt">We recommend that you verify network connectivity to the Internet and among the nodes before proceeding further.</p><div class=""><ol class="" type="1" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">From the <span class=""><em>controller</em></span> node, <span class=""><strong>ping</strong></span> a site on the Internet:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># ping -c 4 <a href="http://openstack.org">openstack.org</a>
PING <a href="http://openstack.org">openstack.org</a> (174.143.194.225) 56(84) bytes of data.
64 bytes from <a href="http://174.143.194.225">174.143.194.225</a>: icmp_seq=1 ttl=54 time=18.3 ms
64 bytes from <a href="http://174.143.194.225">174.143.194.225</a>: icmp_seq=2 ttl=54 time=17.5 ms
64 bytes from <a href="http://174.143.194.225">174.143.194.225</a>: icmp_seq=3 ttl=54 time=17.5 ms
64 bytes from <a href="http://174.143.194.225">174.143.194.225</a>: icmp_seq=4 ttl=54 time=17.4 ms

--- <a href="http://openstack.org">openstack.org</a> ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3022ms
rtt min/avg/max/mdev = 17.489/17.715/18.346/0.364 ms</pre></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">From the <span class=""><em>controller</em></span> node, <span class=""><strong>ping</strong></span> the management interface on the <span class=""><em>compute</em></span> node:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># ping -c 4 <em class=""><code>compute1</code></em>
PING compute1 (10.0.0.31) 56(84) bytes of data.
64 bytes from compute1 (10.0.0.31): icmp_seq=1 ttl=64 time=0.263 ms
64 bytes from compute1 (10.0.0.31): icmp_seq=2 ttl=64 time=0.202 ms
64 bytes from compute1 (10.0.0.31): icmp_seq=3 ttl=64 time=0.203 ms
64 bytes from compute1 (10.0.0.31): icmp_seq=4 ttl=64 time=0.202 ms

--- compute1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 0.202/0.217/0.263/0.030 ms</pre></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">From the <span class=""><em>compute</em></span> node, <span class=""><strong>ping</strong></span> a site on the Internet:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># ping -c 4 <a href="http://openstack.org">openstack.org</a>
PING <a href="http://openstack.org">openstack.org</a> (174.143.194.225) 56(84) bytes of data.
64 bytes from <a href="http://174.143.194.225">174.143.194.225</a>: icmp_seq=1 ttl=54 time=18.3 ms
64 bytes from <a href="http://174.143.194.225">174.143.194.225</a>: icmp_seq=2 ttl=54 time=17.5 ms
64 bytes from <a href="http://174.143.194.225">174.143.194.225</a>: icmp_seq=3 ttl=54 time=17.5 ms
64 bytes from <a href="http://174.143.194.225">174.143.194.225</a>: icmp_seq=4 ttl=54 time=17.4 ms

--- <a href="http://openstack.org">openstack.org</a> ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3022ms
rtt min/avg/max/mdev = 17.489/17.715/18.346/0.364 ms</pre></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">From the <span class=""><em>compute</em></span> node, <span class=""><strong>ping</strong></span> the management interface on the <span class=""><em>controller</em></span> node:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># ping -c 4 <em class=""><code>controller</code></em>
PING controller (10.0.0.11) 56(84) bytes of data.
64 bytes from controller (10.0.0.11): icmp_seq=1 ttl=64 time=0.263 ms
64 bytes from controller (10.0.0.11): icmp_seq=2 ttl=64 time=0.202 ms
64 bytes from controller (10.0.0.11): icmp_seq=3 ttl=64 time=0.203 ms
64 bytes from controller (10.0.0.11): icmp_seq=4 ttl=64 time=0.202 ms

--- controller ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 0.202/0.217/0.263/0.030 ms</pre></li></ol></div></div></div></div><div class=""><div class=""><h2 class="" style="font-stretch:normal;font-size:12pt;font-family:Arial,Helvetica,geneva;color:rgb(204,0,0);clear:both"><a id="basics-ntp"> </a>Network Time Protocol (NTP)</h2></div><div class=""><dl><dt><span class=""><a href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#basics-ntp-controller-node">Controller node</a></span></dt><dt><span class=""><a href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#basics-ntp-other-nodes">Other nodes</a></span></dt><dt><span class=""><a href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#basics-ntp-verify">Verify operation</a></span></dt></dl></div><p style="font-stretch:normal;font-size:10pt">You must install <a class="" href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#" style="border:thin dotted green;text-decoration:none;color:black;padding-left:2px;padding-right:2px;background-color:rgb(255,255,238)">NTP</a> to properly synchronize services among nodes. We recommend that you configure the controller node to reference more accurate (lower stratum) servers and other nodes to reference the controller node.</p><div class=""><div class=""><h3 class=""><a id="basics-ntp-controller-node"> </a>Controller node</h3></div><div class=""><a id="d6e911"> </a><p class="" style="font-weight:bold;font-stretch:normal;font-size:10pt"><strong>To install the NTP service</strong></p><ul class="" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># yum install ntp</pre></li></ul></div><div class=""><a id="d6e915"> </a><p class="" style="font-weight:bold;font-stretch:normal;font-size:10pt"><strong>To configure the NTP service</strong></p><p style="font-stretch:normal;font-size:10pt">By default, the controller node synchronizes the time via a pool of public servers. However, you can optionally edit the <code class="">/etc/ntp.conf</code> file to configure alternative servers such as those provided by your organization.</p><ol class="" type="1" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Edit the <code class="">/etc/ntp.conf</code> file and add, change, or remove the following keys as necessary for your environment:</p><div><div id="highlighter_809698" class="" style="width:1055px;margin:1em 0px!important;overflow:auto!important;font-size:1em!important"><div class="" style="border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important"><div class="" style="float:right;border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;background:none!important"><img src="http://docs.openstack.org/juno/install-guide/install/yum/content/images/icon_clipboard.png" alt="Select Text" title="Select Text" height="20" width="20" align="right"></div></div><table border="0" cellpadding="0" cellspacing="0" style="border:1px solid black;margin-bottom:20px;width:1055px;border-collapse:collapse;border-radius:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin-top:0px!important;margin-right:0px!important;margin-left:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important"><tbody style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;background:none!important"><tr style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;background:none!important"><td class="" style="font-stretch:normal;border:1px solid black;padding:5px;font-size:1em!important;line-height:1.3em!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;border-radius:0px!important;float:none!important;height:auto!important;outline:0px!important;overflow:visible!important;vertical-align:baseline!important;width:auto!important;min-height:inherit!important;color:rgb(175,175,175)!important;background:none!important"><div class="" style="border-radius:0px!important;border-width:0px 3px 0px 0px!important;border-right-style:solid!important;border-right-color:rgb(108,226,108)!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 0.5em 0px 1em!important;text-align:right!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important">1</div><div class="" style="border-radius:0px!important;border-width:0px 3px 0px 0px!important;border-right-style:solid!important;border-right-color:rgb(108,226,108)!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 0.5em 0px 1em!important;text-align:right!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important">2</div><div class="" style="border-radius:0px!important;border-width:0px 3px 0px 0px!important;border-right-style:solid!important;border-right-color:rgb(108,226,108)!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 0.5em 0px 1em!important;text-align:right!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important">3</div></td><td class="" style="font-stretch:normal;border:1px solid black;padding:5px;width:1024px;font-size:1em!important;line-height:1.3em!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;border-radius:0px!important;float:none!important;height:auto!important;outline:0px!important;overflow:visible!important;vertical-align:baseline!important;min-height:inherit!important;background:none!important"><div class="" style="border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;background:none!important"><div class="" style="border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 1em!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important"><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important">server <span class="" style="font-style:italic!important">NTP_SERVER</span> iburst</code></div><div class="" style="border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 1em!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important"><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important">restrict </code><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-weight:bold!important;font-size:1em!important;min-height:inherit!important;color:rgb(255,20,147)!important;background:none!important">-4 </code><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important">default kod notrap nomodify</code></div><div class="" style="border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 1em!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important"><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important">restrict </code><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-weight:bold!important;font-size:1em!important;min-height:inherit!important;color:rgb(255,20,147)!important;background:none!important">-6 </code><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important">default kod notrap nomodify</code></div></div></td></tr></tbody></table></div></div><p style="font-stretch:normal;font-size:10pt">Replace <em class=""><code>NTP_SERVER</code></em> with the hostname or IP address of a suitable more accurate (lower stratum) NTP server. The configuration supports multiple <code class="">server</code>keys.</p><div class="" style="margin-left:0.5in;margin-right:0.5in"><table border="0" summary="Note" style="border:1px solid black;margin-bottom:20px;border-collapse:collapse;color:inherit!important;background:inherit!important"><tbody style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td rowspan="2" align="center" valign="top" width="25" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;text-align:center;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><img alt="[Note]" src="http://docs.openstack.org/juno/install-guide/install/yum/common/images/admon/note.png" style="color: inherit !important; border: inherit !important; background: inherit !important;"></td><th align="left" style="color:white;padding:5px;border:inherit!important;background:gray">Note</th></tr><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td align="left" valign="top" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><p style="font-stretch:normal;font-size:10pt;margin-top:0px;color:inherit!important;border:inherit!important;background:inherit!important">For the <code class="" style="color:inherit!important;border:inherit!important;background:inherit!important">restrict</code> keys, you essentially remove the <code class="" style="color:inherit!important;border:inherit!important;background:inherit!important">nopeer</code> and <code class="" style="color:inherit!important;border:inherit!important;background:inherit!important">noquery</code> options.</p></td></tr></tbody></table></div></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Start the NTP service and configure it to start when the system boots:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># systemctl enable ntpd.service
# systemctl start ntpd.service</pre></li></ol></div></div><div class=""><div class=""><h3 class=""><a id="basics-ntp-other-nodes"> </a>Other nodes</h3></div><div class=""><a id="d6e937"> </a><p class="" style="font-weight:bold;font-stretch:normal;font-size:10pt"><strong>To install the NTP service</strong></p><ul class="" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># yum install ntp</pre></li></ul></div><div class=""><a id="d6e941"> </a><p class="" style="font-weight:bold;font-stretch:normal;font-size:10pt"><strong>To configure the NTP service</strong></p><p style="font-stretch:normal;font-size:10pt">Configure the network and compute nodes to reference the controller node.</p><ol class="" type="1" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Edit the <code class="">/etc/ntp.conf</code> file:</p><p style="font-stretch:normal;font-size:10pt">Comment out or remove all but one <code class="">server</code> key and change it to reference the controller node.</p><div><div id="highlighter_748272" class="" style="width:1055px;margin:1em 0px!important;overflow:auto!important;font-size:1em!important"><div class="" style="border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important"><div class="" style="float:right;border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;background:none!important"><img src="http://docs.openstack.org/juno/install-guide/install/yum/content/images/icon_clipboard.png" alt="Select Text" title="Select Text" height="20" width="20" align="right"></div></div><table border="0" cellpadding="0" cellspacing="0" style="border:1px solid black;margin-bottom:20px;width:1055px;border-collapse:collapse;border-radius:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin-top:0px!important;margin-right:0px!important;margin-left:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important"><tbody style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;background:none!important"><tr style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;background:none!important"><td class="" style="font-stretch:normal;border:1px solid black;padding:5px;font-size:1em!important;line-height:1.3em!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;border-radius:0px!important;float:none!important;height:auto!important;outline:0px!important;overflow:visible!important;vertical-align:baseline!important;width:auto!important;min-height:inherit!important;color:rgb(175,175,175)!important;background:none!important"><div class="" style="border-radius:0px!important;border-width:0px 3px 0px 0px!important;border-right-style:solid!important;border-right-color:rgb(108,226,108)!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 0.5em 0px 1em!important;text-align:right!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important">1</div></td><td class="" style="font-stretch:normal;border:1px solid black;padding:5px;width:1024px;font-size:1em!important;line-height:1.3em!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;border-radius:0px!important;float:none!important;height:auto!important;outline:0px!important;overflow:visible!important;vertical-align:baseline!important;min-height:inherit!important;background:none!important"><div class="" style="border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;background:none!important"><div class="" style="border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 1em!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important"><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important">server <span class="" style="font-style:italic!important">controller</span> iburst</code></div></div></td></tr></tbody></table></div></div></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Start the NTP service and configure it to start when the system boots:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># systemctl enable ntpd.service
# systemctl start ntpd.service</pre></li></ol></div></div><div class=""><div class=""><h3 class=""><a id="basics-ntp-verify"> </a>Verify operation</h3></div><p style="font-stretch:normal;font-size:10pt">We recommend that you verify NTP synchronization before proceeding further. Some nodes, particularly those that reference the controller node, can take several minutes to synchronize.</p><div class=""><ol class="" type="1" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Run this command on the <span class=""><em>controller</em></span> node:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># ntpq -c peers
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*ntp-server1     192.0.2.11       2 u  169 1024  377    1.901   -0.611   5.483
+ntp-server2     192.0.2.12       2 u  887 1024  377    0.922   -0.246   2.864</pre><p style="font-stretch:normal;font-size:10pt">Contents in the <span class=""><em>remote</em></span> column should indicate the hostname or IP address of one or more NTP servers.</p><div class="" style="margin-left:0.5in;margin-right:0.5in"><table border="0" summary="Note" style="border:1px solid black;margin-bottom:20px;border-collapse:collapse;color:inherit!important;background:inherit!important"><tbody style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td rowspan="2" align="center" valign="top" width="25" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;text-align:center;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><img alt="[Note]" src="http://docs.openstack.org/juno/install-guide/install/yum/common/images/admon/note.png" style="color: inherit !important; border: inherit !important; background: inherit !important;"></td><th align="left" style="color:white;padding:5px;border:inherit!important;background:gray">Note</th></tr><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td align="left" valign="top" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><p style="font-stretch:normal;font-size:10pt;margin-top:0px;color:inherit!important;border:inherit!important;background:inherit!important">Contents in the <span class="" style="color:inherit!important;border:inherit!important;background:inherit!important"><em style="color:inherit!important;border:inherit!important;background:inherit!important">refid</em></span> column typically reference IP addresses of upstream servers.</p></td></tr></tbody></table></div></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Run this command on the <span class=""><em>controller</em></span> node:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># ntpq -c assoc
ind assid status  conf reach auth condition  last_event cnt
===========================================================
  1 20487  961a   yes   yes  none  sys.peer    sys_peer  1
  2 20488  941a   yes   yes  none candidate    sys_peer  1</pre><p style="font-stretch:normal;font-size:10pt">Contents in the <span class=""><em>condition</em></span> column should indicate <code class="">sys.peer</code> for at least one server.</p></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Run this command on <span class=""><em>all other</em></span> nodes:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># ntpq -c peers
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*controller      192.0.2.21       3 u   47   64   37    0.308   -0.251   0.079</pre><p style="font-stretch:normal;font-size:10pt">Contents in the <span class=""><em>remote</em></span> column should indicate the hostname of the controller node.</p><div class="" style="margin-left:0.5in;margin-right:0.5in"><table border="0" summary="Note" style="border:1px solid black;margin-bottom:20px;border-collapse:collapse;color:inherit!important;background:inherit!important"><tbody style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td rowspan="2" align="center" valign="top" width="25" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;text-align:center;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><img alt="[Note]" src="http://docs.openstack.org/juno/install-guide/install/yum/common/images/admon/note.png" style="color: inherit !important; border: inherit !important; background: inherit !important;"></td><th align="left" style="color:white;padding:5px;border:inherit!important;background:gray">Note</th></tr><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td align="left" valign="top" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><p style="font-stretch:normal;font-size:10pt;margin-top:0px;color:inherit!important;border:inherit!important;background:inherit!important">Contents in the <span class="" style="color:inherit!important;border:inherit!important;background:inherit!important"><em style="color:inherit!important;border:inherit!important;background:inherit!important">refid</em></span> column typically reference IP addresses of upstream servers.</p></td></tr></tbody></table></div></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Run this command on <span class=""><em>all other</em></span> nodes:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># ntpq -c assoc
ind assid status  conf reach auth condition  last_event cnt
===========================================================
  1 21181  963a   yes   yes  none  sys.peer    sys_peer  3</pre><p style="font-stretch:normal;font-size:10pt">Contents in the <span class=""><em>condition</em></span> column should indicate <code class="">sys.peer</code>.</p></li></ol></div></div></div><div class=""><div class=""><h2 class="" style="font-stretch:normal;font-size:12pt;font-family:Arial,Helvetica,geneva;color:rgb(204,0,0);clear:both"><a id="basics-packages"> </a>OpenStack packages</h2></div><p style="font-stretch:normal;font-size:10pt">Distributions release OpenStack packages as part of the distribution or using other methods because of differing release schedules. Perform these procedures on all nodes.</p><div class="" style="margin-left:0.5in;margin-right:0.5in"><table border="0" summary="Note" style="border:1px solid black;margin-bottom:20px;border-collapse:collapse;color:inherit!important;background:inherit!important"><tbody style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td rowspan="2" align="center" valign="top" width="25" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;text-align:center;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><img alt="[Note]" src="http://docs.openstack.org/juno/install-guide/install/yum/common/images/admon/note.png" style="color: inherit !important; border: inherit !important; background: inherit !important;"></td><th align="left" style="color:white;padding:5px;border:inherit!important;background:gray">Note</th></tr><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td align="left" valign="top" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><p style="font-stretch:normal;font-size:10pt;margin-top:0px;color:inherit!important;border:inherit!important;background:inherit!important">Disable or remove any automatic update services because they can impact your OpenStack environment.</p></td></tr></tbody></table></div><div class=""><a id="d6e995"> </a><p class="" style="font-weight:bold;font-stretch:normal;font-size:10pt"><strong>To configure prerequisites</strong></p><ol class="" type="1" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Install the <span class="">yum-plugin-priorities</span> package to enable assignment of relative priorities within repositories:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># yum install yum-plugin-priorities</pre></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Install the <span class="">epel-release</span> package to enable the <a class="" href="http://download.fedoraproject.org/pub/epel/7/x86_64/repoview/epel-release.html" target="_top">EPEL</a> repository:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># yum install <a href="http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm">http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm</a></pre><div class="" style="margin-left:0.5in;margin-right:0.5in"><table border="0" summary="Note" style="border:1px solid black;margin-bottom:20px;border-collapse:collapse;color:inherit!important;background:inherit!important"><tbody style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td rowspan="2" align="center" valign="top" width="25" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;text-align:center;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><img alt="[Note]" src="http://docs.openstack.org/juno/install-guide/install/yum/common/images/admon/note.png" style="color: inherit !important; border: inherit !important; background: inherit !important;"></td><th align="left" style="color:white;padding:5px;border:inherit!important;background:gray">Note</th></tr><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td align="left" valign="top" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><p style="font-stretch:normal;font-size:10pt;margin-top:0px;color:inherit!important;border:inherit!important;background:inherit!important">Fedora does not require this package.</p></td></tr></tbody></table></div></li></ol></div><div class=""><a id="d6e1008"> </a><p class="" style="font-weight:bold;font-stretch:normal;font-size:10pt"><strong>To enable the OpenStack repository</strong></p><ul class="" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Install the <span class="">rdo-release-juno</span> package to enable the RDO repository:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># yum install <a href="http://rdo.fedorapeople.org/openstack-juno/rdo-release-juno.rpm">http://rdo.fedorapeople.org/openstack-juno/rdo-release-juno.rpm</a></pre></li></ul></div><div class=""><a id="d6e1014"> </a><p class="" style="font-weight:bold;font-stretch:normal;font-size:10pt"><strong>To finalize installation</strong></p><ol class="" type="1" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Upgrade the packages on your system:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># yum upgrade</pre><div class="" style="margin-left:0.5in;margin-right:0.5in"><table border="0" summary="Note" style="border:1px solid black;margin-bottom:20px;border-collapse:collapse;color:inherit!important;background:inherit!important"><tbody style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td rowspan="2" align="center" valign="top" width="25" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;text-align:center;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><img alt="[Note]" src="http://docs.openstack.org/juno/install-guide/install/yum/common/images/admon/note.png" style="color: inherit !important; border: inherit !important; background: inherit !important;"></td><th align="left" style="color:white;padding:5px;border:inherit!important;background:gray">Note</th></tr><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td align="left" valign="top" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><p style="font-stretch:normal;font-size:10pt;margin-top:0px;color:inherit!important;border:inherit!important;background:inherit!important">If the upgrade process includes a new kernel, reboot your system to activate it.</p></td></tr></tbody></table></div></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">RHEL and CentOS enable <a class="" href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#" style="border:thin dotted green;text-decoration:none;color:black;padding-left:2px;padding-right:2px;background-color:rgb(255,255,238)">SELinux</a> by default. Install the <span class="">openstack-selinux</span> package to automatically manage security policies for OpenStack services:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># yum install openstack-selinux</pre><div class="" style="margin-left:0.5in;margin-right:0.5in"><table border="0" summary="Note" style="border:1px solid black;margin-bottom:20px;border-collapse:collapse;color:inherit!important;background:inherit!important"><tbody style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td rowspan="2" align="center" valign="top" width="25" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;text-align:center;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><img alt="[Note]" src="http://docs.openstack.org/juno/install-guide/install/yum/common/images/admon/note.png" style="color: inherit !important; border: inherit !important; background: inherit !important;"></td><th align="left" style="color:white;padding:5px;border:inherit!important;background:gray">Note</th></tr><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td align="left" valign="top" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><p style="font-stretch:normal;font-size:10pt;margin-top:0px;color:inherit!important;border:inherit!important;background:inherit!important">Fedora does not require this package.</p></td></tr></tbody></table></div><div class="" style="margin-left:0.5in;margin-right:0.5in"><table border="0" summary="Note" style="border:1px solid black;margin-bottom:20px;border-collapse:collapse;color:inherit!important;background:inherit!important"><tbody style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td rowspan="2" align="center" valign="top" width="25" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;text-align:center;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><img alt="[Note]" src="http://docs.openstack.org/juno/install-guide/install/yum/common/images/admon/note.png" style="color: inherit !important; border: inherit !important; background: inherit !important;"></td><th align="left" style="color:white;padding:5px;border:inherit!important;background:gray">Note</th></tr><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td align="left" valign="top" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><p style="font-stretch:normal;font-size:10pt;margin-top:0px;color:inherit!important;border:inherit!important;background:inherit!important">The installation process for this package can take a while.</p></td></tr></tbody></table></div></li></ol></div></div><div class=""><div class=""><h2 class="" style="font-stretch:normal;font-size:12pt;font-family:Arial,Helvetica,geneva;color:rgb(204,0,0);clear:both"><a id="basics-database"> </a>Database</h2></div><p style="font-stretch:normal;font-size:10pt">Most OpenStack services use an SQL database to store information. The database typically runs on the controller node. The procedures in this guide use <span class="">MariaDB</span>or <span class="">MySQL</span> depending on the distribution. OpenStack services also support other SQL databases including <a class="" href="http://www.postgresql.org/" target="_top">PostgreSQL</a>.</p><div class=""><a id="d6e1036"> </a><p class="" style="font-weight:bold;font-stretch:normal;font-size:10pt"><strong>To install and configure the database server</strong></p><ol class="" type="1" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Install the packages:</p><div class="" style="margin-left:0.5in;margin-right:0.5in"><table border="0" summary="Note" style="border:1px solid black;margin-bottom:20px;border-collapse:collapse;color:inherit!important;background:inherit!important"><tbody style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td rowspan="2" align="center" valign="top" width="25" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;text-align:center;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><img alt="[Note]" src="http://docs.openstack.org/juno/install-guide/install/yum/common/images/admon/note.png" style="color: inherit !important; border: inherit !important; background: inherit !important;"></td><th align="left" style="color:white;padding:5px;border:inherit!important;background:gray">Note</th></tr><tr style="color:inherit!important;border-style:inherit!important;border-width:inherit!important;background:inherit!important"><td align="left" valign="top" style="font-stretch:normal;font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px;color:inherit!important;background:inherit!important"><p style="font-stretch:normal;font-size:10pt;margin-top:0px;color:inherit!important;border:inherit!important;background:inherit!important">The Python MySQL library is compatible with MariaDB.</p></td></tr></tbody></table></div><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># yum install mariadb mariadb-server MySQL-python</pre></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Edit the <code class="">/etc/my.cnf</code> file and complete the following actions:</p><ol type="a" class="" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">In the <code class="">[mysqld]</code> section, set the <code class="">bind-address</code> key to the management IP address of the controller node to enable access by other nodes via the management network:</p><div><div id="highlighter_189838" class="" style="width:1015px;margin:1em 0px!important;overflow:auto!important;font-size:1em!important"><div class="" style="border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important"><div class="" style="float:right;border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;background:none!important"><img src="http://docs.openstack.org/juno/install-guide/install/yum/content/images/icon_clipboard.png" alt="Select Text" title="Select Text" height="20" width="20" align="right"></div></div><table border="0" cellpadding="0" cellspacing="0" style="border:1px solid black;margin-bottom:20px;width:1015px;border-collapse:collapse;border-radius:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin-top:0px!important;margin-right:0px!important;margin-left:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important"><tbody style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;background:none!important"><tr style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;background:none!important"><td class="" style="font-stretch:normal;border:1px solid black;padding:5px;font-size:1em!important;line-height:1.3em!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;border-radius:0px!important;float:none!important;height:auto!important;outline:0px!important;overflow:visible!important;vertical-align:baseline!important;width:auto!important;min-height:inherit!important;color:rgb(175,175,175)!important;background:none!important"><div class="" style="border-radius:0px!important;border-width:0px 3px 0px 0px!important;border-right-style:solid!important;border-right-color:rgb(108,226,108)!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 0.5em 0px 1em!important;text-align:right!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important">1</div><div class="" style="border-radius:0px!important;border-width:0px 3px 0px 0px!important;border-right-style:solid!important;border-right-color:rgb(108,226,108)!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 0.5em 0px 1em!important;text-align:right!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important">2</div><div class="" style="border-radius:0px!important;border-width:0px 3px 0px 0px!important;border-right-style:solid!important;border-right-color:rgb(108,226,108)!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 0.5em 0px 1em!important;text-align:right!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important">3</div></td><td class="" style="font-stretch:normal;border:1px solid black;padding:5px;width:984px;font-size:1em!important;line-height:1.3em!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;border-radius:0px!important;float:none!important;height:auto!important;outline:0px!important;overflow:visible!important;vertical-align:baseline!important;min-height:inherit!important;background:none!important"><div class="" style="border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;background:none!important"><div class="" style="border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 1em!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important"><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important">[mysqld]</code></div><div class="" style="border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 1em!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important"><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important">...</code></div><div class="" style="border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 1em!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important"><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important">bind</code><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-weight:bold!important;font-size:1em!important;min-height:inherit!important;color:rgb(255,20,147)!important;background:none!important">-address </code><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important">= 10.0.0.11</code></div></div></td></tr></tbody></table></div></div></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">In the <code class="">[mysqld]</code> section, set the following keys to enable useful options and the UTF-8 character set:</p><div><div id="highlighter_56192" class="" style="width:1015px;margin:1em 0px!important;overflow:auto!important;font-size:1em!important"><div class="" style="border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important"><div class="" style="float:right;border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;background:none!important"><img src="http://docs.openstack.org/juno/install-guide/install/yum/content/images/icon_clipboard.png" alt="Select Text" title="Select Text" height="20" width="20" align="right"></div></div><table border="0" cellpadding="0" cellspacing="0" style="border:1px solid black;margin-bottom:20px;width:1015px;border-collapse:collapse;border-radius:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin-top:0px!important;margin-right:0px!important;margin-left:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important"><tbody style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;background:none!important"><tr style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;background:none!important"><td class="" style="font-stretch:normal;border:1px solid black;padding:5px;font-size:1em!important;line-height:1.3em!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;border-radius:0px!important;float:none!important;height:auto!important;outline:0px!important;overflow:visible!important;vertical-align:baseline!important;width:auto!important;min-height:inherit!important;color:rgb(175,175,175)!important;background:none!important"><div class="" style="border-radius:0px!important;border-width:0px 3px 0px 0px!important;border-right-style:solid!important;border-right-color:rgb(108,226,108)!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 0.5em 0px 1em!important;text-align:right!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important">1</div><div class="" style="border-radius:0px!important;border-width:0px 3px 0px 0px!important;border-right-style:solid!important;border-right-color:rgb(108,226,108)!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 0.5em 0px 1em!important;text-align:right!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important">2</div><div class="" style="border-radius:0px!important;border-width:0px 3px 0px 0px!important;border-right-style:solid!important;border-right-color:rgb(108,226,108)!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 0.5em 0px 1em!important;text-align:right!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important">3</div><div class="" style="border-radius:0px!important;border-width:0px 3px 0px 0px!important;border-right-style:solid!important;border-right-color:rgb(108,226,108)!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 0.5em 0px 1em!important;text-align:right!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important">4</div><div class="" style="border-radius:0px!important;border-width:0px 3px 0px 0px!important;border-right-style:solid!important;border-right-color:rgb(108,226,108)!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 0.5em 0px 1em!important;text-align:right!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important">5</div><div class="" style="border-radius:0px!important;border-width:0px 3px 0px 0px!important;border-right-style:solid!important;border-right-color:rgb(108,226,108)!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 0.5em 0px 1em!important;text-align:right!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important">6</div><div class="" style="border-radius:0px!important;border-width:0px 3px 0px 0px!important;border-right-style:solid!important;border-right-color:rgb(108,226,108)!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 0.5em 0px 1em!important;text-align:right!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important">7</div></td><td class="" style="font-stretch:normal;border:1px solid black;padding:5px;width:984px;font-size:1em!important;line-height:1.3em!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;border-radius:0px!important;float:none!important;height:auto!important;outline:0px!important;overflow:visible!important;vertical-align:baseline!important;min-height:inherit!important;background:none!important"><div class="" style="border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;background:none!important"><div class="" style="border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 1em!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important"><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important">[mysqld]</code></div><div class="" style="border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 1em!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important"><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important">...</code></div><div class="" style="border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 1em!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important"><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important">default</code><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-weight:bold!important;font-size:1em!important;min-height:inherit!important;color:rgb(255,20,147)!important;background:none!important">-storage-engine </code><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important">= innodb</code></div><div class="" style="border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 1em!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important"><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important">innodb_file_per_table</code></div><div class="" style="border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 1em!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important"><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important">collation</code><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-weight:bold!important;font-size:1em!important;min-height:inherit!important;color:rgb(255,20,147)!important;background:none!important">-server </code><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important">= utf8_general_ci</code></div><div class="" style="border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 1em!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important"><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important">init</code><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-weight:bold!important;font-size:1em!important;min-height:inherit!important;color:rgb(255,20,147)!important;background:none!important">-connect </code><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important">= </code><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;color:blue!important;background:none!important">'SET NAMES utf8'</code></div><div class="" style="border-radius:0px!important;border:0px!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px 1em!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important"><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important">character</code><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-weight:bold!important;font-size:1em!important;min-height:inherit!important;color:rgb(255,20,147)!important;background:none!important">-set-server </code><code class="" style="border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;line-height:1.3em!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background:none!important">= utf8</code></div></div></td></tr></tbody></table></div></div></li></ol></li></ol></div><div class=""><a id="d6e1056"> </a><p class="" style="font-weight:bold;font-stretch:normal;font-size:10pt"><strong>To finalize installation</strong></p><ol class="" type="1" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Start the database service and configure it to start when the system boots:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># systemctl enable mariadb.service
# systemctl start mariadb.service</pre></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Secure the database service including choosing a suitable password for the root account:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># mysql_secure_installation</pre></li></ol></div></div><div class=""><div class=""><h2 class="" style="font-stretch:normal;font-size:12pt;font-family:Arial,Helvetica,geneva;color:rgb(204,0,0);clear:both"><a id="basics-messaging-server"> </a>Messaging server</h2></div><p style="font-stretch:normal;font-size:10pt">OpenStack uses a <a class="" href="http://docs.openstack.org/juno/install-guide/install/yum/content/ch_basic_environment.html#" style="border:thin dotted green;text-decoration:none;color:black;padding-left:2px;padding-right:2px;background-color:rgb(255,255,238)">message broker</a> to coordinate operations and status information among services. The message broker service typically runs on the controller node. OpenStack supports several message brokers including <span class="">RabbitMQ</span>, <span class="">Qpid</span>, and <span class="">ZeroMQ</span>. However, most distributions that package OpenStack support a particular message broker. This guide covers the RabbitMQ message broker which is supported by each distribution. If you prefer to implement a different message broker, consult the documentation associated with it.</p><div class=""><ul class="" type="disc" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt"><a class="" href="http://www.rabbitmq.com/" target="_top">RabbitMQ</a></p></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt"><a class="" href="http://qpid.apache.org/" target="_top">Qpid</a></p></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt"><a class="" href="http://zeromq.org/" target="_top">ZeroMQ</a></p></li></ul></div><div class=""><a id="d6e1081"> </a><p class="" style="font-weight:bold;font-stretch:normal;font-size:10pt"><strong>To install the <span class="">RabbitMQ</span> message broker service</strong></p><ul class="" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># yum install rabbitmq-server</pre></li></ul></div><div class=""><a id="d6e1086"> </a><p class="" style="font-weight:bold;font-stretch:normal;font-size:10pt"><strong>To configure the message broker service</strong></p><ol class="" type="1" style="font-stretch:normal;font-size:10pt"><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">Start the message broker service and configure it to start when the system boots:</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># systemctl enable rabbitmq-server.service
# systemctl start rabbitmq-server.service</pre></li><li class="" style="font-stretch:normal;font-size:10pt"><p style="font-stretch:normal;font-size:10pt">The message broker creates a default account that uses <code class="">guest</code> for the username and password. To simplify installation of your test environment, we recommend that you use this account, but change the password for it.</p><p style="font-stretch:normal;font-size:10pt">Run the following command:</p><p style="font-stretch:normal;font-size:10pt">Replace <em class=""><code>RABBIT_PASS</code></em> with a suitable password.</p><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important"># rabbitmqctl change_password guest <em class=""><code>RABBIT_PASS</code></em>
Changing password for user "guest" ...
...done.</pre></li></ol></div></div></div></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)">------------------------------x------------------x----------------x------------------------x</div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)">I have followed the instruction as above when i try to run command and try to start  <span style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-size:12px">rabbitmq-server.service service </span></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)"><pre class="" style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;width:1055px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px!important;padding:0.5em!important">systemctl start rabbitmq-server.service</pre></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif"><font color="#ff0000"><u>Status of error via </u><span style="font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-size:12px">systemctl status rabbitmq-server.service </span><u>Then i am getting below error :</u></font></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)"><br></div><div class="gmail_default" style><div class="gmail_default" style><font color="#666666" face="trebuchet ms, sans-serif">rabbitmq-server.service - RabbitMQ broker</font></div><div class="gmail_default" style><font color="#666666" face="trebuchet ms, sans-serif">   Loaded: loaded (/usr/lib/systemd/system/rabbitmq-server.service; enabled)</font></div><div class="gmail_default" style><font color="#666666" face="trebuchet ms, sans-serif">   Active: failed (Result: exit-code) since Thu 2015-01-15 02:10:13 PST; 54s ago</font></div><div class="gmail_default" style><font color="#666666" face="trebuchet ms, sans-serif">  Process: 54662 ExecStop=/usr/lib/rabbitmq/bin/rabbitmqctl stop (code=exited, status=2)</font></div><div class="gmail_default" style><font color="#666666" face="trebuchet ms, sans-serif">  Process: 54632 ExecStart=/usr/lib/rabbitmq/bin/rabbitmq-server (code=exited, status=1/FAILURE)</font></div><div class="gmail_default" style><font color="#666666" face="trebuchet ms, sans-serif"> Main PID: 54632 (code=exited, status=1/FAILURE)</font></div><div class="gmail_default" style><font color="#666666" face="trebuchet ms, sans-serif"><br></font></div><div class="gmail_default" style><font color="#666666" face="trebuchet ms, sans-serif">Jan 15 02:10:13 <a href="http://controller.example.com">controller.example.com</a> rabbitmqctl[54662]: attempted to contact: [rabbit@controller]</font></div><div class="gmail_default" style><font color="#666666" face="trebuchet ms, sans-serif">Jan 15 02:10:13 <a href="http://controller.example.com">controller.example.com</a> rabbitmqctl[54662]: rabbit@controller:</font></div><div class="gmail_default" style><font color="#666666" face="trebuchet ms, sans-serif">Jan 15 02:10:13 <a href="http://controller.example.com">controller.example.com</a> rabbitmqctl[54662]: * connected to epmd (port 4369) on controller</font></div><div class="gmail_default" style><font color="#666666" face="trebuchet ms, sans-serif">Jan 15 02:10:13 <a href="http://controller.example.com">controller.example.com</a> rabbitmqctl[54662]: * epmd reports: node 'rabbit' not running at all</font></div><div class="gmail_default" style><font color="#666666" face="trebuchet ms, sans-serif">Jan 15 02:10:13 <a href="http://controller.example.com">controller.example.com</a> rabbitmqctl[54662]: no other nodes on controller</font></div><div class="gmail_default" style><font color="#666666" face="trebuchet ms, sans-serif">Jan 15 02:10:13 <a href="http://controller.example.com">controller.example.com</a> rabbitmqctl[54662]: * suggestion: start the node</font></div><div class="gmail_default" style><font color="#666666" face="trebuchet ms, sans-serif">Jan 15 02:10:13 <a href="http://controller.example.com">controller.example.com</a> rabbitmqctl[54662]: current node details:</font></div><div class="gmail_default" style><font color="#666666" face="trebuchet ms, sans-serif">Jan 15 02:10:13 <a href="http://controller.example.com">controller.example.com</a> rabbitmqctl[54662]: - node name: rabbitmqctl54662@controller</font></div><div class="gmail_default" style><font color="#666666" face="trebuchet ms, sans-serif">Jan 15 02:10:13 <a href="http://controller.example.com">controller.example.com</a> rabbitmqctl[54662]: - home dir: /var/lib/rabbitmq</font></div><div class="gmail_default" style><font color="#666666" face="trebuchet ms, sans-serif">Jan 15 02:10:13 <a href="http://controller.example.com">controller.example.com</a> rabbitmqctl[54662]: - cookie hash: +v6hxGqtuK6mBTgxoOt3hA==</font></div><div class="gmail_default" style><font color="#666666" face="trebuchet ms, sans-serif">Jan 15 02:10:13 <a href="http://controller.example.com">controller.example.com</a> systemd[1]: rabbitmq-server.service: control process exited, code=exited status=2</font></div><div class="gmail_default" style><font color="#666666" face="trebuchet ms, sans-serif">Jan 15 02:10:13 <a href="http://controller.example.com">controller.example.com</a> systemd[1]: Failed to start RabbitMQ broker.</font></div><div class="gmail_default" style><font color="#666666" face="trebuchet ms, sans-serif">Jan 15 02:10:13 <a href="http://controller.example.com">controller.example.com</a> systemd[1]: Unit rabbitmq-server.service entered failed state.</font></div><div class="gmail_default" style><font color="#666666" face="trebuchet ms, sans-serif">[root@localhost ~]# </font></div><div style="color:rgb(102,102,102);font-family:'trebuchet ms',sans-serif"><br></div><div style="color:rgb(102,102,102);font-family:'trebuchet ms',sans-serif">What do you mean by migration ? does it mean to repeat steps again ?</div></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 15, 2015 at 3:28 PM, Alex Leonhardt <span dir="ltr"><<a href="mailto:aleonhardt.py@gmail.com" target="_blank">aleonhardt.py@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">this is probably the issue then: <br><br><div class="gmail_default" style="line-height:19.7999992370605px"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi ProgrammingError: (ProgrammingError) (1146, "Table 'keystone.token' doesn't exist") 'SELECT <a href="http://token.id/" target="_blank">token.id</a>AS token_id, token.expires AS token_expires, token.extra AS token_extra, token.valid AS token_valid, token.user_id AS token_user_id, token.trust_id AS token_trust_id \nFROM token \nWHERE <a href="http://token.id/" target="_blank">token.id</a> = %s' ('2c0dc0032d675623f37a',)</font></div><div><font color="#666666" face="trebuchet ms, sans-serif"><br></font></div><div><font color="#666666" face="trebuchet ms, sans-serif"><br></font></div><div><font color="#666666" face="trebuchet ms, sans-serif">you may need to run those db migrate scripts for keystone first .... </font></div><span class="HOEnZb"><font color="#888888"><div><font color="#666666" face="trebuchet ms, sans-serif"><br></font></div><div><font color="#666666" face="trebuchet ms, sans-serif">alex</font></div></font></span><div class="HOEnZb"><div class="h5"><div><font color="#666666" face="trebuchet ms, sans-serif"><br></font></div><br><div class="gmail_quote">On Thu Jan 15 2015 at 09:09:57 Anwar Durrani <<a href="mailto:durrani.anwar@gmail.com" target="_blank">durrani.anwar@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)">Hi Alex, below is error in log file</div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)"><br></div><div class="gmail_default"><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 ERROR keystone.common.wsgi [-] (ProgrammingError) (1146, "Table 'keystone.token' doesn't exist") 'SELECT <a href="http://token.id" target="_blank">token.id</a> AS token_id, token.expires AS token_expires, token.extra AS token_extra, token.valid AS token_valid, token.user_id AS token_user_id, token.trust_id AS token_trust_id \nFROM token \nWHERE <a href="http://token.id" target="_blank">token.id</a> = %s' ('2c0dc0032d675623f37a',)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi Traceback (most recent call last):</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/keystone/common/wsgi.py", line 430, in __call__</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     response = self.process_request(request)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/keystone/middleware/core.py", line 279, in process_request</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     auth_context = self._build_auth_context(request)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/keystone/middleware/core.py", line 259, in _build_auth_context</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     token_data=self.token_provider_api.validate_token(token_id))</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/keystone/token/provider.py", line 225, in validate_token</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     token = self._validate_token(unique_id)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/dogpile/cache/region.py", line 1013, in decorate</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     should_cache_fn)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/dogpile/cache/region.py", line 640, in get_or_create</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     async_creator) as value:</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/dogpile/core/dogpile.py", line 158, in __enter__</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     return self._enter()</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/dogpile/core/dogpile.py", line 98, in _enter</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     generated = self._enter_create(createdtime)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/dogpile/core/dogpile.py", line 149, in _enter_create</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     created = self.creator()</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/dogpile/cache/region.py", line 612, in gen_value</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     created_value = creator()</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/dogpile/cache/region.py", line 1009, in creator</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     return fn(*arg, **kw)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/keystone/token/provider.py", line 318, in _validate_token</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     token_ref = self._persistence.get_token(token_id)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/keystone/token/persistence/core.py", line 76, in get_token</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     token_ref = self._get_token(unique_id)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/dogpile/cache/region.py", line 1013, in decorate</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     should_cache_fn)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/dogpile/cache/region.py", line 640, in get_or_create</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     async_creator) as value:</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/dogpile/core/dogpile.py", line 158, in __enter__</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     return self._enter()</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/dogpile/core/dogpile.py", line 98, in _enter</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     generated = self._enter_create(createdtime)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/dogpile/core/dogpile.py", line 149, in _enter_create</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     created = self.creator()</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/dogpile/cache/region.py", line 612, in gen_value</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     created_value = creator()</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/dogpile/cache/region.py", line 1009, in creator</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     return fn(*arg, **kw)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/keystone/token/persistence/core.py", line 88, in _get_token</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     return self.driver.get_token(token_id)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/keystone/token/persistence/backends/sql.py", line 92, in get_token</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     token_ref = session.query(TokenModel).get(token_id)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 820, in get</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     return loading.load_on_ident(self, key)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/loading.py", line 231, in load_on_ident</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     return q.one()</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 2369, in one</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     ret = list(self)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 2412, in __iter__</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     return self._execute_and_instances(context)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 2427, in _execute_and_instances</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     result = conn.execute(querycontext.statement, self._params)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 729, in execute</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     return meth(self, multiparams, params)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib64/python2.7/site-packages/sqlalchemy/sql/elements.py", line 321, in _execute_on_connection</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     return connection._execute_clauseelement(self, multiparams, params)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 826, in _execute_clauseelement</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     compiled_sql, distilled_params</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 958, in _execute_context</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     context)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1156, in _handle_dbapi_exception</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     util.raise_from_cause(newraise, exc_info)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib64/python2.7/site-packages/sqlalchemy/util/compat.py", line 199, in raise_from_cause</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     reraise(type(exception), exception, tb=exc_tb)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 951, in _execute_context</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     context)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/default.py", line 436, in do_execute</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     cursor.execute(statement, parameters)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib64/python2.7/site-packages/MySQLdb/cursors.py", line 174, in execute</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     self.errorhandler(self, exc, value)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi   File "/usr/lib64/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi     raise errorclass, errorvalue</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi ProgrammingError: (ProgrammingError) (1146, "Table 'keystone.token' doesn't exist") 'SELECT <a href="http://token.id" target="_blank">token.id</a> AS token_id, token.expires AS token_expires, token.extra AS token_extra, token.valid AS token_valid, token.user_id AS token_user_id, token.trust_id AS token_trust_id \nFROM token \nWHERE <a href="http://token.id" target="_blank">token.id</a> = %s' ('2c0dc0032d675623f37a',)</font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.128 50243 TRACE keystone.common.wsgi </font></div><div class="gmail_default"><font color="#666666" face="trebuchet ms, sans-serif">2015-01-15 01:08:34.131 50243 INFO eventlet.wsgi.server [-] 192.168.0.200 - - [15/Jan/2015 01:08:34] "POST /v2.0/tenants HTTP/1.1" 500 291 0.020139</font></div><div class="gmail_default" style="color:rgb(102,102,102);font-family:'trebuchet ms',sans-serif"><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 15, 2015 at 2:04 PM, Alex Leonhardt <span dir="ltr"><<a href="mailto:aleonhardt.py@gmail.com" target="_blank">aleonhardt.py@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">I don't think anyone should try to install OS manually :) .. But check the keystone logs for what caused the 500? Maybe the admin tenant/project already exists?</p>
<br><div class="gmail_quote"><div><div>On Thu, 15 Jan 2015 08:29 Anwar Durrani <<a href="mailto:durrani.anwar@gmail.com" target="_blank">durrani.anwar@gmail.com</a>> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)">Hi everyone,</div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)">i am getting below error while running below command </div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)"><div class="gmail_default">[root@localhost ~]# keystone tenant-create --name admin --description "Admin Tenant"</div><div class="gmail_default">An unexpected error prevented the server from fulfilling your request. (HTTP 500)</div><div class="gmail_default">[root@localhost ~]# </div><div class="gmail_default"><br></div><div class="gmail_default">Prior to run this command i have done following :</div><div class="gmail_default"><br></div><div class="gmail_default">







<p><span><b>o -  Juno -  Juno -  Juno -  Juno -  Juno -  Juno -  Juno - </b></span></p>
<p><span><b> Create tenants, users, and roles</b></span></p>
<p><span>After you install the Identity service, create </span><span>tenants</span><span> (projects), </span><span>users</span><span>, and </span><span>roles</span><span> for your environment. You must use the temporary administration token that you created in <a href="http://docs.openstack.org/juno/install-guide/install/yum/content/keystone-install.html" target="_blank"><span>the section called “Install and configure”</span></a> and manually configure the location (endpoint) of the Identity service before you run <b>keystone</b> commands.</span></p>
<p><span>You can pass the value of the administration token to the <b>keystone</b> command with the </span><span>--os-token</span><span> option or set the temporary </span><span>OS_SERVICE_TOKEN</span><span> environment variable. Similarly, you can pass the location of the Identity service to the <b>keystone</b> command with the </span><span>--os-endpoint</span><span> option or set the temporary </span><span>OS_SERVICE_ENDPOINT</span><span> environment variable. This guide uses environment variables to reduce command length.</span></p>
<p><span>For more information, see the <a href="http://docs.openstack.org/openstack-ops/content/projects_users.html" target="_blank"><span>Operations Guide - Managing Project and Users</span></a>.</span></p>
<p><span> </span></p>
<p><span><b>To configure prerequisites</b></span></p>
<ol>
<li><span>Configure the administration token:<br>
</span><span>$ export OS_SERVICE_TOKEN=1dd717043ad277e29edb</span><span><br>
</span><span>$ export OS_SERVICE_TOKEN=294a4c8a8a475f9b9836</span></li>
<li><span></span><span>Configure the endpoint:<br>
</span><span>$ export OS_SERVICE_ENDPOINT=http://</span><span><i>controller</i></span><span>:35357/v2.0</span></li>
</ol></div></div><div><br></div><div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)">​Please advise, how to fix this issue ?</div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)">Thanks​</div><br></div>-- <br><div><div dir="ltr">Thanks & regards,<br>Anwar M. Durrani<div><a href="tel:%2B91-8605010721" value="+918605010721" target="_blank">+91-8605010721</a><br><a href="http://in.linkedin.com/pub/anwar-durrani/20/b55/60b" title="View public profile" name="14aed07e94215784_msg-f:1490354697381158189_14aecba4e778c129_msg-f:1490352178169491765_SafeHtmlFilter_SafeHtmlFilter_webProfileURL" target="_blank"></a><dl><dd><p>
          
        
      </p>
      </dd></dl><br></div></div></div>
</div></div></div>
______________________________<u></u>_________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.<u></u>openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-operators</a><br>
</blockquote></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Thanks & regards,<br>Anwar M. Durrani<div><a href="tel:%2B91-8605010721" value="+918605010721" target="_blank">+91-8605010721</a><br><a href="http://in.linkedin.com/pub/anwar-durrani/20/b55/60b" title="View public profile" name="14aed07e94215784_msg-f:1490354697381158189_SafeHtmlFilter_SafeHtmlFilter_webProfileURL" target="_blank"></a><dl><dd><p>
          
        
      </p>
      </dd></dl><br></div></div></div>
</div>
</blockquote></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Thanks & regards,<br>Anwar M. Durrani<div>+91-8605010721<br><a href="http://in.linkedin.com/pub/anwar-durrani/20/b55/60b" title="View public profile" name="SafeHtmlFilter_SafeHtmlFilter_webProfileURL" target="_blank"></a><dl><dd><p>
          
        
      </p>
      </dd></dl><br></div></div></div>
</div>