Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-10190

Duplicate public VLAN for two different admin accounts.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:
      None

      Description

      ISSUE :
      Duplicate public VLAN for two different admin accounts.

      STEPS TO REPRODUCE :

      1. Start multiple threads for executing createVlanIpRange API.
      2. Make sure multiple threads run in parallel.
      3. Verify vlan table in DB, duplicate entry for same VLAN and IP address range will be encountered, just id and uuid will be different, rest all fields will have similar value.
      4. Following entry will be observed in vlan table :
      mysql> select * from vlan where vlan_id like 'vlan://77' and removed is null;
      +----+--------------------------------------+-----------+--------------+-----------------+---------------------------+----------------+----------------+------------+---------------------+-------------+----------+-----------+---------+---------------------+
      | id | uuid                                 | vlan_id   | vlan_gateway | vlan_netmask    | description               | vlan_type      | data_center_id | network_id | physical_network_id | ip6_gateway | ip6_cidr | ip6_range | removed | created             |
      +----+--------------------------------------+-----------+--------------+-----------------+---------------------------+----------------+----------------+------------+---------------------+-------------+----------+-----------+---------+---------------------+
      | 15 | 6a205b78-d162-43e3-8da9-86a3ff60f40e | vlan://77 | 10.112.63.65 | 255.255.255.192 | 10.112.63.66-10.112.63.70 | VirtualNetwork |              1 |        200 |                 200 | NULL        | NULL     | NULL      | NULL    | 2017-12-13 12:55:51 |
      | 17 | ff8b5175-b247-45a5-b8d3-feb6a1ca64d0 | vlan://77 | 10.112.63.65 | 255.255.255.192 | 10.112.63.66-10.112.63.70 | VirtualNetwork |              1 |        200 |                 200 | NULL        | NULL     | NULL      | NULL    | 2017-12-13 12:55:51 |
      +----+--------------------------------------+-----------+--------------+-----------------+---------------------------+----------------+----------------+------------+---------------------+-------------+----------+-----------+---------+---------------------+
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                niteshsarda Nitesh Sarda
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: