Re: CS 4.2.1 install can't get system vms to start

2014-06-09 Thread Naval Saini
Hello,

Dear i am facing same issue when i am configuring cloudsatck.

Have you resolved your issue if yes than please help me in this and tell me
where i need to make changes in my configuration.

Thanks 



Re: CS 4.2.1 install can't get system vms to start

2013-12-05 Thread jason pavao
Any additional help would be greatly appreciated folks. I've done 
several successful CS installations, but the 4.2 release has given me 
nothing but issues.


Thanks in advance!
-jason

On 12/4/2013 11:13 PM, jason pavao wrote:

What does avoid set mean?

I've restarted both the cloudstack-management on the mgtm server along 
with cloudstakc-agent on the kvm host, both to no avail.


This is a fairly clean installation using bits from 
baseurl=http://cloudstack.apt-get.eu/rhel/4.2/


This is on OEL 6.4

Any additional feedback would be greatly appreciated!
Thanks!
-jason



On 12/4/2013 11:00 PM, Jayapal Reddy Uradi wrote:

Hi,

From the below logs the host is in avoid set.
Can you please check host status for up, try restarting MS server.




2013-12-04 23:36:07,519 DEBUG [allocator.impl.FirstFitAllocator] 
(secstorage-1:FirstFitRoutingAllocator) Host name: 
slcai547.us.oracle.com , hostId: 1 is 
in avoid set, skipping this and trying other available hosts
2013-12-04 23:36:07,520 DEBUG [allocator.impl.FirstFitAllocator] 
(secstorage-1:FirstFitRoutingAllocator) Host Allocator returning 0 
suitable hosts
2013-12-04 23:36:07,520 DEBUG 
[cloud.deploy.DeploymentPlanningManagerImpl] (secstorage-1:null) No 
suitable hosts found
2013-12-04 23:36:07,520 DEBUG 
[cloud.deploy.DeploymentPlanningManagerImpl] (secstorage-1:null) No 
suitable hosts found under this Cluster: 1
2013-12-04 23:36:07,521 DEBUG 
[cloud.deploy.DeploymentPlanningManagerImpl] (secstorage-1:null) 
Could not find suitable Deployment Destination for this VM under any 
clusters, returning.
2013-12-04 23:36:07,521 DEBUG [cloud.deploy.FirstFitPlanner] 
(secstorage-1:null) Searching all possible resources under this Zone: 1
2013-12-04 23:36:07,522 DEBUG [cloud.deploy.FirstFitPlanner] 
(secstorage-1:null) Listing clusters in order of aggregate capacity, 
that have (atleast one host with) enough CPU and RAM capacity under 
this Zone: 1
2013-12-04 23:36:07,523 DEBUG [cloud.deploy.FirstFitPlanner] 
(secstorage-1:null) Removing from the clusterId list these clusters 
from avoid set: [1]
2013-12-04 23:36:07,524 DEBUG [cloud.deploy.FirstFitPlanner] 
(secstorage-1:null) No clusters found after removing disabled 
clusters and clusters in avoid list, returning.
2013-12-04 23:36:07,527 DEBUG [cloud.capacity.CapacityManagerImpl] 
(secstorage-1:null) VM state transitted from :Starting to Stopped 
with event: OperationFailedvm's original host id: null new host id: 
null host id before state transition: 1



Thanks,
Jayapal

On 05-Dec-2013, at 12:11 PM, jason pavao >

 wrote:

