You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/12/15 10:29:00 UTC

[jira] [Commented] (CLOUDSTACK-10190) Duplicate public VLAN for two different admin accounts.

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-10190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16292308#comment-16292308 ] 

ASF GitHub Bot commented on CLOUDSTACK-10190:
---------------------------------------------

niteshsarda opened a new pull request #2361: CLOUDSTACK-10190:Duplicate public VLAN for two different admin accounts.
URL: https://github.com/apache/cloudstack/pull/2361
 
 
   *ISSUE :*
   Duplicate public VLAN for two different admin accounts.
   
   *STEPS TO REPRODUCE :*
   # Start multiple threads for executing *createVlanIpRange* API.
   # Make sure multiple threads run in parallel.
   # 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.
   # Following entry will be observed in vlan table :
   
   {code:java}
   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 |
   +----+--------------------------------------+-----------+--------------+-----------------+---------------------------+----------------+----------------+------------+---------------------+-------------+----------+-----------+---------+---------------------+
   
   {code}
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Duplicate public VLAN for two different admin accounts.
> -------------------------------------------------------
>
>                 Key: CLOUDSTACK-10190
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10190
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Nitesh Sarda
>
> *ISSUE :*
> Duplicate public VLAN for two different admin accounts.
> *STEPS TO REPRODUCE :*
> # Start multiple threads for executing *createVlanIpRange* API.
> # Make sure multiple threads run in parallel.
> # 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.
> # Following entry will be observed in vlan table :
> {code:java}
> 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 |
> +----+--------------------------------------+-----------+--------------+-----------------+---------------------------+----------------+----------------+------------+---------------------+-------------+----------+-----------+---------+---------------------+
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)