Re: CloudStack Simulator - Can we test Usage APIs

2017-04-19 Thread Koushik Das
Hi John, Usage server should work in a simulator setup. The usage service reads data from ‘cloud’ DB and puts it into ‘cloud_usage’ DB. If the data in cloud DB is proper there shouldn’t be any issues. Thanks, Koushik On 19/04/17, 1:03 PM, "John McDonnell" wrote:

Re: Moving VMs to particular Hosts

2017-02-14 Thread Koushik Das
Use host tags or only have the required number of hosts in the cluster. -Koushik On 15/02/17, 11:43 AM, "Makrand" wrote: Hi, Lets say I've a XENserver resource pool containing 8 hosts in my cloudstack setup. I've only handful of windows VM running, lets

Re: Deletion of expunged volumes

2016-11-22 Thread Koushik Das
There is an open PR which fixes a similar issue https://github.com/apache/cloudstack/pull/1726. Check it out. -Koushik On 22/11/16, 4:05 PM, "Natalia Costas Lago" wrote: Hi Dag, It is expunged..., but "removed" it is not set to a date.. ** In

Re: Async jobs and pseudoJobDispatcher

2016-08-24 Thread Koushik Das
These are placeholders for various monitoring jobs that run in the MS at regular intervals. One such e.g. is the system VM monitoring job that checks whether system VMs are running. -Koushik On 24/08/16, 9:50 PM, "Casey Boone" wrote: I have some mystery jobs in my async

Re: Setting DEBUG log level on management node

2016-08-01 Thread Koushik Das
Check if the following entries are present in the config On 30/07/16, 2:52 PM, "Jithin Raju" wrote: Hi Makrand, By default com.cloud is set with DEBUG level . Find com.cloud under Limit categories and verify the verbosity. On Fri, Jul 29,

Re: Allow users to resize root volume of a template-based instance?

2016-06-09 Thread Koushik Das
Check if you are able to call the resizeVolume API directly (without going through the UI). By default domain admins and users are authorized to use it. Also check commands.properties file to see what bitmask is associated with the API. -Koushik On 08/06/16, 4:33 AM, "Andy Dills"

Re: Xenserver 6.5 live migration with local volumes

2016-05-24 Thread Koushik Das
This is a product bug and needs to be fixed. There is some serialization issue that needs fixing. In the below code volumeToFiler is null as Map is not a serializable type. It needs to be replaced with getVolumeToFilerAsList() and then the data needs to be read appropriately. final

Re: [ANNOUNCE] Will Stevens as new Apache CloudStack VP

2016-05-19 Thread Koushik Das
Congrats Will And thanks Sebastien -Koushik On 19/05/16, 12:26 PM, "Sebastien Goasguen" wrote: >Morning Everyone, > >Yesterday at the ASF board meeting, the board passed the resolution making >Will Stevens the new Vice President of the Apache CloudStack project. > >Join me

Re: Unable to start a HVM VM with more than 2 volumes attached using XenServer 6.5 and ACS 4.7.1

2016-04-21 Thread Koushik Das
Once the VM is in running state, is "allowed devices" showing proper list? After that if auto detect is working properly then maybe the issue is somewhere else. -Koushik From: Simon Godard Sent: Thursday, April 21, 2016 12:41 AM

Re: [DISCUSS] Request for comments: Dynamic Role Based API Access Checker for CloudStack

2016-03-28 Thread Koushik Das
Thanks. Regards. Regards, Rohit Yadav rohit.ya...@shapeblue.com www.shapeblue.com 53 Chandos Place, Covent Garden, London WC2N 4HSUK @shapeblue -Original Message- From: Koushik Das [mailto:koushik@accelerite.com] Sent: Friday, March 25, 2016 1:34 PM To: d...@cloudstack.apache.org;

Re: [DISCUSS] Request for comments: Dynamic Role Based API Access Checker for CloudStack

2016-03-25 Thread Koushik Das
The idea looks good. I have provided some questions/comments on the FS itself. Thanks, Koushik From: Rohit Yadav Sent: Wednesday, March 23, 2016 10:34 PM To: d...@cloudstack.apache.org Cc: users@cloudstack.apache.org Subject:

Re: Still having capacity calculation problems with XenServer.

2016-02-10 Thread Koushik Das
Check if the fix for CLOUDSTACK-8181 helps. > On 10-Feb-2016, at 7:33 PM, Martin Emrich wrote: > > Hi! > > I am still/again having issues with the capacity calculation on Cloudstack: > > https://issues.apache.org/jira/browse/CLOUDSTACK-2344 >

