cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Du Jun <dj199...@gmail.com>
Subject Re: Fail to configure network interface when booting VM
Date Mon, 10 Mar 2014 11:34:57 GMT
BTW, the /etc/cloudstack/agent/agent.properties is shown below:
#Storage
#Mon Mar 10 16:59:56 CST 2014
guest.network.device=cloudbr0
workers=5
private.network.device=cloudbr0
port=8250
resource=com.cloud.hypervisor.kvm.resource.LibvirtComputingResource
pod=1
zone=1
guid=e2e402df-6e65-3e08-a680-35ecfb39716b
public.network.device=cloudbr0
cluster=1
local.storage.uuid=05d6ad68-fdd0-4041-8371-a592727d57d4
domr.scripts.dir=scripts/network/domr/kvm
LibvirtComputingResource.id=10
host=10.10.101.103

We can see that, guest, private and public all use the network bridge
"cloudbr0". And, route table in my agent host(B) is like that:
root@ubuntu-7:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
0.0.0.0         10.10.101.254   0.0.0.0         UG    100    0        0
cloudbr0
10.10.101.0     0.0.0.0         255.255.255.0   U     0      0        0
cloudbr0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0
cloud0
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0
virbr0

It seems all okay. I wonder what I have missed?

--
Best Regards,
Du Jun



2014-03-10 19:26 GMT+08:00 Du Jun <dj199008@gmail.com>:

> Hi Bharat,
>
> Thank you for your prompt reply. As I am new to CloudStack, I have 2
> questions to consult you.
>
> >check if host B  has the systemvm.iso in it. if not copy it manually from
> host A.
> Where can I check if host B has the systemvm.iso?
>
> >before adding the host make sure the host tags are cleared.
> When I add the host B, the tag of the host is empty. After adding the
> host, I add a tag for host B so that I can always put the VM to host B for
> testing purpose. Does it matter?
>
> Thanks!
> --
> Best Regards,
> Du Jun
>
>
> 2014-03-10 19:10 GMT+08:00 Bharat Kumar <bharat.kumar@citrix.com>:
>
> Hi Jun,
>>
>> check if host B  has the systemvm.iso in it. if not copy it manually from
>> host A.
>>
>> cloudstack generally dose this for you when you add a host for the first
>> time.
>> before adding the host make sure the host tags are cleared.
>>
>> Regards,
>> Bharat.
>> On 10-Mar-2014, at 4:35 pm, Du Jun <dj199008@gmail.com> wrote:
>>
>> > Hi all,
>> >
>> > I am using CloudStack4.2 advanced zone in Ubuntu12.04. I use host
>> > A(10.10.101.103) as my management server, and use host B(10.10.101.107)
>> as
>> > my agent host. I meet a problem that the VM booted in host B fail to
>> > configure network interface when boot up. In other words, when I type
>> > `ifconfig` in VM booted in host B, I find the IP address is missing!
>> > However, there is no problem with the VM booted in host A.
>> >
>> > BTW, I both add a network bridge "cloudbr0" in management server(A) and
>> > agent host(B). Both server A and B can access the internet and I can
>> access
>> > them from outside. So, I have no idea now. Can anyone tell me how to
>> debug
>> > or provide me with some clue? Thanks!
>> >
>> > --
>> > Best Regards,
>> > Frank
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message