Re: CS 4.2 KVM Centos 6.5 FreeBSD 64bit unable to install instance
Comments inline. On 22-Jan-2014, at 10:22 am, Sanjeev Neelarapu sanjeev.neelar...@citrix.com wrote: Also make sure that the compute offering you use for deploying a vm has sufficient RAM and CPU to boot. I am able to boot and install FreeBSD 10-RELEASE (32bit and 64bit) on CentOS 6.5 KVM + ACS 4.2.1. The service offering is a 512MB 1vCPU one. Regards. -- @shankerbalan M: +91 98860 60539 | O: +91 (80) 67935867 shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 Need Enterprise Grade Support for Apache CloudStack? Our CloudStack Infrastructure Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the best 24/7 SLA for CloudStack Environments. Apache CloudStack Bootcamp training courses **NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/ 18th-19th February 2014, Brazil. Classroomhttp://shapeblue.com/cloudstack-training/ 17th-23rd March 2014, Region A. Instructor led, On-linehttp://shapeblue.com/cloudstack-training/ 24th-28th March 2014, Region B. Instructor led, On-linehttp://shapeblue.com/cloudstack-training/ 16th-20th June 2014, Region A. Instructor led, On-linehttp://shapeblue.com/cloudstack-training/ 23rd-27th June 2014, Region B. Instructor led, On-linehttp://shapeblue.com/cloudstack-training/ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
Re: CS 4.2 KVM Centos 6.5 FreeBSD 64bit unable to install instance
On 22-Jan-2014, at 4:31 pm, Shanker Balan shanker.ba...@shapeblue.com wrote: Comments inline. On 22-Jan-2014, at 10:22 am, Sanjeev Neelarapu sanjeev.neelar...@citrix.com wrote: Also make sure that the compute offering you use for deploying a vm has sufficient RAM and CPU to boot. I am able to boot and install FreeBSD 10-RELEASE (32bit and 64bit) on CentOS 6.5 KVM + ACS 4.2.1. The service offering is a 512MB 1vCPU one. Regards. FreeBSD 9.2-RELEASE amd64 also installs and boots on a 512MB 1vCPU instance. @motty: Do try changing the instance offering like Sanjeev suggested. -- @shankerbalan M: +91 98860 60539 | O: +91 (80) 67935867 shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 Need Enterprise Grade Support for Apache CloudStack? Our CloudStack Infrastructure Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the best 24/7 SLA for CloudStack Environments. Apache CloudStack Bootcamp training courses **NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/ 18th-19th February 2014, Brazil. Classroomhttp://shapeblue.com/cloudstack-training/ 17th-23rd March 2014, Region A. Instructor led, On-linehttp://shapeblue.com/cloudstack-training/ 24th-28th March 2014, Region B. Instructor led, On-linehttp://shapeblue.com/cloudstack-training/ 16th-20th June 2014, Region A. Instructor led, On-linehttp://shapeblue.com/cloudstack-training/ 23rd-27th June 2014, Region B. Instructor led, On-linehttp://shapeblue.com/cloudstack-training/ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
Re: CS 4.2 KVM Centos 6.5 FreeBSD 64bit unable to install instance
Thank you all for your support on this matter. I was able to install FreeBSD 8.4 i386 and FreeBSD 9.2 i386 but not success installing 64bit version. any ideas what should I change? as mentioned before I installed CentOS from template and from ISO 64bit version. FreeBSD 10 boots from the ISO but stall just after show options for single user mode, it says booting .. / Thanks, On Wed, Jan 22, 2014 at 3:40 AM, Shanker Balan shanker.ba...@shapeblue.comwrote: On 22-Jan-2014, at 4:31 pm, Shanker Balan shanker.ba...@shapeblue.com wrote: Comments inline. On 22-Jan-2014, at 10:22 am, Sanjeev Neelarapu sanjeev.neelar...@citrix.com wrote: Also make sure that the compute offering you use for deploying a vm has sufficient RAM and CPU to boot. I am able to boot and install FreeBSD 10-RELEASE (32bit and 64bit) on CentOS 6.5 KVM + ACS 4.2.1. The service offering is a 512MB 1vCPU one. Regards. FreeBSD 9.2-RELEASE amd64 also installs and boots on a 512MB 1vCPU instance. @motty: Do try changing the instance offering like Sanjeev suggested. -- @shankerbalan M: +91 98860 60539 | O: +91 (80) 67935867 shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 Need Enterprise Grade Support for Apache CloudStack? Our CloudStack Infrastructure Support http://shapeblue.com/cloudstack-infrastructure-support/ offers the best 24/7 SLA for CloudStack Environments. Apache CloudStack Bootcamp training courses **NEW!** CloudStack 4.2.1 training http://shapeblue.com/cloudstack-training/ 18th-19th February 2014, Brazil. Classroom http://shapeblue.com/cloudstack-training/ 17th-23rd March 2014, Region A. Instructor led, On-line http://shapeblue.com/cloudstack-training/ 24th-28th March 2014, Region B. Instructor led, On-line http://shapeblue.com/cloudstack-training/ 16th-20th June 2014, Region A. Instructor led, On-line http://shapeblue.com/cloudstack-training/ 23rd-27th June 2014, Region B. Instructor led, On-line http://shapeblue.com/cloudstack-training/ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
Re: CS 4.2 KVM Centos 6.5 FreeBSD 64bit unable to install instance
On 22-Jan-2014, at 8:36 pm, motty cruz motty.c...@gmail.com wrote: Thank you all for your support on this matter. I was able to install FreeBSD 8.4 i386 and FreeBSD 9.2 i386 but not success installing 64bit version. any ideas what should I change? as mentioned before I installed CentOS from template and from ISO 64bit version. FreeBSD 10 boots from the ISO but stall just after show options for single user mode, it says booting .. / Thanks, I have some details here: http://shankerbalan.net/blog/freebsd-10-on-cloudstack-kvm/ -- @shankerbalan M: +91 98860 60539 | O: +91 (80) 67935867 shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 Need Enterprise Grade Support for Apache CloudStack? Our CloudStack Infrastructure Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the best 24/7 SLA for CloudStack Environments. Apache CloudStack Bootcamp training courses **NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/ 18th-19th February 2014, Brazil. Classroomhttp://shapeblue.com/cloudstack-training/ 17th-23rd March 2014, Region A. Instructor led, On-linehttp://shapeblue.com/cloudstack-training/ 24th-28th March 2014, Region B. Instructor led, On-linehttp://shapeblue.com/cloudstack-training/ 16th-20th June 2014, Region A. Instructor led, On-linehttp://shapeblue.com/cloudstack-training/ 23rd-27th June 2014, Region B. Instructor led, On-linehttp://shapeblue.com/cloudstack-training/ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
Re: 4.2.1 storage motion of Instance
Thanks Devdeep and Geoff, My bad, I'm not performing a Storage XenMotion while VM is running but just disk migration from one Primary storage to another (Migrate instance to another primary storage). Our current setup have 3 zones, one of them use LocalStorage and Shared Storage, other zones use only shared storage. We are currently having the issue in the zone that use Local and Shared Storage. for an Instance with only the root disk, I turn off the VM than use Migrate instance to another primary storage to move the VM into another Primary Storage. After a certain time a status message appear in cloustack WEBUI with the SQL query. At this point the vm state remain to Migrating, the start Instance button is there but the Instance won't start with following message: Unable to create a deployment for VM[User|pdion-sb-mvtest] On the origin primary storage the vdisk is gone. On the destination primary storage the vdisk is not there. But on the Secondary storage, a .vhd as been created on volumes folder (volumes/3/1677/624f20ba-36df-4255-9a1d-697a603a0c61.vhd) Since we have upgrade to 4.2.1 we are getting a lot of operational issues at the point where we are considering rebuilding our cloud on a fresh 4.2.x :-( Pierre-Luc Dion Architecte de Solution Cloud | Cloud Solutions Architect 514-447-3456, 1101 - - - * CloudOps*420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_ On Wed, Jan 22, 2014 at 6:26 AM, Geoff Higginbottom geoff.higginbot...@shapeblue.com wrote: Hi Pierre-Luc, While XenServer Storage Motion was introduced in CloudStack 4.2, you need XenServer 6.1 or higher to actually use it. I just did a test migration using ACS 4.2.0 and XenServer 6.2 and the migration works as expected. Regards Geoff Higginbottom D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 geoff.higginbot...@shapeblue.com -Original Message- From: Pierre-Luc Dion [mailto:pd...@cloudops.com] Sent: 21 January 2014 18:58 To: users@cloudstack.apache.org Subject: 4.2.1 storage motion of Instance We recently upgrade or Cloudstack from 4.1.0 to 4.2.1. hypervisor not upgraded and using xenserver 6.0.2 Since then, we are unable to storage xenmotion Instance from a Primary Storage to another. The pool is using local and shared storage and all kind of storage xenmotion fail. moving Instances end up with following error message in cloudstack webui: Failed to migration: com.cloud.exception.StorageUnavailableException: Resource [StoragePool:233] is unreachable: migrate volume failed: com.cloud.utils.exception.CloudRuntimeException: DB Exception on: com.mysql.jdbc.JDBC4PreparedStatement@308d011c: SELECT volume_store_ref.id, volume_store_ref.store_id, volume_store_ref.volume_id, volume_store_ref.zone_id, volume_store_ref.created, volume_store_ref.last_updated, volume_store_ref.download_pct, volume_store_ref.size, volume_store_ref.physical_size, volume_store_ref.download_state, volume_store_ref.checksum, volume_store_ref.local_path, volume_store_ref.error_str, volume_store_ref.job_id, volume_store_ref.install_path, volume_store_ref.url, volume_store_ref.download_url, volume_store_ref.download_url_created, volume_store_ref.destroyed, volume_store_ref.update_count, volume_store_ref.updated, volume_store_ref.state, volume_store_ref.ref_cnt FROM volume_store_ref WHERE volume_store_ref.store_id = 60 AND volume_store_ref.volume_id = 1664 AND volume_store_ref.destroyed = 0 ORDER BY RAND() LIMIT 1 if I look in the database the Query provide the following output: mysql SELECT volume_store_ref.id, volume_store_ref.store_id, volume_store_ref.volume_id, volume_store_ref.zone_id, volume_store_ref.created, volume_store_ref.last_updated, volume_store_ref.download_pct, volume_store_ref.size, volume_store_ref.physical_size, volume_store_ref.download_state, volume_store_ref.checksum, volume_store_ref.local_path, volume_store_ref.error_str, volume_store_ref.job_id, volume_store_ref.install_path, volume_store_ref.url, volume_store_ref.download_url, volume_store_ref.download_url_created, volume_store_ref.destroyed, volume_store_ref.update_count, volume_store_ref.updated, volume_store_ref.state, volume_store_ref.ref_cnt FROM volume_store_ref WHERE volume_store_ref.store_id = 60 AND volume_store_ref.volume_id = 1664 AND volume_store_ref.destroyed = 0 ORDER BY RAND() LIMIT 1 ; ++--+---+-+-+--+--+--+---++--++---++-+--+--+--+---+--+-+--+-+ | id | store_id | volume_id | zone_id | created | last_updated | download_pct | size | physical_size | download_state | checksum | local_path | error_str | job_id | install_path| url | download_url | download_url_created | destroyed | update_count | updated |
force expunge disks
I'm stuck with some disks with Expunging state. The the VDI for the hypervisor is gone but the disk in Cloudstack remain in Expunging state. is their a way to force expunging them or updating the database to reflect the proper state of the disk ? I'm tempted to execute following SQL queries but would I miss entries somewhere else? update volumes set removed='2014-01-16 18:57:25', state='Expunged', display_volume=0 WHERE name='DATA-1442' LIMIT 1; update volume_view set removed='2014-01-16 18:57:25', state='Expunged', display_volume=0 WHERE name='DATA-1442' LIMIT 1; Thanks, Pierre-Luc Dion Architecte de Solution Cloud | Cloud Solutions Architect 514-447-3456, 1101 - - - *CloudOps*420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_
Re: instance naming in a vmware 5.1 cloudstack 4.2.1 setup
Hi Andreas, if you set the flag vm.instancename.flag to false your instance name will look like : i-##--VM where VM is define in instance.name settings. Also when you are admin in cloudstack you can see the internal name of all instances. Would that work for you ? Pierre-Luc Dion Architecte de Solution Cloud | Cloud Solutions Architect 514-447-3456, 1101 - - - *CloudOps*420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_ On Tue, Jan 21, 2014 at 10:48 AM, Fuchs, Andreas (SwissTXT) andreas.fu...@swisstxt.ch wrote: Hi we just tested the upgrade from 3.0.7 to 4.2.1 in our test environment While the upgrade went smooth we see a big issue with vm naming in vmware. With cs 3.0.7 vm's where named like this: i-id-number-user_entered_vm_name (with global setting of vm.instancename.flag = true) After the update, vm's are just named as follow: user_entered_vm_name No i-id-number- anymore in vSphere. Global setting is unchanged. This leads to issues when two different customers try to create a vm with the same name! while cloudstack creates the instance in the db, vspeher will not create a vm with the same name as an already existing vm. This naming is also different from the descriptions in the docs. Do others see this issue too? Or might it be related to our installation? Best regards Andi
Re: force expunge disks
You have to wait the interval configured on global settings: expunge.delayDetermines how long (in seconds) to wait before actually expunging destroyed vm. The default value = the default value of expunge.interval expunge.intervalThe interval (in seconds) to wait before running the expunge thread. I can't remember the default time, i think that it's 42 hours. i Change it to 1 hour (in seconds) and that's it On Wed, Jan 22, 2014 at 11:24 AM, Pierre-Luc Dion pd...@cloudops.comwrote: I'm stuck with some disks with Expunging state. The the VDI for the hypervisor is gone but the disk in Cloudstack remain in Expunging state. is their a way to force expunging them or updating the database to reflect the proper state of the disk ? I'm tempted to execute following SQL queries but would I miss entries somewhere else? update volumes set removed='2014-01-16 18:57:25', state='Expunged', display_volume=0 WHERE name='DATA-1442' LIMIT 1; update volume_view set removed='2014-01-16 18:57:25', state='Expunged', display_volume=0 WHERE name='DATA-1442' LIMIT 1; Thanks, Pierre-Luc Dion Architecte de Solution Cloud | Cloud Solutions Architect 514-447-3456, 1101 - - - *CloudOps*420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_ -- Hollman Eduardo Enciso R. http://nexxuz.com http://algolibre.com http://www.hollmanenciso.com/ @hollman
Re: AW: management server DB timeout
Well, we have the same issue here. Anyone else have other ideas? Is it related to tomcat configs or jdbc? The crontab is a little hackish for us. Francois On 1/21/2014, 11:55 AM, Abu Bashiri wrote: Thx Matty! Appreciate your help! -Ursprüngliche Nachricht- Von: Marty Sweet [mailto:msweet@gmail.com] Gesendet: Dienstag, 21. Januar 2014 17:15 An: users@cloudstack.apache.org Betreff: Re: management server DB timeout Hi, From the managment server point of view (as I see it), it would have to stop all communication to Agents and the like if it wished to do that, as the data would become inconsistent with other Management Servers. I would imagine this is too much work to implement, but I'm sure one of the development guys will provide a better insight. I currently implement the following work around: ___ Root Crontab ___ * * * * * /srv/csmanagement-watchdog ___ /srv/csmanagement-watchdog ___ #!/bin/bash # If Cloudstack Management is not running, start it if [ ! -e /var/run/cloudstack-management.pid ]; then service cloudstack-management start fi Hope this helps, Marty On Tue, Jan 21, 2014 at 4:03 PM, Abu Bashiri abu.bashiri...@gmail.comwrote: Hey Marty, thx for your reply. I mean, in general the self-fence make sense but i was looking for a way to say try to reconnect for 60seconds. Would be cool if you can paste your solution here! Thx -Ursprüngliche Nachricht- Von: Marty Sweet [mailto:msweet@gmail.com] Gesendet: Dienstag, 21. Januar 2014 15:54 An: users@cloudstack.apache.org Betreff: Re: management server DB timeout Hi, I have this problem with my failover setup, I think however it's by design to ensure data consistency and is more that the MySQL connections have disappeared instead of it timing out. I ended up creating a cron watchdog to start CS Management incase it stopped, I'm sure there are more elegant solutions however, maybe using upstart. If you wish I can paste it here. Marty On Tuesday, January 21, 2014, Abu Bashiri abu.bashiri...@gmail.com wrote: Hey Guys, just some short question. Is there a way to increase the DB timeout for the management server? I use mha for mysql master / slave automatic failover. Everything works but everytime I perform a master failover and the virtual IP changes, the management server shows me immediately the following: DB communication problem detected, fence it 2014-01-21 14:19:51,502 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-Notification-1:null) Notify management server node isolation to listeners 2014-01-21 14:19:51,503 ERROR [cloud.cluster.ClusterFenceManagerImpl] (Cluster-Notification-1:null) Received node isolation notification, will perform self-fencing and shut myself down Can we avoid that self-fencing? I already had a look at db.properties file but I cannot find a timeout value. thx -- Francois Gaudreault Architecte de Solution Cloud | Cloud Solutions Architect fgaudrea...@cloudops.com 514-629-6775 - - - CloudOps 420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_
Re: force expunge disks
Settings expunge.delay and expunge.interval have been set to 60 long time ago. I'm in the situation of a kind of broken system for now where in cloudstack some disks are in Expunging state but the VDI (.vhd file) itself as been deleted from the primary storage. Pierre-Luc Dion Architecte de Solution Cloud | Cloud Solutions Architect 514-447-3456, 1101 - - - *CloudOps*420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_ On Wed, Jan 22, 2014 at 1:31 PM, Hollman Enciso R. hollman.enc...@gmail.com wrote: You have to wait the interval configured on global settings: expunge.delayDetermines how long (in seconds) to wait before actually expunging destroyed vm. The default value = the default value of expunge.interval expunge.intervalThe interval (in seconds) to wait before running the expunge thread. I can't remember the default time, i think that it's 42 hours. i Change it to 1 hour (in seconds) and that's it On Wed, Jan 22, 2014 at 11:24 AM, Pierre-Luc Dion pd...@cloudops.com wrote: I'm stuck with some disks with Expunging state. The the VDI for the hypervisor is gone but the disk in Cloudstack remain in Expunging state. is their a way to force expunging them or updating the database to reflect the proper state of the disk ? I'm tempted to execute following SQL queries but would I miss entries somewhere else? update volumes set removed='2014-01-16 18:57:25', state='Expunged', display_volume=0 WHERE name='DATA-1442' LIMIT 1; update volume_view set removed='2014-01-16 18:57:25', state='Expunged', display_volume=0 WHERE name='DATA-1442' LIMIT 1; Thanks, Pierre-Luc Dion Architecte de Solution Cloud | Cloud Solutions Architect 514-447-3456, 1101 - - - *CloudOps*420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_ -- Hollman Eduardo Enciso R. http://nexxuz.com http://algolibre.com http://www.hollmanenciso.com/ @hollman
Re: force expunge disks
The delete and expunge process work fine. it's just that for some reason we have few disks which failed, I'm suspecting a primary storage that would have been removed without emptied it. Pierre-Luc Dion Architecte de Solution Cloud | Cloud Solutions Architect 514-447-3456, 1101 - - - *CloudOps*420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_ On Wed, Jan 22, 2014 at 1:46 PM, Pierre-Luc Dion pd...@cloudops.com wrote: Settings expunge.delay and expunge.interval have been set to 60 long time ago. I'm in the situation of a kind of broken system for now where in cloudstack some disks are in Expunging state but the VDI (.vhd file) itself as been deleted from the primary storage. Pierre-Luc Dion Architecte de Solution Cloud | Cloud Solutions Architect 514-447-3456, 1101 - - - *CloudOps* 420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_ On Wed, Jan 22, 2014 at 1:31 PM, Hollman Enciso R. hollman.enc...@gmail.com wrote: You have to wait the interval configured on global settings: expunge.delayDetermines how long (in seconds) to wait before actually expunging destroyed vm. The default value = the default value of expunge.interval expunge.intervalThe interval (in seconds) to wait before running the expunge thread. I can't remember the default time, i think that it's 42 hours. i Change it to 1 hour (in seconds) and that's it On Wed, Jan 22, 2014 at 11:24 AM, Pierre-Luc Dion pd...@cloudops.com wrote: I'm stuck with some disks with Expunging state. The the VDI for the hypervisor is gone but the disk in Cloudstack remain in Expunging state. is their a way to force expunging them or updating the database to reflect the proper state of the disk ? I'm tempted to execute following SQL queries but would I miss entries somewhere else? update volumes set removed='2014-01-16 18:57:25', state='Expunged', display_volume=0 WHERE name='DATA-1442' LIMIT 1; update volume_view set removed='2014-01-16 18:57:25', state='Expunged', display_volume=0 WHERE name='DATA-1442' LIMIT 1; Thanks, Pierre-Luc Dion Architecte de Solution Cloud | Cloud Solutions Architect 514-447-3456, 1101 - - - *CloudOps*420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_ -- Hollman Eduardo Enciso R. http://nexxuz.com http://algolibre.com http://www.hollmanenciso.com/ @hollman
Re: force expunge disks
is there any errors on MS logs? Could you post them here? On Wed, Jan 22, 2014 at 4:48 PM, Pierre-Luc Dion pd...@cloudops.com wrote: The delete and expunge process work fine. it's just that for some reason we have few disks which failed, I'm suspecting a primary storage that would have been removed without emptied it. Pierre-Luc Dion Architecte de Solution Cloud | Cloud Solutions Architect 514-447-3456, 1101 - - - *CloudOps*420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_ On Wed, Jan 22, 2014 at 1:46 PM, Pierre-Luc Dion pd...@cloudops.com wrote: Settings expunge.delay and expunge.interval have been set to 60 long time ago. I'm in the situation of a kind of broken system for now where in cloudstack some disks are in Expunging state but the VDI (.vhd file) itself as been deleted from the primary storage. Pierre-Luc Dion Architecte de Solution Cloud | Cloud Solutions Architect 514-447-3456, 1101 - - - *CloudOps* 420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_ On Wed, Jan 22, 2014 at 1:31 PM, Hollman Enciso R. hollman.enc...@gmail.com wrote: You have to wait the interval configured on global settings: expunge.delayDetermines how long (in seconds) to wait before actually expunging destroyed vm. The default value = the default value of expunge.interval expunge.intervalThe interval (in seconds) to wait before running the expunge thread. I can't remember the default time, i think that it's 42 hours. i Change it to 1 hour (in seconds) and that's it On Wed, Jan 22, 2014 at 11:24 AM, Pierre-Luc Dion pd...@cloudops.com wrote: I'm stuck with some disks with Expunging state. The the VDI for the hypervisor is gone but the disk in Cloudstack remain in Expunging state. is their a way to force expunging them or updating the database to reflect the proper state of the disk ? I'm tempted to execute following SQL queries but would I miss entries somewhere else? update volumes set removed='2014-01-16 18:57:25', state='Expunged', display_volume=0 WHERE name='DATA-1442' LIMIT 1; update volume_view set removed='2014-01-16 18:57:25', state='Expunged', display_volume=0 WHERE name='DATA-1442' LIMIT 1; Thanks, Pierre-Luc Dion Architecte de Solution Cloud | Cloud Solutions Architect 514-447-3456, 1101 - - - *CloudOps*420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_ -- Hollman Eduardo Enciso R. http://nexxuz.com http://algolibre.com http://www.hollmanenciso.com/ @hollman -- Rafael Weingärtner
Re: force expunge disks
Have you restarted the cloudstack MS after you changed the parameters? On Wed, Jan 22, 2014 at 4:46 PM, Pierre-Luc Dion pd...@cloudops.com wrote: Settings expunge.delay and expunge.interval have been set to 60 long time ago. I'm in the situation of a kind of broken system for now where in cloudstack some disks are in Expunging state but the VDI (.vhd file) itself as been deleted from the primary storage. Pierre-Luc Dion Architecte de Solution Cloud | Cloud Solutions Architect 514-447-3456, 1101 - - - *CloudOps*420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_ On Wed, Jan 22, 2014 at 1:31 PM, Hollman Enciso R. hollman.enc...@gmail.com wrote: You have to wait the interval configured on global settings: expunge.delayDetermines how long (in seconds) to wait before actually expunging destroyed vm. The default value = the default value of expunge.interval expunge.intervalThe interval (in seconds) to wait before running the expunge thread. I can't remember the default time, i think that it's 42 hours. i Change it to 1 hour (in seconds) and that's it On Wed, Jan 22, 2014 at 11:24 AM, Pierre-Luc Dion pd...@cloudops.com wrote: I'm stuck with some disks with Expunging state. The the VDI for the hypervisor is gone but the disk in Cloudstack remain in Expunging state. is their a way to force expunging them or updating the database to reflect the proper state of the disk ? I'm tempted to execute following SQL queries but would I miss entries somewhere else? update volumes set removed='2014-01-16 18:57:25', state='Expunged', display_volume=0 WHERE name='DATA-1442' LIMIT 1; update volume_view set removed='2014-01-16 18:57:25', state='Expunged', display_volume=0 WHERE name='DATA-1442' LIMIT 1; Thanks, Pierre-Luc Dion Architecte de Solution Cloud | Cloud Solutions Architect 514-447-3456, 1101 - - - *CloudOps*420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_ -- Hollman Eduardo Enciso R. http://nexxuz.com http://algolibre.com http://www.hollmanenciso.com/ @hollman -- Rafael Weingärtner
Re: force expunge disks
yes, Cloudstack management-server has been restart many times. Pierre-Luc Dion Architecte de Solution Cloud | Cloud Solutions Architect 514-447-3456, 1101 - - - *CloudOps*420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_ On Wed, Jan 22, 2014 at 1:48 PM, Rafael Weingartner rafaelweingart...@gmail.com wrote: Have you restarted the cloudstack MS after you changed the parameters? On Wed, Jan 22, 2014 at 4:46 PM, Pierre-Luc Dion pd...@cloudops.com wrote: Settings expunge.delay and expunge.interval have been set to 60 long time ago. I'm in the situation of a kind of broken system for now where in cloudstack some disks are in Expunging state but the VDI (.vhd file) itself as been deleted from the primary storage. Pierre-Luc Dion Architecte de Solution Cloud | Cloud Solutions Architect 514-447-3456, 1101 - - - *CloudOps*420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_ On Wed, Jan 22, 2014 at 1:31 PM, Hollman Enciso R. hollman.enc...@gmail.com wrote: You have to wait the interval configured on global settings: expunge.delayDetermines how long (in seconds) to wait before actually expunging destroyed vm. The default value = the default value of expunge.interval expunge.intervalThe interval (in seconds) to wait before running the expunge thread. I can't remember the default time, i think that it's 42 hours. i Change it to 1 hour (in seconds) and that's it On Wed, Jan 22, 2014 at 11:24 AM, Pierre-Luc Dion pd...@cloudops.com wrote: I'm stuck with some disks with Expunging state. The the VDI for the hypervisor is gone but the disk in Cloudstack remain in Expunging state. is their a way to force expunging them or updating the database to reflect the proper state of the disk ? I'm tempted to execute following SQL queries but would I miss entries somewhere else? update volumes set removed='2014-01-16 18:57:25', state='Expunged', display_volume=0 WHERE name='DATA-1442' LIMIT 1; update volume_view set removed='2014-01-16 18:57:25', state='Expunged', display_volume=0 WHERE name='DATA-1442' LIMIT 1; Thanks, Pierre-Luc Dion Architecte de Solution Cloud | Cloud Solutions Architect 514-447-3456, 1101 - - - *CloudOps*420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_ -- Hollman Eduardo Enciso R. http://nexxuz.com http://algolibre.com http://www.hollmanenciso.com/ @hollman -- Rafael Weingärtner
RE: force expunge disks
If you are 'sure' the volumes have been deleted from the Primary Storage, and you just want to clean up the references in the UI, then in the volumes table, update the 'state' column to 'Expunged' and add a date/time into the 'removed' column. You may also want to 'null' the 'last_pod_id' , 'folder' pod_id, columns. I only say this as volumes which were successfully expunged did not have values in these columns. Regards Geoff Higginbottom D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 geoff.higginbot...@shapeblue.com -Original Message- From: Rafael Weingartner [mailto:rafaelweingart...@gmail.com] Sent: 22 January 2014 18:51 To: users@cloudstack.apache.org Subject: Re: force expunge disks is there any errors on MS logs? Could you post them here? On Wed, Jan 22, 2014 at 4:48 PM, Pierre-Luc Dion pd...@cloudops.com wrote: The delete and expunge process work fine. it's just that for some reason we have few disks which failed, I'm suspecting a primary storage that would have been removed without emptied it. Pierre-Luc Dion Architecte de Solution Cloud | Cloud Solutions Architect 514-447-3456, 1101 - - - *CloudOps*420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_ On Wed, Jan 22, 2014 at 1:46 PM, Pierre-Luc Dion pd...@cloudops.com wrote: Settings expunge.delay and expunge.interval have been set to 60 long time ago. I'm in the situation of a kind of broken system for now where in cloudstack some disks are in Expunging state but the VDI (.vhd file) itself as been deleted from the primary storage. Pierre-Luc Dion Architecte de Solution Cloud | Cloud Solutions Architect 514-447-3456, 1101 - - - *CloudOps* 420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_ On Wed, Jan 22, 2014 at 1:31 PM, Hollman Enciso R. hollman.enc...@gmail.com wrote: You have to wait the interval configured on global settings: expunge.delayDetermines how long (in seconds) to wait before actually expunging destroyed vm. The default value = the default value of expunge.interval expunge.intervalThe interval (in seconds) to wait before running the expunge thread. I can't remember the default time, i think that it's 42 hours. i Change it to 1 hour (in seconds) and that's it On Wed, Jan 22, 2014 at 11:24 AM, Pierre-Luc Dion pd...@cloudops.com wrote: I'm stuck with some disks with Expunging state. The the VDI for the hypervisor is gone but the disk in Cloudstack remain in Expunging state. is their a way to force expunging them or updating the database to reflect the proper state of the disk ? I'm tempted to execute following SQL queries but would I miss entries somewhere else? update volumes set removed='2014-01-16 18:57:25', state='Expunged', display_volume=0 WHERE name='DATA-1442' LIMIT 1; update volume_view set removed='2014-01-16 18:57:25', state='Expunged', display_volume=0 WHERE name='DATA-1442' LIMIT 1; Thanks, Pierre-Luc Dion Architecte de Solution Cloud | Cloud Solutions Architect 514-447-3456, 1101 - - - *CloudOps*420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_ -- Hollman Eduardo Enciso R. http://nexxuz.com http://algolibre.com http://www.hollmanenciso.com/ @hollman -- Rafael Weingärtner Need Enterprise Grade Support for Apache CloudStack? Our CloudStack Infrastructure Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the best 24/7 SLA for CloudStack Environments. Apache CloudStack Bootcamp training courses **NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/ 18th-19th February 2014, Brazil. Classroomhttp://shapeblue.com/cloudstack-training/ 17th-23rd March 2014, Region A. Instructor led, On-linehttp://shapeblue.com/cloudstack-training/ 24th-28th March 2014, Region B. Instructor led, On-linehttp://shapeblue.com/cloudstack-training/ 16th-20th June 2014, Region A. Instructor led, On-linehttp://shapeblue.com/cloudstack-training/ 23rd-27th June 2014, Region B. Instructor led, On-linehttp://shapeblue.com/cloudstack-training/ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
Re: CS 4.2 KVM Centos 6.5 FreeBSD 64bit unable to install instance
Hi Shanker, do you mind telling me version of Libvirt you're running? I'm running the following version: qemu-img-0.12.1.2-2.415.el6_5.3.x86_64 On Wed, Jan 22, 2014 at 7:27 AM, Shanker Balan shanker.ba...@shapeblue.comwrote: On 22-Jan-2014, at 8:36 pm, motty cruz motty.c...@gmail.com wrote: Thank you all for your support on this matter. I was able to install FreeBSD 8.4 i386 and FreeBSD 9.2 i386 but not success installing 64bit version. any ideas what should I change? as mentioned before I installed CentOS from template and from ISO 64bit version. FreeBSD 10 boots from the ISO but stall just after show options for single user mode, it says booting .. / Thanks, I have some details here: http://shankerbalan.net/blog/freebsd-10-on-cloudstack-kvm/ -- @shankerbalan M: +91 98860 60539 | O: +91 (80) 67935867 shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 Need Enterprise Grade Support for Apache CloudStack? Our CloudStack Infrastructure Support http://shapeblue.com/cloudstack-infrastructure-support/ offers the best 24/7 SLA for CloudStack Environments. Apache CloudStack Bootcamp training courses **NEW!** CloudStack 4.2.1 training http://shapeblue.com/cloudstack-training/ 18th-19th February 2014, Brazil. Classroom http://shapeblue.com/cloudstack-training/ 17th-23rd March 2014, Region A. Instructor led, On-line http://shapeblue.com/cloudstack-training/ 24th-28th March 2014, Region B. Instructor led, On-line http://shapeblue.com/cloudstack-training/ 16th-20th June 2014, Region A. Instructor led, On-line http://shapeblue.com/cloudstack-training/ 23rd-27th June 2014, Region B. Instructor led, On-line http://shapeblue.com/cloudstack-training/ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
Re: CS 4.2 KVM Centos 6.5 FreeBSD 64bit unable to install instance
I meant to include : libvirt-client-0.10.2-29.el6_5.2.x86_64 libvirt-0.10.2-29.el6_5.2.x86_64 libvirt-python-0.10.2-29.el6_5.2.x86_64 On Wed, Jan 22, 2014 at 2:19 PM, motty cruz motty.c...@gmail.com wrote: Hi Shanker, do you mind telling me version of Libvirt you're running? I'm running the following version: qemu-img-0.12.1.2-2.415.el6_5.3.x86_64 On Wed, Jan 22, 2014 at 7:27 AM, Shanker Balan shanker.ba...@shapeblue.com wrote: On 22-Jan-2014, at 8:36 pm, motty cruz motty.c...@gmail.com wrote: Thank you all for your support on this matter. I was able to install FreeBSD 8.4 i386 and FreeBSD 9.2 i386 but not success installing 64bit version. any ideas what should I change? as mentioned before I installed CentOS from template and from ISO 64bit version. FreeBSD 10 boots from the ISO but stall just after show options for single user mode, it says booting .. / Thanks, I have some details here: http://shankerbalan.net/blog/freebsd-10-on-cloudstack-kvm/ -- @shankerbalan M: +91 98860 60539 | O: +91 (80) 67935867 shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 Need Enterprise Grade Support for Apache CloudStack? Our CloudStack Infrastructure Support http://shapeblue.com/cloudstack-infrastructure-support/ offers the best 24/7 SLA for CloudStack Environments. Apache CloudStack Bootcamp training courses **NEW!** CloudStack 4.2.1 training http://shapeblue.com/cloudstack-training/ 18th-19th February 2014, Brazil. Classroom http://shapeblue.com/cloudstack-training/ 17th-23rd March 2014, Region A. Instructor led, On-line http://shapeblue.com/cloudstack-training/ 24th-28th March 2014, Region B. Instructor led, On-line http://shapeblue.com/cloudstack-training/ 16th-20th June 2014, Region A. Instructor led, On-line http://shapeblue.com/cloudstack-training/ 23rd-27th June 2014, Region B. Instructor led, On-line http://shapeblue.com/cloudstack-training/ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
Re: CS 4.2 KVM Centos 6.5 FreeBSD 64bit unable to install instance
I would like to figure this out, I don't like this limitation so I wonder if is my configuration: /etc/libvirt/libvirt.conf #uri_default = qemu:///system listen_tls = 0 listen_tcp = 1 tcp_port = 16059 auth_tcp = none mdns_adv = 0 /etc/libvirt/libvirtd.conf listen_tls=0 listen_tcp=1 tcp_port=16509 auth_tcp=none mdns_adv = 0 /etc/libvirt/qemu.conf #seccomp_sandbox = 1 cgroup_controllers=[cpu] security_driver=none user=root group=root vnc_listen=0.0.0.0 as mentioned in previous E-mails here is list of installed packages: libvirt-client-0.10.2-29.el6_5.2.x86_64 libvirt-0.10.2-29.el6_5.2.x86_64 libvirt-python-0.10.2-29.el6_5.2.x86_64 On Wed, Jan 22, 2014 at 2:20 PM, motty cruz motty.c...@gmail.com wrote: I meant to include : libvirt-client-0.10.2-29.el6_5.2.x86_64 libvirt-0.10.2-29.el6_5.2.x86_64 libvirt-python-0.10.2-29.el6_5.2.x86_64 On Wed, Jan 22, 2014 at 2:19 PM, motty cruz motty.c...@gmail.com wrote: Hi Shanker, do you mind telling me version of Libvirt you're running? I'm running the following version: qemu-img-0.12.1.2-2.415.el6_5.3.x86_64 On Wed, Jan 22, 2014 at 7:27 AM, Shanker Balan shanker.ba...@shapeblue.com wrote: On 22-Jan-2014, at 8:36 pm, motty cruz motty.c...@gmail.com wrote: Thank you all for your support on this matter. I was able to install FreeBSD 8.4 i386 and FreeBSD 9.2 i386 but not success installing 64bit version. any ideas what should I change? as mentioned before I installed CentOS from template and from ISO 64bit version. FreeBSD 10 boots from the ISO but stall just after show options for single user mode, it says booting .. / Thanks, I have some details here: http://shankerbalan.net/blog/freebsd-10-on-cloudstack-kvm/ -- @shankerbalan M: +91 98860 60539 | O: +91 (80) 67935867 shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 Need Enterprise Grade Support for Apache CloudStack? Our CloudStack Infrastructure Support http://shapeblue.com/cloudstack-infrastructure-support/ offers the best 24/7 SLA for CloudStack Environments. Apache CloudStack Bootcamp training courses **NEW!** CloudStack 4.2.1 training http://shapeblue.com/cloudstack-training/ 18th-19th February 2014, Brazil. Classroom http://shapeblue.com/cloudstack-training/ 17th-23rd March 2014, Region A. Instructor led, On-line http://shapeblue.com/cloudstack-training/ 24th-28th March 2014, Region B. Instructor led, On-line http://shapeblue.com/cloudstack-training/ 16th-20th June 2014, Region A. Instructor led, On-line http://shapeblue.com/cloudstack-training/ 23rd-27th June 2014, Region B. Instructor led, On-line http://shapeblue.com/cloudstack-training/ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
Re: CS 4.2 KVM Centos 6.5 FreeBSD 64bit unable to install instance
On 22.01.2014 22:42, motty cruz wrote: I would like to figure this out, I don't like this limitation so I wonder if is my configuration: /etc/libvirt/libvirt.conf #uri_default = qemu:///system listen_tls = 0 listen_tcp = 1 tcp_port = 16059 auth_tcp = none mdns_adv = 0 /etc/libvirt/libvirtd.conf listen_tls=0 listen_tcp=1 tcp_port=16509 auth_tcp=none mdns_adv = 0 /etc/libvirt/qemu.conf #seccomp_sandbox = 1 cgroup_controllers=[cpu] security_driver=none user=root group=root vnc_listen=0.0.0.0 as mentioned in previous E-mails here is list of installed packages: libvirt-client-0.10.2-29.el6_5.2.x86_64 libvirt-0.10.2-29.el6_5.2.x86_64 libvirt-python-0.10.2-29.el6_5.2.x86_64 On Wed, Jan 22, 2014 at 2:20 PM, motty cruz motty.c...@gmail.com wrote: I meant to include : libvirt-client-0.10.2-29.el6_5.2.x86_64 libvirt-0.10.2-29.el6_5.2.x86_64 libvirt-python-0.10.2-29.el6_5.2.x86_64 Just did an install and worked great. I uploaded the template here: http://li.nux.ro/download/cloudstack/images/ Other than that, at first glance your setup seems fine. Do you have selinux off? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: CS 4.2 KVM Centos 6.5 FreeBSD 64bit unable to install instance
Thanks Nux, yes I confirm that selinux is off, Thanks, On Wed, Jan 22, 2014 at 2:53 PM, Nux! n...@li.nux.ro wrote: On 22.01.2014 22:42, motty cruz wrote: I would like to figure this out, I don't like this limitation so I wonder if is my configuration: /etc/libvirt/libvirt.conf #uri_default = qemu:///system listen_tls = 0 listen_tcp = 1 tcp_port = 16059 auth_tcp = none mdns_adv = 0 /etc/libvirt/libvirtd.conf listen_tls=0 listen_tcp=1 tcp_port=16509 auth_tcp=none mdns_adv = 0 /etc/libvirt/qemu.conf #seccomp_sandbox = 1 cgroup_controllers=[cpu] security_driver=none user=root group=root vnc_listen=0.0.0.0 as mentioned in previous E-mails here is list of installed packages: libvirt-client-0.10.2-29.el6_5.2.x86_64 libvirt-0.10.2-29.el6_5.2.x86_64 libvirt-python-0.10.2-29.el6_5.2.x86_64 On Wed, Jan 22, 2014 at 2:20 PM, motty cruz motty.c...@gmail.com wrote: I meant to include : libvirt-client-0.10.2-29.el6_5.2.x86_64 libvirt-0.10.2-29.el6_5.2.x86_64 libvirt-python-0.10.2-29.el6_5.2.x86_64 Just did an install and worked great. I uploaded the template here: http://li.nux.ro/download/cloudstack/images/ Other than that, at first glance your setup seems fine. Do you have selinux off? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: CS 4.2 KVM Centos 6.5 FreeBSD 64bit unable to install instance
Comments inline. On 23-Jan-2014, at 3:49 am, motty cruz motty.c...@gmail.com wrote: Hi Shanker, do you mind telling me version of Libvirt you're running? I'm running the following version: qemu-img-0.12.1.2-2.415.el6_5.3.x86_64 [root@kvm1-2 ~]# rpm -q qemu-img libvirt qemu-img-0.12.1.2-2.415.el6_5.3.x86_64 libvirt-0.10.2-29.el6_5.2.x86_64 [root@kvm1-2 ~]# lsb_release -a LSB Version::base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch Distributor ID:CentOS Description:CentOS release 6.5 (Final) Release:6.5 Codename:Final [root@kvm1-2 ~]# -- @shankerbalan M: +91 98860 60539 | O: +91 (80) 67935867 shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 Need Enterprise Grade Support for Apache CloudStack? Our CloudStack Infrastructure Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the best 24/7 SLA for CloudStack Environments. Apache CloudStack Bootcamp training courses **NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/ 18th-19th February 2014, Brazil. Classroomhttp://shapeblue.com/cloudstack-training/ 17th-23rd March 2014, Region A. Instructor led, On-linehttp://shapeblue.com/cloudstack-training/ 24th-28th March 2014, Region B. Instructor led, On-linehttp://shapeblue.com/cloudstack-training/ 16th-20th June 2014, Region A. Instructor led, On-linehttp://shapeblue.com/cloudstack-training/ 23rd-27th June 2014, Region B. Instructor led, On-linehttp://shapeblue.com/cloudstack-training/ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
RE: 4.2.1 storage motion of Instance
Hi, During the transition (copying volume from one primary to another via secondary storage) both the volume states remains in Migrating state in DB. Once the copying is done then the volume state comes to Ready. Then only we can start the vm . -Sanjeev -Original Message- From: Pierre-Luc Dion [mailto:pd...@cloudops.com] Sent: Wednesday, January 22, 2014 9:13 PM To: users@cloudstack.apache.org Subject: Re: 4.2.1 storage motion of Instance Thanks Devdeep and Geoff, My bad, I'm not performing a Storage XenMotion while VM is running but just disk migration from one Primary storage to another (Migrate instance to another primary storage). Our current setup have 3 zones, one of them use LocalStorage and Shared Storage, other zones use only shared storage. We are currently having the issue in the zone that use Local and Shared Storage. for an Instance with only the root disk, I turn off the VM than use Migrate instance to another primary storage to move the VM into another Primary Storage. After a certain time a status message appear in cloustack WEBUI with the SQL query. At this point the vm state remain to Migrating, the start Instance button is there but the Instance won't start with following message: Unable to create a deployment for VM[User|pdion-sb-mvtest] On the origin primary storage the vdisk is gone. On the destination primary storage the vdisk is not there. But on the Secondary storage, a .vhd as been created on volumes folder (volumes/3/1677/624f20ba-36df-4255-9a1d-697a603a0c61.vhd) Since we have upgrade to 4.2.1 we are getting a lot of operational issues at the point where we are considering rebuilding our cloud on a fresh 4.2.x :-( Pierre-Luc Dion Architecte de Solution Cloud | Cloud Solutions Architect 514-447-3456, 1101 - - - * CloudOps*420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_ On Wed, Jan 22, 2014 at 6:26 AM, Geoff Higginbottom geoff.higginbot...@shapeblue.com wrote: Hi Pierre-Luc, While XenServer Storage Motion was introduced in CloudStack 4.2, you need XenServer 6.1 or higher to actually use it. I just did a test migration using ACS 4.2.0 and XenServer 6.2 and the migration works as expected. Regards Geoff Higginbottom D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 geoff.higginbot...@shapeblue.com -Original Message- From: Pierre-Luc Dion [mailto:pd...@cloudops.com] Sent: 21 January 2014 18:58 To: users@cloudstack.apache.org Subject: 4.2.1 storage motion of Instance We recently upgrade or Cloudstack from 4.1.0 to 4.2.1. hypervisor not upgraded and using xenserver 6.0.2 Since then, we are unable to storage xenmotion Instance from a Primary Storage to another. The pool is using local and shared storage and all kind of storage xenmotion fail. moving Instances end up with following error message in cloudstack webui: Failed to migration: com.cloud.exception.StorageUnavailableException: Resource [StoragePool:233] is unreachable: migrate volume failed: com.cloud.utils.exception.CloudRuntimeException: DB Exception on: com.mysql.jdbc.JDBC4PreparedStatement@308d011c: SELECT volume_store_ref.id, volume_store_ref.store_id, volume_store_ref.volume_id, volume_store_ref.zone_id, volume_store_ref.created, volume_store_ref.last_updated, volume_store_ref.download_pct, volume_store_ref.size, volume_store_ref.physical_size, volume_store_ref.download_state, volume_store_ref.checksum, volume_store_ref.local_path, volume_store_ref.error_str, volume_store_ref.job_id, volume_store_ref.install_path, volume_store_ref.url, volume_store_ref.download_url, volume_store_ref.download_url_created, volume_store_ref.destroyed, volume_store_ref.update_count, volume_store_ref.updated, volume_store_ref.state, volume_store_ref.ref_cnt FROM volume_store_ref WHERE volume_store_ref.store_id = 60 AND volume_store_ref.volume_id = 1664 AND volume_store_ref.destroyed = 0 ORDER BY RAND() LIMIT 1 if I look in the database the Query provide the following output: mysql SELECT volume_store_ref.id, volume_store_ref.store_id, volume_store_ref.volume_id, volume_store_ref.zone_id, volume_store_ref.created, volume_store_ref.last_updated, volume_store_ref.download_pct, volume_store_ref.size, volume_store_ref.physical_size, volume_store_ref.download_state, volume_store_ref.checksum, volume_store_ref.local_path, volume_store_ref.error_str, volume_store_ref.job_id, volume_store_ref.install_path, volume_store_ref.url, volume_store_ref.download_url, volume_store_ref.download_url_created, volume_store_ref.destroyed, volume_store_ref.update_count, volume_store_ref.updated, volume_store_ref.state, volume_store_ref.ref_cnt FROM volume_store_ref WHERE volume_store_ref.store_id = 60 AND volume_store_ref.volume_id = 1664 AND volume_store_ref.destroyed = 0 ORDER BY RAND() LIMIT 1 ;
RE: Cloudstack 4.3 SMB share
SMB 3.0 protocol. http://technet.microsoft.com/en-us/library/jj134187.aspx#BKMK_Step3 Thanks Rajesh Battala -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Thursday, January 23, 2014 12:50 PM To: users@cloudstack.apache.org Subject: Cloudstack 4.3 SMB share Hi, What would be the minimum requirement of SMB share for primary and secondary storage for Hyper -v ? Regards, Tejas