Community
 
 
 

CloudPlatform 3.x

343 followers
 
Avatar
Pankaj Paliwal

Failed to deploy VM's

Avatar

Failed to deploy VM's

Dear All,
I have two host in a cluster, the hosts are VM's.
Using webserver i have uploaded many .ISO's. When i am trying to create an Instance using this ISO's it is giving the error "Failed to deploy Vm with Id:xx".
But when i am trying to create the Instance through the default template (CentOS), there is no problem at all.

Below is the log when the the deployment is failed.

http://pastebin.com/p021zBUc
Thanks in advance


ISMAIL SHAREEF MOHAMMED MEMBERS
9 comments
0

Please sign in to leave a comment.

 
 

Previous 9 comments

Avatar
Erik Godin

Hi,

Are you using the same service offering for both deployments? Reading the output you provided I see that the allocation algorithm failed to find a suitable host with the required resources (500MHz, 512MB of RAM). Those resources are decided based on the service offering you select when deploying the VM and are unaffected by which template you decide to deploy. The relevant part of the output is:




+2013-10-02 19:11:28,297 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-13:job-22 FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=512+ 2013-10-02 19:11:28,297 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-13:job-22 FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts +2013-10-02 19:11:28,297 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-13:job-22) No suitable hosts found+


Comment actions Permalink
Avatar
Pankaj Paliwal
Avatar

Dear E,

Thanks for the email, i know that the allocation algorithm failed, but why ?

I am using the same service offering, in-fact when i am deploying the default CentOS i am using twice the higher service offering and also i am able to create more than 5 VMs.

But the problem is with my uploaded ISO's and Templates. I don't understand why the allocation algorithm is failing.

Thanks & regards
ismail


ISMAIL SHAREEF MOHAMMED MEMBERS
Comment actions Permalink
Avatar
Erik Godin

Login to CloudPlatform as admin, click on the "Templates" button at the left, make sure "Templates" is selected on the "Select View" drop down, click on the template name you're trying to deploy. Where it says "Ready" you should see "Yes". If you don't, delete the template and try to re-create it.


Comment actions Permalink
Avatar
Pankaj Paliwal
Avatar

Dear E,

The status for "Ready" is "Yes" for all the templates and ISO's.

Thanks again


ISMAIL SHAREEF MOHAMMED MEMBERS
Comment actions Permalink
Avatar
Erik Godin

Look at the template you're having problems with, look at its settings. Look at the template you can deploy successfully with. Compare the two, see what's different. Look at the logs, etc..


Comment actions Permalink
Avatar
Pankaj Paliwal
Avatar

Dear E,

I see no big differences, still find attached pic.

Ignore the "OS Type" for Red Hat because i have tried this by changing many Red Hat types.

Also you can see the log for the successful vm deployment.

http://pastebin.com/N2Ya829K

Thanks & regards

Edited by: shareef009 on Oct 3, 2013 2:43 PM

Attached Files


ISMAIL SHAREEF MOHAMMED MEMBERS
Comment actions Permalink
Avatar
Erik Godin

The next step would be for you to go through relevant log files line by line and try to gain some additional information which might point to the root cause of the failure. If that seems like too much, you can always open a support ticket with Citrix.


Comment actions Permalink
Avatar
Pankaj Paliwal
Avatar

Dear E,

Thanks again, the logs for all the failed deployments & successful deployments is same and i am unable to find any clues.

I believe i cannot generate a ticket with Citrix because i don't have any licensing as i am practicing private cloud computing. Can i still ?

Now i will try create a VM directly from a separate XenServer, then create a template from it and upload in the Cloud Deployment.

Lets do this way and see, what do you say ?

Thanks and regards


ISMAIL SHAREEF MOHAMMED MEMBERS
Comment actions Permalink
Avatar
Pankaj Paliwal
Avatar

> {quote:title=shareef009 wrote:}{quote}
> I believe i cannot generate a ticket with Citrix because i don't have any licensing as i am practicing private cloud computing. Can i still ?

It doesn't matter whether you are running a public or private cloud. You can get Citrix support involved if you are using Citrix CloudPlatform.

If you are using Apache CloudStack then you should get help on the Apache user list for Cloudstack.

Regarding the failure, it appears that there are no suitable host in cluster 1 most probably due to the template requires HVM but the hosts don't support HVM.

2013-10-02 19:11:28,293 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-13:job-22 FirstFitRoutingAllocator) FirstFitAllocator has 2 hosts to check for allocation: [Host[-5-Routing], Host[-1-Routing]]
2013-10-02 19:11:28,297 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-13:job-22 FirstFitRoutingAllocator) Found 0 hosts for allocation after prioritization: []


Somesh Naidu CITRIX EMPLOYEES
Comment actions Permalink

Top Contributors