RE: 4.5.1 - Xen 6.5 SP1 - Live migrations failing - Local disk

2015-09-30 Thread Koushik Das
Check logs on all 4 MS in the cluster around the time the operation was done. If you see any error/exceptions that can point to the problem. -Original Message- From: cs user [mailto:acldstk...@gmail.com] Sent: Tuesday, 29 September 2015 20:53 To: users@cloudstack.apache.org Subject:

RE: 4.5.1 - Xen 6.5 SP1 - Live migrations failing - Local disk

2015-09-30 Thread Koushik Das
, Sep 30, 2015 at 10:27 AM, Koushik Das <koushik@citrix.com> wrote: > Check logs on all 4 MS in the cluster around the time the operation > was done. If you see any error/exceptions that can point to the problem. > > -Original Message- > From: cs user [mailto:acldstk

RE: NPE while adding host into maintenance in ACS 4.5.1

2015-07-06 Thread Koushik Das
This should fix the problem https://issues.apache.org/jira/browse/CLOUDSTACK-8570. Check if the fix is present in the build you are using. -Original Message- From: Sonali Jadhav [mailto:son...@servercentralen.se] Sent: Monday, 6 July 2015 13:38 To: users@cloudstack.apache.org Subject:

Re: Strange bug? spam in management log files...

2015-06-04 Thread Koushik Das
This is expected in a clustered MS setup. What is the distribution of HV hosts across these MS (check host table in db for MS id)? MS owning the HV host processes all commands for that host. Grep for the sequence numbers (for e.g. 73-7374644389819187201) in both MS logs to correlate. On

Re: system VMs on local storage

2015-05-28 Thread Koushik Das
SSVM and CPVM will be started simultaneously. But virtual routers won't get created automatically. On 28-May-2015, at 5:51 PM, S. Brüseke - proIO GmbH s.brues...@proio.com wrote: Hi Prashant, so the only downside is that it will take some time until CS created all SystemVMs after a host

RE: XenServer 6.5 - Security Groups

2015-04-21 Thread Koushik Das
-VM_tcp_22_22 Looks like due to delete failure the subsequent rule change fails to apply ? -abhi On 21-Apr-2015, at 9:56 am, Koushik Das koushik@citrix.com wrote: What is the output of cat /etc/sysctl.conf? Update it as per http://cloudstack-installation.readthedocs.org/en/latest/hypervisor

Re: XenServer 6.5 - Security Groups

2015-04-20 Thread Koushik Das
What is the output of cat /etc/sysctl.conf? Update it as per http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/xenserver.html. If there was an upgrade from XS 6.2 to XS 6.5, then changes to sysctl.conf is not persisted. On 21-Apr-2015, at 6:24 AM, Tim Mackey

RE: Change Network Service Offering

2015-04-20 Thread Koushik Das
added some additional services, beside already exsting ones on current network offering). thx On 20 April 2015 at 08:16, Koushik Das koushik@citrix.com wrote: For changing network offering you need to go to the network list view in UI. Select the network that you want to edit

Re: Trouble Attaching Volume

2015-04-02 Thread Koushik Das
There is already a vm-sync mechanism to synchronise states between hypervisor and CS DB. When VMs get moved from one host to another outside of CS, vm-sync is supposed to update the DB with the new host id. On 03-Apr-2015, at 7:13 AM, Yitao Jiang willier...@gmail.com wrote: Synchronisation

RE: [Announce] - New VP Apache Cloudstack

2015-03-23 Thread Koushik Das
Congrats Sebastien and thanks Hugo! -Original Message- From: Giles Sirett [mailto:giles.sir...@shapeblue.com] Sent: Monday, 23 March 2015 17:11 To: d...@cloudstack.apache.org; users@cloudstack.apache.org; market...@cloudstack.apache.org Subject: [Announce] - New VP Apache Cloudstack

Re: [ANNOUNCE] New committer: Karen Vuong

2015-03-19 Thread Koushik Das
Congrats Karen! On 20-Mar-2015, at 3:37 AM, Pierre-Luc Dion pd...@cloudops.com wrote: The Project Management Committee (PMC) for Apache CloudStack has asked Karen Vuong to become a committer and we are pleased to announce that she have accepted. Karen is doing a huge effort on promoting

