cloudstack/plugins/hypervisors
Remi Bergsma 551e11cf3e CLOUDSTACK-10013: Make the generated VR/json files unique (ports #1470)
This ports PR #1470 by @remibergsma.

Make the generated json files unique to prevent concurrency issues:
The json files now have UUIDs to prevent them from getting overwritten
before they've been executed. Prevents config to be pushed to the wrong
router.

2016-02-25 18:32:23,797 DEBUG [c.c.a.t.Request] (AgentManager-Handler-1:null) (logid:) Seq 2-4684025087442026584: Processing:  { Ans: , MgmtId: 90520732674657, via: 2, Ver: v1, Flags: 10, [{"com.cloud.agent.api.routing.GroupA
nswer":{"results":["null - success: null","null - success: [INFO] update_config.py :: Processing incoming file => vm_dhcp_entry.json.4ea45061-2efb-4467-8eaa-db3d77fb0a7b\n[INFO] Processing JSON file vm_dhcp_entry.json.4ea4506
1-2efb-4467-8eaa-db3d77fb0a7b\n"],"result":true,"wait":0}}] }

On the router:
2016-02-25 18:32:23,416  merge.py __moveFile:298 Processed file written to /var/cache/cloud/processed/vm_dhcp_entry.json.4ea45061-2efb-4467-8eaa-db3d77fb0a7b.gz

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-12-23 09:22:44 +05:30
..
baremetal CLOUDSTACK-9776: extra DHCP options support for Nuage VSP 2017-11-21 11:44:39 +01:00
hyperv CLOUDSTACK-10198: removed unused (#1437) 2017-12-19 12:24:25 +05:30
kvm CLOUDSTACK-10013: Make the generated VR/json files unique (ports #1470) 2017-12-23 09:22:44 +05:30
ovm Updating pom.xml version numbers for release 4.9.4.0-SNAPSHOT 2017-09-07 20:21:43 +05:30
ovm3 CLOUDSTACK-10196: Remove ejb-api 3.0 dependency (#2348) 2017-12-18 23:59:06 +05:30
simulator CLOUDSTACK-10024: Network migration support 2017-12-21 11:25:17 +01:00
ucs CLOUDSTACK-10196: Remove ejb-api 3.0 dependency (#2348) 2017-12-18 23:59:06 +05:30
vmware CLOUDSTACK-10173: Pick network rate from guest offering for VRs (#2351) 2017-12-21 17:50:40 +05:30
xenserver CLOUDSTACK-10196: Remove ejb-api 3.0 dependency (#2348) 2017-12-18 23:59:06 +05:30