<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 03/11/2012 01:45 AM, Berezovski, Vladimir wrote:
    <blockquote
      cite="mid:EF198B0FF62B394C9A29B21B1CF47A7406E35D@ilmbx02.IL.NDS.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <style>
<!--
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
        {}
-->
</style>
      <div class="WordSection1">
        <p class="MsoNormal">&nbsp;</p>
        <p class="MsoNormal">When I try to add new account to the
          vshepre provider I get this error:</p>
        <p class="MsoNormal">&nbsp;</p>
        <p class="MsoNormal">Cannot add the provider account.</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></p>
        <p class="MsoNormal">Failed to populate hardware_profiles:
          Validation failed: Memory is invalid, Cpu is invalid</p>
        <p class="MsoNormal">&nbsp;</p>
        <p class="MsoNormal">&nbsp;</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 ?
        </p>
        <p class="MsoNormal">&nbsp;</p>
        <p class="MsoNormal">&nbsp;</p>
        <p class="MsoNormal">Also , what&nbsp; if there are&nbsp; some datastores
          -&nbsp; how to define them ?</p>
        <p class="MsoNormal">&nbsp;</p>
        <p class="MsoNormal">/Vlad .</p>
        <p class="MsoNormal">&nbsp;</p>
      </div>
      <br>
      <hr>
      <font face="Arial" color="Gray" size="1"><br>
        This message is confidential and intended only for the
        addressee. If you have received this message in error, please
        immediately notify the <a class="moz-txt-link-abbreviated" 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 class="moz-txt-link-abbreviated" href="http://www.nds.com">www.nds.com</a><br>
      </font>
    </blockquote>
    <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 class="moz-txt-link-freetext" 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>
    <br>
  </body>
</html>