[jira] [Commented] (CLOUDSTACK-2045) [Multiple IPs Per Nic] This feature is not working well in case of networks with external devices after GC

2013-06-28 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CLOUDSTACK-2045:
-

Commit 0f40cfbea8b3f1f5c7385ff8cce359fc164848d9 in branch refs/heads/master 
from [~murali.reddy]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=0f40cfb ]

CLOUDSTACK-2045: [Multiple IPs Per Nic] This feature is not working well
in case of networks with external devices after GC

add an exception for networks that use external networking devices and has
secondary guest IP's allocated. On network GC, when network goes through
implement phase a new vlan is allocated, based on the acquired VLAN id cidr
of the network is decided in case of external networking case. While NIC
uses reservation strategy 'Start' which ensures that new primary ip is
allocated for the NiC from the new CIDR. Secondary IP's have hardcoded
IP's in  network rules. So prevent network GC.


> [Multiple IPs Per Nic] This feature is not working well in case of networks 
> with external devices after GC
> --
>
> Key: CLOUDSTACK-2045
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2045
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Network Controller
>Affects Versions: 4.2.0
> Environment: commit bc3e184b7273da605177b0ac4ed7186f7fa36fbd 
>Reporter: venkata swamybabu budumuru
>Assignee: Murali Reddy
>Priority: Critical
> Fix For: 4.2.0
>
> Attachments: logs.tgz
>
>
> Steps to reproduce :
> 1. Have an advanced zone created with 1 Xen Cluster
> 2. create a network offering with SRX and Netscaler
> mysql> select * from ntwk_offering_service_map where network_offering_id=14;
> ++-++---+-+
> | id | network_offering_id | service | provider | created |
> ++-++---+-+
> | 48 | 14 | Dhcp | VirtualRouter | 2013-04-15 09:49:58 |
> | 49 | 14 | Dns | VirtualRouter | 2013-04-15 09:49:58 |
> | 50 | 14 | Firewall | JuniperSRX | 2013-04-15 09:49:58 |
> | 52 | 14 | Lb | Netscaler | 2013-04-15 09:49:58 |
> | 51 | 14 | PortForwarding | JuniperSRX | 2013-04-15 09:49:58 |
> | 47 | 14 | SourceNat | JuniperSRX | 2013-04-15 09:49:58 |
> | 46 | 14 | StaticNat | JuniperSRX | 2013-04-15 09:49:58 |
> | 53 | 14 | UserData | VirtualRouter | 2013-04-15 09:49:58 |
> ++-++---+-+
> 3. create a Network using the above offering
>id: 210
>  name: ExtNet1
>  uuid: 455f4a1c-204a-4d64-8357-63b9e562d5b7
>  display_text: ExtNet1
>  traffic_type: Guest
> broadcast_domain_type: Vlan
> broadcast_uri: vlan://902
>   gateway: 10.0.32.1
>  cidr: 10.0.32.0/20
>  mode: Dhcp
>   network_offering_id: 14
>   physical_network_id: 200
>data_center_id: 1
> guru_name: ExternalGuestNetworkGuru
> state: Implemented
>   related: 210
> domain_id: 2
>account_id: 3
>  dns1: 10.103.128.16
>  dns2: NULL
> guru_data: NULL
>set_fields: 0
>  acl_type: Account
>network_domain: cs3swamy.xen
>reservation_id: 7f12298d-0c8a-41d7-9407-dd4744342c55
>guest_type: Isolated
>  restart_required: 0
>   created: 2013-04-15 15:04:53
>   removed: NULL
> specify_ip_ranges: 0
>vpc_id: NULL
>   ip6_gateway: NULL
>  ip6_cidr: NULL
>  network_cidr: NULL
> 4. deploy VM using the above network (for example : in my case it got 
> 10.0.64.0/20 as CIDR)
> 5. acquire at least 2 secondary ips for the above nic
> 6. create some PF/static Nat rules 
> Below mentioned are the configured rules on secondary ips:
> - PF & Firewall rule created on one secondary ip i.e. 10.0.65.59
> - Static Nat & Firewall rule create on one more secondary ip i.e. 10.0.65.78
> mysql> select * from nic_secondary_ips;
> ++--+--+---+-+-++-++---+
> | id | uuid | vmId | nicId | ip4_address | 
> ip6_address | network_id | created | account_id | domain_id |
> ++--+--+---+-+-++-+-

[jira] [Commented] (CLOUDSTACK-2045) [Multiple IPs Per Nic] This feature is not working well in case of networks with external devices after GC