2013-12-04 23:36:07,519 DEBUG [allocator.impl.FirstFitAllocator] 
(secstorage-1:FirstFitRoutingAllocator) Host 
name:slcai547.us.oracle.com , 
hostId: 1 is in avoid set, skipping this and trying other available 
hosts
2013-12-04 23:36:07,520 DEBUG [allocator.impl.FirstFitAllocator] 
(secstorage-1:FirstFitRoutingAllocator) Host Allocator returning 0 
suitable hosts
2013-12-04 23:36:07,520 DEBUG 
[cloud.deploy.DeploymentPlanningManagerImpl] (secstorage-1:null) No 
suitable hosts found
2013-12-04 23:36:07,520 DEBUG 
[cloud.deploy.DeploymentPlanningManagerImpl] (secstorage-1:null) No 
suitable hosts found under this Cluster: 1
2013-12-04 23:36:07,521 DEBUG 
[cloud.deploy.DeploymentPlanningManagerImpl] (secstorage-1:null) 
Could not find suitable Deployment Destination for this VM under any 
clusters, returning.
2013-12-04 23:36:07,521 DEBUG [cloud.deploy.FirstFitPlanner] 
(secstorage-1:null) Searching all possible resources under this Zone: 1
2013-12-04 23:36:07,522 DEBUG [cloud.deploy.FirstFitPlanner] 
(secstorage-1:null) Listing clusters in order of aggregate capacity, 
that have (atleast one host with) enough CPU and RAM capacity under 
this Zone: 1
2013-12-04 23:36:07,523 DEBUG [cloud.deploy.FirstFitPlanner] 
(secstorage-1:null) Removing from the clusterId list these clusters 
from avoid set: [1]
2013-12-04 23:36:07,524 DEBUG [cloud.deploy.FirstFitPlanner] 
(secstorage-1:null) No clusters found after removing disabled 
clusters and clusters in avoid list, returning.
2013-12-04 23:36:07,527 DEBUG [cloud.capacity.CapacityManagerImpl] 
(secstorage-1:null) VM state transitted from :Starting to Stopped 
with event: OperationFailedvm's original host id: null new host id: 
null host id before state transition: 1









Re: CS 4.2.1 install can't get system vms to start

2013-12-04 Thread jason pavao

What does avoid set mean?

I've restarted both the cloudstack-management on the mgtm server along 
with cloudstakc-agent on the kvm host, both to no avail.


This is a fairly clean installation using bits from 
baseurl=http://cloudstack.apt-get.eu/rhel/4.2/


This is on OEL 6.4

Any additional feedback would be greatly appreciated!
Thanks!
-jason



On 12/4/2013 11:00 PM, Jayapal Reddy Uradi wrote:

Hi,

From the below logs the host is in avoid set.
Can you please check host status for up, try restarting MS server.




2013-12-04 23:36:07,519 DEBUG [allocator.impl.FirstFitAllocator] 
(secstorage-1:FirstFitRoutingAllocator) Host name: 
slcai547.us.oracle.com , hostId: 1 is 
in avoid set, skipping this and trying other available hosts
2013-12-04 23:36:07,520 DEBUG [allocator.impl.FirstFitAllocator] 
(secstorage-1:FirstFitRoutingAllocator) Host Allocator returning 0 
suitable hosts
2013-12-04 23:36:07,520 DEBUG 
[cloud.deploy.DeploymentPlanningManagerImpl] (secstorage-1:null) No 
suitable hosts found
2013-12-04 23:36:07,520 DEBUG 
[cloud.deploy.DeploymentPlanningManagerImpl] (secstorage-1:null) No 
suitable hosts found under this Cluster: 1
2013-12-04 23:36:07,521 DEBUG 
[cloud.deploy.DeploymentPlanningManagerImpl] (secstorage-1:null) Could 
not find suitable Deployment Destination for this VM under any 
clusters, returning.
2013-12-04 23:36:07,521 DEBUG [cloud.deploy.FirstFitPlanner] 
(secstorage-1:null) Searching all possible resources under this Zone: 1
2013-12-04 23:36:07,522 DEBUG [cloud.deploy.FirstFitPlanner] 
(secstorage-1:null) Listing clusters in order of aggregate capacity, 
that have (atleast one host with) enough CPU and RAM capacity under 
this Zone: 1
2013-12-04 23:36:07,523 DEBUG [cloud.deploy.FirstFitPlanner] 
(secstorage-1:null) Removing from the clusterId list these clusters 
from avoid set: [1]
2013-12-04 23:36:07,524 DEBUG [cloud.deploy.FirstFitPlanner] 
(secstorage-1:null) No clusters found after removing disabled clusters 
and clusters in avoid list, returning.
2013-12-04 23:36:07,527 DEBUG [cloud.capacity.CapacityManagerImpl] 
(secstorage-1:null) VM state transitted from :Starting to Stopped with 
event: OperationFailedvm's original host id: null new host id: null 
host id before state transition: 1



Thanks,
Jayapal

On 05-Dec-2013, at 12:11 PM, jason pavao >

 wrote:

