[
https://issues.apache.org/jira/browse/CLOUDSTACK-9416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15699461#comment-15699461
]
ASF subversion and git services commented on CLOUDSTACK-9416:
-------------------------------------------------------------
Commit f78e9463497e00efcc4d8af19af4a6771dbb569a in cloudstack's branch
refs/heads/master from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f78e946 ]
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:


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:


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]>
> 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
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-9416
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9416
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: UI
> Reporter: Mani Prashanth Varma Manthena
> Assignee: Nick Livens
> Fix For: 4.9.2.0
>
> Attachments: network1.png, network2.png
>
>
> 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:
> {noformat}
> 2016-06-13 04:50:00,456 DEBUG [o.s.b.f.s.DefaultListableBeanFactory]
> (catalina-exec-7:ctx-83926837 ctx-fc7aa5ed) Returning cached instance of
> singleton bean 'alertManagerImpl'
> 2016-06-13 04:50:00,456 DEBUG [o.s.b.f.a.InjectionMetadata]
> (catalina-exec-7:ctx-83926837 ctx-fc7aa5ed) Processing injected method of
> bean 'org.apache.cloudstack.api.command.user.nat.EnableStaticNatCmd':
> AutowiredFieldElement for public com.cloud.utils.db.UUIDManager
> org.apache.cloudstack.api.BaseCmd._uuidMgr
> 2016-06-13 04:50:00,456 DEBUG [o.s.b.f.s.DefaultListableBeanFactory]
> (catalina-exec-7:ctx-83926837 ctx-fc7aa5ed) Returning cached instance of
> singleton bean 'uUIDManagerImpl'
> 2016-06-13 04:50:00,472 DEBUG [o.s.b.f.s.DefaultListableBeanFactory]
> (catalina-exec-7:ctx-83926837 ctx-fc7aa5ed) Returning cached instance of
> singleton bean 'messageBus'
> 2016-06-13 04:50:00,479 INFO [c.c.a.ApiServer] (catalina-exec-7:ctx-83926837
> ctx-fc7aa5ed) VM ip 10.10.2.163 address not belongs to the vm
> 2016-06-13 04:50:00,480 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-7:ctx-83926837 ctx-fc7aa5ed) ===END=== 10.31.56.146 -- GET
> command=enableStaticNat&response=json&sessionkey=Mfs%2B%2F0LCnpWSNQ1SdTi1Q8MxLBc%3D&ipaddressid=36262bcc-282a-46c2-8a80-472e2a24ab5e&virtualmachineid=af160cde-6762-4756-b97f-f3829f6d9802&vmguestip=10.10.2.163&_=1465818687943
> 2016-06-13 04:50:02,261 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-9:ctx-6050366f) ===START=== 10.31.56.146 -- GET
> command=queryAsyncJobResult&jobId=7850c125-54a2-4e99-ab78-9f0e3578c304&response=json&sessionkey=Mfs%2B%2F0LCnpWSNQ1SdTi1Q8MxLBc%3D&_=1465818689752
> 2016-06-13 04:50:02,264 DEBUG [o.s.b.f.a.InjectionMetadata]
> (catalina-exec-9:ctx-6050366f ctx-00689e3f) Processing injected method of
> bean 'org.apache.cloudstack.api.command.user.job.QueryAsyncJobResultCmd':
> AutowiredFieldElement for public com.cloud.configuration.ConfigurationService
> org.apache.cloudstack.api.BaseCmd._configService
> 2016-06-13 04:50:02,264 DEBUG [o.s.b.f.s.DefaultListableBeanFactory]
> (catalina-exec-9:ctx-6050366f ctx-00689e3f) Returning cached instance of
> singleton bean 'configurationManagerImpl'
> 2016-06-13 04:50:02,264 DEBUG [o.s.b.f.a.InjectionMetadata]
> (catalina-exec-9:ctx-6050366f ctx-00689e3f) Processing injected method of
> bean 'org.apache.cloudstack.api.command.user.job.QueryAsyncJobResultCmd':
> AutowiredFieldElement for public com.cloud.user.AccountService
> org.apache.cloudstack.api.BaseCmd._accountService
> 2016-06-13 04:50:02,264 DEBUG [o.s.b.f.s.DefaultListableBeanFactory]
> (catalina-exec-9:ctx-6050366f ctx-00689e3f) Returning cached instance of
> singleton bean 'accountManagerImpl'
> 2016-06-13 04:50:02,264 DEBUG [o.s.b.f.a.InjectionMetadata]
> (catalina-exec-9:ctx-6050366f ctx-00689e3f) Processing injected method of
> bean 'org.apache.cloudstack.api.command.user.job.QueryAsyncJobResultCmd':
> AutowiredFieldElement for public com.cloud.vm.UserVmService
> org.apache.cloudstack.api.BaseCmd._userVmService
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)