2013-07-04 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CLOUDSTACK-2045:
-

Commit a8a23c4364db6efbf906963c1f7de015320209a5 in branch refs/heads/master 
from [~murali.reddy]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a8a23c4 ]

CLOUDSTACK-2045:[Multiple IPs Per Nic] This feature is not working well
in case of networks with external devices after GC

adding missing 'retrun false' for isNetworkReadyForGc for the networks
that use external network devices and has secondary IP's associated with
nics.


> [Multiple IPs Per Nic] This feature is not working well in case of networks 
> with external devices after GC
> --
>
> Key: CLOUDSTACK-2045
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2045
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Network Controller
>Affects Versions: 4.2.0
> Environment: commit bc3e184b7273da605177b0ac4ed7186f7fa36fbd 
>Reporter: venkata swamybabu budumuru
>Assignee: Murali Reddy
>Priority: Critical
> Fix For: 4.2.0
>
> Attachments: logs.tgz
>
>
> Steps to reproduce :
> 1. Have an advanced zone created with 1 Xen Cluster
> 2. create a network offering with SRX and Netscaler
> mysql> select * from ntwk_offering_service_map where network_offering_id=14;
> ++-++---+-+
> | id | network_offering_id | service | provider | created |
> ++-++---+-+
> | 48 | 14 | Dhcp | VirtualRouter | 2013-04-15 09:49:58 |
> | 49 | 14 | Dns | VirtualRouter | 2013-04-15 09:49:58 |
> | 50 | 14 | Firewall | JuniperSRX | 2013-04-15 09:49:58 |
> | 52 | 14 | Lb | Netscaler | 2013-04-15 09:49:58 |
> | 51 | 14 | PortForwarding | JuniperSRX | 2013-04-15 09:49:58 |
> | 47 | 14 | SourceNat | JuniperSRX | 2013-04-15 09:49:58 |
> | 46 | 14 | StaticNat | JuniperSRX | 2013-04-15 09:49:58 |
> | 53 | 14 | UserData | VirtualRouter | 2013-04-15 09:49:58 |
> ++-++---+-+
> 3. create a Network using the above offering
>id: 210
>  name: ExtNet1
>  uuid: 455f4a1c-204a-4d64-8357-63b9e562d5b7
>  display_text: ExtNet1
>  traffic_type: Guest
> broadcast_domain_type: Vlan
> broadcast_uri: vlan://902
>   gateway: 10.0.32.1
>  cidr: 10.0.32.0/20
>  mode: Dhcp
>   network_offering_id: 14
>   physical_network_id: 200
>data_center_id: 1
> guru_name: ExternalGuestNetworkGuru
> state: Implemented
>   related: 210
> domain_id: 2
>account_id: 3
>  dns1: 10.103.128.16
>  dns2: NULL
> guru_data: NULL
>set_fields: 0
>  acl_type: Account
>network_domain: cs3swamy.xen
>reservation_id: 7f12298d-0c8a-41d7-9407-dd4744342c55
>guest_type: Isolated
>  restart_required: 0
>   created: 2013-04-15 15:04:53
>   removed: NULL
> specify_ip_ranges: 0
>vpc_id: NULL
>   ip6_gateway: NULL
>  ip6_cidr: NULL
>  network_cidr: NULL
> 4. deploy VM using the above network (for example : in my case it got 
> 10.0.64.0/20 as CIDR)
> 5. acquire at least 2 secondary ips for the above nic
> 6. create some PF/static Nat rules 
> Below mentioned are the configured rules on secondary ips:
> - PF & Firewall rule created on one secondary ip i.e. 10.0.65.59
> - Static Nat & Firewall rule create on one more secondary ip i.e. 10.0.65.78
> mysql> select * from nic_secondary_ips;
> ++--+--+---+-+-++-++---+
> | id | uuid | vmId | nicId | ip4_address | 
> ip6_address | network_id | created | account_id | domain_id |
> ++--+--+---+-+-++-++---+
> |  1 | c4af4a4f-2697-446e-9b2b-92df3be5a922 |   20 |53 | 10.0.65.78  | 
> NULL|210 | 2013-04-15 17:48:27 |  3 | 2 |
> |  2 | 1f316ce5-2bc9-4c60-94b2-8d414dad2536 |   20 |53 | 10.0.65.59  | 
> NULL|210 | 2013-04-15 17:54:03 |  3 | 2 |
> +-