2013-12-04 23:36:07,519 DEBUG [allocator.impl.FirstFitAllocator] 
(secstorage-1:FirstFitRoutingAllocator) Host 
name:slcai547.us.oracle.com , hostId: 
1 is in avoid set, skipping this and trying other available hosts
2013-12-04 23:36:07,520 DEBUG [allocator.impl.FirstFitAllocator] 
(secstorage-1:FirstFitRoutingAllocator) Host Allocator returning 0 
suitable hosts
2013-12-04 23:36:07,520 DEBUG 
[cloud.deploy.DeploymentPlanningManagerImpl] (secstorage-1:null) No 
suitable hosts found
2013-12-04 23:36:07,520 DEBUG 
[cloud.deploy.DeploymentPlanningManagerImpl] (secstorage-1:null) No 
suitable hosts found under this Cluster: 1
2013-12-04 23:36:07,521 DEBUG 
[cloud.deploy.DeploymentPlanningManagerImpl] (secstorage-1:null) 
Could not find suitable Deployment Destination for this VM under any 
clusters, returning.
2013-12-04 23:36:07,521 DEBUG [cloud.deploy.FirstFitPlanner] 
(secstorage-1:null) Searching all possible resources under this Zone: 1
2013-12-04 23:36:07,522 DEBUG [cloud.deploy.FirstFitPlanner] 
(secstorage-1:null) Listing clusters in order of aggregate capacity, 
that have (atleast one host with) enough CPU and RAM capacity under 
this Zone: 1
2013-12-04 23:36:07,523 DEBUG [cloud.deploy.FirstFitPlanner] 
(secstorage-1:null) Removing from the clusterId list these clusters 
from avoid set: [1]
2013-12-04 23:36:07,524 DEBUG [cloud.deploy.FirstFitPlanner] 
(secstorage-1:null) No clusters found after removing disabled 
clusters and clusters in avoid list, returning.
2013-12-04 23:36:07,527 DEBUG [cloud.capacity.CapacityManagerImpl] 
(secstorage-1:null) VM state transitted from :Starting to Stopped 
with event: OperationFailedvm's original host id: null new host id: 
null host id before state transition: 1






Re: CS 4.2.1 install can't get system vms to start

2013-12-04 Thread Jayapal Reddy Uradi
Hi,

>From the below logs the host is in avoid set.
Can you please check host status for up, try restarting MS server.





2013-12-04 23:36:07,519 DEBUG [allocator.impl.FirstFitAllocator] 
(secstorage-1:FirstFitRoutingAllocator) Host name: 
slcai547.us.oracle.com, hostId: 1 is in avoid 
set, skipping this and trying other available hosts
2013-12-04 23:36:07,520 DEBUG [allocator.impl.FirstFitAllocator] 
(secstorage-1:FirstFitRoutingAllocator) Host Allocator returning 0 suitable 
hosts
2013-12-04 23:36:07,520 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] 
(secstorage-1:null) No suitable hosts found
2013-12-04 23:36:07,520 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] 
(secstorage-1:null) No suitable hosts found under this Cluster: 1
2013-12-04 23:36:07,521 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] 
(secstorage-1:null) Could not find suitable Deployment Destination for this VM 
under any clusters, returning.
2013-12-04 23:36:07,521 DEBUG [cloud.deploy.FirstFitPlanner] 
(secstorage-1:null) Searching all possible resources under this Zone: 1
2013-12-04 23:36:07,522 DEBUG [cloud.deploy.FirstFitPlanner] 
(secstorage-1:null) Listing clusters in order of aggregate capacity, that have 
(atleast one host with) enough CPU and RAM capacity under this Zone: 1
2013-12-04 23:36:07,523 DEBUG [cloud.deploy.FirstFitPlanner] 
(secstorage-1:null) Removing from the clusterId list these clusters from avoid 
set: [1]
2013-12-04 23:36:07,524 DEBUG [cloud.deploy.FirstFitPlanner] 
(secstorage-1:null) No clusters found after removing disabled clusters and 
clusters in avoid list, returning.
2013-12-04 23:36:07,527 DEBUG [cloud.capacity.CapacityManagerImpl] 
(secstorage-1:null) VM state transitted from :Starting to Stopped with event: 
OperationFailedvm's original host id: null new host id: null host id before 
state transition: 1


Thanks,
Jayapal

On 05-Dec-2013, at 12:11 PM, jason pavao 
mailto:jason.pa...@oracle.com>>
 wrote:

