cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DaanHoogland <...@git.apache.org>
Subject [GitHub] cloudstack pull request: CLOUDSTACK-9063 CitrixResourceBase refact...
Date Tue, 17 Nov 2015 07:57:42 GMT
Github user DaanHoogland commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1066#discussion_r45030452
  
    --- Diff: plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/Xenserver625Resource.java
---
    @@ -55,10 +55,10 @@ public void umountSnapshotDir(final Connection conn, final Long dcId)
{}
     
         @Override
         public boolean setupServer(final Connection conn,final Host host) {
    -        final com.trilead.ssh2.Connection sshConnection = new com.trilead.ssh2.Connection(_host.getIp(),
22);
    +        final com.trilead.ssh2.Connection sshConnection = new com.trilead.ssh2.Connection(getXenServerHost().getIp(),
22);
             try {
                 sshConnection.connect(null, 60000, 60000);
    -            if (!sshConnection.authenticateWithPassword(_username, _password.peek()))
{
    +            if (!sshConnection.authenticateWithPassword(getData().getUsername(), getData().getPasswords().peek()))
{
    --- End diff --
    
    Ok, i can live with that.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message