Daniel_7
Contributor
Contributor

having problem with citrix in vcenter7

Hi

im running citrix and vcenter 7.3 

after take snapshot and create machine catalog this error appear :

A specified parameter was not correct: deviceChange[1].device.key Cannot add multiple devices using the same device key..

anyone know what to do ?

thanks

Reply
0 Kudos
ptarnawski
Hot Shot
Hot Shot

Hey @Daniel_7 ,

The error message you're encountering, "A specified parameter was not correct: deviceChange[1].device.key Cannot add multiple devices using the same device key," typically indicates an issue with the virtual machine's configuration in your Citrix and vCenter environment. This error suggests that there is a problem with the device key assigned to a virtual device in the VM's configuration.

 

You need to have a look into the logs



Visit my blog:AngrySysOps.com
YT: AngryAdminYoutube
Visit my:Xwitter


If my answer has successfully addressed your issue, kindly mark it as RESOLVED. If it has provided valuable assistance, consider giving it a KUDOS. Thanks
Reply
0 Kudos
adminsrs
Contributor
Contributor

Hello,

I have the same error since we switched to version 7.

I don't know where to find the logs. Can you help me please ? Thanks in advance

Reply
0 Kudos
ptarnawski
Hot Shot
Hot Shot

hey @adminsrs ,

 

These logs should help: 

 

  • /var/log/vmware/vpxd/vpxd.log on the vCenter Server
  • <drive>:\Program Files (x86)\VMware\vCAC\vCenter\<agent name>\Logs\vSphereAgent.log on the vCAC server

 

Furthermore, I found something online related to your issue @Daniel_7 :

 

To fix the issue, you need to make sure that all of the devices that you are trying to add to the VM have unique device keys. You can do this by generating a new device key for each device. You can use the following Python code to generate a device key:

Python
import uuid

def generate_device_key():
  return str(uuid.uuid4())

print(generate_device_key())
 

This code will generate a new device key and print it to the console. You can then use this device key to add the device to the VM.

Once you have fixed the issue, you should be able to add the devices to the VM without any errors.

Here are some additional things to check:

  • Make sure that you are using the latest version of vCenter Server and vCAC.
  • Make sure that the vSphere Agent is installed and configured correctly on the vCAC server.
  • Try restarting the vCenter Server and vCAC server.

 

 



Visit my blog:AngrySysOps.com
YT: AngryAdminYoutube
Visit my:Xwitter


If my answer has successfully addressed your issue, kindly mark it as RESOLVED. If it has provided valuable assistance, consider giving it a KUDOS. Thanks
adminsrs
Contributor
Contributor

Hello ,
Thank you for your reply.How do I verify unique device keys on a virtual machine?
I use the snapshot of this machine to create the catalog of machines.
I don't see multiple key except VI SDK UUID
Thanks a lot for your help.
Sincerely

Reply
0 Kudos