cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srikanteswararao Talluri (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-4470) findHostsForMigration API is not setting 'requiresStorageMotion' flag wrongly
Date Fri, 23 Aug 2013 07:00:54 GMT

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

Srikanteswararao Talluri commented on CLOUDSTACK-4470:
------------------------------------------------------

this is the response on vmware setup

<findhostsformigrationresponse cloud-stack-version="4.2.0-SNAPSHOT">
<count>1</count>
<host>
<id>1b2b9bcc-00d2-42dd-956b-34015e67c283</id>
<name>10.147.40.30</name>
<state>Up</state>
<type>Routing</type>
<ipaddress>10.147.40.30</ipaddress>
<zoneid>a72604ae-f345-47ca-ae22-15040b5f83a8</zoneid>
<zonename>sm</zonename>
<podid>222f7dbf-2c1c-4d0c-811a-e24c0042d412</podid>
<podname>pod</podname>
<version>4.2.0-SNAPSHOT</version>
<hypervisor>VMware</hypervisor>
<cpunumber>4</cpunumber>
<cpuspeed>2393</cpuspeed>
<cpuallocated>0%</cpuallocated>
<cpuused>0.08%</cpuused>
<cpuwithoverprovisioning>9572.0</cpuwithoverprovisioning>
<networkkbsread>0</networkkbsread>
<networkkbswrite>0</networkkbswrite>
<memorytotal>17169539072</memorytotal>
<memoryallocated>0</memoryallocated>
<memoryused>1084568</memoryused>
<capabilities>hvm</capabilities>
<lastpinged>1970-01-16T19:06:20+0530</lastpinged>
<managementserverid>7363452993625</managementserverid>
<clusterid>80aa32f1-5693-4fc0-9133-297b9034425a</clusterid>
<clustername>10.147.60.15/sm/clus2</clustername>
<clustertype>ExternalManaged</clustertype>
<islocalstorageactive>false</islocalstorageactive>
<created>2013-08-23T17:47:02+0530</created>
<events>
HostDown; ManagementServerDown; ShutdownRequested; PingTimeout; AgentDisconnected; StartAgentRebalance;
Remove; Ping; AgentConnected
</events>
<suitableformigration>true</suitableformigration>
<requiresStorageMotion>true</requiresStorageMotion>
<resourcestate>Enabled</resourcestate>
<hypervisorversion>5.1</hypervisorversion>
<hahost>false</hahost>
<jobstatus>0</jobstatus>
</host>
</findhostsformigrationresponse>
                
