<div dir="ltr"><div>Hello,</div><div>the problem is that my externet network uses http proxy for downloading package from internet</div><div>The file /etc/sysconfig/heat-params containes the HTTP_PROXY variable I passed to the cluster template but it does not export it for part007 script and etcd is not downloaded.</div><div>If I change  /etc/sysconfig/heat-params and insert at the head</div><div>set -a</div><div><br></div><div>and then I run part007 script, it works because reads the HTTP_PROXY variable and can download etcd.</div><div><br></div><div>This seems a bug.</div><div>Regards</div><div>Ignazio<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno gio 4 lug 2019 alle ore 04:39 Feilong Wang <<a href="mailto:feilong@catalyst.net.nz">feilong@catalyst.net.nz</a>> ha scritto:<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>Hi Ignazio,</p>
    <p>Based on the error message you provided, the etcd cluster is not
      started successfully. You can run the script part-007 manually to
      debug what's the root cause.<br>
    </p>
    <p><br>
    </p>
    <div class="gmail-m_275041473639815090moz-cite-prefix">On 4/07/19 7:03 AM, Ignazio Cassano
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div>Hi All,</div>
        <div>I 've just installed openstack kolla queens and wen I try
          to run a kubernetes cluster,</div>
        <div>the master node reports the following in the cloud init log
          file:</div>
        <div>Cloud-init v. 0.7.9 running 'modules:config' at Wed, 03 Jul
          2019 18:57:19 +0000. Up 20.40 seconds.<br>
          + CA_FILE=/etc/pki/ca-trust/source/anchors/openstack-ca.pem<br>
          + '[' -n '' ']'<br>
          <br>
          /var/lib/cloud/instance/scripts/part-007: line 57:
          /etc/etcd/etcd.conf: No such file or directory<br>
          /var/lib/cloud/instance/scripts/part-007: line 70:
          /etc/etcd/etcd.conf: No such file or directory<br>
          /var/lib/cloud/instance/scripts/part-007: line 86:
          /etc/etcd/etcd.conf: No such file or directory<br>
          Cloud-init v. 0.7.9 running 'modules:final' at Wed, 03 Jul
          2019 18:57:21 +0000. Up 21.93 seconds.<br>
          2019-07-03 18:59:23,121 - util.py[WARNING]: Failed running
          /var/lib/cloud/instance/scripts/part-007 [1]<br>
        </div>
        <div>
          <pre class="gmail-m_275041473639815090gmail-prettyprint"><code><span class="gmail-m_275041473639815090gmail-pln">
</span></code></pre>
          <pre class="gmail-m_275041473639815090gmail-prettyprint"><code><span class="gmail-m_275041473639815090gmail-pln">The image I am using is suggested in the openstack documentation:

<span></span><span class="gmail-m_275041473639815090gmail-gp">$</span> wget <a href="https://download.fedoraproject.org/pub/alt/atomic/stable/Fedora-Atomic-27-20180212.2/CloudImages/x86_64/images/Fedora-Atomic-27-20180212.2.x86_64.qcow2" target="_blank">https://download.fedoraproject.org/pub/alt/atomic/stable/Fedora-Atomic-27-20180212.2/CloudImages/x86_64/images/Fedora-Atomic-27-20180212.2.x86_64.qcow2</a>

</span></code></pre>
          <pre class="gmail-m_275041473639815090gmail-prettyprint"><code><span class="gmail-m_275041473639815090gmail-pln">The volume driver is cinder and the docker storage driver is overlay.
</span></code></pre>
          <pre class="gmail-m_275041473639815090gmail-prettyprint"><code><span class="gmail-m_275041473639815090gmail-pln">The docker volume size is 5 GB  and THE VOLUME SIZE OF THE FLAVOR IS 20gb.

</span></code></pre>
          <pre class="gmail-m_275041473639815090gmail-prettyprint"><code><span class="gmail-m_275041473639815090gmail-pln">Seems image is missing some packeages :-(
</span></code></pre>
          <pre class="gmail-m_275041473639815090gmail-prettyprint"><code><span class="gmail-m_275041473639815090gmail-pln">Anyone could help me, please ?
</span></code></pre>
          <pre class="gmail-m_275041473639815090gmail-prettyprint"><code><span class="gmail-m_275041473639815090gmail-pln">Ignazio
</span></code></pre>
          <pre class="gmail-m_275041473639815090gmail-prettyprint"><code><span class="gmail-m_275041473639815090gmail-pln">
</span></code></pre>
          <pre class="gmail-m_275041473639815090gmail-prettyprint"><code><span class="gmail-m_275041473639815090gmail-pln">
</span></code></pre>
        </div>
      </div>
    </blockquote>
    <pre class="gmail-m_275041473639815090moz-signature" cols="72">-- 
Cheers & Best regards,
Feilong Wang (王飞龙)
--------------------------------------------------------------------------
Senior Cloud Software Engineer
Tel: +64-48032246
Email: <a class="gmail-m_275041473639815090moz-txt-link-abbreviated" href="mailto:flwang@catalyst.net.nz" target="_blank">flwang@catalyst.net.nz</a>
Catalyst IT Limited
Level 6, Catalyst House, 150 Willis Street, Wellington
-------------------------------------------------------------------------- </pre>
  </div>

</blockquote></div>