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] [Closed] (CLOUDSTACK-4470) findHostsForMigration API is not setting 'requiresStorageMotion' flag wrongly
Date Fri, 23 Aug 2013 12:45:51 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-4470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Srikanteswararao Talluri closed CLOUDSTACK-4470.
------------------------------------------------


Verified the fix.

<findhostsformigrationresponse cloud-stack-version="4.2.0-SNAPSHOT">
<count>2</count>
<host>
<id>10ef4b47-d932-4f78-a343-cb4a2b34cfe9</id>
<name>Rack1Pod1Host31</name>
<state>Up</state>
<type>Routing</type>
<ipaddress>10.147.40.31</ipaddress>
<zoneid>65ed527b-28d0-4688-be51-d64e385c6488</zoneid>
<zonename>Sandbox-XenServer</zonename>
<podid>81e68701-791e-4903-b1cd-68540bbb7261</podid>
<podname>POD0</podname>
<version>4.2.0-SNAPSHOT</version>
<hypervisor>XenServer</hypervisor>
<cpunumber>4</cpunumber>
<cpuspeed>2394</cpuspeed>
<cpuallocated>0%</cpuallocated>
<cpuused>0.04%</cpuused>
<cpuwithoverprovisioning>9576.0</cpuwithoverprovisioning>
<networkkbsread>1615</networkkbsread>
<networkkbswrite>9540</networkkbswrite>
<memorytotal>16190133120</memorytotal>
<memoryallocated>0</memoryallocated>
<memoryused>1048020</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:40+0530</lastpinged>
<managementserverid>7566222426160</managementserverid>
<clusterid>ad18972f-5242-4e1d-a6db-6e4c6d7ea75c</clusterid>
<clustername>cluster1</clustername>
<clustertype>CloudManaged</clustertype>
<islocalstorageactive>false</islocalstorageactive>
<created>2013-08-23T23:27:39+0530</created>
<events>
Ping; ManagementServerDown; ShutdownRequested; Remove; HostDown; AgentDisconnected; AgentConnected;
PingTimeout; StartAgentRebalance
</events>
<suitableformigration>true</suitableformigration>
<requiresStorageMotion>true</requiresStorageMotion>
<resourcestate>Enabled</resourcestate>
<hypervisorversion>6.1.0</hypervisorversion>
<hahost>false</hahost>
<jobstatus>0</jobstatus>
</host>
<host>
<id>ce8551b8-44ea-4a49-883a-cc0f29b8b9b3</id>
<name>Rack1Pod1Host17</name>
<state>Up</state>
<disconnected>2013-08-23T23:22:14+0530</disconnected>
<type>Routing</type>
<ipaddress>10.147.40.17</ipaddress>
<zoneid>65ed527b-28d0-4688-be51-d64e385c6488</zoneid>
<zonename>Sandbox-XenServer</zonename>
<podid>81e68701-791e-4903-b1cd-68540bbb7261</podid>
<podname>POD0</podname>
<version>4.2.0-SNAPSHOT</version>
<hypervisor>XenServer</hypervisor>
<cpunumber>4</cpunumber>
<cpuspeed>2394</cpuspeed>
<cpuallocated>0%</cpuallocated>
<cpuused>0.04%</cpuused>
<cpuwithoverprovisioning>9576.0</cpuwithoverprovisioning>
<networkkbsread>2821</networkkbsread>
<networkkbswrite>3990</networkkbswrite>
<memorytotal>16190157312</memorytotal>
<memoryallocated>1073741824</memoryallocated>
<memoryused>2135632</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:40+0530</lastpinged>
<managementserverid>7566222426160</managementserverid>
<clusterid>9b8b3df9-09ee-45d7-9818-80363e301b0e</clusterid>
<clustername>C0</clustername>
<clustertype>CloudManaged</clustertype>
<islocalstorageactive>false</islocalstorageactive>
<created>2013-08-23T22:46:00+0530</created>
<events>
Ping; ManagementServerDown; ShutdownRequested; Remove; HostDown; AgentDisconnected; AgentConnected;
PingTimeout; StartAgentRebalance
</events>
<suitableformigration>true</suitableformigration>
<requiresStorageMotion>false</requiresStorageMotion>
<resourcestate>Enabled</resourcestate>
<hypervisorversion>6.1.0</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
>            Assignee: Devdeep Singh
>            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