RE: Please tell me about the attach of volume

2015-03-02 Thread Koushik Das
Refer to CLOUDSTACK-5416 for the details. -Original Message- From: giraffeg forestg [mailto:giraffefore...@gmail.com] Sent: Tuesday, 3 March 2015 6:52 To: users@cloudstack.apache.org Subject: Re: Please tell me about the attach of volume Mr. Koushik Das Thank you for reply. I did

RE: Please tell me about the attach of volume

2015-03-02 Thread Koushik Das
Based on the DB dump your analysis looks correct. -Original Message- From: giraffeg forestg [mailto:giraffefore...@gmail.com] Sent: Monday, 2 March 2015 14:46 To: users@cloudstack.apache.org Subject: Please tell me about the attach of volume Hi All Please tell me about the attach of

RE: Regarding 'secstorage.session.max ' and Worker threads

2014-09-05 Thread Koushik Das
For worker related thread pool in SSVM agent check https://cwiki.apache.org/confluence/display/CLOUDSTACK/Agent+related+thread+pools -Original Message- From: Ravi K [mailto:cloud.fanati...@gmail.com] Sent: Friday, 5 September 2014 11:38 AM To: users@cloudstack.apache.org Subject:

RE: about Cloudstack 4.3 use local storage as primary storage

2014-07-08 Thread Koushik Das
For user VMs it is a zone level setting and not a global config. -Original Message- From: jerry [mailto:1163...@qq.com] Sent: Tuesday, 8 July 2014 2:20 PM To: users Subject: about Cloudstack 4.3 use local storage as primary storage hello, i can't find use-local-storage in global

RE: SystemVM attempts to use incorrect hypervisor on router creation after host tags have been applied

2014-07-03 Thread Koushik Das
As per the logs it is not able to find any host with tag=Xen under cluster 7. Check if the host is tagged correctly 2014-07-03 04:56:12,611 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-116:job-31669 FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:7 2014-07-03

Re: Unable to create instances using accounts

2014-06-17 Thread Koushik Das
Check the logs at /var/log/cloudstack/management/management-server.log http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/troubleshooting-working-with-server-logs.html On 17-Jun-2014, at 4:30 PM, Gurudatta Shinde gurudatta.shi...@tomtom.com wrote: Hi team , We

RE: Cloudstack/Xenserver/GPU support

2014-06-17 Thread Koushik Das
Note that GPU/vGPU support is available from 4.4 onwards. Refer FS at https://cwiki.apache.org/confluence/display/CLOUDSTACK/GPU+and+vGPU+support+for+CloudStack+Guest+VMs -Original Message- From: Vijay Ramadoss [mailto:vramad...@nvidia.com] Sent: Tuesday, 17 June 2014 9:28 PM To:

RE: Cloudstack/Xenserver/GPU support

2014-06-17 Thread Koushik Das
CCed Sanjay who worked on this feature. -Original Message- From: Vijay Ramadoss [mailto:vramad...@nvidia.com] Sent: Wednesday, 18 June 2014 10:01 AM To: users@cloudstack.apache.org Subject: Re: Cloudstack/Xenserver/GPU support Note that I am using 4.4 dev builds for this so it does have

Re: Manager can't connect to agent

2014-05-19 Thread Koushik Das
Have you followed the steps mentioned in the doc? https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Installation_Guide/hypervisor-kvm-install-flow.html On 19-May-2014, at 2:24 PM, Sergio Soto Núñez scots4e...@gmail.com wrote: Hi, I'm trying to make a basic cloudstack

RE: Incorrect Instance State

2014-05-16 Thread Koushik Das
What is the version of Cloudstack? Please provide some details about how you have set it up? -Koushik -Original Message- From: STEENBLIK Jason [mailto:jason.steenb...@leonteq.com] Sent: Wednesday, 14 May 2014 4:04 PM To: users@cloudstack.apache.org Subject: Incorrect Instance State Hi

Re: Meaning of 'forced stop' of a VM?

2014-04-23 Thread Koushik Das
'Forced = true' means even if stopping the VM failed on the hypervisor, CS will go ahead and mark it as stopped in database and the API will return success. If 'forced = false' then API would return failure in this case. On 23-Apr-2014, at 9:36 PM, Phillip Kent phillip.k...@gmail.com wrote:

Re: ALARM - ACS reboots host servers!!!