> findHostsForMigration API is not setting 'requiresStorageMotion'  flag wrongly 
> -------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4470
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4470
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Storage Controller
>    Affects Versions: 4.2.1
>            Reporter: Srikanteswararao Talluri
>            Priority: Blocker
>             Fix For: 4.2.1
>
>
> Steps to reproduce:
> ===============
> 1. have two xenserver6.1 clusters in the same zone with at least one host in each cluster.
> 2. deploy a VM.
> 3. issue findHostsForMigration API for that virtual machine
> 4. it needs to mark 'requiresStorageMotion' to true if the destination host is in a different
cluster.
> Observation:
> ===========
>  findHostsForMigration  result contains 'requiresStorageMotion' set to false for all
the hosts, which is wrong.
> http://10.147.38.166:8080/client/api?command=findHostsForMigration&VirtualMachineId=e62fc701-e6d0-4684-af23-24b0b6ccb0a3&sessionkey=DoTkY30m%2BPsRPfmt6vBah0imvoQ%3D&_=1377237882534
> <findhostsformigrationresponse cloud-stack-version="4.2.0-SNAPSHOT">
> <count>2</count>
> <host>
> <id>3a2a855b-f872-431f-b0d5-1a84f96e166d</id>
> <name>Rack1Pod1Host15</name>
> <state>Up</state>
> <disconnected>2013-08-23T02:40:08+0530</disconnected>
> <type>Routing</type>
> <ipaddress>10.147.40.15</ipaddress>
> <zoneid>5f94a329-6dcc-4657-9071-ff1e548871b4</zoneid>
> <zonename>Sandbox-XenServer</zonename>
> <podid>e0a82c4a-a817-4e27-b710-72eec5a467e8</podid>
> <podname>POD0</podname>
> <version>4.2.0-SNAPSHOT</version>
> <hypervisor>XenServer</hypervisor>
> <cpunumber>4</cpunumber>
> <cpuspeed>2394</cpuspeed>
> <cpuallocated>33.42%</cpuallocated>
> <cpuused>0.05%</cpuused>
> <cpuwithoverprovisioning>9576.0</cpuwithoverprovisioning>
> <networkkbsread>9207</networkkbsread>
> <networkkbswrite>15695</networkkbswrite>
> <memorytotal>16190157312</memorytotal>
> <memoryallocated>536870912</memoryallocated>
> <memoryused>1214196</memoryused>
> <capabilities>
> xen-3.0-x86_64 , xen-3.0-x86_32p , hvm-3.0-x86_32 , hvm-3.0-x86_32p , hvm-3.0-x86_64
> </capabilities>
> <lastpinged>1970-01-16T19:05:27+0530</lastpinged>
> <managementserverid>7566222426160</managementserverid>
> <clusterid>9405d5ab-7f85-4098-bedd-e3ee6c5e8b14</clusterid>
> <clustername>C0</clustername>
> <clustertype>CloudManaged</clustertype>
> <islocalstorageactive>false</islocalstorageactive>
> <created>2013-08-23T02:27:58+0530</created>
> <events>
> PingTimeout; ManagementServerDown; AgentDisconnected; HostDown; ShutdownRequested; Remove;
StartAgentRebalance; AgentConnected; Ping
> </events>
> <suitableformigration>true</suitableformigration>
> <requiresStorageMotion>false</requiresStorageMotion>
> <resourcestate>Enabled</resourcestate>
> <hypervisorversion>6.1.0</hypervisorversion>
> <hahost>false</hahost>
> <jobstatus>0</jobstatus>
> </host>
> <host>
> <id>b09c5bc4-c134-4c69-addc-328af9a2fc48</id>
> <name>Rack1Pod1Host31</name>
> <state>Up</state>
> <type>Routing</type>
> <ipaddress>10.147.40.31</ipaddress>
> <zoneid>5f94a329-6dcc-4657-9071-ff1e548871b4</zoneid>
> <zonename>Sandbox-XenServer</zonename>
> <podid>e0a82c4a-a817-4e27-b710-72eec5a467e8</podid>
> <podname>POD0</podname>
> <version>4.2.0-SNAPSHOT</version>
> <hypervisor>XenServer</hypervisor>
> <cpunumber>4</cpunumber>
> <cpuspeed>2394</cpuspeed>
> <cpuallocated>0%</cpuallocated>
> <cpuused>0.06%</cpuused>
> <cpuwithoverprovisioning>9576.0</cpuwithoverprovisioning>
> <networkkbsread>5127</networkkbsread>
> <networkkbswrite>19389</networkkbswrite>
> <memorytotal>16190133120</memorytotal>
> <memoryallocated>1476395008</memoryallocated>
> <memoryused>2599168</memoryused>
> <capabilities>
> xen-3.0-x86_64 , xen-3.0-x86_32p , hvm-3.0-x86_32 , hvm-3.0-x86_32p , hvm-3.0-x86_64
> </capabilities>
> <lastpinged>1970-01-16T19:06:14+0530</lastpinged>
> <managementserverid>7566222426160</managementserverid>
> <clusterid>698cfcac-519d-40c9-b212-26345676fceb</clusterid>
> <clustername>cluster1</clustername>
> <clustertype>CloudManaged</clustertype>
> <islocalstorageactive>false</islocalstorageactive>
> <created>2013-08-23T16:05:14+0530</created>
> <events>
> PingTimeout; ManagementServerDown; AgentDisconnected; HostDown; ShutdownRequested; Remove;
StartAgentRebalance; AgentConnected; Ping
> </events>
> <suitableformigration>true</suitableformigration>
> <requiresStorageMotion>false</requiresStorageMotion>
> <resourcestate>Enabled</resourcestate>
> <hypervisorversion>6.1.0</hypervisorversion>
> <hahost>false</hahost>
> <jobstatus>0</jobstatus>
> </host>
> </findhostsformigrationresponse>

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