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 A6ECA10592 for ; Wed, 28 Aug 2013 10:25:54 +0000 (UTC) Received: (qmail 58820 invoked by uid 500); 28 Aug 2013 10:25:54 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 58802 invoked by uid 500); 28 Aug 2013 10:25:53 -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 58790 invoked by uid 500); 28 Aug 2013 10:25:52 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 58781 invoked by uid 99); 28 Aug 2013 10:25:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Aug 2013 10:25:51 +0000 Date: Wed, 28 Aug 2013 10:25:51 +0000 (UTC) From: "venkata swamybabu budumuru (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CLOUDSTACK-3010) [VMWare] [SharedNetworkWithServices] router VM deployment fails with error "Message: Invalid configuration for device '2'." 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-3010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] venkata swamybabu budumuru closed CLOUDSTACK-3010. -------------------------------------------------- Verified the following on the latest build with vmware and it is working fine without any issues. - Creating shared network with all the services set to VR - deploy a VM using the above network - create PF, firewall, staticNat, LB rules and they are functioning fine. > [VMWare] [SharedNetworkWithServices] router VM deployment fails with error "Message: Invalid configuration for device '2'." > --------------------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-3010 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3010 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: VMware > Affects Versions: 4.2.0 > Environment: commit # 971c40d98e07ab6cddb8e6db5095c1acea935815 > Reporter: venkata swamybabu budumuru > Assignee: Murali Reddy > Priority: Critical > Fix For: 4.2.1 > > Attachments: logs.setup1.tgz, logs.setup2.tgz, logs.tgz > > > Steps to reproduce : > 1. Have latest CloudStack setup with advanced zone using VMware cluster (1 host added to the cluster) > 2. create a shared network with all services enabled > mysql> select * from network_offerings where id=14\G > *************************** 1. row *************************** > id: 14 > name: CustomSharedOffering > uuid: dbee9234-e443-4f00-827e-e9258bb0c209 > unique_name: CustomSharedOffering > display_text: CustomSharedOffering > nw_rate: NULL > mc_rate: 10 > traffic_type: Guest > tags: NULL > system_only: 0 > specify_vlan: 1 > service_offering_id: NULL > conserve_mode: 0 > created: 2013-06-14 14:34:10 > removed: NULL > default: 0 > availability: Optional > dedicated_lb_service: 1 > shared_source_nat_service: 0 > sort_key: 0 > redundant_router_service: 0 > state: Enabled > guest_type: Shared > elastic_ip_service: 0 > eip_associate_public_ip: 0 > elastic_lb_service: 0 > specify_ip_ranges: 1 > inline: 0 > is_persistent: 0 > internal_lb: 0 > public_lb: 1 > mysql> select * from ntwk_offering_service_map where network_offering_id=14; > +----+---------------------+----------------+---------------+---------------------+ > | id | network_offering_id | service | provider | created | > +----+---------------------+----------------+---------------+---------------------+ > | 48 | 14 | Dhcp | VirtualRouter | 2013-06-14 14:34:10 | > | 52 | 14 | Dns | VirtualRouter | 2013-06-14 14:34:10 | > | 51 | 14 | Firewall | VirtualRouter | 2013-06-14 14:34:10 | > | 49 | 14 | Lb | VirtualRouter | 2013-06-14 14:34:10 | > | 53 | 14 | PortForwarding | VirtualRouter | 2013-06-14 14:34:10 | > | 46 | 14 | SourceNat | VirtualRouter | 2013-06-14 14:34:10 | > | 50 | 14 | StaticNat | VirtualRouter | 2013-06-14 14:34:10 | > | 47 | 14 | UserData | VirtualRouter | 2013-06-14 14:34:10 | > +----+---------------------+----------------+---------------+---------------------+ > 3. create a Network using the above offering > 4. Login as non-ROOT domain user and try to deploy VM using the above network. > Observations: > (i) deployment failed with the following error. > 2013-06-14 11:49:53,743 DEBUG [vmware.mo.HostMO] (DirectAgent-29:10.147.40.12) find VM r-27-VM on host > 2013-06-14 11:49:53,743 DEBUG [vmware.mo.HostMO] (DirectAgent-29:10.147.40.12) VM r-27-VM found in host cache > 2013-06-14 11:49:53,764 INFO [vmware.resource.VmwareResource] (DirectAgent-29:10.147.40.12) Configure VNC port for VM r-27-VM, port: 5914, host: 10.147.40.12 > 2013-06-14 11:49:53,889 WARN [vmware.resource.VmwareResource] (DirectAgent-29:10.147.40.12) StartCommand failed due to Exception: java.lang.RuntimeException > Message: Invalid configuration for device '2'. > java.lang.RuntimeException: Invalid configuration for device '2'. > at com.cloud.hypervisor.vmware.util.VmwareClient.waitForTask(VmwareClient.java:291) > at com.cloud.hypervisor.vmware.mo.VirtualMachineMO.configureVm(VirtualMachineMO.java:832) > at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:2674) > at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:474) > at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:679) > 2013-06-14 11:49:53,891 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-29:null) Seq 1-1703608434: Cancelling because one of the answers is false and it is stop on error. > 2013-06-14 11:49:53,891 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-29:null) Seq 1-1703608434: Response Received: > (ii) from the above logs, it failed during the network implement phase (router deployment failed) > This is always reproducible with vmware setup. > Uploading all the logs along with db dump 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