RE: Question about ObjectStoreDriver for implementing Ceph driver

2023-12-12 Thread Kishan Kavala
...@apache.org Subject: Re: Question about ObjectStoreDriver for implementing Ceph driver Op 12/12/2023 om 04:45 schreef Rohit Yadav: > Hi Wido, > > I think when the minio object storage plugin was written we didn’t have the > limitations or foresight on how to structure the code, I wo

Re: Question about ObjectStoreDriver for implementing Ceph driver

2023-12-12 Thread Wido den Hollander
Op 12/12/2023 om 04:45 schreef Rohit Yadav: Hi Wido, I think when the minio object storage plugin was written we didn’t have the limitations or foresight on how to structure the code, I would agree in refactoring the interface enough to allow what you’re trying to achieve. Typically to a p

Re: Question about ObjectStoreDriver for implementing Ceph driver

2023-12-11 Thread Rohit Yadav
Hi Wido, I think when the minio object storage plugin was written we didn’t have the limitations or foresight on how to structure the code, I would agree in refactoring the interface enough to allow what you’re trying to achieve. Typically to a plugin you don’t want to pass database objects (Da

Re: Question about SolidFire plugin with KVM hypervisor

2021-07-16 Thread Slavka Peleva
in diesem Fall unverzüglich den Absender und löschen > Sie > > die E-Mail (einschließlich etwaiger beigefügter Dateien) von Ihrem > System. > > Vielen Dank. > > > > The contents of this e-mail (including any attachments) are > confidential >

Re: Question about SolidFire plugin with KVM hypervisor

2021-07-16 Thread Suresh Anaparti
> is strictly prohibited, and you should please notify the sender immediately > and then delete it (including any attachments) from your system. Thank you. > > > Von: Suresh Anaparti > Gesendet: Friday, July 16, 2021

Re: Question about SolidFire plugin with KVM hypervisor

2021-07-16 Thread Slavka Peleva
you are not the intended recipient of > this e-mail, any disclosure, copying, distribution or use of its contents > is strictly prohibited, and you should please notify the sender immediately > and then delete it (including any attachments) from your system. Thank you. > > ___

Re: Question about SolidFire plugin with KVM hypervisor

2021-07-16 Thread Sven Vogel
ibution or use of its contents is strictly prohibited, and you should please notify the sender immediately and then delete it (including any attachments) from your system. Thank you. Von: Suresh Anaparti Gesendet: Friday, July 16, 2021 9:24:56 AM An: dev@clou

Re: Question about SolidFire plugin with KVM hypervisor

2021-07-16 Thread Suresh Anaparti
HI Slavka, Based on the code, it would be 'QCOW2' format for KVM, did you notice any discrepancies there. Regards, Suresh On 15/07/21, 10:14 PM, "Slavka Peleva" wrote: Hi all, Is there someone of you who uses the CS 4.15.1.0 or latest with SolidFire primary storage over a KVM hy

Re: Question about documentation

2020-09-14 Thread Slavka Peleva
Hi David, Thanks for the quick response! I will check the links that you provided. Best regards, Slavka P. On Mon, Sep 14, 2020 at 3:51 PM David Jumani wrote: > Hi Slavka, > > You can have a look at the documentation here and add the docs of your > feature (where you think it's appropriate) >

Re: Question about documentation

2020-09-14 Thread David Jumani
Hi Slavka, You can have a look at the documentation here and add the docs of your feature (where you think it's appropriate) http://docs.cloudstack.apache.org/en/latest/adminguide/storage.html?highlight=snapshot#working-with-volume-snapshots You can edit the docs and send a PR https://github.com

Re: Question about GenericDaoBase#searchAndCount method

2019-07-01 Thread Daan Hoogland
the count in the fragment has an obvious trivial bug: it counts objects while one of the objects is the actual count. it should read ``` if (count < (objects.size() - 1)) { count = objects.size() - 1; } ``` On Mon, Jul 1, 2019 at 10:57 AM Rohit Yadav wrote: > In some

Re: Question about GenericDaoBase#searchAndCount method

2019-07-01 Thread Rohit Yadav
In some cases where the response is being paginated, the count would represent the total number of resources while the size of the returned array/list of resources would be less. Regards, Rohit Yadav Software Architect, ShapeBlue https://www.shapeblue.com Fr

Re: Question: Domain filed on the SSL upload form

2018-03-01 Thread Andrija Panic
Thanks Rafael, that seems reasonable. Excellent ! Thx a lot. On 1 March 2018 at 14:58, Rafael Weingärtner wrote: > Looking at the code, I see that the "domainSuffix" is not validated against > the certificate commons name. That is why everything works for you. The > "domainSuffix" is only used

Re: Question: Domain filed on the SSL upload form

2018-03-01 Thread Rafael Weingärtner
Looking at the code, I see that the "domainSuffix" is not validated against the certificate commons name. That is why everything works for you. The "domainSuffix" is only used for logical stuff inside ACS. The global parameter is only used to generate the URL to access the SSVM/console proxy, whic

Re: Question: Domain filed on the SSL upload form

2018-03-01 Thread Andrija Panic
anyone ? On 27 February 2018 at 14:32, Andrija Panic wrote: > Hi all, > > I got confused about the domain fields/API parameter that is used when > uploading new SSL, to be used on CPVM and SSVM copy process (this is > domain_suffix in cloud.keystore table) > > Due to some automation, I came acro

Re: Question concerning Virtual Routers and problems during failover

2017-09-13 Thread Tim Gipson
I just opened a JIRA issue https://issues.apache.org/jira/browse/CLOUDSTACK-10074 and added my IPtables files as well as the management logs and the logs from the routers. I started the manual failover at around 14:40 so that should help anyone wanting to look at the logs. Thanks! Tim Gipso

Re: Question concerning Virtual Routers and problems during failover

2017-09-13 Thread Tim Gipson
Sure, I’ll need to recreate a failure scenario so I can capture all that data for you. I’ll post it here as soon as I’ve got it. Thanks! Tim Gipson Systems Engineer Direct: 615-312-6157 Mobile: 615-585-3652 On 9/12/17, 10:53 PM, "Nitin Kumar Maharana" wrote: H

Re: Question concerning Virtual Routers and problems during failover

2017-09-12 Thread Nitin Kumar Maharana
Hi Tim, Can you please attach both VR’s cloud.log(present in VR path /var/log/cloud.log) as well as management server log of the failure case. Which will help us finding out the exact cause of the failure. Thanks, Nitin On 13-Sep-2017, at 12:42 AM, Tim Gipson mailto:tgip...@ena.com.invalid>> w

Re: [QUESTION] Upgrade path to JDK8

2017-02-21 Thread Ron Wheeler
http://stackoverflow.com/questions/10895969/can-newer-jre-versions-run-java-programs-compiled-with-older-jdk-versions You can run code compiled by the java 1.7 or 1.6 or earlier SDKs on a Java 8 JVM. This gets you the improved speed of the Java 8 JVM even if you do not rebuild the code. If

Re: [QUESTION] Upgrade path to JDK8

2017-02-21 Thread Marc-Aurèle Brothier
No there isn't any issue except having the bugs & fixes of the JDK you're using. You can compile it with a JDK 1.8 as long as you don't change the target bytecode version for 1.7 On Tue, Feb 21, 2017 at 8:15 AM, Wei ZHOU wrote: > Marco, > > Good point. Is there any issue if we compile code with

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Wei ZHOU
Marco, Good point. Is there any issue if we compile code with jdk8 but run it on jdk7 (systemvm) ? -Wei 2017-02-21 7:43 GMT+01:00 Marc-Aurèle Brothier : > There's a list of compatibility issues between Java 7 & Java 8 here > http://www.oracle.com/technetwork/java/javase/8- > compatibility-guide

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Marc-Aurèle Brothier
There's a list of compatibility issues between Java 7 & Java 8 here http://www.oracle.com/technetwork/java/javase/8-compatibility-guide-2156366. html The main problem I would see in two system communicating while running different Java version is the way they handle serialization and de-serializat

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Wei ZHOU
We tested 4.7.1+systemd patches as well, it also works fine. -Wei 2017-02-20 22:34 GMT+01:00 Wei ZHOU : > @Will and @Syed, I build the packages of 4.9.2+systemd patches on ubuntu > 16.04 (openjdk 8). > Then install the packages to management server and kvm hosts (all are > ubuntu 16.04 with open

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Wei ZHOU
@Will and @Syed, I build the packages of 4.9.2+systemd patches on ubuntu 16.04 (openjdk 8). Then install the packages to management server and kvm hosts (all are ubuntu 16.04 with openjdk8). The systemvm template is 4.6 with openjdk7. cpvm and ssvm work fine. As there is no java process in VR, so

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Pierre-Luc Dion
That's quite interesting Chiradeep! so I could do something like this I guest: mvn clean install and then this one to build the systemvm.iso: mvn -Psystemvm -source 1.7 -target 1.7 install I'll give it a try! but for now, I'm worried about existing VR, they must continue to work while running

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Chiradeep Vittal
You can build the system vm with -source 1.7 -target 1.7 Also unless you are using Java8 features (lambda) the classfiles produced by javac 8 should work in a 1.7 JVM Sent from my iPhone > On Feb 20, 2017, at 11:51 AM, Will Stevens wrote: > > yes, that is what I was expecting. which is why

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Will Stevens
yes, that is what I was expecting. which is why I was asking about Wei's setup because he seems to have worked around that problem. Or he has a custom SystemVM template running with both JDK7 and JDK8. *Will STEVENS* Lead Developer On Mon, Feb 20, 2017 at 2:20 PM, Syed

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Syed Ahmed
The problem is that systemvm.iso is built with java 8 whereas java on the VR is java 7 On Mon, Feb 20, 2017 at 13:20 Will Stevens wrote: > Did it work after resetting a VPC or when blowing away the SSVM or CPVM? I > would not expect the SSVM or the CPVM to come up if the management server > was

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Will Stevens
Did it work after resetting a VPC or when blowing away the SSVM or CPVM? I would not expect the SSVM or the CPVM to come up if the management server was built with JDK8 and the system vm template is only using JDK7. Can you confirm?​ *Will STEVENS* Lead Developer On Mon

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Wei ZHOU
We've tested management server 4.7.1 with ubuntu 16.04/openjdk8 and systemvm 4.6 with debian7/openjdk7. The systemvms (ssvm, cpvm) work fine. I agree we need consider the openjdk upgrade in systemvm template. -Wei 2017-02-20 18:15 GMT+01:00 Will Stevens : > Regarding my question. Is it because

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Will Stevens
Regarding my question. Is it because of the version of Java that the systemvm.iso is built on? On Feb 20, 2017 11:58 AM, "Will Stevens" wrote: > A question that is hidden in here is: > - Why does the JDK version on the management server have to match the JDK > version of the System VM? > > *Will

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Ron Wheeler
Are any Java enhancements being added to common libraries that would force the Client side to have to run Java 8? Would running Java 7 cause any library to need to be available in 2 versions? Ron On 20/02/2017 11:58 AM, Will Stevens wrote: A question that is hidden in here is: - Why does the

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Will Stevens
A question that is hidden in here is: - Why does the JDK version on the management server have to match the JDK version of the System VM? *Will STEVENS* Lead Developer On Mon, Feb 20, 2017 at 11:50 AM, Pierre-Luc Dion wrote: > Hi, > > In the context of deployment of Clo

Re: Question about JavaScript validators in UI

2016-10-26 Thread Wido den Hollander
> Op 27 oktober 2016 om 7:52 schreef Marc-Aurèle Brothier : > > > From a quick look at the code you've forgotten one "|" for the or condition: > No, I didn't. Otherwise the test will always fail since either IPv4 or IPv6 will fail. I think I got it now: $.validator.addMethod("ipv46cidr", fu

Re: Question about JavaScript validators in UI

2016-10-26 Thread Marc-Aurèle Brothier
>From a quick look at the code you've forgotten one "|" for the or condition: $.validator.addMethod("ipv46cidr", function(value, element) { if (!$.validator.methods.ipv4cidr.call(this, value, element) || !$.validator.methods.ipv6cidr.call(this, value, element)) return false; retur

Re: Question about JavaScript validators in UI

2016-10-26 Thread Wido den Hollander
So my JS skills are way to low, but I tried this, but it doesn't seem to work: $.validator.addMethod("ipv46cidr", function(value, element) { if (!$.validator.methods.ipv4cidr.call(this, value, element) | !$.validator.methods.ipv6cidr.call(this, value, element)) return false; retu

Re: Question about JavaScript validators in UI

2016-10-23 Thread Rohit Yadav
Hi Wido, Yes, you can add a new validator that can validator that the provided address is either ipv4 or ipv6, here: https://github.com/apache/cloudstack/blob/master/ui/scripts/sharedFunctions.js#L2327 Give the validator any appropriate name, and use it in the network.js code replacing the c

Re: Question regarding the Agent & reconnect()

2016-06-27 Thread Syed Mushtaq
Marco, I believe it is the Agent that connects back to the server. I haven't seen the agent code but I am curious also. -Syed On Fri, Jun 24, 2016 at 8:44 AM, ma...@exoscale.ch wrote: > Hi, > > I'm reading the code of the Agent and I'm wondering why we don't allowit > to reconnect if it has

Re: [QUESTION] ACS 4.8 Centos 7 ARM / Raspberry PI B 2 with Intel KVM hypervisor

2016-05-17 Thread Patrick Miller
Daan: Thanks for the response. I have been fighting memory constraints, on the Raspberry PI Management Server. I have moved the DataBase process off to a separate Raspberry Pi. I have tried with KVM and XenServer 6.5 hosts. Once I get the host added I get out of memory errors in the m

Re: Question: commands.properties.in deprecated

2016-05-12 Thread Rohit Yadav
All, I've updated the docs PR, that should be merged soon after one more review/LGTM. I've updated the following cwiki pages on how to authorize APIs in the post-dynamic-roles world: (/cc Mike) https://cwiki.apache.org/confluence/display/CLOUDSTACK/Annotations+use+in+the+API https://cwiki.apach

RE: Question: commands.properties.in deprecated

2016-05-11 Thread Rohit Yadav
ent Garden, London WC2N 4HSUK @shapeblue -Original Message- From: williamstev...@gmail.com [mailto:williamstev...@gmail.com] On Behalf Of Will Stevens Sent: Wednesday, May 11, 2016 9:18 PM To: dev@cloudstack.apache.org Subject: Re: Question: commands.properties.in deprecated I think this is

Re: Question: commands.properties.in deprecated

2016-05-11 Thread Will Stevens
I think this is the extent of the documentation at this point. https://github.com/apache/cloudstack-docs-admin/pull/37/files Rohit, maybe you can shed some light on this from a developer's perspective and how we should be handling this going forward? Are there official docs which covered how to

Re: [QUESTION] ACS 4.8 Centos 7 ARM / Raspberry PI B 2 with Intel KVM hypervisor

2016-04-20 Thread Daan Hoogland
H Patrick, nobody is answerring but I know they have, Not to start off with as you intent to, though. Let us know. On Tue, Apr 19, 2016 at 6:25 PM, Patrick Miller < patrick.mil...@sungardas.com> wrote: > I built ACS 4.8 on Centos 7 ARM on a Raspberry PI B 2. With ACS 4.8 built > on a Centos 7 x

Re: [QUESTION] baremetal router

2016-04-05 Thread Daan Hoogland
thakns Hari, I'll make a small pr for putting the baremetal-vr.py under a condition. On Tue, Apr 5, 2016 at 11:10 AM, Harikrishna Patnala < harikrishna.patn...@accelerite.com> wrote: > Hi Daan, > > Yes, this should run only in Virtual Router. Instead of moving it to > existing “if” block, better

Re: [QUESTION] baremetal router

2016-04-05 Thread Harikrishna Patnala
Hi Daan, Yes, this should run only in Virtual Router. Instead of moving it to existing “if” block, better to have a seperate check only for normal router, since we don’t support baremetal deployment in VPC. Regarding the later question, with the current implementation I don’t think we can dist

Re: Question on compatibility matrix

2016-03-07 Thread Rohit Yadav
s) as well. > > > Regards > Sadhu > > > -Original Message- > From: Rohit Yadav [mailto:rohit.ya...@shapeblue.com] > Sent: Monday, March 7, 2016 2:44 PM > To: Pierre-Luc Dion; dev > Subject: Re: Question on compatibility matrix > > Thanks Pierre-Luc, in that c

RE: Question on compatibility matrix

2016-03-07 Thread Suresh Sadhu
y, March 7, 2016 2:44 PM To: Pierre-Luc Dion; dev Subject: Re: Question on compatibility matrix Thanks Pierre-Luc, in that case anyone from Citrix has any idea? On 05-Mar-2016, at 1:05 AM, Pierre-Luc Dion mailto:pd...@cloudops.com>> wrote: Hi Rohit, I can't recall where that version s

Re: Question on compatibility matrix

2016-03-07 Thread Rohit Yadav
Thanks Pierre-Luc, in that case anyone from Citrix has any idea? On 05-Mar-2016, at 1:05 AM, Pierre-Luc Dion mailto:pd...@cloudops.com>> wrote: Hi Rohit, I can't recall where that version specific come from for ACS 4.5 with VMware, I think it was from the CloudPlatform 4.5 release notes. I nev

Re: Question on compatibility matrix

2016-03-04 Thread Pierre-Luc Dion
Hi Rohit, I can't recall where that version specific come from for ACS 4.5 with VMware, I think it was from the CloudPlatform 4.5 release notes. I never really tested ACS with VMware so I cannot really comment on which version is required. Anyone else would have an idea? Thanks On Fri, Mar 4,

Re: Question about templates and zones

2016-02-25 Thread Syed Mushtaq
, I just took a quick peek at the GUI and it drives the >> > interaction through the selection of a zone for the template. >> > >> > From: Syed Mushtaq >> > Sent: Tuesday, February 23, 2016 2:32 PM >> > To: dev@c

Re: Question about templates and zones

2016-02-24 Thread Syed Mushtaq
; wrote: > > > I see. Yeah, I just took a quick peek at the GUI and it drives the > > interaction through the selection of a zone for the template. > > > > From: Syed Mushtaq > > Sent: Tuesday, February 23, 2016 2:32 PM >

Re: Question about templates and zones

2016-02-24 Thread Patrick Dube
n of a zone for the template. > > From: Syed Mushtaq > Sent: Tuesday, February 23, 2016 2:32 PM > To: dev@cloudstack.apache.org > Subject: Re: Question about templates and zones > > Yes but that is optional though. You can still delete a te

Re: Question regarding cloudstack logging

2016-02-24 Thread sangeeta lal
Dear Rafael and Dev Team, I highly appreciate you effort. Thanks! for your reply. Thank you On Wed, Feb 24, 2016 at 3:37 PM, Rafael Weingärtner < rafaelweingart...@gmail.com> wrote: > I do not know what the academic literature says about it, but when I > mentioned legacy code, I meant old and n

Re: Question regarding cloudstack logging

2016-02-24 Thread Rafael Weingärtner
I do not know what the academic literature says about it, but when I mentioned legacy code, I meant old and not well-designed code. It could also mean code that uses some old version of a technology. However, in those cases you pointed out, the technology is still the same (Java), even though it wa

Re: Question regarding cloudstack logging

2016-02-23 Thread sangeeta lal
Dear Rafael and Dev Team, Thanks for your reply. On internet I found that legacy code: *is a type of code which is used in the software currently, but there are new and better technology that can replace it in the future. *Please let me know if my interpretation is correct. Also, can you pleas

Re: Question about templates and zones

2016-02-23 Thread Tutkowski, Mike
I see. Yeah, I just took a quick peek at the GUI and it drives the interaction through the selection of a zone for the template. From: Syed Mushtaq Sent: Tuesday, February 23, 2016 2:32 PM To: dev@cloudstack.apache.org Subject: Re: Question about

Re: Question about templates and zones

2016-02-23 Thread Syed Mushtaq
Yes but that is optional though. You can still delete a template just by giving the ID On Tue, Feb 23, 2016 at 4:20 PM, Tutkowski, Mike wrote: > Hi Syed, > > I don't have a direct answer for your question, but I do know that when I > delete a template, I have to specify a zone. > > Talk to you l

Re: Question about templates and zones

2016-02-23 Thread Tutkowski, Mike
Hi Syed, I don't have a direct answer for your question, but I do know that when I delete a template, I have to specify a zone. Talk to you later, Mike From: Syed Mushtaq Sent: Tuesday, February 23, 2016 11:58 AM To: dev@cloudstack.apache.org Subject: Qu

Re: Question regarding cloudstack logging

2016-02-23 Thread Rafael Weingärtner
Dear Sangeeta, Those examples you provided are a bad programming practice (in my opinion). They are legacy code, and we are trying to fix them whenever we uncover one. On Tue, Feb 23, 2016 at 11:11 AM, sangeeta lal wrote: > Dear Dev Team, > > > I am Sangeeta (PhD) scholar from India. I am worki

Re: question on certificate upload

2016-02-17 Thread Wei ZHOU
Daan, the new certificate and key are stored in datab ase, and imported int o realhostip.keystore if t he certificate is u ploaded together with a key. 2016年2月17日星期三,Daan Hoogland 写道: > H, > > If I upload a new certificate from the infrastructure tab, the timestamp of > the certificates in the

Re: question on certificate upload

2016-02-17 Thread Daan Hoogland
Both work but the certificate never gets installed in the cpvm, it gets loaded in memory directly through the command. thanks. On Wed, Feb 17, 2016 at 7:01 PM, Remi Bergsma wrote: > Hi Daan, > > Did you try the api call instead of the UI? I believe the UI has a bug (it > filters the private key

Re: question on certificate upload

2016-02-17 Thread Remi Bergsma
Hi Daan, Did you try the api call instead of the UI? I believe the UI has a bug (it filters the private key and it doesn't appear in the db). API call worked for me. Regards, Remi Sent from my iPhone > On 17 Feb 2016, at 18:52, Daan Hoogland wrote: > > forgot to mention: version 4.7.1 I d

Re: question on certificate upload

2016-02-17 Thread Daan Hoogland
forgot to mention: version 4.7.1 I don't think that matters but still. On Wed, Feb 17, 2016 at 2:19 PM, Daan Hoogland wrote: > H, > > If I upload a new certificate from the infrastructure tab, the timestamp > of the certificates in the consoleproxy in /usr/local/cloud/systemvm/certs > stay the s

Re: Question regarding @Local usage on CS

2015-08-20 Thread Rafael Weingärtner
I have just checked now, that annotation is not making any sense to me. Why would you use EJB annotation on spring beans!? On Thu, Aug 20, 2015 at 10:46 AM, Rafael Weingärtner < rafaelweingart...@gmail.com> wrote: > Hi folks, > I noticed that CloudStack uses EJB alongside with Spring. > > I am tr

Re: Question: Routing commands to SSVM

2015-08-08 Thread Mike Tutkowski
Hi, OK, as an FYI, I'll follow up on what I did to solve this (in case others encounter a similar problem in the future and remember this e-mail): As it turns out, the code I used to build my cloud was built as such: mvn -P developer,systemvm clean install I was not planning on introducing ESXi

Re: [QUESTION] SQL in old upgrade code

2015-07-19 Thread Daan Hoogland
nevermind, I was reading over an extra underscore ('_')...:( On Sun, Jul 19, 2015 at 4:10 PM, Daan Hoogland wrote: > devs, > > in Upgrade218to22 in private void modifyIndexes(Connection conn), an > index is removed twice without any code inbetween. Does anybody know > of a (my)sql quirk that make

RE: question about Admin's capability to create a VM on a disabled host

2015-06-22 Thread Raja Pullela
Yes... that makes sense. Thanks Praveen! -Original Message- From: Praveen B [mailto:pbprave...@gmail.com] Sent: Monday, June 22, 2015 11:13 PM To: dev@cloudstack.apache.org Subject: Re: question about Admin's capability to create a VM on a disabled host Hi Raja, I can think of

Re: question about Admin's capability to create a VM on a disabled host

2015-06-22 Thread Praveen B
Hi Raja, I can think of this use case --> An admin can verify if a host is production ready by deploying a resource first on it before actual users deploy and fail due to any specific reasons. Thanks, Praveen Kumar, Founder,PSI Cloud Solutions, psiclouds.com. On Mon, Jun 22, 2015 at 12:14 PM, R

Re: Question regarding VM snapshot restrictions

2015-04-28 Thread Jan-Arve Nygård
Thanks Anshul, just what i wanted to know :) -thinktwo 2015-04-28 12:16 GMT+02:00 Anshul Gangwar : > These restrictions are not there due to Hypervisor limitations. These > limitations are due to way this feature is implemented in CloudStack. > If we allow those operation then they may work fine

Re: Question regarding VM snapshot restrictions

2015-04-28 Thread Anshul Gangwar
These restrictions are not there due to Hypervisor limitations. These limitations are due to way this feature is implemented in CloudStack. If we allow those operation then they may work fine but in long run they may lead to corruption of VM etc. So to avoid those situation these restrictions ar

Re: Question regarding VM snapshot restrictions

2015-04-28 Thread Jan-Arve Nygård
Thanks Anshul, I did a quick test with adding vCPU and NIC in XenCenter after creating a snapshot through CloudStack. I also tried reverting the VM to the snapshots afterwards with the vCPU and NIC still added, and it worked OK. This made curious about what the background and details for this pat

Re: Question regarding VM snapshot restrictions

2015-04-28 Thread Anshul Gangwar
Hi Jan-Arve, In which order have you tried adding vCPUs and NICs? i.e. After creating VM snapshot or before creating snapshot. And have you deleted VM snapshots before adding vCPUs and NICs? Regards, Anshul On 24-Apr-2015, at 5:58 pm, Jan-Arve Nygård mailto:jan.arve.nyg...@gmail.com>> wrote: H

RE: question about JDBC and mysql

2015-04-14 Thread Somesh Naidu
Yes, transactions are used and AFAIK, transaction level is set to READ COMMITED. You would benefit from setting the logging level to TRACE to get more insight as most of the logging at the DAO layer is set to TRACE. Somesh CloudPlatform Escalations Citrix Systems, Inc. -Original Message---

Re: [QUESTION] How is snapshot size counted in secondary storage?

2015-02-22 Thread Gaurav Aradhye
Hello all, A small update which closes this question. Now the listSnapshots API provides the size of the snapshot precisely (physicalsize attribute), and when I count it to match with total secondary storage count for an account, then there is no descrepancy. This facility is in with commit 9153b

Re: [QUESTION] Synchronizing across management servers

2015-01-27 Thread Mike Tutkowski
In addition to providing a locking mechanism across multiple instances of the management server, GlobalLock also let me change my logic so that my lock could be more fine grained (in this case, a different lock per cluster). On Tue, Jan 27, 2015 at 7:18 PM, Mike Tutkowski < mike.tutkow...@solidfir

Re: [QUESTION] Synchronizing across management servers

2015-01-27 Thread Mike Tutkowski
FYI: It appears this GlobalLock class is used pretty frequently in the codebase. I went ahead and replaced my synchronized logic with GlobalLock logic. On Tue, Jan 13, 2015 at 8:54 PM, Mike Tutkowski < mike.tutkow...@solidfire.com> wrote: > The use case is that I have access control lists on my S

Re: [Question] GUI and failed async commands

2015-01-27 Thread Mike Tutkowski
Also, just for the sake of clarity, the "success" that the GUI reports here happens after the async part has completed (even though an exception was thrown from the "execute" method of the command object). On Tue, Jan 27, 2015 at 12:42 PM, Mike Tutkowski < mike.tutkow...@solidfire.com> wrote: > F

Re: [Question] GUI and failed async commands

2015-01-27 Thread Mike Tutkowski
FYI that I just logged an issue for it: https://issues.apache.org/jira/browse/CLOUDSTACK-8185 I marked it as Major because it could be quite confusing to end users, but maybe it should just be Minor. On Tue, Jan 27, 2015 at 12:33 PM, Nitin Mehta wrote: > Yeah it is somewhat confusing experienc

Re: [Question] GUI and failed async commands

2015-01-27 Thread Nitin Mehta
Yeah it is somewhat confusing experience. Async api has 2 parts - 1. Sync part - does basic checks, db creation/updates and returns job id 2. Async part - Does the actual business logic and contacting the resource layer. At some places UI returns on #1 itself reporting success, whereas in some cas

Re: [Question] GUI and failed async commands

2015-01-27 Thread Rohit Yadav
This probably is a bug that needs to be fixed in the UI. On Tuesday 27 January 2015 02:05 AM, Mike Tutkowski wrote: Hi, I noticed that the GUI reports what appears to be success when I try to delete a snapshot, but the snapshot is not really being deleted. I've tracked down where the snapshot-

Re: [QUESTION] Attached/Detached Volume State

2015-01-26 Thread Mike Tutkowski
This actually appears to be a more general-purpose issue than I originally thought. It seems we often perform checks on the state of a given object before we submit a job to the job queue. This is fine because it is nice if we can fail early. However, some of these properties we check can change

Re: [QUESTION] Attached/Detached Volume State

2015-01-23 Thread Mike Tutkowski
I just returned to this problem a little while ago today. The original reason I asked this question was because I noticed an issue when attaching multiple volumes to a VM at the same time. The attach logic is properly funneled through the VM job queue, but it still fails (for the second attach co

Re: [QUESTION] Synchronizing across management servers

2015-01-13 Thread Mike Tutkowski
The use case is that I have access control lists on my SAN that I dynamically update as a given volume is attached to or detached from a VM in a cluster. Let's say multiple "attach" commands come in for VMs in the same cluster (I use one ACL per compute cluster). This leads to the storage framewor

Re: [QUESTION] Attached/Detached Volume State

2015-01-13 Thread Nitin Mehta
+Min. Unfortunately, I don’t think the framework is enhanced for all the different kinds of resources, but it should be the way to go. IMHO Serialization through states was/is just a hacky way of getting around the situation and should be discontinued. Ideally, state of a resource should reflect

Re: [QUESTION] Synchronizing across management servers

2015-01-13 Thread Nitin Mehta
Yes, it should do it for you. Please check for the references of this method and ensure there are other logic pieces using this. It might help if you can you give some context of of your use case ? Thanks, -Nitin On 13/01/15 4:12 PM, "Mike Tutkowski" wrote: >Hi, > >I have code in my plug-in tha

Re: [QUESTION] Attached/Detached Volume State

2015-01-13 Thread Mike Tutkowski
It appears that the job queue is used for some commands while for others it is not. Is the intend of the job queue to only serialize operations that are sent to VMs? On Tue, Jan 13, 2015 at 3:14 PM, Mike Tutkowski < mike.tutkow...@solidfire.com> wrote: > This is 4.6. > > It seems like our state-

Re: [QUESTION] Locking versus State Transitioning

2015-01-13 Thread Mike Tutkowski
Tuesday, January 13, 2015 5:11 PM > To: dev@cloudstack.apache.org > Subject: Re: [QUESTION] Locking versus State Transitioning > > That is a good question, Nitin. I have not modified that logic. I just copy > and pasted it to e-mail because I was curious about the lock versus st

RE: [QUESTION] Locking versus State Transitioning

2015-01-13 Thread Somesh Naidu
utkow...@solidfire.com] Sent: Tuesday, January 13, 2015 5:11 PM To: dev@cloudstack.apache.org Subject: Re: [QUESTION] Locking versus State Transitioning That is a good question, Nitin. I have not modified that logic. I just copy and pasted it to e-mail because I was curious about the lock versus state trans

Re: [QUESTION] Attached/Detached Volume State

2015-01-13 Thread Mike Tutkowski
This is 4.6. It seems like our state-transitioning logic is intended (as one might expect) to protect the object in question from transitions that are invalid given it's current state (this is what I would expect). I do not see, say, the attach and detach operations being serialized. It seems the

Re: [QUESTION] Locking versus State Transitioning

2015-01-13 Thread Mike Tutkowski
That is a good question, Nitin. I have not modified that logic. I just copy and pasted it to e-mail because I was curious about the lock versus state transition choice on the snapshot. I don't think we would need to perform a lock on the volume, though, because the state transition to "Snapshottin

Re: [QUESTION] Locking versus State Transitioning

2015-01-13 Thread Nitin Mehta
Hey Mike, State transition shouldn¹t be used for serialization. Our job framework should do the same. If not, then its a bug. Also, in this case locking on snapshot doesn't help, shouldn¹t it be on the volume ? Thanks, -Nitin On 13/01/15 12:34 PM, "Mike Tutkowski" wrote: >Hi, > >I noticed while

Re: [QUESTION] Attached/Detached Volume State

2015-01-13 Thread Nitin Mehta
States shouldn¹t be used to serialize operations on a volume. It should be used to denote the lifecycle of the volume instead. I think the async job manager does take care of the serialization. Which version do you see this issue happening ? Thanks, -Nitin On 13/01/15 12:28 PM, "Mike Tutkowski"

Re: [QUESTION] Integration Port

2015-01-09 Thread Mike Tutkowski
s earlier. > >> > >> Thanks, > >> Prachi > >> > >> > >> From: Stephen Turner > >> Sent: Thursday, January 08, 2015 10:59 AM > >> To: dev@cloudstack.apache.org > >> Cc: Va

Re: [QUESTION] Integration Port

2015-01-09 Thread Nitin Mehta
gt; back some volumes earlier. >> >> Thanks, >> Prachi >> >> ________ >> From: Stephen Turner >> Sent: Thursday, January 08, 2015 10:59 AM >> To: dev@cloudstack.apache.org >> Cc: Vania Xu; Min Chen; Prachi Damle

Re: [QUESTION] Integration Port

2015-01-08 Thread Mike Tutkowski
e volumes earlier. > > Thanks, > Prachi > > > From: Stephen Turner > Sent: Thursday, January 08, 2015 10:59 AM > To: dev@cloudstack.apache.org > Cc: Vania Xu; Min Chen; Prachi Damle > Subject: RE: [QUESTION] Integration Port > >

RE: [QUESTION] Integration Port

2015-01-08 Thread Prachi Damle
From: Stephen Turner Sent: Thursday, January 08, 2015 10:59 AM To: dev@cloudstack.apache.org Cc: Vania Xu; Min Chen; Prachi Damle Subject: RE: [QUESTION] Integration Port Min or Prachi might have some information on this. -- Stephen Turner -Original Message- From: Mike

RE: [QUESTION] Integration Port

2015-01-08 Thread Stephen Turner
Min or Prachi might have some information on this. -- Stephen Turner -Original Message- From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com] Sent: 08 January 2015 18:54 To: dev@cloudstack.apache.org Cc: Vania Xu Subject: [QUESTION] Integration Port Hi, I noticed with 4.6 that i

Re: [Question] Creating a volume from a snapshot

2015-01-02 Thread Mike Tutkowski
udstack.apache.org > Subject: Re: [Question] Creating a volume from a snapshot > > For example: > > You want to create a volume based on snapshot S1. > > Snapshot S1 was created from volume V1. > > Volume V1 was associated disk offering DO1. > > Disk offering DO

Re: [Question] development embedded jetty vs deployment on system install of tomcat

2015-01-01 Thread Leo Simons
On Jan 2, 2015, at 2:59 AM, Ian Duffy wrote: > Just out of interest... > > Why do we use the embedded jetty for development purposes and then shipping > on tomcat? I don't know _the_ answer but _an_ answer is that it used to be that embedded jetty was much leaner than embedded tomcat and so ant

RE: [Question] Creating a volume from a snapshot

2014-12-31 Thread Anshul Gangwar
Seems to be reasonable interpretation. -Original Message- From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com] Sent: Wednesday, December 31, 2014 4:33 AM To: dev@cloudstack.apache.org Subject: Re: [Question] Creating a volume from a snapshot For example: You want to create a

  1   2   3   4   >