Details
Description
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:
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