[ https://issues.apache.org/jira/browse/CLOUDSTACK-8947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14982165#comment-14982165 ]
Wei Zhou commented on CLOUDSTACK-8947: -------------------------------------- The VR cannot start if load balancer is configured. {code} 2015-10-30 09:30:29,872 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-3:null) Transforming com.cloud.agent.api.routing.IpAssocCommand to ConfigItems 2015-10-30 09:30:29,895 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-3:null) Transforming com.cloud.agent.api.routing.SetFirewallRulesCommand to ConfigItems 2015-10-30 09:30:29,897 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-3:null) Transforming com.cloud.agent.api.routing.SetStaticNatRulesCommand to ConfigItems 2015-10-30 09:30:29,899 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-3:null) Transforming com.cloud.agent.api.routing.SetFirewallRulesCommand to ConfigItems 2015-10-30 09:30:29,902 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-3:null) Transforming com.cloud.agent.api.routing.SetPortForwardingRulesCommand to ConfigItems 2015-10-30 09:30:29,904 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-3:null) Transforming com.cloud.agent.api.routing.LoadBalancerConfigCommand to ConfigItems 2015-10-30 09:30:29,905 DEBUG [cloud.network.HAProxyConfigurator] (agentRequest-Handler-3:null) global section: global 2015-10-30 09:30:29,905 DEBUG [cloud.network.HAProxyConfigurator] (agentRequest-Handler-3:null) global section: log 127.0.0.1:3914 local0 warning 2015-10-30 09:30:29,905 DEBUG [cloud.network.HAProxyConfigurator] (agentRequest-Handler-3:null) global section: maxconn 4096 2015-10-30 09:30:29,905 DEBUG [cloud.network.HAProxyConfigurator] (agentRequest-Handler-3:null) global section: maxpipes 1024 2015-10-30 09:30:29,905 DEBUG [cloud.network.HAProxyConfigurator] (agentRequest-Handler-3:null) global section: chroot /var/lib/haproxy 2015-10-30 09:30:29,905 DEBUG [cloud.network.HAProxyConfigurator] (agentRequest-Handler-3:null) global section: user haproxy 2015-10-30 09:30:29,905 DEBUG [cloud.network.HAProxyConfigurator] (agentRequest-Handler-3:null) global section: group haproxy 2015-10-30 09:30:29,905 DEBUG [cloud.network.HAProxyConfigurator] (agentRequest-Handler-3:null) global section: daemon 2015-10-30 09:30:29,905 DEBUG [cloud.network.HAProxyConfigurator] (agentRequest-Handler-3:null) default section: defaults 2015-10-30 09:30:29,905 DEBUG [cloud.network.HAProxyConfigurator] (agentRequest-Handler-3:null) default section: log global 2015-10-30 09:30:29,906 DEBUG [cloud.network.HAProxyConfigurator] (agentRequest-Handler-3:null) default section: mode tcp 2015-10-30 09:30:29,906 DEBUG [cloud.network.HAProxyConfigurator] (agentRequest-Handler-3:null) default section: option dontlognull 2015-10-30 09:30:29,906 DEBUG [cloud.network.HAProxyConfigurator] (agentRequest-Handler-3:null) default section: retries 3 2015-10-30 09:30:29,906 DEBUG [cloud.network.HAProxyConfigurator] (agentRequest-Handler-3:null) default section: option redispatch 2015-10-30 09:30:29,906 DEBUG [cloud.network.HAProxyConfigurator] (agentRequest-Handler-3:null) default section: option forwardfor 2015-10-30 09:30:29,906 DEBUG [cloud.network.HAProxyConfigurator] (agentRequest-Handler-3:null) default section: option forceclose 2015-10-30 09:30:29,906 DEBUG [cloud.network.HAProxyConfigurator] (agentRequest-Handler-3:null) default section: timeout connect 5000 2015-10-30 09:30:29,906 DEBUG [cloud.network.HAProxyConfigurator] (agentRequest-Handler-3:null) default section: timeout client 50000 2015-10-30 09:30:29,906 DEBUG [cloud.network.HAProxyConfigurator] (agentRequest-Handler-3:null) default section: timeout server 50000 2015-10-30 09:30:29,906 INFO [cloud.network.HAProxyConfigurator] (agentRequest-Handler-3:null) Haproxy mode http enabled 2015-10-30 09:30:29,906 DEBUG [cloud.network.HAProxyConfigurator] (agentRequest-Handler-3:null) Haproxystats rule: listen stats_on_public 10.11.115.143:8081 mode http option httpclose stats enable stats uri /admin?stats stats realm Haproxy\ Statistics stats auth admin1:AdMiN123 2015-10-30 09:30:29,908 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-3:null) Transforming com.cloud.agent.api.routing.SetMonitorServiceCommand to ConfigItems 2015-10-30 09:30:29,909 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-3:null) Transforming com.cloud.agent.api.routing.DhcpEntryCommand to ConfigItems 2015-10-30 09:30:29,910 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-3:null) Transforming com.cloud.agent.api.routing.VmDataCommand to ConfigItems 2015-10-30 09:30:30,523 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-3:null) Executing: /usr/share/cloudstack-common/scripts/network/domr/router_proxy.sh vr_cfg.sh 169.254.2.168 -c /var/cache/cloud/VR-5e9c470c-138c-4814-832d-06ced9c8773b.cfg 2015-10-30 09:30:31,154 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-3:null) Exit value is 1 2015-10-30 09:30:31,155 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-3:null) VR config: execution failed: "/opt/cloud/bin/update_config.py ip_associations.json", check /var/log/cloud.log in VR for details 2015-10-30 09:30:31,173 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) Seq 20-5745185749641199649: { Ans: , MgmtId: 345051313197, via: 20, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StartAnswer":{"vm":{"id":7514,"name":"r-7514-VM","type":"DomainRouter","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":134217728,"maxRam":134217728,"arch":"x86_64","os":"Debian GNU/Linux 7(64-bit)","platformEmulator":"Debian GNU/Linux 7(64-bit)","bootArgs":" template=domP name=r-7514-VM eth2ip=10.11.115.143 eth2mask=255.255.255.0 gateway=10.11.115.254 eth0ip=10.1.43.1 eth0mask=255.255.255.0 domain=devcloud.lan cidrsize=24 dhcprange=10.1.43.1 eth1ip=169.254.2.168 eth1mask=255.255.0.0 type=router disable_rp_filter=true dns1=8.8.8.8 dns2=8.8.4.4","enableHA":true,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"38TQRIKGcN2FhQKBqvWh6A","vncAddr":"172.16.15.15","params":{},"uuid":"91352ace-cf1e-454b-8542-3bd3c9c27fff","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"204b7e56-f089-4861-9a42-00703c098fd5","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"1dcbc42c-99bc-3276-9d86-4ad81ef1ad8e","id":2,"poolType":"NetworkFilesystem","host":"172.16.15.254","path":"/storage/cs-115-pri","port":2049,"url":"NetworkFilesystem://172.16.15.254/storage/cs-115-pri/?ROLE=Primary&STOREUUID=1dcbc42c-99bc-3276-9d86-4ad81ef1ad8e"}},"name":"ROOT-7514","size":3145728000,"path":"204b7e56-f089-4861-9a42-00703c098fd5","volumeId":7516,"vmName":"r-7514-VM","accountId":2,"format":"QCOW2","provisioningType":"THIN","id":7516,"deviceId":0,"cacheMode":"NONE","hypervisorType":"KVM"}},"diskSeq":0,"path":"204b7e56-f089-4861-9a42-00703c098fd5","type":"ROOT","_details":{"managed":"false","storagePort":"2049","storageHost":"172.16.15.254","volumeSize":"3145728000"}}],"nics":[{"deviceId":2,"networkRateMbps":200,"defaultNic":true,"pxeDisable":true,"nicUuid":"09f90817-d35c-4a56-961e-2b1560144d68","uuid":"765b43a0-43f7-4b23-abcc-86ccc6197a0e","ip":"10.11.115.143","netmask":"255.255.255.0","gateway":"10.11.115.254","mac":"06:cc:fe:00:00:36","dns1":"8.8.8.8","dns2":"8.8.4.4","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://115","isolationUri":"vlan://115","isSecurityGroupEnabled":false,"name":"cloudbr0"},{"deviceId":0,"networkRateMbps":200,"defaultNic":false,"pxeDisable":true,"nicUuid":"9ec805c8-df0b-40b6-9505-adefb9e436f0","uuid":"a15faf7f-959f-4d63-a478-79c794c7e312","ip":"10.1.43.1","netmask":"255.255.255.0","mac":"02:00:68:a4:00:1f","dns1":"8.8.8.8","dns2":"8.8.4.4","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://854","isolationUri":"vlan://854","isSecurityGroupEnabled":false,"name":"cloudbr0"},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"pxeDisable":true,"nicUuid":"acbb3a99-9853-49ad-b54b-606017fbe069","uuid":"dc8a1a58-e581-49a2-8377-dc4fba1dfa57","ip":"169.254.2.168","netmask":"255.255.0.0","gateway":"169.254.0.1","mac":"0e:00:a9:fe:02:a8","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":false}]},"result":true,"wait":0}},{"com.cloud.agent.api.check.CheckSshAnswer":{"result":true,"wait":0}},{"com.cloud.agent.api.GetDomRVersionAnswer":{"templateVersion":"Cloudstack Release 4.6.0 Thu Aug 6 23:23:49 UTC 2015","scriptsVersion":"8e577757f8423c7479bc4ca71de97792\n","result":true,"details":"Cloudstack Release 4.6.0 Thu Aug 6 23:23:49 UTC 2015&8e577757f8423c7479bc4ca71de97792\n","wait":0}},{"com.cloud.agent.api.NetworkUsageAnswer":{"routerName":"r-7514-VM","bytesSent":0,"bytesReceived":0,"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"details":"Command aggregation started","wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":false,"details":"VR config: execution failed: \"/opt/cloud/bin/update_config.py ip_associations.json\", check /var/log/cloud.log in VR for details ","wait":0}}] } 2015-10-30 09:30:31,250 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Request:Seq 20-5745185749641199652: { Cmd , MgmtId: 345051313197, via: 20, Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"checkBeforeCleanup":false,"vmName":"r-7514-VM","wait":0}}] } {code} > Load Balancer not working with Isolated Networks > ------------------------------------------------ > > Key: CLOUDSTACK-8947 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8947 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Virtual Router > Affects Versions: 4.6.0 > Reporter: Wilder Rodrigues > Assignee: Wilder Rodrigues > Priority: Blocker > Fix For: 4.6.0 > > > 1. acquire IP in an isolated network > 2. go to ipaddress -> configuration -> firewall > 3. add firewall exception for port 22 > 4. then add LB rule for port 22 to a user VM > 5. try sshing to the new acquired ip(in step 1) --- ssh fails -- This message was sent by Atlassian JIRA (v6.3.4#6332)