[jira] [Commented] (CLOUDSTACK-2045) [Multiple IPs Per Nic] This feature is not working well in case of networks with external devices after GC

2013-07-04 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CLOUDSTACK-2045:
-

Commit 3cf07118a8b19e14a1abe35d8096cbb3ea11ae4d in branch refs/heads/4.2 from 
[~murali.reddy]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=3cf0711 ]

CLOUDSTACK-2045:[Multiple IPs Per Nic] This feature is not working well
in case of networks with external devices after GC

adding missing 'retrun false' for isNetworkReadyForGc for the networks
that use external network devices and has secondary IP's associated with
nics.


> [Multiple IPs Per Nic] This feature is not working well in case of networks 
> with external devices after GC
> --
>
> Key: CLOUDSTACK-2045
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2045
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Network Controller
>Affects Versions: 4.2.0
> Environment: commit bc3e184b7273da605177b0ac4ed7186f7fa36fbd 
>Reporter: venkata swamybabu budumuru
>Assignee: Murali Reddy
>Priority: Critical
> Fix For: 4.2.0
>
> Attachments: logs.tgz
>
>
> Steps to reproduce :
> 1. Have an advanced zone created with 1 Xen Cluster
> 2. create a network offering with SRX and Netscaler
> mysql> select * from ntwk_offering_service_map where network_offering_id=14;
> ++-++---+-+
> | id | network_offering_id | service | provider | created |
> ++-++---+-+
> | 48 | 14 | Dhcp | VirtualRouter | 2013-04-15 09:49:58 |
> | 49 | 14 | Dns | VirtualRouter | 2013-04-15 09:49:58 |
> | 50 | 14 | Firewall | JuniperSRX | 2013-04-15 09:49:58 |
> | 52 | 14 | Lb | Netscaler | 2013-04-15 09:49:58 |
> | 51 | 14 | PortForwarding | JuniperSRX | 2013-04-15 09:49:58 |
> | 47 | 14 | SourceNat | JuniperSRX | 2013-04-15 09:49:58 |
> | 46 | 14 | StaticNat | JuniperSRX | 2013-04-15 09:49:58 |
> | 53 | 14 | UserData | VirtualRouter | 2013-04-15 09:49:58 |
> ++-++---+-+
> 3. create a Network using the above offering
>id: 210
>  name: ExtNet1
>  uuid: 455f4a1c-204a-4d64-8357-63b9e562d5b7
>  display_text: ExtNet1
>  traffic_type: Guest
> broadcast_domain_type: Vlan
> broadcast_uri: vlan://902
>   gateway: 10.0.32.1
>  cidr: 10.0.32.0/20
>  mode: Dhcp
>   network_offering_id: 14
>   physical_network_id: 200
>data_center_id: 1
> guru_name: ExternalGuestNetworkGuru
> state: Implemented
>   related: 210
> domain_id: 2
>account_id: 3
>  dns1: 10.103.128.16
>  dns2: NULL
> guru_data: NULL
>set_fields: 0
>  acl_type: Account
>network_domain: cs3swamy.xen
>reservation_id: 7f12298d-0c8a-41d7-9407-dd4744342c55
>guest_type: Isolated
>  restart_required: 0
>   created: 2013-04-15 15:04:53
>   removed: NULL
> specify_ip_ranges: 0
>vpc_id: NULL
>   ip6_gateway: NULL
>  ip6_cidr: NULL
>  network_cidr: NULL
> 4. deploy VM using the above network (for example : in my case it got 
> 10.0.64.0/20 as CIDR)
> 5. acquire at least 2 secondary ips for the above nic
> 6. create some PF/static Nat rules 
> Below mentioned are the configured rules on secondary ips:
> - PF & Firewall rule created on one secondary ip i.e. 10.0.65.59
> - Static Nat & Firewall rule create on one more secondary ip i.e. 10.0.65.78
> mysql> select * from nic_secondary_ips;
> ++--+--+---+-+-++-++---+
> | id | uuid | vmId | nicId | ip4_address | 
> ip6_address | network_id | created | account_id | domain_id |
> ++--+--+---+-+-++-++---+
> |  1 | c4af4a4f-2697-446e-9b2b-92df3be5a922 |   20 |53 | 10.0.65.78  | 
> NULL|210 | 2013-04-15 17:48:27 |  3 | 2 |
> |  2 | 1f316ce5-2bc9-4c60-94b2-8d414dad2536 |   20 |53 | 10.0.65.59  | 
> NULL|210 | 2013-04-15 17:54:03 |  3 | 2 |
> +