cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Murali Reddy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-3010) [VMWare] [SharedNetworkWithServices] router VM deployment fails with error "Message: Invalid configuration for device '2'."
Date Fri, 23 Aug 2013 16:29:52 GMT

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

Murali Reddy commented on CLOUDSTACK-3010:
------------------------------------------

Other than fact that isolated network and shared network with services go through different
life cycles, really they are abstracted to be look same from rest of the CloudStack modules.
So even in case of
vmware shared network should work just as isolated network.So if your observation is that
mac address is not supplied, there must be some thing going wrong in core. Since i introduced
the network services into shared networks, let me investigate it a bit. I am assigning bug
to myself for now.
                
> [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: Venkata Siva Vijayendra Bhamidipati
>            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

Mime
View raw message