You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "Xianqing Yu (JIRA)" <ji...@apache.org> on 2015/10/01 21:13:26 UTC

[jira] [Created] (VCL-909) get_random_mac_address in utils.pm may generate the same mac for VMs

Xianqing Yu created VCL-909:
-------------------------------

             Summary: get_random_mac_address in utils.pm may generate the same mac for VMs
                 Key: VCL-909
                 URL: https://issues.apache.org/jira/browse/VCL-909
             Project: VCL
          Issue Type: Bug
          Components: vcld (backend)
    Affects Versions: 2.4.2
            Reporter: Xianqing Yu


We use get_random_mac_address() in libvirt.pm to generate random mac address for VMs. However, we observe some of our reservations failed because some of VMs have exactly the same mac (for both eth0 and eth1). Since reservations are made by multiple users simultaneously, current design of get_random_mac_address may return the same mac to multiple requests. 



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