cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sateesh Chodapuneedi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-9704) Remove dependency on VmwareContext object to fetch system VM key file
Date Mon, 26 Dec 2016 05:58:58 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-9704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sateesh Chodapuneedi updated CLOUDSTACK-9704:
---------------------------------------------
    Description: 
While remote executing commands/scripts in VR, ACS uses system vm keyfile. ACS is fetching
this key file using following code
{code:java|borderStyle=solid}
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.


  was:
While remote executing commands/scripts in VR, ACS uses system vm keyfile. ACS is fetching
this key file using following code
{code:java|title=Fetching keyfile|borderStyle=solid}
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.



> 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|borderStyle=solid}
> 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.4#6332)

Mime
View raw message