2014-03-02 Thread Koushik Das
The primary storage needs to be put in maintenance before doing any upgrade/reboot as mentioned in the previous mails. -Koushik On 03-Mar-2014, at 6:07 AM, Marcus shadow...@gmail.com wrote: Also, please note that in the bug you referenced it doesn't have a problem with the reboot being

Re: Virtual Router(s) Restarting on CloudStack-4.2

2014-01-07 Thread Koushik Das
Check what the MS logs say about these VMs. Also check the hypervisor logs. On 07-Jan-2014, at 5:15 PM, iliyas shirol iliyas.shi...@gmail.com wrote: The virtual router VMs seems to be running on the Hypervisor. But they get disappeared from the management portal for a period of time and are

Re: VM stopped unexpectedly on host on CloudStack-4.2

2013-12-24 Thread Koushik Das
The log says that host 1 is in 'Alert' state. Is this the host where VMs got stopped? Was there any issue with the host like it went down, or lost connectivity with MS etc.? Share the full logs if possible. -Koushik On 24-Dec-2013, at 2:46 PM, iliyas shirol iliyas.shi...@gmail.com wrote: Hi,

Re: A few questions about Cloudstack (offerings, local storage, routers, etc)

2013-11-12 Thread Koushik Das
On 12-Nov-2013, at 6:46 PM, Geoff Higginbottom geoff.higginbot...@shapeblue.com wrote: Answers inline Regards Geoff Higginbottom D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 geoff.higginbot...@shapeblue.com -Original Message- From: Pentium100

Re: host HA in CS

2013-10-31 Thread Koushik Das
Check this out for KVM http://www.mail-archive.com/dev@cloudstack.apache.org/msg17409.html For Vmware, CS relies on native hypervisor HA. On 31-Oct-2013, at 1:37 PM, Jerry Jiang jerry.ji...@sjcloud.cn wrote: Hi all, Would like to know if CS + KVM can support host HA, say, when A

Re: Migrate volume from local to shared storage

2013-10-19 Thread Koushik Das
It is not possible due the reason you mentioned On 19-Oct-2013, at 3:43 AM, Andrija Panic andrija.pa...@gmail.com wrote: Hi, I have 2 hosts with all local primary storage, and we have obtained new shared primary storage now. What would be a good/possible way to migrate existing volumes

Re: XenServer Core and ACS 4.1 issue

2013-10-17 Thread Koushik Das
Xenserver core is not a supported hypervisor. For ACS 4.1 the supported XS versions are 5.6 sp2, 6.0, 6.0.2, 6.1. On 17-Oct-2013, at 2:04 PM, Andrei Mikhailovsky and...@arhont.com wrote: Hello guys, I was wondering if anyone managed to add the XenServer Core to ACS? I was trying to

Re: Prevent users from deploying instances

2013-10-08 Thread Koushik Das
There was some discussion about a new RBAC framework sometimes back. It should have some provision to address the below use case. On 08-Oct-2013, at 10:55 PM, Nitin Mehta nitin.me...@citrix.com wrote: Chris - Thanks for putting in the use case. As you said suggestion 1 fits in fine for your

Re: CS with ESXi only. Without vCenter

2013-10-07 Thread Koushik Das
No. vCenter is required as Cloudstack talks to it only. On 08-Oct-2013, at 9:35 AM, Jake G. dj_dark_jungl...@yahoo.com wrote: Hi all, Just wondering if it is possible to use Cloudstack with VMware ESXi hypervisor without using a vCenter Server as well? Thanks!

Re: Enabling Local Storage in an Existing Zone

2013-09-24 Thread Koushik Das
You need to restart the MS in this case for local pools to show up. For hosts that are added after enabling local storage on the zone it gets discovered immediately. On 24-Sep-2013, at 7:54 PM, Shanker Balan shanker.ba...@shapeblue.com wrote: Hi All, I enabled local storage on an existing

Re: Cloudstack 4.1.1 + XCP 1.6 fresh install

2013-09-18 Thread Koushik Das
Yes. vhd-util needs to be copied in the hypervisor host under /opt/xensource/bin -Koushik On 18-Sep-2013, at 8:55 PM, Vadim Kimlaychuk vadim.kimlayc...@elion.ee wrote: Do you mean I have to copy vhd-util to the server where XCP is installed? What should be the right path there? Vadim

Re: cs 4.1 host disconnected status