2013-12-04 23:36:07,519 DEBUG [allocator.impl.FirstFitAllocator] 
(secstorage-1:FirstFitRoutingAllocator) Host name: 
slcai547.us.oracle.com, hostId: 1 is in avoid 
set, skipping this and trying other available hosts
2013-12-04 23:36:07,520 DEBUG [allocator.impl.FirstFitAllocator] 
(secstorage-1:FirstFitRoutingAllocator) Host Allocator returning 0 suitable 
hosts
2013-12-04 23:36:07,520 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] 
(secstorage-1:null) No suitable hosts found
2013-12-04 23:36:07,520 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] 
(secstorage-1:null) No suitable hosts found under this Cluster: 1
2013-12-04 23:36:07,521 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] 
(secstorage-1:null) Could not find suitable Deployment Destination for this VM 
under any clusters, returning.
2013-12-04 23:36:07,521 DEBUG [cloud.deploy.FirstFitPlanner] 
(secstorage-1:null) Searching all possible resources under this Zone: 1
2013-12-04 23:36:07,522 DEBUG [cloud.deploy.FirstFitPlanner] 
(secstorage-1:null) Listing clusters in order of aggregate capacity, that have 
(atleast one host with) enough CPU and RAM capacity under this Zone: 1
2013-12-04 23:36:07,523 DEBUG [cloud.deploy.FirstFitPlanner] 
(secstorage-1:null) Removing from the clusterId list these clusters from avoid 
set: [1]
2013-12-04 23:36:07,524 DEBUG [cloud.deploy.FirstFitPlanner] 
(secstorage-1:null) No clusters found after removing disabled clusters and 
clusters in avoid list, returning.
2013-12-04 23:36:07,527 DEBUG [cloud.capacity.CapacityManagerImpl] 
(secstorage-1:null) VM state transitted from :Starting to Stopped with event: 
OperationFailedvm's original host id: null new host id: null host id before 
state transition: 1



Re: CS 4.2.1 install can't get system vms to start

2013-12-04 Thread Radek Smigielski
This seemed to be a problem: 

Host name: 
slcai547.us.oracle.com, hostId: 1 is in avoid set, skipping this and 
trying other available hosts

Your host is in avoid set an CS cannot find a hypervisor host to deploy SSVM. 
Now the question is why the host is in avoid set?  Log you posted doesn't 
explain this.


Radek Śmigielski



CS 4.2.1 install can't get system vms to start

2013-12-04 Thread jason pavao

Folks,
I am working on installing a new 4.2.1 CS installation and I believe 
I've taken care of all the prerequisites, however I am unable to start 
my system vms and proceed with bringing up my cloud.


Below is output from my management-server.log

Can anyone lend a hand and let me know what i've done wrong/whats not 
working?


Many thanks in advance!
-jason

