[ https://issues.apache.org/jira/browse/CLOUDSTACK-316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chandan Purushothama closed CLOUDSTACK-316. ------------------------------------------- Successfully added a Ubuntu 12.04 KVM Host to the CloudStack Setup. The Host has the following bridge structure. root@Rack3Host17:~# brctl show bridge name bridge id STP enabled interfaces asfbr0 8000.bc305bd41c36 no eth0 asfbr1 8000.bc305bd41c37 no eth1 cloud0 8000.000000000000 no virbr0 8000.000000000000 yes root@Rack3Host17:~# root@Rack3Host17:~# ifconfig asfbr0 Link encap:Ethernet HWaddr bc:30:5b:d4:1c:36 inet addr:10.223.59.2 Bcast:10.223.59.63 Mask:255.255.255.192 inet6 addr: fe80::be30:5bff:fed4:1c36/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:935551 errors:0 dropped:0 overruns:0 frame:0 TX packets:58913 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:199281936 (199.2 MB) TX bytes:4484904 (4.4 MB) asfbr1 Link encap:Ethernet HWaddr bc:30:5b:d4:1c:37 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) cloud0 Link encap:Ethernet HWaddr fa:f5:3f:b1:11:38 inet addr:169.254.0.1 Bcast:169.254.255.255 Mask:255.255.0.0 inet6 addr: fe80::f8f5:3fff:feb1:1138/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:812 (812.0 B) eth0 Link encap:Ethernet HWaddr bc:30:5b:d4:1c:36 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3724402 errors:0 dropped:5207 overruns:0 frame:0 TX packets:58920 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2410731394 (2.4 GB) TX bytes:4740058 (4.7 MB) Interrupt:16 Memory:da000000-da012800 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2776 errors:0 dropped:0 overruns:0 frame:0 TX packets:2776 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:269616 (269.6 KB) TX bytes:269616 (269.6 KB) virbr0 Link encap:Ethernet HWaddr 02:a3:5b:b0:58:b0 inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) root@Rack3Host17:~# root@Rack3Host17:~# ip route default via 10.223.59.1 dev asfbr0 metric 100 10.223.59.0/26 dev asfbr0 proto kernel scope link src 10.223.59.2 169.254.0.0/16 dev cloud0 proto kernel scope link src 169.254.0.1 192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 root@Rack3Host17:~# ============================ Verified on Build with the following Info: ============================ This is the version information for the manifests in the JAR files. Implementation_Version: 2.2.20121012230921 > KVM Agent setup fails due to cloudbr0 set as public network interface > --------------------------------------------------------------------- > > Key: CLOUDSTACK-316 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-316 > Project: CloudStack > Issue Type: Bug > Components: KVM, Management Server > Affects Versions: 4.0.0 > Environment: Ubuntu 12.04 > CloudStack 4.0.0-incubator > Reporter: Wido den Hollander > Assignee: Wido den Hollander > Fix For: 4.0.0 > > > I just set up a fresh CloudStack 4.0 platform and tried to add a host via the > wizard. > My Basic network settings: > - guest: vlanbr672 > - private: vlanbr670 > During the wizard there is never a prompt for the public network, you can > only set the storage label, but I didn't do that. > I kept waiting for the hypervisor to come online, but the agent wouldn't > start. The log showed: > 2012-10-11 14:55:46,835 DEBUG [cloud.resource.ServerResourceBase] > (main:null) Retrieving network interface: cloudbr0 > 2012-10-11 14:55:46,835 DEBUG [cloud.resource.ServerResourceBase] > (main:null) Unable to get network interface for cloudbr0 > 2012-10-11 14:55:46,835 DEBUG [cloud.resource.ServerResourceBase] > (main:null) Retrieving network interface: null > 2012-10-11 14:55:46,835 DEBUG [cloud.resource.ServerResourceBase] > (main:null) Retrieving network interface: null > ... > .... > ..... > ...... > 2012-10-11 14:55:50,617 DEBUG [utils.script.Script] (main:null) > Executing: /bin/bash -c brctl show | grep cloudbr0 | awk '{print $4}' > 2012-10-11 14:55:50,624 DEBUG [utils.script.Script] (main:null) Execution > is successful. > 2012-10-11 14:55:50,624 DEBUG [utils.script.Script] (main:null) > Executing: /bin/bash -c ls /proc/net/vlan/null > 2012-10-11 14:55:50,630 DEBUG [utils.script.Script] (main:null) Exit > value is 2 > 2012-10-11 14:55:50,630 DEBUG [utils.script.Script] (main:null) ls: > cannot access /proc/net/vlan/null: No such file or directory > ... > .... > ..... > 2012-10-11 14:55:50,649 DEBUG [kvm.resource.LibvirtComputingResource] > (main:null) Failed to get public nic name > 2012-10-11 14:55:50,649 ERROR [cloud.agent.AgentShell] (main:null) Unable > to start agent: Failed to get public nic name > This was due to this setting in agent.properties: > public.network.device=cloudbr0 > My setup doesn't have cloudbr0, so why was this set? > The management server log shows me: > 2012-10-11 14:55:14,545 DEBUG [utils.ssh.SSHCmdHelper] > (catalina-exec-21:null) Executing cmd: cloud-setup-agent -m 31.25.100.163 -z > 1 -p 1 -c 1 -g 614b7f96-b6e9-38f2-984b-956af817f771 -a --pubNic=cloudbr0 > --prvNic=vlanbr670 --guestNic=vlanbr672 > 2012-10-11 14:55:47,555 DEBUG [utils.ssh.SSHCmdHelper] > (catalina-exec-21:null) cloud-setup-agent -m 31.25.100.163 -z 1 -p 1 -c 1 -g > 614b7f96-b6e9-38f2-984b-956af817f771 -a --pubNic=cloudbr0 --prvNic=vlanbr670 > --guestNic=vlanbr672 output:CloudStack Agent setup is done! > As you can see, the management server came up with "cloudbr0" for the public > network, while I never configured that. > Should public network be set to guest network in a Basic KVM zone? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira