<div dir="ltr"><div>Hi,</div><div><br></div><div>So, IIUC, your server has a single NIC, eth0, right?</div><div><br></div><div>Could you provide the configuration file for eth0 before running packstack?, i guess you are using ifcfg files?<br></div><div><br></div><div>Best regards,</div><div><br></div><div>Alfredo</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 31, 2019 at 2:20 AM Bernd Bausch <<a href="mailto:berndbausch@gmail.com">berndbausch@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF">
    <p>Trying to set up a Stein cloud with Packstack. I want the
      Openvswitch mech driver and VXLAN type driver. A few weeks ago,
      the following invocation was successful:</p>
    <pre class="gmail-m_8890231743903911560prettyprint"><code><span class="gmail-m_8890231743903911560pln">sudo packstack </span><span class="gmail-m_8890231743903911560pun">--</span><span class="gmail-m_8890231743903911560pln">debug </span><span class="gmail-m_8890231743903911560pun">--</span><span class="gmail-m_8890231743903911560pln">allinone </span><span class="gmail-m_8890231743903911560pun">--</span><span class="gmail-m_8890231743903911560kwd">default</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">password pw        \
               </span><span class="gmail-m_8890231743903911560pun">--</span><span class="gmail-m_8890231743903911560pln">os</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">neutron</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">ovs</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">bridge</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">interfaces</span><span class="gmail-m_8890231743903911560pun">=</span><span class="gmail-m_8890231743903911560pln">br</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">ex</span><span class="gmail-m_8890231743903911560pun">:</span><span class="gmail-m_8890231743903911560pln">eth0   \
               </span><span class="gmail-m_8890231743903911560pun">--</span><span class="gmail-m_8890231743903911560pln">os</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">neutron</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">ml2</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">tenant</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">network</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">types</span><span class="gmail-m_8890231743903911560pun">=</span><span class="gmail-m_8890231743903911560pln">vxlan     \
               </span><span class="gmail-m_8890231743903911560pun">--</span><span class="gmail-m_8890231743903911560pln">os</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">neutron</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">ml2</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">mechanism</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">drivers</span><span class="gmail-m_8890231743903911560pun">=</span><span class="gmail-m_8890231743903911560pln">openvswitch  \
               </span><span class="gmail-m_8890231743903911560pun">--</span><span class="gmail-m_8890231743903911560pln">os</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">neutron</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">ml2</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">type</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">drivers</span><span class="gmail-m_8890231743903911560pun">=</span><span class="gmail-m_8890231743903911560pln">vxlan</span><span class="gmail-m_8890231743903911560pun">,</span><span class="gmail-m_8890231743903911560pln">flat        \
               </span><span class="gmail-m_8890231743903911560pun">--</span><span class="gmail-m_8890231743903911560pln">os</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">neutron</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">l2</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">agent</span><span class="gmail-m_8890231743903911560pun">=</span><span class="gmail-m_8890231743903911560pln">openvswitch               \
               </span><span class="gmail-m_8890231743903911560pun">--</span><span class="gmail-m_8890231743903911560pln">provision</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">demo</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">floatrange</span><span class="gmail-m_8890231743903911560pun">=</span><span class="gmail-m_8890231743903911560lit">10.1</span><span class="gmail-m_8890231743903911560pun">.</span><span class="gmail-m_8890231743903911560lit">1.0</span><span class="gmail-m_8890231743903911560pun">/</span><span class="gmail-m_8890231743903911560lit">24</span><span class="gmail-m_8890231743903911560pln">         \
               </span><span class="gmail-m_8890231743903911560pun">--</span><span class="gmail-m_8890231743903911560pln">provision</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">demo</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">allocation</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">pools </span><span class="gmail-m_8890231743903911560str">'["start=10.1.1.10,end=10.1.1.50"]'</span><span class="gmail-m_8890231743903911560pln"> \
               </span><span class="gmail-m_8890231743903911560pun">--</span><span class="gmail-m_8890231743903911560pln">os</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">heat</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">install</span><span class="gmail-m_8890231743903911560pun">=</span><span class="gmail-m_8890231743903911560pln">y </span><span class="gmail-m_8890231743903911560pun">--</span><span class="gmail-m_8890231743903911560pln">os</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">heat</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">cfn</span><span class="gmail-m_8890231743903911560pun">-</span><span class="gmail-m_8890231743903911560pln">install</span><span class="gmail-m_8890231743903911560pun">=</span><span class="gmail-m_8890231743903911560pln">y</span></code><code><span class="gmail-m_8890231743903911560pln">
</span></code></pre>
    <p>Now, it fails during network setup. My network connection to the
      Packstack server is severed, and it turns out that its only
      network interface <i>eth0 </i>has no IP address and is down. No
      bridge exists.</p>
    <p>In the <i>network.pp.finished </i>file, I find various <i>ovs-vsctl
      </i>commands including <i>add-br</i>, and a command <i>ifdown
        eth0 </i>which fails with exit code 1 (no error message from
      the <i>ifdown </i>command is logged). <br>
    </p>
    <p><b>Can somebody recommend the options required to successfully
        deploy a Stein cloud based on the Openvswitch and VXLAN drivers?</b></p>
    <p>Thanks much,</p>
    <p>Bernd<br>
    </p>
    <p><br>
    </p>
    <br>
    <pre class="gmail-m_8890231743903911560prettyprint"><code><span class="gmail-m_8890231743903911560pln"></span></code></pre>
    <code><span class="gmail-m_8890231743903911560pln"></span></code>
  </div>

</blockquote></div>