2013-12-04 23:36:07,268 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(secstorage-1:null) Cleaning up resources for the vm 
VM[SecondaryStorageVm|s-7-VM] in Starting state
2013-12-04 23:36:07,269 DEBUG [agent.transport.Request] 
(secstorage-1:null) Seq 1-1792016451: Sending  { Cmd , MgmtId: 
345049479113, via: 1, Ver: v1, Flags: 100111, 
[{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":true,"vmName":"s-7-VM","wait":0}}] 
}
2013-12-04 23:36:07,275 DEBUG [cloud.network.NetworkManagerImpl] 
(consoleproxy-1:null) Asking VirtualRouter to prepare for 
Nic[15-5-3824b517-c0cb-4032-930e-ffa838c1a875-10.240.186.240]
2013-12-04 23:36:07,276 DEBUG [cloud.network.NetworkManagerImpl] 
(consoleproxy-1:null) Asking SecurityGroupProvider to prepare for 
Nic[15-5-3824b517-c0cb-4032-930e-ffa838c1a875-10.240.186.240]
2013-12-04 23:36:07,279 DEBUG [cloud.network.NetworkManagerImpl] 
(consoleproxy-1:null) Network id=202 is already implemented
2013-12-04 23:36:07,291 DEBUG [cloud.network.NetworkManagerImpl] 
(consoleproxy-1:null) Network id=201 is already implemented
2013-12-04 23:36:07,300 DEBUG [network.guru.PodBasedNetworkGuru] 
(consoleproxy-1:null) Allocated a nic 
NicProfile[17-5-3824b517-c0cb-4032-930e-ffa838c1a875-10.240.186.238-null 
for VM[ConsoleProxy|v-5-VM]
2013-12-04 23:36:07,303 DEBUG [cloud.storage.VolumeManagerImpl] 
(consoleproxy-1:null) Checking if we need to prepare 1 volumes for 
VM[ConsoleProxy|v-5-VM]
2013-12-04 23:36:07,307 DEBUG [storage.image.TemplateDataFactoryImpl] 
(consoleproxy-1:null) template 3 is already in store:1, type:Image
2013-12-04 23:36:07,309 DEBUG [storage.datastore.PrimaryDataStoreImpl] 
(consoleproxy-1:null) Not found (templateId:3poolId:2) in 
template_spool_ref, persisting it
2013-12-04 23:36:07,312 DEBUG [storage.image.TemplateDataFactoryImpl] 
(consoleproxy-1:null) template 3 is already in store:2, type:Primary
2013-12-04 23:36:07,313 DEBUG [storage.volume.VolumeServiceImpl] 
(consoleproxy-1:null) Found template routing-3 in storage pool 2 with 
VMTemplateStoragePool id: 12
2013-12-04 23:36:07,317 DEBUG [storage.volume.VolumeServiceImpl] 
(consoleproxy-1:null) Acquire lock on VMTemplateStoragePool 12 with 
timeout 3600 seconds
2013-12-04 23:36:07,318 INFO  [storage.volume.VolumeServiceImpl] 
(consoleproxy-1:null) lock is acquired for VMTemplateStoragePool 12
2013-12-04 23:36:07,321 DEBUG [storage.motion.AncientDataMotionStrategy] 
(consoleproxy-1:null) copyAsync inspecting src type TEMPLATE copyAsync 
inspecting dest type TEMPLATE
2013-12-04 23:36:07,326 DEBUG [agent.transport.Request] 
(consoleproxy-1:null) Seq 1-1792016452: Waiting for Seq 1792016451 
Scheduling:  { Cmd , MgmtId: 345049479113, via: 1, Ver: v1, Flags: 
100111, 
[{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/3/","origUrl":"http://download.cloud.com/templates/4.2/systemvmtemplate-2013-06-12-master-kvm.qcow2.bz2","uuid":"77aa140e-5ca7-11e3-a598-0050568d37c9","id":3,"format":"QCOW2","accountId":1,"checksum":"6cea42b2633841648040becb588bd8f0","hvm":false,"displayText":"SystemVM 
Template 
(KVM)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://slcnas5043.us.oracle.com/export/osn_images/cloud/cloudstack/secondary","_role":"Image"}},"name":"routing-3","hypervisorType":"KVM"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"origUrl":"http://download.cloud.com/templates/4.2/systemvmtemplate-2013-06-12-master-kvm.qcow2.bz2","uuid":"77aa140e-5ca7-11e3-a598-0050568d37c9","id":3,"format":"QCOW2","accountId":1,"checksum":"6cea42b2633841648040becb588bd8f0","hvm":false,"displayText":"SystemVM 
Template 
(KVM)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"57f8e728-f0b8-324d-96cb-fdad763e14be","id":2,"poolType":"NetworkFilesystem","host":"slcnas504.us.oracle.com","path":"/export/osn_images/cloud/cloudstack/primary","port":2049}},"name":"routing-3","hypervisorType":"KVM"}},"executeInSequence":true,"wait":10800}}] 
}
2013-12-04 23:36:07,486 DEBUG [agent.transport.Request] 
(AgentManager-Handler-12:null) Seq 1-1792016451: Processing:  { Ans: , 
MgmtId: 345049479113, via: 1, Ver: v1, Flags: 110, 
[{"com.cloud.agent.api.StopAnswer":{"vncPort":0,"result":true,"wait":0}}] }
2013-12-04 23:36:07,486 DEBUG [agent.manager.AgentAttache] 
(AgentManager-Handler-12:null) Seq 1-1792016452: Sending now.  is 
current sequence.
2013-12-04 23:36:07,487 DEBUG [agent.transport.Request] 
(secstorage-1:null) Seq 1-1792016451: Received:  { Ans: , MgmtId: 
345049479113, via: 1, Ver: v1, Flags: 110, { StopAnswer } }
201