[one-users] eth0 not detecting guest Centt OS VM in opennebula

Jaime Melis jmelis at opennebula.org
Tue Nov 13 03:15:29 PST 2012


Hi,

did you run "brctl show" while the VM was running? Do you have a valid
route to 192.168.12.0/24 from the worker node?

cheers,
Jaime


On Thu, Oct 18, 2012 at 5:02 AM, Kannadhasan Thangadurai <
kannadhasan.t at payoda.com> wrote:

> Hi Please find the below details:
>
> Network Template:
>
> *NAME = "vnet02"*
> *TYPE = RANGED*
> *BRIDGE = br100*
> *NETWORK_SIZE = C*
> *#NETWORK_ADDRESS= 192.168.2.0/24*
> *IP_START = 192.168.12.60*
> *IP_END = 192.168.12.70*
> *VLAN = NO*
> *NETWORK_MASK = 255.255.255.0*
> *# Custom Attributes to be used in Context*
> *GATEWAY = 192.168.12.254*
> *DNS = 192.168.12.6*
>
> Bridge Detail:
>
> *# brctl show *
> *bridge name bridge id STP enabled interfaces*
> *br100 8000.001cc0a3db2f no eth0*
>
> VM Template:
>
> *#CAPACITY Definition*
> *NAME = CentOSServer01*
> *CPU = 1*
> *MEMORY = 1024*
> *# OS image, mapped to hda.*
> *DISK = [ DRIVER=qcow2, READONLY=no,   IMAGE_ID = 7,   TARGET=hda,
> TYPE=disk ]*
> *FEATURES = [ ACPI=yes ]*
> *# I/O Devices Section*
> *GRAPHICS = [   TYPE= vnc ]*
> *HOSTNAME = PCLOUD$VMID.payoda.com*
> *#NETWORK Section:*
> *NIC = [ network = "vnet02" ]*
> *#OS and BOOT Options Section*
> *OS = [  ARCH=x86_64,   BOOT=hd ]*
> *#RAW Section*
> *RAW = [ TYPE=kvm ]*
> *
> *
> *CONTEXT = [*
> *   hostname    = "PCLOUD$VMID.payoda.com",*
> *   ip_public   = "$NIC[IP]",*
> *   gateway     = "$NETWORK[GATEWAY, NETWORK=\"vnet02\"]",*
> *   netmask     = "$NETWORK[NETWORK_MASK, NETWORK=\"vnet02\"]",*
> *   dns         = "$NETWORK[DNS, NETWORK=\"vnet02\"]",*
> *   files       = "/var/lib/one/template/init.sh
> /var/lib/one/.ssh/id_rsa.pub",*
> *   root_pubkey = "id_rsa.pub",*
> *   username    = "oneadmin",*
> *   user_pubkey = "id_rsa.pub"*
> *]*
>
>
> Please guide me on this
>
>
> On Wed, Oct 17, 2012 at 9:22 PM, Jaime Melis <jmelis at opennebula.org>wrote:
>
>> Hello,
>>
>> can you send us a few things:
>> - brctl show (in the hypervisor)
>> - network template
>> - virtual machine template
>>
>> Also, please include the GRAPHICS section in your template, so you can
>> have VNC and debug the network issues from there:
>> http://opennebula.org/documentation:rel3.6:template#i_o_devices_section
>>
>> cheers,
>> Jaime
>>
>> On Wed, Oct 17, 2012 at 4:09 PM, Kannadhasan Thangadurai <
>> kannadhasan.t at payoda.com> wrote:
>>
>>>  Hi Team,
>>>
>>> I have installed a CentOS VM in KVM, and added that image in opennebula,
>>> Created a Template.
>>>
>>> The VM successfully getting started but there is no ethernet (eth0)
>>> connection.
>>>
>>> Please guide me on this.
>>>
>>> Thanks,
>>> Kannadhasan Thangadurai.
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>
>>
>> --
>> Jaime Melis
>> Project Engineer
>> OpenNebula - The Open Source Toolkit for Cloud Computing
>> www.OpenNebula.org | jmelis at opennebula.org
>>
>
>


-- 
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jmelis at opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121113/a0d2cfaf/attachment.htm>


More information about the Users mailing list