<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 11/08/14 20:42, david ferahi wrote:<br>
    </div>
    <blockquote
cite="mid:CAJU_hXtKde=BC1rqA1ao=Z-pSkck=ThKW1SL=ysdnLuJh9-gHA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hello, <br>
          <br>
          I 'm trying to create a simple stack with heat (Icehouse
          release). <br>
          The template contains SoftwareConfig, SoftwareDeployment and a
          single server resources.<br>
          <br>
          The problem is that the SoftwareDeployment resource is always
          in progress !<br>
          <br>
        </div>
      </div>
    </blockquote>
    So first I'm going to assume you're using an image that you have
    created with diskimage-builder which includes the heat-config-script
    element:<br>
<a class="moz-txt-link-freetext" href="https://github.com/openstack/heat-templates/tree/master/hot/software-config/elements">https://github.com/openstack/heat-templates/tree/master/hot/software-config/elements</a><br>
    <br>
    When I a diagnosing deployments which don't signal back I do the
    following:<br>
    - ssh into the server and sudo to root<br>
    - stop the os-collect-config service:<br>
      systemctl stop os-collect-config<br>
    - run os-collect-config manually and check for errors:<br>
      os-collect-config --one-time --debug<br>
    <br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <blockquote
cite="mid:CAJU_hXtKde=BC1rqA1ao=Z-pSkck=ThKW1SL=ysdnLuJh9-gHA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>After waiting for more than an hour the stack deployment
          failed and I got this error:<br>
          <br>
           TRACE heat.engine.resource HTTPUnauthorized: ERROR:
          Authentication failed. Please try again with option
          --include-password or export HEAT_INCLUDE_PASSWORD=1<br>
          TRACE heat.engine.resource Authentication required<br>
          <br>
        </div>
      </div>
    </blockquote>
    This looks like a different issue, you should find out what is
    happening to your server configuration first.<br>
    <br>
    <br>
    <blockquote
cite="mid:CAJU_hXtKde=BC1rqA1ao=Z-pSkck=ThKW1SL=ysdnLuJh9-gHA@mail.gmail.com"
      type="cite">
      <div dir="ltr">When I checked t<span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none;background-color:rgb(255,255,255)">he
          log file (/var/log/heat/heat-engine.log), it shows  the
          following message(every second):</span>
        <br>
        2014-08-10 19:41:09.622 2391 INFO urllib3.connectionpool [-]
        Starting new HTTP connection (1): 192.168.122.10<br>
        2014-08-10 19:41:10.648 2391 INFO urllib3.connectionpool [-]
        Starting new HTTP connection (1): 192.168.122.10<br>
        2014-08-10 19:41:11.671 2391 INFO urllib3.connectionpool [-]
        Starting new HTTP connection (1): 192.168.122.10<br>
        2014-08-10 19:41:12.690 2391 INFO urllib3.connectionpool [-]
        Starting new HTTP connection (1): 192.168.122.10<br>
        <br>
        Here the template I am using :<br>
        <a moz-do-not-send="true"
href="https://github.com/openstack/heat-templates/blob/master/hot/software-config/example-templates/wordpress/WordPress_software-config_1-instance.yaml"
          target="_blank">https://github.com/openstack/heat-templates/blob/master/hot/software-config/example-templates/wordpress/WordPress_software-config_1-instance.yaml</a><br>
        <br>
        Please help !<br>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>