incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Fojtik <mfoj...@redhat.com>
Subject Re: [jira] [Commented] (DTACLOUD-43) Image Create fails w/ RHEVM driver
Date Mon, 30 May 2011 09:07:18 GMT
On May 24, 2011, at 11:26 PM, wes hayutin (JIRA) wrote:

Hi,

I'm not an PowerShell expert, but for me it's seems like a wrong memory value '512'
I think this size need to be input in bytes or something (I had this issues a while ago)...

Could you also first try to use a GIT version of DC API? If it doesn't help, you can tune
memory using 'hwp_memory' parameter.

  -- Michal

> Caused by: com.redhat.rhevm.api.powershell.util.PowerShellException: Command '$templ
= get-template -templateid "3b3b6403-2941-4001-9468-758b587f1aab"
> ;$v = add-vm -name "test02" -templateobject $templ -hostclusterid "5" -vmtype Server
-memorysize 512 -numofsockets 1 -numofcpuspersocket 1 -async;$v;$
> tasks = get-lastcommandtasks ; if ($tasks) { $tasks ; get-tasksstatus -commandtaskidlist
$tasks } ; $v | foreach { $d = $_.creationdate; $d; $d = [sys
> tem.datetime]::specifykind($d, [system.datetimeKind]::utc); [string]::format("{0}:{1}:{2}:{3}:{4}:{5}",
$d.year, $d.month, $d.day, $d.hour,$d.minute,
> $d.second);     if ($_.runningonhost -ne '-1') {  $h = get-host $_.runningonhost;  $nics
= $h.getnetworkadapters();  $nets = get-networks -clusterid $
> h.hostclusterid;  foreach ($net in $nets) {    if ($net.isdisplay) {      $display_net
= $net.name;      break;    }  }  if (!$display_net) {    $disp
> lay_net = "rhevm";  }  $display_nic = $nics[0];  foreach ($nic in $nics) {    if ($nic.network
-eq $display_net) {      $display_nic = $nic;    }  }
> $display_nic;}}' exited with status=1

------------------------------------------------------
Michal Fojtik, mfojtik@redhat.com
Deltacloud API: http://deltacloud.org


Mime
View raw message