Merge pull request #1785 from prashanthvarma/4.9

CLOUDSTACK-9416 : Enabling Static NAT on an associated Public IP to one of the 
NICs (networks) of a multi-NIC VM fails due to a wrong (default) Guest VM IP 
being selected in the GUIBug in ACS master GUI: Enabling Static NAT on an 
associated Public IP to one of the NICs (networks) of a multi-NIC VM fails due 
to a wrong (default) Guest VM IP being selected in the GUI.

ERROR:
INFO  [c.c.a.ApiServer](catalina-exec-7:ctx-83926837 ctx-fc7aa5ed) VM ip 
10.10.2.163 address not belongs to the vm

ACS GUI before the bug fix:

![network1](https://cloud.githubusercontent.com/assets/3722369/16091177/cff63836-3332-11e6-8854-c7e8222a7c67.png)
![network2](https://cloud.githubusercontent.com/assets/3722369/16091186/d7118ba2-3332-11e6-9143-ae0a5cd96235.png)

As you can see in the above attached ACS GUI screen shots, same (default) guest 
VM IP is being selected in the ACS GUI for both the NICs (networks) of the 
multi-NIC VM while enabling Static NAT on the corresponding associated Public 
IPs. Thus, we hit this issue.

ACS GUI after this bug fix:

![fixed_network1](https://cloud.githubusercontent.com/assets/3722369/16091242/1c1b3252-3333-11e6-82e5-071bd05a7edb.png)
![fixed_network2](https://cloud.githubusercontent.com/assets/3722369/16091245/1fd52696-3333-11e6-8f96-3f9ca0019af6.png)

As you can see in the above attached ACS GUI screen shots, this bug fix 
resolves the above mentioned issue.

* pr/1785:
  CLOUDSTACK-9416 : Enabling Static NAT on an associated Public IP to one of 
the NICs (networks) of a multi-NIC VM fails due to a wrong (default) Guest VM 
IP being selected in the GUI

Signed-off-by: Rohit Yadav <[email protected]>


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

Branch: refs/heads/4.9
Commit: f78e9463497e00efcc4d8af19af4a6771dbb569a
Parents: 6a449e4 094c4cf
Author: Rohit Yadav <[email protected]>
Authored: Sun Nov 27 16:00:55 2016 +0530
Committer: Rohit Yadav <[email protected]>
Committed: Sun Nov 27 16:00:58 2016 +0530

----------------------------------------------------------------------
 ui/scripts/network.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


Reply via email to