<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 12/05/2012 08:55 AM, Rickard, Ronald
      wrote:<br>
    </div>
    <blockquote
cite="mid:2609279CD8E3F349862A2D85187FDE0394B06F@DEN-EXDDA-S12.corp.ebay.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I
            am attempting to install/configure Heat on RHEL 6.3.  This
            server already has other OpenStack (Essex release) products
            installed: nova, glance, keystone, etc.  I built the RPMs
            for Heat (v7) and Heat JEOS (v7) by commenting out the
            requirements on systemd-units and the systemd unit files in
            the heat.spec because RHEL 6.3 uses init instead of
            systemd.  I am thinking I can replace these systemd unit
            files with init.d scripts to startup Heat.  I installed the
            RPMs and am at the step in the process where I am creating a
            JEOS with heat_jeos:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">heat-jeos
            –y create F17-x86_64-cfntools –register-with-glance<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">It
            takes almost 10 minutes and I see activity in the
            /var/lib/oz/isos and /var/lib/oz/isocontent directory, but
            eventually, I see the following error:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Traceback
            (most recent call last):<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> 
            File "/usr/bin/heat-jeos", line 375, in <module><o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">   
            main()<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> 
            File "/usr/bin/heat-jeos", line 363, in main<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">   
            result = cmd(opts, args)<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> 
            File "/usr/bin/heat-jeos", line 139, in command_create<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">   
            build_jeos(get_oz_guest(final_tdl))<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> 
            File "/usr/lib/python2.6/site-packages/heat_jeos/utils.py",
            line 132, in build_jeos<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">   
            guest.customize(libvirt_xml)<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> 
            File "/usr/lib/python2.6/site-packages/oz/RedHat.py", line
            1166, in customize<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">   
            return self._internal_customize(libvirt_xml, "no")<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> 
            File "/usr/lib/python2.6/site-packages/oz/RedHat.py", line
            1150, in _internal_customize<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">   
            self.do_customize(guestaddr)<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> 
            File "/usr/lib/python2.6/site-packages/oz/RedHat.py", line
            1104, in do_customize<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">   
            self.guest_execute_command(guestaddr, content)<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> 
            File "/usr/lib/python2.6/site-packages/oz/RedHat.py", line
            474, in guest_execute_command<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">   
            command, timeout, tunnels)<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> 
            File "/usr/lib/python2.6/site-packages/oz/ozutil.py", line
            362, in ssh_execute_command<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">   
            return subprocess_check_output(cmd)<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> 
            File "/usr/lib/python2.6/site-packages/oz/ozutil.py", line
            329, in subprocess_check_output<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">   
            raise SubprocessException("'%s' failed(%d): %s" % (cmd,
            retcode, stderr), retcode)<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">oz.ozutil.SubprocessException:
            'ssh -i /etc/oz/id_rsa-icicle-gen -F /dev/null -o
            ServerAliveInterval=30 -o StrictHostKeyChecking=no -o
            ConnectTimeout=10 -o UserKnownHostsFile=/dev/null -o
            PasswordAuthentication=no <a class="moz-txt-link-abbreviated" href="mailto:root@W.X.Y.Z">root@W.X.Y.Z</a> yum -y update
            fedora-release<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">yum
            -y install yum-plugin-fastestmirror cloud-init python-psutil
            python-boto<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">yum
            -y update<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">sed
            --in-place -e s/Type=oneshot/"Type=oneshot\nTimeoutSec=0"/
            /lib/systemd/system/cloud-final.service' failed(2): Warning:
            Permanently added ‘W.X.Y.Z’ (RSA) to the list of known
            hosts.<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Error:
            Cannot retrieve metalink for repository: fedora. Please
            verify its path and try again<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Error:
            Cannot retrieve metalink for repository: fedora. Please
            verify its path and try again<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Error:
            Cannot retrieve metalink for repository: fedora. Please
            verify its path and try again<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">sed:
            can't read /lib/systemd/system/cloud-final.service: No such
            file or directory<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span><br>
        </p>
      </div>
    </blockquote>
    We haven't tested image creation on RHEL 6.3. Most likely we'll
    focus on RHEL 6.4 (when it is released) as our highest priority RHEL
    target. Patches for any distro are welcome though.<br>
    <br>
    You don't actually need to build your own images if the pre-built
    ones meet your needs:<br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <a href="https://github.com/heat-api/prebuilt-jeos-images/downloads">https://github.com/heat-api/prebuilt-jeos-images/downloads</a><br>
    <br>
    Hopefully this can get you to the next phase of your evaluation. Let
    us know if you have any more issues.<br>
    <br>
    cheers<br>
  </body>
</html>