shwstppr commented on PR #11601:
URL: https://github.com/apache/cloudstack/pull/11601#issuecomment-3332571054
@rohityadavcloud @harikrishna-patnala addressed comments. Now all extension
payloads will contain `caller` field in `externaldetails` which will give basic
details of the caller. Please see if that works for you
```
# cat
/var/lib/cloudstack/management/extensions/Proxmox/5811778e-bded-4576-96bb-3d529d8c0a33.json
| jq
{
"virtualmachineid": "126f4562-1f0f-4313-875e-6150cabeb72f",
"cloudstack.vm.details": {
"id": 45,
"name": "i-2-45-VM",
"state": "Running",
"type": "User",
"cpus": 1,
"minSpeed": 500,
"maxSpeed": 500,
"minRam": 536870912,
"maxRam": 536870912,
"arch": "x86_64",
"bootArgs": "",
"enableHA": false,
"limitCpuUse": false,
"enableDynamicallyScaleVm": false,
"vncPassword": "uHQHQ4niy8f4ogwCM1k-rw",
"details": {
"proxmox_vmid": "103",
"cpuOvercommitRatio": "2.0",
"External:template_type": "template",
"External:template_id": "101",
"Message.ReservedCapacityFreed.Flag": "false"
},
"uuid": "126f4562-1f0f-4313-875e-6150cabeb72f",
"enterHardwareSetup": false,
"disks": [],
"nics": [],
"configDriveLocation": "SECONDARY",
"guestOsDetails": {},
"extraConfig": {},
"networkIdToNetworkNameMap": {}
},
"virtualmachinename": "i-2-45-VM",
"externaldetails": {
"caller": {
"roleid": "6b86674b-7e61-11f0-ba77-1e00c8000158",
"rolename": "Root Admin",
"name": "admin",
"roletype": "Admin",
"id": "93567ed9-7e61-11f0-ba77-1e00c8000158",
"type": "ADMIN"
},
"host": {
"node": "ref-trl-9283-k-mr8-abhishek-kumar-proxmox1",
"network_bridge": "cloudbr1",
"secret": "c0541327-d325-4a0f-8e14-3baf9eeb2da0",
"user": "root@pam",
"verify_tls_certificate": "false",
"url": "10.0.35.44",
"token": "token1"
},
"virtualmachine": {
"template_type": "template",
"template_id": "101"
}
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]