You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Nux! <nu...@li.nux.ro> on 2014/06/23 10:27:38 UTC
[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
Re: [cloudmonkey] 431: Unable to execute API command listnics due
to invalid value
Posted by Nux! <nu...@li.nux.ro>.
Ok, my bad, sory for the noise.
I was running a batch job with "cloudmonkey listvirtualmachines" and using the "id" from there, but only now noticed there are 2 "id" fields, one for the machine and one for the nic.
Please ignore. :)
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
----- Original Message -----
From: "Nux!" <nu...@li.nux.ro>
To: dev@cloudstack.apache.org
Sent: Monday, 23 June, 2014 9:27:38 AM
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
RE: 431: Unable to execute API command listnics due to invalid value
Posted by Saksham Srivastava <sa...@citrix.com>.
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:nux@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