Ask Your Question
0

ESXI VM not getting IP from Nova-network ? [closed]

asked 2014-09-22 05:32:31 -0600

Vinoth gravatar image

I have Vmware Vcenter integrated openstack with nova-network setup in my lab. When I launched the Instance in horizon which will successfully launch vm in the ESXI host. But VM is not getting any IP from DHCP agent. I also tried manually setting up the IP in the instance but Still I am not able to ping another instance or gateway & nothing. Could anyone help me with the solution?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Vinoth
close date 2014-10-14 00:12:44.342787

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-09-24 06:25:27 -0600

Vinoth gravatar image

updated 2014-09-24 07:29:40 -0600

Issue has been resolved. I had created br100 port with VLAN ID tag which should stopped all the packets from nova-dhcp-server. Now after deleting the VLAN ID from port group everything working fine :-).

Attached is the screen shot of port group with VLAN tag I had created in ESXI hostimage description

edit flag offensive delete link more
0

answered 2014-09-22 21:03:16 -0600

Qiang gravatar image
It's working in my lab:

    root@compute-vmware:~# nova net-list
    +--------------------------------------+-----------------+-----------------+
    | ID                                   | Label           | CIDR            |
    +--------------------------------------+-----------------+-----------------+
    | 0125ea7e-9b7c-41e1-b808-f6e80b6f8339 | vmware-net      | 10.11.4.0/24    |
    | d7fa6c25-7200-4a31-a743-8236cae2eb35 | xen-vlan150-net | 172.16.150.0/24 |
    | 2641fe38-881a-4b6e-89f9-a9f96e7f2f7f | xen-vlan200-net | 172.16.200.0/24 |
    +--------------------------------------+-----------------+-----------------+
    root@compute-vmware:~# nova network-show vmware-net
    +---------------------+--------------------------------------+
    | Property            | Value                                |
    +---------------------+--------------------------------------+
    | bridge              | vlan10                               |
    | bridge_interface    | eth1                                 |
    | broadcast           | 10.11.4.255                          |
    | cidr                | 10.11.4.0/24                         |
    | cidr_v6             | -                                    |
    | created_at          | 2014-09-11T06:20:38.000000           |
    | deleted             | 0                                    |
    | deleted_at          | -                                    |
    | dhcp_start          | 10.11.4.2                            |
    | dns1                | 8.8.4.4                              |
    | dns2                | -                                    |
    | gateway             | 10.11.4.1                            |
    | gateway_v6          | -                                    |
    | host                | compute-vmware                       |
    | id                  | 0125ea7e-9b7c-41e1-b808-f6e80b6f8339 |
    | injected            | False                                |
    | label               | vmware-net                           |
    | multi_host          | True                                 |
    | netmask             | 255.255.255.0                        |
    | netmask_v6          | -                                    |
    | priority            | -                                    |
    | project_id          | 5f42cedeae954d658501b591252be8bc     |
    | rxtx_base           | -                                    |
    | updated_at          | 2014-09-20T08:41:37.000000           |
    | vlan                | -                                    |
    | vpn_private_address | -                                    |
    | vpn_public_address  | 10.11.21.37                          |
    | vpn_public_port     | -                                    |
    +---------------------+--------------------------------------+
    root@compute-vmware:~# 
root@compute-vmware:~# brctl show
bridge name bridge id       STP enabled interfaces
br100       8000.000000000000   no      
virbr0      8000.000000000000   yes     
vlan-90     8000.000c29310080   no      
vlan10      8000.000000000000   no      eth1
xenapi      8000.000000000000   no      

root@compute-vmware:~# ifconfig -a
br100     Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          inet addr:10.11.4.3  Bcast:10.11.4.255  Mask:255.255.255.0
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:55737 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21871 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:14464956 (14.4 MB)  TX bytes:3497468 (3.4 MB)

eth0      Link encap:Ethernet  HWaddr 00:0c:29:31:00:76  
          inet addr:10.11.21.34  Bcast:10.11.21.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fe31:76/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5081329 errors:0 dropped:252 overruns:0 frame:0
          TX packets:4670892 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2468280961 (2.4 GB)  TX bytes:1097611628 (1.0 GB)

eth1      Link encap:Ethernet  HWaddr 00:0c:29:31:00:80  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:58486 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21874 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:16184964 (16.1 MB)  TX bytes:3497726 (3.4 MB)

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:65536  Metric:1
          RX packets:177 errors:0 dropped:0 overruns:0 frame:0
          TX packets:177 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:24352 (24.3 KB)  TX bytes:24352 (24.3 KB)

virbr0    Link encap:Ethernet  HWaddr 1a:1a:67:c5:65:33  
          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 ...
(more)
edit flag offensive delete link more

Comments

Big Thanks for your response Quaing. I have tried everything as you mentioned in the summary but still I am facing the same issues. Do I wanna change anything in vmware ESXI host other than creating br100 portgroup ? I also enabled promiscuous mode in a NIC of ESXI host.

Vinoth gravatar imageVinoth ( 2014-09-24 01:42:21 -0600 )edit

Could you share me the steps, you did in the Vcenter environment ?

Vinoth gravatar imageVinoth ( 2014-09-24 06:10:18 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-09-22 05:32:31 -0600

Seen: 415 times

Last updated: Sep 24 '14