ibmcb / cbtool

Cloud Rapid Experimentation and Analysis Toolkit
Apache License 2.0
78 stars 49 forks source link

PLM: ycsb vm can't start because there is no template entry for "4-16384" vm configuration #448

Open rayx opened 3 months ago

rayx commented 3 months ago

ycsb vm can't start on PLM backend, because there is no entry for "4(vcpu)-16384(vmem)" vm configuration in lib/clouds/plm_cloud_ops.py and configs/templates/_plm.txt. My fix:

lib/clouds/plm_cloud_ops.py:

self.vhw_config["04-16384"] = { "vcpus" : "4", "vmem" : "16384", "vstorage" : "104800", "vnics" : "1" }

configs/templates/_plm.txt

04-16384=04-16384

PS: I use a different (and perhaps simpler) naming style than that in the original code.