[ https://issues.apache.org/jira/browse/CLOUDSTACK-9704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15892028#comment-15892028 ]
ASF GitHub Bot commented on CLOUDSTACK-9704: -------------------------------------------- Github user blueorangutan commented on the issue: https://github.com/apache/cloudstack/pull/1862 @borisstoyanov unsupported parameters provided. Supported mgmt server os are: `centos6, centos7, ubuntu`. Supported hypervisors are: `kvm-centos6, kvm-centos7, kvm-ubuntu, xenserver-65sp1, xenserver-62sp1, vmware-60u2, vmware-55u3, vmware-51u1, vmware-50u1` > Remove dependency on VmwareContext object to fetch system VM key file > --------------------------------------------------------------------- > > Key: CLOUDSTACK-9704 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9704 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Reporter: Sateesh Chodapuneedi > Assignee: Sateesh Chodapuneedi > > While remote executing commands/scripts in VR, ACS uses system vm keyfile. > ACS is fetching this key file using following code > {code:java} > VmwareManager mgr = > getServiceContext().getStockObject(VmwareManager.CONTEXT_STOCK_NAME); > File systemVmKeyFile = mgr.getSystemVMKeyFile(); > {code} > This is inefficient because dependency on getServiceContext() in above code > means a vCenter connection handle which is not required just to fetch a file > in name space in management server. -- This message was sent by Atlassian JIRA (v6.3.15#6346)