No VMID/VolumeID in Volume Usage Data

2015-01-22 Thread mvs babu
Hi Team, When I pull usage data of a VM (Type 2) it showing virtualmachineid. Using this ID we can map each usage record to their corresponding VM. But in Volume usage (Type 6), here is no VM ID/ Volume ID. How can I map a usage record to their Volume? Please find below usage data for VM an

Re: cloudmonkey installation problem.

2015-01-22 Thread Rohit Yadav
Hi Dan, I’m not sure which platform you’re on. With Ubuntu 14.04/14.10, the default pip has some issues. To install CloudMonkey or any package dependent on "requests" users simply need to upgrade pip to make it work: 1. Uninstall the default pip: sudo apt-get remove --purge python-pip 2. Dow

RE: Clearing template cache on primary storage

2015-01-22 Thread Sanjeev Neelarapu
Hi Kyle, CS generally copies the template from secondary to primary if it does not find an entry in the template_spool_ref table for that template. So if you want CS to copy the template to primary every time you deploy a new vm , you can have a script to deploy vms parallelly and to remove the

Re: Multiple ROOT disk for one Instances in CS 4.2.1

2015-01-22 Thread Keerthiraja SJ
Anyone can help on this. Thanks, Keerthi On Thu, Jan 22, 2015 at 11:46 AM, Keerthiraja SJ wrote: > Hi > > For one of my Instances I could see many multiple of RootDisk. > > Because of this when xenserver reboots or if I stop and start the > instances my VM is not responding. > > How can I fix t

Re: Hostname and IP address of VMs created from template.

2015-01-22 Thread chinu shah
Thank you Geoff for the response, could you give insights how will it set automatically on guest VMs. According to the Documentation (" https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/append-displayname-vms.html";), when we create a VM with Display name we still do

RE: Clearing template cache on primary storage

2015-01-22 Thread Kyle Flavin
Thanks Somesh. -Original Message- From: Somesh Naidu [mailto:somesh.na...@citrix.com] Sent: Thursday, January 22, 2015 4:28 PM To: users@cloudstack.apache.org Subject: RE: Clearing template cache on primary storage Should be under /usr/share/cloudstack-common/scripts/storage/secondary/

RE: Clearing template cache on primary storage

2015-01-22 Thread Somesh Naidu
Should be under /usr/share/cloudstack-common/scripts/storage/secondary/ You can double check Install Guide under section Prepare System VM Tempate. Somesh CloudPlatform Escalations Citrix Systems, Inc. -Original Message- From: Kyle Flavin [mailto:kyle.fla...@citrix.com] Sent: Thursday,

Re: Hostname and IP address of VMs created from template.

2015-01-22 Thread Geoff Higginbottom
Dan, You need to make sure you have prepared the VM you used to make the template correctly. There are some instructions in the docs. http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.4/templates.html Search for the section titled System preparation for Linux Regards

RE: Clearing template cache on primary storage

2015-01-22 Thread Kyle Flavin
Thanks Somesh. Do you know offhand where I could find that script? That sounds like a good place to start. -Original Message- From: Somesh Naidu [mailto:somesh.na...@citrix.com] Sent: Thursday, January 22, 2015 3:14 PM To: users@cloudstack.apache.org Subject: RE: Clearing template cach

RE: Clearing template cache on primary storage

2015-01-22 Thread Somesh Naidu
> Is it possible to have multiple templates that are just pointers to the > existing bits of the source template on secondary storage? Not entirely impossible. I mean its' not going to be pointers, but if you were looking to save time it takes to upload 20 copies, you could manually setup the te

RE: Hostname and IP address of VMs created from template.

2015-01-22 Thread Somesh Naidu
What guest is that? Did you check manually requesting a lease (like running dhclient or similar)? Somesh CloudPlatform Escalations Citrix Systems, Inc. -Original Message- From: Dan Dong [mailto:dongda...@gmail.com] Sent: Thursday, January 22, 2015 5:59 PM To: users@cloudstack.apache.or

RE: Clearing template cache on primary storage

2015-01-22 Thread Kyle Flavin
Hi Somesh, Is it possible to have multiple templates that are just pointers to the existing bits of the source template on secondary storage? I've tried the following two approaches. First, with Cloudmonkey, I tried to register a new template using something like the following: cloudmonkey re

Hostname and IP address of VMs created from template.

2015-01-22 Thread Dan Dong
Hi, I found that when I create new instances from template of my own( a centos OS), the IP address and hostname are not set to the VM automatically, you have to login to the VM from the UI and set them manually, then a restart will get them take effect. Does anybody else observe the same issue?

Re: cloudmonkey installation problem.

2015-01-22 Thread Dan Dong
Exactly, thanks Erik! Cheers, Dan 2015-01-22 12:46 GMT-06:00 Erik Weber : > If I recall correctly you'll solve that by upgrading the 'requests' python > package. > > Erik > > Den torsdag 22. januar 2015 skrev Dan Dong følgende: > > > Hi, > > When I tried to install cloudmonkey following: > >

Re: Root Disk Resize Not working.

2015-01-22 Thread Dave Dunaway
Anyone know why this operation would not be supported on vmware and other Hypervisors? Sure would be handy to have! ;) On Thu, Jan 22, 2015 at 2:32 PM, Mitch.Fiorentini < mitch.fiorent...@gmail.com> wrote: > It worked. I had to pass the hypervisor option to the API. Thanks! > > On Thu, Jan 22

Re: Root Disk Resize Not working.

2015-01-22 Thread Mitch.Fiorentini
It worked. I had to pass the hypervisor option to the API. Thanks! On Thu, Jan 22, 2015 at 12:41 PM, Mitch.Fiorentini < mitch.fiorent...@gmail.com> wrote: > Hello: Sorry, I am using KVM and deploying via the API directly. Let me > try passing the hypervisor variable. > > On Thu, Jan 22, 2015

Re: cloudmonkey installation problem.

2015-01-22 Thread Erik Weber
If I recall correctly you'll solve that by upgrading the 'requests' python package. Erik Den torsdag 22. januar 2015 skrev Dan Dong følgende: > Hi, > When I tried to install cloudmonkey following: > > https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI#CloudStack

Re: Root Disk Resize Not working.

2015-01-22 Thread Mitch.Fiorentini
Hello: Sorry, I am using KVM and deploying via the API directly. Let me try passing the hypervisor variable. On Thu, Jan 22, 2015 at 2:27 AM, Nux! wrote: > When you deploy via cloudmonkey (I assume) you need to also specify the > hypervisor, so append to your command: > hypervisor=KVM > > It s

cloudmonkey installation problem.

2015-01-22 Thread Dan Dong
Hi, When I tried to install cloudmonkey following: https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI#CloudStackcloudmonkeyCLI-Usingasacommandlinetool I found this error when running the command: # cloudmonkey Import error in cloudmonkey.cloudmonkey : No module nam

RE: expunge disk issue

2015-01-22 Thread Somesh Naidu
That's VM expunge. For storage you should check storage.*.cleanup.* global settings. I am hoping these are enabled. What Prashant is pointing at is for you to verify free space after capacity checker thread has run so CCP has the updated capacity. When you say storage do you refer to primary or

RE: Clearing template cache on primary storage

2015-01-22 Thread Somesh Naidu
I do not believe there is any global config or API to achieve what you want (force template download from secondary to primary storage for every deployment on the same storage). An easy way to work around this would be to make 20 copies of the template (basically register the same template 20 t