<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Vladimir,<br>
    <br>
    Please see comments below.<br>
    <br>
    On 03/14/2012 04:46 AM, Berezovski, Vladimir wrote:
    <blockquote
      cite="mid:EF198B0FF62B394C9A29B21B1CF47A7406F7D5@ilmbx02.IL.NDS.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <!--
[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <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:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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;}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {mso-style-name:msochpdefault;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
span.emailstyle17
        {mso-style-name:emailstyle17;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {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:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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="color:#1F497D">I repeated all
            &nbsp;&nbsp;suggested steps&nbsp; &nbsp;and do may see a&nbsp; default &nbsp;provider
            hardware profile within
          </span><span style="font-size:12.0pt;font-family:&quot;Times
            New Roman&quot;,&quot;serif&quot;">&nbsp;&nbsp;<a
              moz-do-not-send="true"
              href="http://localhost:3003/api/hardware_profiles">http://localhost:3003/api/hardware_profiles</a></span><span
            style="color:#1F497D">&nbsp; -exactly as you mentioned&nbsp; .<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Since
            I already have a rhevm &nbsp;as default &nbsp;provider &nbsp;it causes the
            problem ? looks like vsphere doesn&#8217;t catch&nbsp; the hwp1 .</span></p>
      </div>
    </blockquote>
    Configuring vsphere after rhevm shouldn't be an issue.
    aeolus-configure was built so that you could run it multiple times
    to configure multiple cloud providers.<br>
    <br>
    What did deltacloud show for vsphere's provider hardware profiles?
    That is what did you see on
    <a class="moz-txt-link-freetext" href="http://localhost:3003/api/hardware_profiles">http://localhost:3003/api/hardware_profiles</a>?<br>
    <br>
    There are two sets of hardware profiles.: 1. The provider-level
    hardware profile which can be seen from deltacloud. 1. The hardware
    one specifies in conductor and used to size a deployment.<br>
    <br>
    The default hardware profile hwp1 in conductor has the following
    attributes:<br>
    arch = x86_64<br>
    memory = 512mb<br>
    storage = any<br>
    cpu = 1<br>
    <br>
    Vsphere's provider hardware profile will have to match hwp1 for it
    to "catch".<br>
    <br>
    <blockquote
      cite="mid:EF198B0FF62B394C9A29B21B1CF47A7406F7D5@ilmbx02.IL.NDS.com"
      type="cite">
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color:#1F497D"><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">In the
            conductor : Content &#8211; Hardware &#8211; hwp1&nbsp; properties&nbsp; I see the
            list of &#8220; Matching Provider Hardware Profiles &#8220; .<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">The
            only items is in the list is the rhevm-default . I suspect
            that the vsphere should be there as well , right ? &nbsp;Should
            be added ?</span></p>
      </div>
    </blockquote>
    <br>
    You will see it if hwp1 fits the ranges listed in vsphere's hardware
    profile. Is this the case in your environment?<br>
    <br>
    <blockquote
      cite="mid:EF198B0FF62B394C9A29B21B1CF47A7406F7D5@ilmbx02.IL.NDS.com"
      type="cite">
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color:#1F497D"><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <div>
          <p class="MsoNormal"><span style="color:#1F497D">/Vlad .<o:p></o:p></span></p>
        </div>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">
                <a class="moz-txt-link-abbreviated" href="mailto:aeolus-devel-bounces@lists.fedorahosted.org">aeolus-devel-bounces@lists.fedorahosted.org</a>
                [<a class="moz-txt-link-freetext" href="mailto:aeolus-devel-bounces@lists.fedorahosted.org">mailto:aeolus-devel-bounces@lists.fedorahosted.org</a>]
                <b>On Behalf Of </b>Richard Su<br>
                <b>Sent:</b> Tuesday, March 13, 2012 2:13 AM<br>
                <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:aeolus-devel@lists.fedorahosted.org">aeolus-devel@lists.fedorahosted.org</a><br>
                <b>Subject:</b> Re: problem to add vsphere account<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">On 03/11/2012 01:45 AM, Berezovski,
          Vladimir wrote: <o:p></o:p></p>
        <div>
          <p class="MsoNormal">&nbsp;<o:p></o:p></p>
          <p class="MsoNormal">When I try to add new account to the
            vshepre provider I get this error:<o:p></o:p></p>
          <p class="MsoNormal">&nbsp;<o:p></o:p></p>
          <p class="MsoNormal">Cannot add the provider account.<o:p></o:p></p>
          <p class="MsoNormal"><strong><span
                style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">1
                error prohibited this record from being saved:</span></strong><o:p></o:p></p>
          <p class="MsoNormal">Failed to populate hardware_profiles:
            Validation failed: Memory is invalid, Cpu is invalid<o:p></o:p></p>
          <p class="MsoNormal">&nbsp;<o:p></o:p></p>
          <p class="MsoNormal">&nbsp;<o:p></o:p></p>
          <p class="MsoNormal">Is the &#8220;hardware_profiles&#8221;&nbsp; &nbsp;missing in
            the &nbsp;/etc/aeolus-configure/nodes/vsphere_configure &nbsp;and
            should be created prior &nbsp;adding provider&#8217;s account ?
            <o:p></o:p></p>
          <p class="MsoNormal">&nbsp;<o:p></o:p></p>
          <p class="MsoNormal">&nbsp;<o:p></o:p></p>
          <p class="MsoNormal">Also , what&nbsp; if there are&nbsp; some
            datastores -&nbsp; how to define them ?<o:p></o:p></p>
          <p class="MsoNormal">&nbsp;<o:p></o:p></p>
          <p class="MsoNormal">/Vlad .<o:p></o:p></p>
          <p class="MsoNormal">&nbsp;<o:p></o:p></p>
        </div>
        <p class="MsoNormal"><span
            style="font-size:12.0pt;font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;"><o:p>&nbsp;</o:p></span></p>
        <div class="MsoNormal" style="text-align:center" align="center"><span
            style="font-size:12.0pt;font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;">
            <hr size="2" width="100%" align="center">
          </span></div>
        <p class="MsoNormal"><span
style="font-size:7.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:gray"><br>
            This message is confidential and intended only for the
            addressee. If you have received this message in error,
            please immediately notify the
            <a moz-do-not-send="true" href="mailto:postmaster@nds.com">postmaster@nds.com</a>
            and delete it from your system as well as any copies. The
            content of e-mails as well as traffic data may be monitored
            by NDS for employment and security purposes.<br>
            To protect the environment please do not print this e-mail
            unless necessary.<br>
            <br>
            An NDS Group Limited company. <a moz-do-not-send="true"
              href="http://www.nds.com">www.nds.com</a></span><span
            style="font-size:12.0pt;font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;"><o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-bottom:12.0pt"><span
            style="font-size:12.0pt;font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;"><br>
            Vladimir,<br>
            <br>
            The hardware_profiles error feels like it is coming from the
            provider side. Do you have any hosts up in vsphere? I'd be
            interested to see what deltacloud shows as the vsphere
            hardware profiles. To see this, bring up a second deltacloud
            instance using this command:<br>
            <br>
            deltacloudd -i vsphere -P &lt;deltacloud_provider in
            /etc/aeolus-configures/nodes/vsphere_configure&gt; -p 3003<br>
            <br>
            Then point your browser to <a moz-do-not-send="true"
              href="http://localhost:3003/api/hardware_profiles">
              http://localhost:3003/api/hardware_profiles</a>. Enter
            your vsphere username and password.<br>
            <br>
            You should then see a default provider hardware profile with
            something like this:<br>
            default<br>
            Architecture: x86_64, i386 (default: x86_64) Memory:
            128-31657 (default: 128) Storage: nil<br>
            <br>
            To match against the provider hardware profile,
            aeolus-configure creates a default hardware profile named
            hwp1. It should have Memory = 512m, cpu = 1, and storage =
            nil.
            <br>
            You can find it listed under Administer -&gt; Content -&gt;
            Catalogs -&gt; Hardware. I don't think this is the issue
            because I am able to create a provider account with and
            without a hwp1 defined.<br>
            <br>
            As for datastores, in
            /etc/aeolus-configure/nodes/vsphere_configure, for each
            vsphere provider/instance, you designate a datastore. You
            can configure multiple providers/instances in
            vsphere_configure by listing each of them in the file.
            Example:<br>
            <br>
            &nbsp; aeolus::profiles::vsphere:<br>
            &nbsp;&nbsp;&nbsp; instances:<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datastore1provider:<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; deltacloud_provider: vsphere.example.com<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datastore: datastore1<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; network_name: "My Network"<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; username: username<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; password: password<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datastore2provider:<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; deltacloud_provider: vsphere.example.com<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datastore: datastore2<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; network_name: "My Network"<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; username: username2<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; password: password2<br>
            <br>
            <o:p></o:p></span></p>
      </div>
    </blockquote>
    <br>
  </body>
</html>