You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "shweta agarwal (JIRA)" <ji...@apache.org> on 2014/09/09 08:32:28 UTC

[jira] [Created] (CLOUDSTACK-7515) [LXC] user VM is getting different mac than the one with router for the same VM in case of shared network

shweta agarwal created CLOUDSTACK-7515:
------------------------------------------

             Summary: [LXC] user VM is getting different mac than the one with router  for the same VM in case of shared network
                 Key: CLOUDSTACK-7515
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7515
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: KVM, Network Controller
    Affects Versions: 4.5.0
            Reporter: shweta agarwal
            Assignee: Kishan Kavala
            Priority: Critical
             Fix For: 4.5.0


Repro steps:

1. Create a advanced zone with LXC hosts having 2 clusters .one cluster having one host and other having two host .all host are LXC
2. Create a shared Network
3. Create a VM  using only shared network as default network

Bug:
Notice mac address that VM has is different than the one Router has for the same vm 

router VM shows

cat /etc/dhcphosts.txt
06:2e:70:00:00:1d,set:10_147_31_148,10.147.31.148,VM-bb8425ca-d97a-48dc-a69d-7ceb3ba454e2,infinite
06:b7:8a:00:00:18,set:10_147_31_143,10.147.31.143,VM-afcdd0b3-59e0-4104-8fe8-f12b344c6336,infinite
06:45:08:00:00:19,set:10_147_31_144,10.147.31.144,VM-ef2bbfd7-59d1-4e43-97fb-1a1ac233be9b,infinite
06:e2:c6:00:00:1b,set:10_147_31_146,10.147.31.146,VM-f0e8245a-b382-45d7-a01d-e63c111fbef5,infinite

For USER VM with  IP 10.147.31.144
router has mac06:45:08:00:00:19 but VM  has mac  06:4d:15:46:f3:c6 

Ifconfig on VM  shows
 ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::44d:15ff:fe46:f3c6  prefixlen 64  scopeid 0x20<link>
        ether 06:4d:15:46:f3:c6  txqueuelen 1000  (Ethernet)
        RX packets 1938  bytes 414054 (404.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 14  bytes 2700 (2.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Notice even IP is not set for such VMs

Attaching Ms and agent logs









--
This message was sent by Atlassian JIRA
(v6.3.4#6332)