cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaya...@apache.org
Subject [2/2] git commit: updated refs/heads/4.3 to d825b3d
Date Thu, 26 Dec 2013 11:26:58 GMT
Fixed issue in setting vm ip,mac in vm_instance table

This issue is not seen in 4.2, It is observed only in 4.3.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/749c77ae
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/749c77ae
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/749c77ae

Branch: refs/heads/4.3
Commit: 749c77ae16a2de0606bf38d882a9fd8ded6d615b
Parents: fd831ff
Author: Jayapal <jayapal@apache.org>
Authored: Thu Dec 26 16:36:16 2013 +0530
Committer: Jayapal <jayapal@apache.org>
Committed: Thu Dec 26 16:40:00 2013 +0530

----------------------------------------------------------------------
 server/src/com/cloud/vm/UserVmManagerImpl.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/749c77ae/server/src/com/cloud/vm/UserVmManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/vm/UserVmManagerImpl.java b/server/src/com/cloud/vm/UserVmManagerImpl.java
index b557b74..19285da 100755
--- a/server/src/com/cloud/vm/UserVmManagerImpl.java
+++ b/server/src/com/cloud/vm/UserVmManagerImpl.java
@@ -3248,6 +3248,7 @@ public class UserVmManagerImpl extends ManagerBase implements UserVmManager,
Vir
                     || network.getTrafficType() == TrafficType.Public) {
                 userVm.setPrivateIpAddress(nic.getIp4Address());
                 userVm.setPrivateMacAddress(nic.getMacAddress());
+                _vmDao.update(userVm.getId(), userVm);
             }
         }
 


Mime
View raw message