[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-8832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14975069#comment-14975069
 ] 

ASF GitHub Bot commented on CLOUDSTACK-8832:
--------------------------------------------

Github user jburwell commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/801#discussion_r43053203
  
    --- Diff: 
plugins/network-elements/nuage-vsp/src/com/cloud/network/resource/NuageVspResource.java
 ---
    @@ -170,20 +169,18 @@ public boolean configure(String name, Map<String, 
Object> params) throws Configu
                 throw new ConfigurationException("Unable to find retry 
interval");
             }
     
    -        _relativePath = new 
StringBuffer().append("https://";).append(hostname).append(":").append(port).append(apiRelativePath).toString();
    +        _relativePath = new 
StringBuffer().append("https://";).append(_hostName).append(":").append(port).append(apiRelativePath).toString();
     
             String cmsUserPass = 
org.apache.commons.codec.binary.StringUtils.newStringUtf8(Base64.decodeBase64(cmsUserPassBase64));
             _cmsUserInfo = new String[] {CMS_USER_ENTEPRISE_NAME, cmsUser, 
cmsUserPass};
     
    -        try {
    -            loadNuageClient();
    -        } catch (Exception e) {
    -            throw new CloudRuntimeException("Failed to login to Nuage VSD 
on " + name + " as user " + cmsUser, e);
    -        }
    +        _nuageVspCmsId = (String)params.get("nuagevspcmsid");
    +
    +        loadNuageClient();
     
             try {
                 login();
    -        } catch (Exception e) {
    +        } catch (ExecutionException | ConfigurationException e) {
                 s_logger.error("Failed to login to Nuage VSD on " + name + " 
as user " + cmsUser + " Exception " + e.getMessage());
    --- End diff --
    
    Add the exception to the log statement to ensure the stack trace is added 
to the log.


> Update Nuage VSP plugin to work with Nuage VSP release 3.2
> ----------------------------------------------------------
>
>                 Key: CLOUDSTACK-8832
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8832
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Management Server
>    Affects Versions: 4.6.0
>            Reporter: Nick Livens
>            Assignee: Nick Livens
>         Attachments: nuageVspMarvinLogs.tar.gz
>
>
> Nuage VSP 3.2 is being released, we want to bring the plugin up to date for 
> this release



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to