<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 21/05/14 16:28, Clint Dilks wrote:<br>
    </div>
    <blockquote
cite="mid:CACdTQcVNA4rg6oQ243g-TNCK+NhDvu66XK-6_BOkzE3mk1HL7g@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi<br>
        <br>
        <div>
          <div class="gmail_extra">
            <div class="gmail_quote">
              <blockquote class="gmail_quote" style="margin:0px 0px 0px
                0.8ex;border-left:1px solid
                rgb(204,204,204);padding-left:1ex">
                <div dir="ltr">
                  <div class="gmail_extra">
                    <br>
                  </div>
                  <div class="gmail_extra">Does anyone have any
                    suggestions as to how I get a working heat database?<br>
                    <br>
                  </div>
                </div>
              </blockquote>
            </div>
            <br>
          </div>
          <div class="gmail_extra">As a follow up to this I ending up
            installing heat on another system with the default MySQL
            Server, mysql-server-5.1.73-3.el6_5.x86_64.<br>
            <br>
          </div>
          <div class="gmail_extra">
            It appears that 5.1 still has issues with the creation of
            indexes but reports it as a warning rather than an error.  <br>
            <br>
          </div>
          <div class="gmail_extra">When I looked at the tables generated
            there were definitely columns missing from my original heat
            database.<br>
            <br>
          </div>
          <div class="gmail_extra">Now I am at the point where all heat
            services start and commands like heat stack-list or heat
            stack-delete work, but creation fails.  The yaml file I am
            using appears valid if I run it through <a
              moz-do-not-send="true"
              href="http://yaml-online-parser.appspot.com">http://yaml-online-parser.appspot.com</a><br>
            <br>
            Currently I am out of ideas as to how to get HEAT working,
            any suggestions welcome.<br>
            <br>
            [root@comet ~]# nova net-list | awk '/ demo-net / { print
            $2}'<br>
            8faf95e8-5cc4-4369-9df1-3102928770a4<br>
            <br>
            [root@comet ~]# echo $NET_ID<br>
            8faf95e8-5cc4-4369-9df1-3102928770a4<br>
            <br>
            <br>
            [root@comet ~]# heat stack-create -f test-stack.yml -P
            "ImageID=cirros-0.3.2-x86_64;NetID=$NET_ID" testStack<br>
            <br>
            <br>
            2014-05-21 16:05:20.633 33816 ERROR heat.engine.resource [-]
            CREATE : Server "server1"
            [717a33ef-8100-402c-8a62-a7bbf911391f] Stack "testStack"
            [2d8312d6-98d1-4c61-895a-5d169303bcc1]<br>
            2014-05-21 16:05:20.633 33816 TRACE heat.engine.resource
            Traceback (most recent call last):<br>
            2014-05-21 16:05:20.633 33816 TRACE heat.engine.resource  
            File
            "/usr/lib/python2.6/site-packages/heat/engine/resource.py",
            line 420, in _do_action<br>
            2014-05-21 16:05:20.633 33816 TRACE heat.engine.resource    
            while not check(handle_data):<br>
            2014-05-21 16:05:20.633 33816 TRACE heat.engine.resource  
            File
            "/usr/lib/python2.6/site-packages/heat/engine/resources/server.py",
            line 545, in check_create_complete<br>
            2014-05-21 16:05:20.633 33816 TRACE heat.engine.resource    
            return self._check_active(server)<br>
            2014-05-21 16:05:20.633 33816 TRACE heat.engine.resource  
            File
            "/usr/lib/python2.6/site-packages/heat/engine/resources/server.py",
            line 561, in _check_active<br>
            2014-05-21 16:05:20.633 33816 TRACE heat.engine.resource    
            raise exc<br>
            2014-05-21 16:05:20.633 33816 TRACE heat.engine.resource
            Error: Creation of server Test server failed.<br>
            <br>
            [root@comet ~]# cat test-stack.yml <br>
            heat_template_version: 2013-05-23<br>
            <br>
            description: Test Template<br>
            <br>
            parameters:<br>
              ImageID:<br>
                type: string<br>
                description: Image use to boot a server<br>
              NetID:<br>
                type: string<br>
                description: Network ID for the server<br>
            <br>
            resources:<br>
              server1:<br>
                type: OS::Nova::Server<br>
                properties:<br>
                  name: "Test server"<br>
                  image: { get_param: ImageID }<br>
                  flavor: "m1.tiny"<br>
                  networks:<br>
                  - network: { get_param: NetID }<br>
            <br>
            outputs:<br>
              server1_private_ip:<br>
                description: IP address of the server in the private
            network<br>
                value: { get_attr: [ server1, first_address ] }<br>
            <br>
          </div>
        </div>
      </div>
    </blockquote>
    You can find out whether your issue is heat or not by running:<br>
    * heat resource-show <stack_name> server1<br>
      (look at the message in the status_reason)<br>
    * nova show <server_id><br>
  </body>
</html>