incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "venkata swamy babu budumuru" <venkataswamybabu.budum...@citrix.com>
Subject Re: Review Request: CLOUDSTACK-1429: single account is unable to use same vnet across multiple physical networks
Date Tue, 05 Mar 2013 13:31:27 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9651/
-----------------------------------------------------------

(Updated March 5, 2013, 1:31 p.m.)


Review request for cloudstack, Chip Childers and Marcus Sorensen.


Changes
-------

Chip,

Can you please add this code to 4.1?

Thanks,
SWAMY


Description
-------

to repro 

(1) Have an advanced zone with physical networks say Phynet1: 900-905 Phynet2: 905-909
(2) create a Network in physical network1 (id : 200) and deploy a vm (for ex:- network created
is using vlan 905 )
(3) create another network in physical network2 (id : 201) and deploy a vm 

Observations :

(i) It tried to pick up vlan 905 from physical network 2 (id : 201) and it failed with the
following error.

Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate
entry '905-1-3' for key 'i_op_dc_vnet_alloc__vnet__data_center_id__account_id'

Attached patch fixes the issue.


This addresses bug CLOUDSTACK-1429.


Diffs
-----

  setup/db/db/schema-40to410.sql 59b2a7d 

Diff: https://reviews.apache.org/r/9651/diff/


Testing
-------

Retried the scenario with the dropped index and it works successfully.


Thanks,

venkata swamy babu  budumuru


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message