Works on  ACS 4.4 (Make sure you are passing the correct vm id):

#list nics virtualmachineid=d6c6b69c-d162-4fe8-a5cc-fd09ea32d525
count = 1
nic:
id = 8f15c1a0-d6b2-4eae-849e-1496747b22d9
deviceid = 0
gateway = 10.0.64.1
ipaddress = 10.0.65.178
isdefault = True
macaddress = 02:00:6e:f1:00:01
netmask = 255.255.240.0
networkid = e6e9ba59-2779-469b-9a1a-82dccd55d7f3
virtualmachineid = d6c6b69c-d162-4fe8-a5cc-fd09ea32d525


-Saksham

-----Original Message-----
From: Nux! [mailto:n...@li.nux.ro] 
Sent: Monday, June 23, 2014 1:58 PM
To: dev@cloudstack.apache.org
Subject: [cloudmonkey] 431: Unable to execute API command listnics due to 
invalid value

Hi,

I'm trying to list the nics of my virtualmachines (searching for some IP 
address) and for many of them I get this error:

"cloudmonkey list nics virtualmachineid=913303d6-6243-4b1a-8acb-254086d123b3
431: Unable to execute API command listnics due to invalid value. Invalid 
parameter virtualmachineid value=913303d6-6243-4b1a-8acb-254086d123b3 due to 
incorrect long value format, or entity does not exist or due to incorrect 
parameter annotation for the field in api cmd class."

The management server log shows:

Object entity uuid = 913303d6-6243-4b1a-8acb-254086d123b3 does not exist in the 
database.
Unable to execute API command listnics due to invalid value. Invalid parameter 
virtualmachineid value=913303d6-6243-4b1a-8acb-254086d123b3 due to incorrect 
long value format, or entity does not exist or due to incorrect parameter 
annotation for the field in api cmd class.

The UI however lists the said VM and its nics (and IPs) just fine. Anyone knows 
what could be going on?

This is ACS 4.3 KVM.

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

Reply via email to