Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 012DEF809 for ; Thu, 4 Apr 2013 03:37:18 +0000 (UTC) Received: (qmail 79482 invoked by uid 500); 4 Apr 2013 03:37:17 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 79421 invoked by uid 500); 4 Apr 2013 03:37:17 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 78970 invoked by uid 500); 4 Apr 2013 03:37:16 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 78948 invoked by uid 99); 4 Apr 2013 03:37:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Apr 2013 03:37:16 +0000 Date: Thu, 4 Apr 2013 03:37:16 +0000 (UTC) From: "Sheng Yang (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-1895) [External Devices-SRX, NetScaler] Failed to bring up router vm while configuring the "place holder" nic MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-1895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13621714#comment-13621714 ] Sheng Yang commented on CLOUDSTACK-1895: ---------------------------------------- The bug is caused by: commit 26b892daf3cdccc2e25711730c7e1efcdec7d2dc Author: Alena Prokharchyk Date: Mon Mar 25 16:34:04 2013 -0700 CLOUDSTACK-1771: fixed VirtualRouter nics assignment in the Shared networks. Before the fix VR could get a different IP address from the network upon recreation. With the fix the IP address assigned to the first VR in the network, will rem Shared networks in both - Advance and Basic - zone types are covered by this checkin The commit require to assign specific public IP for VR, which caused trouble for ExternalGuestNetworkGuru, which "does not support custom ip allocation". > [External Devices-SRX, NetScaler] Failed to bring up router vm while configuring the "place holder" nic > ------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-1895 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1895 > 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 id # 4edef1fd305891beb5393b722e96f4a140934f9f > - advanced zone with 1 Xen Cluster > Reporter: venkata swamybabu budumuru > Assignee: Sheng Yang > Priority: Blocker > Fix For: 4.2.0 > > Attachments: api.log.tgz, vmops.log.tgz > > > Steps to reproduce : > 1. Create a Network offering with the following services > mysql> select * from network_offerings where id=13\G > *************************** 1. row *************************** > id: 13 > name: ExternalDevicesOffering > uuid: 37b39b54-2129-4983-9fc9-3a3c87a48191 > unique_name: ExternalDevicesOffering > display_text: ExternalDevicesOffering > nw_rate: NULL > mc_rate: 10 > traffic_type: Guest > tags: NULL > system_only: 0 > specify_vlan: 0 > service_offering_id: NULL > conserve_mode: 0 > created: 2013-04-02 16:34:08 > removed: NULL > default: 0 > availability: Optional > dedicated_lb_service: 0 > shared_source_nat_service: 1 > sort_key: 0 > redundant_router_service: 0 > state: Enabled > guest_type: Isolated > elastic_ip_service: 0 > elastic_lb_service: 0 > specify_ip_ranges: 0 > inline: 0 > is_persistent: 0 > mysql> select * from ntwk_offering_service_map where network_offering_id=13; > +----+---------------------+----------------+---------------+---------------------+ > | id | network_offering_id | service | provider | created | > +----+---------------------+----------------+---------------+---------------------+ > | 46 | 13 | Dhcp | VirtualRouter | 2013-04-02 16:34:08 | > | 50 | 13 | Dns | VirtualRouter | 2013-04-02 16:34:08 | > | 49 | 13 | Firewall | JuniperSRX | 2013-04-02 16:34:08 | > | 53 | 13 | Lb | Netscaler | 2013-04-02 16:34:08 | > | 52 | 13 | PortForwarding | JuniperSRX | 2013-04-02 16:34:08 | > | 51 | 13 | SourceNat | JuniperSRX | 2013-04-02 16:34:08 | > | 47 | 13 | StaticNat | JuniperSRX | 2013-04-02 16:34:08 | > | 48 | 13 | UserData | VirtualRouter | 2013-04-02 16:34:08 | > +----+---------------------+----------------+---------------+---------------------+ > 8 rows in set (0.00 sec) > 2. create a network using the above network offering. > 3. deploy a VM connected to above network. > Observations: > (i) It failed to deploy router VM which eventually resulted in instance deployment failure. > (ii) Here is the snippet from management server log > 2013-04-02 12:36:38,344 DEBUG [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-17:job-17) Allocating nics for VM[DomainRouter|r-4-VM] > 2013-04-02 12:36:38,346 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-17:job-17) Allocating nic for vm VM[DomainRouter|r-4-VM] in network Ntwk[204|Guest|13] with requested profile NicProfile[0-0-null-null-null > 2013-04-02 12:36:38,348 DEBUG [db.Transaction.Transaction] (Job-Executor-17:job-17) Rolling back the transaction: Time = 10 Name = -AsyncJobManagerImpl$1.run:401-Executors$RunnableAdapter.call:471-FutureTask$Sync.innerRun:334-FutureTask.run:166-ThreadPoolExecutor.runWorker:1146-ThreadPoolExecutor$Worker.run:615-Thread.run:679; called by -Transaction.rollback:890-Transaction.removeUpTo:833-Transaction.close:657-TransactionContextBuilder.interceptException:63-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:133-VirtualMachineManagerImpl.allocate:293-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:125-VirtualMachineManagerImpl.allocate:339-VirtualNetworkApplianceManagerImpl.deployRouter:1609-VirtualNetworkApplianceManagerImpl.findOrDeployVirtualRouterInGuestNetwork:1527-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:125-VirtualNetworkApplianceManagerImpl.deployVirtualRouterInGuestNetwork:1911 > 2013-04-02 12:36:38,352 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (Job-Executor-17:job-17) Lock is released for network id 204 as a part of router startup in Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volume(Id|Type-->Pool(Id))] : Dest[Zone(1)-Pod(1)-Cluster(1)-Host(1)-Storage(Volume(3|ROOT-->Pool(1))] > 2013-04-02 12:37:00,281 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-17:job-17) Lock is released for network id 204 as a part of network implement > 2013-04-02 12:37:00,286 ERROR [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-17:job-17) Failed to start instance VM[User|ecf6d993-8039-4e61-b447-0ad5ad721f52] > com.cloud.utils.exception.CloudRuntimeException: Does not support custom ip allocation at this time: NicProfile[0-0-null-null-null > at com.cloud.network.guru.ExternalGuestNetworkGuru.allocate(ExternalGuestNetworkGuru.java:196) > at com.cloud.network.NetworkManagerImpl.allocateNic(NetworkManagerImpl.java:1317) > at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) > - Attaching the vmops.log and api.log to the bug. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira