cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sailaja Mada (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-4500) [VMWARE][UI]System VM's are failed to deploy on Standard vSwitch when DVS is enabled at the zone level (Failed to create publig port grouo)
Date Mon, 26 Aug 2013 09:26:51 GMT
Sailaja Mada created CLOUDSTACK-4500:
----------------------------------------

             Summary: [VMWARE][UI]System VM's are failed to deploy on Standard vSwitch when
DVS is enabled at the zone level (Failed to create publig port grouo)
                 Key: CLOUDSTACK-4500
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4500
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: UI, VMware
    Affects Versions: 4.2.1
            Reporter: Sailaja Mada
            Priority: Blocker


Steps:

1. Configure Adv zone with DVS enabled at the global setting.

2. Physical network 1 ( All the traffics are on single Physical network labeled as vSwitch0)


3.  While adding Cluster Override options are there but there is no drop down listed down
to select Standard vSwitch for Public and Guest . So just enabled the override option.

4. Enable Zone

Observation:

System VM's are failed to deploy on Standard vSwitch when DVS is enabled at the zone level

Note:

1. It could be UI issue as we are not getting any drop down while adding the zone to override
cloud level settings (dvs)

2. This issue needs to be looked by both Core and UI dev.

3. It failed to create public group .


2013-08-26 14:47:26,394 INFO  [vmware.resource.VmwareResource] (DirectAgent-206:10.102.192.13)
Prepare network on vmwaresvs P[vSwitch0:untagged] with name prefix: cloud.private
2013-08-26 14:47:26,404 INFO  [storage.resource.VmwareStorageLayoutHelper] (DirectAgent-103:10.102.192.13)
sync [13ce52911b9f3d36a9a34e8a51450925] ROOT-72.vmdk->[13ce52911b9f3d36a9a34e8a51450925]
s-72-VM/ROOT-72.vmdk
2013-08-26 14:47:26,462 INFO  [vmware.mo.HypervisorHostHelper] (DirectAgent-206:10.102.192.13)
Network cloud.private.untagged.0.1-vSwitch0 is ready on vSwitch vSwitch0
2013-08-26 14:47:26,462 INFO  [vmware.resource.VmwareResource] (DirectAgent-206:10.102.192.13)
Preparing NIC device on network cloud.private.untagged.0.1-vSwitch0
2013-08-26 14:47:26,462 DEBUG [vmware.resource.VmwareResource] (DirectAgent-206:10.102.192.13)
Prepare NIC at new device {"operation":"ADD","device":{"addressType":"Manual","macAddress":"06:78:1a:00:00:04","key":-4,"backing":{"network":{"value":"network-11702","type":"Network"},"deviceName":"cloud.private.untagged.0.1-vSwitch0"},"connectable":{"startConnected":true,"allowGuestControl":true,"connected":true},"unitNumber":1}}
2013-08-26 14:47:26,463 INFO  [vmware.resource.VmwareResource] (DirectAgent-206:10.102.192.13)
Prepare NIC device based on NicTO: {"deviceId":2,"networkRateMbps":-1,"defaultNic":true,"uuid":"f0729e58-8bd1-438f-8bfb-e07ee1322506","ip":"10.102.196.221","netmask":"255.255.255.0","gateway":"10.102.196.1","mac":"06:1e:b6:00:00:06","dns1":"10.103.128.15","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://100","isolationUri":"vlan://100","isSecurityGroupEnabled":false,"name":"vSwitch0"}
2013-08-26 14:47:26,466 INFO  [vmware.resource.VmwareResource] (DirectAgent-206:10.102.192.13)
Prepare network on vmwaredvs P[vSwitch0:untagged] with name prefix: cloud.public
2013-08-26 14:47:26,480 ERROR [vmware.mo.HypervisorHostHelper] (DirectAgent-206:10.102.192.13)
Unable to find distributed vSwitch null
2013-08-26 14:47:26,482 WARN  [vmware.resource.VmwareResource] (DirectAgent-206:10.102.192.13)
StartCommand failed due to Exception: java.lang.Exception
Message: Unable to find distributed vSwitch null

java.lang.Exception: Unable to find distributed vSwitch null
        at com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.prepareNetwork(HypervisorHostHelper.java:528)
        at com.cloud.hypervisor.vmware.resource.VmwareResource.prepareNetworkFromNicInfo(VmwareResource.java:3308)
        at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:2904)
        at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:514)
        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:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
2013-08-26 14:47:26,486 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-206:null) Seq
2-1391198369: Cancelling because one of the answers is false and it is stop on error.
2013-08-26 14:47:26,486 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-206:null) Seq
2-1391198369: Response Received:
2013-08-26 14:47:26,489 DEBUG [agent.transport.Request] (DirectAgent-206:null) Seq 2-1391198369:
Processing:  { Ans: , MgmtId: 94838926819810, via: 2, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StartAnswer":{"vm":{"id":62,"name":"v-62-VM","bootloader":"HVM","type":"ConsoleProxy","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":1073741824,"maxRam":1073741824,"hostName":"v-62-VM","arch":"i686","os":"Debian
GNU/Linux 5.0 (32-bit)","bootArgs":" template=domP type=consoleproxy host=10.102.192.117 port=8250
name=v-62-VM premium=true zone=2 pod=2 guid=Proxy.62 proxy_vm=62 disable_rp_filter=true eth2ip=10.102.196.221
eth2mask=255.255.255.0 gateway=10.102.196.1 eth0ip=0.0.0.0 eth0mask=0.0.0.0 eth1ip=10.102.195.159
eth1mask=255.255.252.0 mgmtcidr=10.102.192.0/22 localgw=10.102.192.1 internaldns1=10.103.128.15
dns1=10.103.128.15","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"b59b09e00908a835","params":{"nicAdapter":"E1000"},"uuid":"0b3f2e94-6e6b-4955-b48f-354ee8a7a3d8","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"91baa75b-efe5-4472-b60d-2f2462dfddc4","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"13ce5291-1b9f-3d36-a9a3-4e8a51450925","id":2,"poolType":"NetworkFilesystem","host":"10.102.192.100","path":"/cpg_vol/sailaja/advfinalps1","port":2049}},"name":"ROOT-62","size":0,"path":"ROOT-62","volumeId":265,"vmName":"v-62-VM","accountId":1,"format":"OVA","id":265,"hypervisorType":"VMware"}},"diskSeq":0,"type":"ROOT"}],"nics":[{"deviceId":2,"networkRateMbps":-1,"defaultNic":true,"uuid":"f0729e58-8bd1-438f-8bfb-e07ee1322506","ip":"10.102.196.221","netmask":"255.255.255.0","gateway":"10.102.196.1","mac":"06:1e:b6:00:00:06","dns1":"10.103.128.15","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://100","isolationUri":"vlan://100","isSecurityGroupEnabled":false,"name":"vSwitch0"},{"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"9fdbe59e-d114-4ffa-be80-ee65c121d576","mac":"02:00:52:3c:00:02","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":false,"name":"vSwitch0"},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"37bad966-02bc-43e7-babd-e487ad79f8c4","ip":"10.102.195.159","netmask":"255.255.252.0","gateway":"10.102.192.1","mac":"06:78:1a:00:00:04","broadcastType":"Native","type":"Management","isSecurityGroupEnabled":false,"name":"vSwitch0"}]},"result":false,"details":"StartCommand
failed due to Exception: java.lang.Exception\nMessage: Unable to find distributed vSwitch
null\n","wait":0}}] }
2013-08-26 14:47:26,489 DEBUG [agent.transport.Request] (consoleproxy-1:null) Seq 2-1391198369:
Received:  { Ans: , MgmtId: 94838926819810, via: 2, Ver: v1, Flags: 10, { StartAnswer } }
2013-08-26 14:47:26,495 INFO  [cloud.vm.VirtualMachineManagerImpl] (consoleproxy-1:null) Unable
to start VM on Host[-2-Routing] due to StartCommand failed due to Exception: java.lang.Exception
Message: Unable to find distributed vSwitch null

2013-08-26 14:47:26,504 DEBUG [cloud.vm.VirtualMachineManagerImpl] (consoleproxy-1:null) Cleaning
up resources for the vm VM[ConsoleProxy|v-62-VM] in Starting state


mysql> select * from cluster_details;
+----+------------+-----------------------+--------------------------------------------+
| id | cluster_id | name                  | value                                      |
+----+------------+-----------------------+--------------------------------------------+
| 13 |          1 | memoryOvercommitRatio | 1                                          |
| 14 |          1 | username              | administrator                              |
| 15 |          1 | guestvswitchtype      | vmwaredvs                                  |
| 16 |          1 | publicvswitchname     | vSwitch0                                   |
| 17 |          1 | publicvswitchtype     | vmwaredvs                                  |
| 18 |          1 | cpuOvercommitRatio    | 1                                          |
| 19 |          1 | password              | Y7cP3mCNMQPju6m2FUNAGFynM0oqw1o6           |
| 20 |          1 | guestvswitchname      | vSwitch0                                   |
| 21 |          1 | url                   | http://10.102.192.248/workingdc/workingc   |
| 24 |          1 | NativeHA              | false                                      |
| 37 |          2 | memoryOvercommitRatio | 1                                          |
| 38 |          2 | username              | administrator                              |
| 39 |          2 | guestvswitchtype      | vmwaredvs                                  |
| 40 |          2 | publicvswitchname     | vSwitch0                                   |
| 41 |          2 | publicvswitchtype     | vmwaredvs                                  |
| 42 |          2 | cpuOvercommitRatio    | 1                                          |
| 43 |          2 | password              | fM6r2mbFKH5uf0NsPKbHrF4VmcsXKnFY           |
| 44 |          2 | guestvswitchname      | vSwitch0                                   |
| 45 |          2 | url                   | http://10.102.192.248/workingdc1/workingc1 |
| 46 |          2 | NativeHA              | false                                      |
+----+------------+-----------------------+--------------------------------------------+
20 rows in set (0.00 sec)




mysql> select * from cluster\G;
*************************** 1. row ***************************
              id: 1
            name: NULL
            uuid: d7a59de8-44e0-4c0c-86f1-2058466cc9ba
            guid: NULL
          pod_id: 1
  data_center_id: 1
 hypervisor_type: VMware
    cluster_type: ExternalManaged
allocation_state: Enabled
   managed_state: Managed
         removed: 2013-08-26 08:49:15
           owner: NULL
         created: NULL
     lastUpdated: NULL
    engine_state: Disabled
*************************** 2. row ***************************
              id: 2
            name: 10.102.192.248/workingdc1/workingc1
            uuid: 1c499997-2a9f-415e-ae6e-c7ab2d25b262
            guid: c81e728d-9d4c-3f63-af06-7f89cc14862c
          pod_id: 2
  data_center_id: 2
 hypervisor_type: VMware
    cluster_type: ExternalManaged
allocation_state: Enabled
   managed_state: Managed
         removed: NULL
           owner: NULL
         created: NULL
     lastUpdated: NULL
    engine_state: Disabled
2 rows in set (0.00 sec)

ERROR:
No query specified

mysql>

mysql> select * from physical_network;
+-----+--------------------------------------+--------------------+----------------+---------+-------+-----------+------------------------+---------+---------------------+---------------------+
| id  | uuid                                 | name               | data_center_id | vnet
   | speed | domain_id | broadcast_domain_range | state   | created             | removed
            |
+-----+--------------------------------------+--------------------+----------------+---------+-------+-----------+------------------------+---------+---------------------+---------------------+
| 200 | c4bda122-0e01-4bf3-a97c-ca6a3d3d97cc | Physical Network 1 |              1 | 786-789
| NULL  |      NULL | ZONE                   | Enabled | 2013-08-26 07:08:44 | 2013-08-26
08:49:58 |
| 201 | bbab2c91-91bd-4a86-9d0e-941cab801485 | Physical Network 1 |              2 | 796-799
| NULL  |      NULL | ZONE                   | Enabled | 2013-08-26 09:04:43 | NULL      
         |
+-----+--------------------------------------+--------------------+----------------+---------+-------+-----------+------------------------+---------+---------------------+---------------------+
2 rows in set (0.00 sec)

mysql> select * from physical_network_traffic_types;
+----+--------------------------------------+---------------------+--------------+-------------------+-------------------+----------------------+-------------------------+-------------------+------+-------------------+
| id | uuid                                 | physical_network_id | traffic_type | xen_network_label
| kvm_network_label | vmware_network_label | simulator_network_label | ovm_network_label |
vlan | lxc_network_label |
+----+--------------------------------------+---------------------+--------------+-------------------+-------------------+----------------------+-------------------------+-------------------+------+-------------------+
|  5 | 62d7c1ca-8bfe-4b62-b34c-c5300d99aec4 |                 201 | Guest        | NULL  
           | NULL              | vSwitch0             | NULL                    | NULL   
          | NULL | cloudbr0          |
|  6 | 7d4bdc04-0c95-445f-9ee4-ae50928c6817 |                 201 | Public       | NULL  
           | NULL              | vSwitch0             | NULL                    | NULL   
          | NULL | cloudbr0          |
|  7 | 31b1b50c-3ce4-4ddb-9abb-14d8a740631c |                 201 | Management   | NULL  
           | NULL              | vSwitch0             | NULL                    | NULL   
          | NULL | cloudbr0          |
|  8 | 1ad032ab-aaf0-46bf-b26f-c7d40eabb3f6 |                 201 | Storage      | NULL  
           | NULL              | vSwitch0             | NULL                    | NULL   
          | NULL | cloudbr0          |
+----+--------------------------------------+---------------------+--------------+-------------------+-------------------+----------------------+-------------------------+-------------------+------+-------------------+
4 rows in set (0.00 sec)








--
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