2013-08-27 Thread Koushik Das
. However, CS management considers host as online. What is the proper way to deal with this issue ? On Fri, Jul 12, 2013 at 2:20 PM, Koushik Das koushik@citrix.com wrote: I looked at the logs and none of the existing investigators are able to determine that the host is down. I am

Re: Remote force expunge?

2013-08-26 Thread Koushik Das
The default values for expunge.delay and expunge.interval is 10mins. Have you tried setting these to lower values? I don't think there is any minimum window, it is configurable. -Koushik On 26-Aug-2013, at 7:51 PM, David Matteson dmatte...@a2hosting.com wrote: Hi Travis, Wanting to

Re: Ensuring a VM gets a specific IP address on Deploy

2013-08-22 Thread Koushik Das
See if this helps http://markmail.org/message/xad2qcj7rgnmuxjo -Koushik On 22-Aug-2013, at 8:17 PM, David Matteson dmatte...@a2hosting.com wrote: Hey everybody, I have a seemingly simple question that I haven't quite been able to figure out; we have our networks and zones set up and we're

RE: Possible to place guest VM swap on local storage?

2013-08-13 Thread Koushik Das
-Original Message- From: Koushik Das [mailto:koushik@citrix.com] Sent: Tuesday, August 13, 2013 11:17 AM To: users@cloudstack.apache.org Subject: RE: Possible to place guest VM swap on local storage? Hope this helps anyone else trying to do the same thing. The two

RE: Global Parameters

2013-08-13 Thread Koushik Das
- enable local storage config at zone level - set global configuration parameter system.vm.use.local.storage to true for using local storage for system VMs - restart MS - enable zone -Koushik -Original Message- From: Chitra Manjunath [mailto:chitra_manjun...@infosys.com] Sent:

RE: Possible to place guest VM swap on local storage?

2013-08-12 Thread Koushik Das
Hope this helps anyone else trying to do the same thing. The two surprises in the process were the automatic creation of the primary storage, and the missing configuration row in the database (bug). N When local storage setting is enabled at the zone then local primary stores attached to

RE: HA not working - CloudStack 4.1.0 and KVM hypervisor hosts

2013-07-24 Thread Koushik Das
There is another bug for the same. CLOUDSTACK-3421 This document nicely explains how HA works in Cloudstack https://cwiki.apache.org/confluence/display/CLOUDSTACK/High+Availability+Developer's+Guide. As can be seen from the logs in this case, Cloudstack is not able to conclusively determine if

RE: Wrong storage capacity issue reported

2013-07-15 Thread Koushik Das
There is an issue with local storage as well. Looks like there was change in the storage_pool table where the available_bytes column was changed to used_bytes but in the code available bytes was still passed for used bytes for local storage. -Original Message- From: Indra Pramana

RE: cs 4.1 host disconnected status

2013-07-12 Thread Koushik Das
Looks like the KVM investigator is not able to determine the state of the agent. Can you share the full log? -Original Message- From: Valery Ciareszka [mailto:valery.teres...@gmail.com] Sent: Thursday, July 11, 2013 7:47 PM To: users Subject: cs 4.1 host disconnected status Hi

RE: cs 4.1 host disconnected status

2013-07-12 Thread Koushik Das
12, 2013 at 11:17 AM, Koushik Das koushik@citrix.comwrote: Looks like the KVM investigator is not able to determine the state of the agent. Can you share the full log? -Original Message- From: Valery Ciareszka [mailto:valery.teres...@gmail.com] Sent: Thursday, July 11

RE: Identifying a VM's ROOT disk offering via the database

2013-06-25 Thread Koushik Das
(I feel like I'm going around in circles here lol!) On 25 June 2013 13:59, Koushik Das koushik@citrix.com wrote: For ROOT disk the service offering gets used. For data disk you use the disk offering. The 'disk_offering' table has a field called 'type' which says

RE: Identifying a VM's ROOT disk offering via the database

2013-06-24 Thread Koushik Das
Check out the 'volumes' table in the database. There is a 'disk_offering_id' column. Based on this id check the 'disk_offering' table to see the details. Is this what you are looking for? -Original Message- From: Andy Coates [mailto:andy.coa...@gmail.com] Sent: Monday, June 24, 2013

RE: multiple local primary storage for XenServer

2013-05-15 Thread Koushik Das
I did a quick check in the code and based on it only the first SR is returned. So if there are multiple local SR then all of them won't get discovered automatically. Refer to method protected StartupStorageCommand initializeLocalSR(Connection conn) in CitrixResourceBase.java -Original