Re: [ANNOUNCE] New committer: Laszlo Hornyak

2013-10-09 Thread Daan Hoogland
welcome, Laszlo, have fun On Mon, Oct 7, 2013 at 10:12 PM, Laszlo Hornyak wrote: > Thank you all :) > > > On Mon, Oct 7, 2013 at 8:51 PM, Sebastien Goasguen > wrote: > > > Congrats Laszlo, > > > > > > On Oct 7, 2013, at 12:21 PM, Frankie Onuonga wrote: > > > > > Congratulations. > > > On a li

Re: [4.2] [xenserver] [system vms] Xentools

2013-10-09 Thread Daan Hoogland
Paul, Harikrishna, A colleague at Schuberg Philis created a template with the xenserver tools. He was going to give the template back to the communitee. I think he is too busy but I'll remind him/ask him for the status. regards, Daan On Tue, Oct 8, 2013 at 1:14 PM, Harikrishna Patnala wrote: >

RE: [4.2] [xenserver] [system vms] Xentools

2013-10-09 Thread Paul Angus
Thanks Daan. Regards, Paul Angus S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus paul.an...@shapeblue.com -Original Message- From: Daan Hoogland [mailto:daan.hoogl...@gmail.com] Sent: 09 October 2013 08:15 To: dev Cc: Joris van Lieshout Subject: Re: [4.2] [xenserver] [system vms

Re: ACS 4.2 - Error when trying to declare a LB rule in a vpc to a tier network with lb offering

2013-10-09 Thread benoit lair
Hi Murali, Thanks for your help. It resolved my problem. All is going clear for my public lb tiers and internal lb tiers. Regards, Benoit. 2013/10/8 Murali Reddy > On 08/10/13 7:41 PM, "benoit lair" wrote: > > >Hello! > > > >I don't understand wht is going wrong : > > > >When i'm looking in

[DISCUSS] Transaction Hell

2013-10-09 Thread Darren Shepherd
Okay, please read this all, this is important... I want you all to know that its personally important to me to attempt to get rid of ACS custom stuff and introduce patterns, frameworks, libraries, etc that I feel are more consistent with modern Java development and are understood by a wider audien

Re: Latest Master DB issue

2013-10-09 Thread Darren Shepherd
Kelven, So the issue is the combination of my code with VmwareContextPool. With the ManagedContext framework, what I've done is replace every Runnable and TimerTask with ManagedContextRunnable and ManagedContextTimerTask. Those classes will run the onEnter, onLeave logic which will setup CallCont

Re: [4.2] [xenserver] [system vms] Xentools

2013-10-09 Thread Abhinandan Prateek
On 09/10/13 12:45 pm, "Daan Hoogland" wrote: >Paul, Harikrishna, > >A colleague at Schuberg Philis created a template with the xenserver >tools. He was going to give the template back to the communitee. I >think he is too busy but I'll remind him/ask him for the status. That would be great, ca

Re: [jira] [Updated] (CLOUDSTACK-4829) vnc access instance's console through apikey failed

2013-10-09 Thread sunko2014
I have the same problem On Tue, Oct 8, 2013 at 5:28 PM, huyao (JIRA) wrote: > > [ > https://issues.apache.org/jira/browse/CLOUDSTACK-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel] > > huyao updated CLOUDSTACK-4829: > -- > > Affects V

RE: [DISCUSS] Transaction Hell

2013-10-09 Thread Donal Lafferty
Hi Darren, Thank you for explain this issue in huge detail. Could I respond with some questions? 1. If @DB declarations are not detected, because Java 'assert' is not turned on, can we use a different mechanism to check for @DB? 2. What standard framework do you recommend using for DB transact

RE: [DISCUSS] Transaction Hell

2013-10-09 Thread Frankie Onuonga
Hi Darren, Greetings from Nairobi. First, let me start by saying that you for the email . I personally think the options were explained very well. Now on a serious note, I think that it would be good practice to ensure that we go with a standardized method of doing things. I therefore support th

Review Request 14556: CLOUDSTACK-4766: Add timeout if vm does not reach running state

2013-10-09 Thread Girish Shilamkar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/14556/ --- Review request for cloudstack, sanjeev n and venkata swamy babu budumuru. Bugs

Re: Unable to reboot instance: "Unable to find service offering: [NUMBER] corresponding to the vm"

2013-10-09 Thread Indra Pramana
Dear all, Anyone can advise on this? Looking forward to your reply, thank you. Cheers. On Mon, Oct 7, 2013 at 9:49 AM, Indra Pramana wrote: > Dear all, > > After upgrading to CloudStack 4.2.0, I am not able to reboot a VM > instance. Error message: "Unable to find service offering: > [SOME-

Re: what's the reason for the placeholder nic in VPC/VR?

2013-10-09 Thread Murali Reddy
On 09/10/13 11:33 AM, "Darren Shepherd" wrote: >Why is a placeholder nic created before the VRs for the VPC are created? > >Darren > Generally place holder nic is used in cases where cloudstack uses a subnet IP from the guest subnet, but ip is not used for any VM nic's. In most of the external n

Re: [New Feature FS] SSL Offload Support for Cloudstack

2013-10-09 Thread Murali Reddy
Thanks Syed for the FS. Couple of comments: - any reason why you choose assignTo/RemoveFrom load balancer rule API's to assign/remove certificate to LB rules? These api's are basically for controlling VM membership with a load balancer rule. Can create/updateLoadBalancerRule api's b used for regi

Dynamically scalable?

2013-10-09 Thread Indra Pramana
Dear all, What does "dynamically scalable" means on a VM instance or a template? Looking forward to your reply, thank you. Cheers.

RE: Dynamically scalable?

2013-10-09 Thread Harikrishna Patnala
Hi , While registering template we can specify whether xenserver/vmware tools installed in the template using this flag(dynamically scalable). This is required while deploying vm to set some parameters for dynamic scaling of cpu and ram feature to work. The same flag is reflected in the vm insta

Review Request 14557: CLOUDSTACK-4747: Rename testcase name to use lesser characters

2013-10-09 Thread Girish Shilamkar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/14557/ --- Review request for cloudstack and Sowmya Krishnan. Repository: cloudstack-git

Re: Review Request 14227: CLOUDSTACK-4707: "sourcetemplateid" field is not getting set for derived templates

2013-10-09 Thread Harikrishna Patnala
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/14227/ --- (Updated Oct. 9, 2013, 11:03 a.m.) Review request for cloudstack and Kishan Kav

Re: Review Request 14556: CLOUDSTACK-4766: Add timeout if vm does not reach running state

2013-10-09 Thread sanjeev n
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/14556/#review26816 --- Patch looks good. However still test is failing. Is it a product iss

Re: Review Request 14556: CLOUDSTACK-4766: Add timeout if vm does not reach running state

2013-10-09 Thread Girish Shilamkar
> On Oct. 9, 2013, 11:03 a.m., sanjeev n wrote: > > Patch looks good. However still test is failing. Is it a product issue? The problem was if vm did not come up, the test went into infinite loop. Now it times out gracefully and therefore we see the failure, which is the expected output. -

Re: Review Request 14058: Including tests for VPC VM Lifecycle on Tagged hosts

2013-10-09 Thread Ashutosh Kelkar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/14058/ --- (Updated Oct. 9, 2013, 11:28 a.m.) Review request for cloudstack, Girish Shilam

Re: [DISCUSS] Transaction Hell

2013-10-09 Thread Daan Hoogland
Darren, Thank you for the great investigative work. As for the assert, I think that if no one else at least Jenkins should run with asserts on, so we can see if a commit breaks something. As for the framework, I think your proposed solution sound good. I am not a big fan of spring. It does some t

Re: [MERGE] spring-modularization to master - Spring Modularization

2013-10-09 Thread Prasanna Santhanam
On Tue, Oct 08, 2013 at 10:20:01AM -0700, Darren Shepherd wrote: > >From what I can gather it seems that master currently fails the BVT > (and know when I say BVT I mean that black box that apparently exists > somewhere doing something, but I have no clue what it really means). > So in turn my spri

RE: [4.2] [xenserver] [system vms] Xentools

2013-10-09 Thread Joris van Lieshout
Hi Paul, I will defiantly make sure this improvement gets committed back. I haven't been able to do this because we are also testing some other customizations that might be interesting to commit back. In short these tweaks will allow the svm to handle higher traffic loads. Kind regards, Joris

Re: Contrail plugin

2013-10-09 Thread Murali Reddy
On 09/10/13 6:10 AM, "Pedro Roque Marques" wrote: >Darren, >Using ActionEvents is not desirable for the plugin either... today >CloudStack lacks the ability for a component/plugin to associate itself >to the life-cycle of an object. It would be ideal if there was a generic >way to accomplish that

Re: LXC and Networking

2013-10-09 Thread Francois Gaudreault
I posted on the users list, but no one responded. I am trying here :) In addition to this, I tried to add an LXC cluster in an existing Zone, and I got an error about the LXC resource manager not being found. I do have some questions regarding LXC containers and the networking. First, should

Re: LXC and Networking

2013-10-09 Thread Chip Childers
Adding Phong, who was the original author of the LXC plugin. Phong, can you help Francois out? -chip On Wed, Oct 09, 2013 at 10:04:31AM -0400, Francois Gaudreault wrote: > I posted on the users list, but no one responded. I am trying here :) > > In addition to this, I tried to add an LXC cluste

Re: [New Feature FS] SSL Offload Support for Cloudstack

2013-10-09 Thread Syed Ahmed
> Additionally, I don't see that the code handles the > chain also. I could be wrong, but just from reading the code it seems > to assume the "cert" string produces a single cert. Correct me if I'm > wrong. You are right. This just handles a single certificate. It does not handle trust chains.

Re: [DISCUSS] Return ssh publickeys in listSSHKeyPairs

2013-10-09 Thread Ian Duffy
Great thanks for the feedback. Will get this applied at the weekend. Just out of interest. In an account we have users. Those users have access to all the VMs via the Cloudstack Management interface. However they don't necessarily have access to the VMs(i.e. They do not know its password or their

Re: Latest Master DB issue

2013-10-09 Thread Darren Shepherd
I think I'll solve this with a fourth option. I don't particularly like two thing. Threads that never access the DB before are now doing it (albeit just once) and if there is any error calling the DB it does exit(1). I'm going to make the CallingContext instance that gets registered for the syst

Re: Review Request 14549: Rename net.juniper.contrail to org.apache.cloudstack.network.contrail

2013-10-09 Thread Murali Reddy
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/14549/#review26819 --- - Is there a reason why no new isolation type was not added for 'con

Re: [DISCUSS] Return ssh publickeys in listSSHKeyPairs

2013-10-09 Thread Wei ZHOU
I need this as well. AFAIK, an agent is needed in user vms. > Is there any way to add multiple SSH Public keys to a VM without powering it down?

Re: [New Feature FS] SSL Offload Support for Cloudstack

2013-10-09 Thread Syed Ahmed
Thanks Murali for your response. > - any reason why you choose assignTo/RemoveFrom load balancer rule API's I thought this made more sense than create/updateLoadbalancerRule as we would have to call update to delete a cert which I find somewhat confusing. Also this is semantically similar to atta

Re: [DISCUSS] Transaction Hell

2013-10-09 Thread Darren Shepherd
Some random responses. Spring is good at two things. The core IoC container and TX mgmt. The way I use Spring for IoC is I always ensure there is no dependency on Spring itself. This means I don't really care too much about the Spring core IoC container and would be open to using a different con

Re: Contrail plugin

2013-10-09 Thread Darren Shepherd
Pedro, I completely understand what you are saying as I think this is a gap too I would like to address. I'm thinking of something a little bigger and grander than what you would need right now so that's not helpful, as I won't get around to doing anything for a couple months. I do not think Even

Re: [MERGE] spring-modularization to master - Spring Modularization

2013-10-09 Thread Prasanna Santhanam
Here's the BVT result from spring-modularization branch: Failures that are listed exist on master as well. So the branch doesn't break anything additionally. +1 to merge http://jenkins.buildacloud.org/job/test-matrix/571/ Xen: Test Run: #892 Logs: http://jenkins.buildacloud.org/job/test-matrix/

Re: Contrail plugin

2013-10-09 Thread Pedro Roque Marques
Darren, On Oct 9, 2013, at 8:35 AM, Darren Shepherd wrote: > Pedro, > > I completely understand what you are saying as I think this is a gap > too I would like to address. I'm thinking of something a little > bigger and grander than what you would need right now so that's not > helpful, as I wo

Re: [MERGE] spring-modularization to master - Spring Modularization

2013-10-09 Thread Chip Childers
+1 from me too. On Wed, Oct 9, 2013 at 12:13 PM, Prasanna Santhanam wrote: > Here's the BVT result from spring-modularization branch: Failures that > are listed exist on master as well. So the branch doesn't break > anything additionally. > > +1 to merge > > http://jenkins.buildacloud.org/job/t

Re: System VM template caching

2013-10-09 Thread kel...@backbonetechnology.com
I was able to create a work around and several community builders tested it out for me and it works. I will not submit to docs as it's a hack, but I have updated the JIRA ticket. Work around can be found at: http://cloud.kelceydamage.com/cloudfire/blog/2013/10/08/conquering-the-cloudstack-4-2-d

Re: System VM template caching

2013-10-09 Thread Sebastien Goasguen
Are you sure about this ? I thought we needed to register them as user vm and that the upgrade would convert them to systemVM automatically -Sebastien On 9 Oct 2013, at 17:22, "kel...@backbonetechnology.com" wrote: > I was able to create a work around and several community builders tested it

Re: [DISCUSS] Transaction Hell

2013-10-09 Thread Pedro Roque Marques
Darren, My assumption when I tried to make sense of the transaction code is that the underlying motivation is that the code is trying to create a transaction per API call and then allow multiple modules to implement that API call... i.e. the intent is do use a bit of what i would call a "web-serv

Re: [DISCUSS] Return ssh publickeys in listSSHKeyPairs

2013-10-09 Thread Ian Duffy
> AFAIK, an agent is needed in user vms. I was hoping it'd be possible via the file sharing capabilities many of the hypervisor tools offer. Although I would imagine security issues could arise from that. On 9 October 2013 15:51, Wei ZHOU wrote: > I need this as well. > > AFAIK, an agent is need

Re: System VM template caching

2013-10-09 Thread kel...@backbonetechnology.com
This process you mention for registering as a user VM I can't find in the upgrade guide. Do you have a link? The work around works because CloudStack defaults to re-download the system template is it is in NOT_DOWNLOADED status. How ever the database never gets updated for the life of the build

Re: System VM template caching

2013-10-09 Thread Ahmad Emneina
there might be a more sound way than swapping the template on secondary storage and hacking the db. I figure one should be able to register the template, via the documented route... wait for download to succeed, upgrade the binary bits. then when the system vm's fail to launch. delete the cached te

Re: what's the reason for the placeholder nic in VPC/VR?

2013-10-09 Thread Alena Prokharchyk
I've just tested it on the latest master, don't see placeholder nic created for the VPC VR. In addition to the case Murali explained, placeholder nic is being created per Shared network case using VR as DHCP provider. Its done to preserve the same ip address for the case when VR is being expunged/

Re: System VM template caching

2013-10-09 Thread kel...@backbonetechnology.com
We tested deleting the template on primary storage, and it failed to regenerate. What is the documented method for registering the new template, can you link to it? It seems many of us failed to find any documentation about updating the template period, not just in the 4.2 release doc under upg

master simulator build broken on ManagedContext

2013-10-09 Thread Prasanna Santhanam
Hi, on the simulator build in jenkins [1] on starting jetty I see the following issue: ERROR [o.s.w.c.ContextLoader] (main:null) Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ManagedContext' defined in class path resource [ap

Re: [DISCUSS] Transaction Hell

2013-10-09 Thread Darren Shepherd
Pedro, >From a high level I think we'd probably agree. Generally I feel an IaaS platform is largely a metadata management framework that stores the "desired" state of the infrastructure and then pro-actively tries to reconcile the desired state with reality. So failures should be recovered from

Re: master simulator build broken on ManagedContext

2013-10-09 Thread Darren Shepherd
I'll look at that. Gimme about 15 minutes. Darren On Wed, Oct 9, 2013 at 10:12 AM, Prasanna Santhanam wrote: > Hi, > > on the simulator build in jenkins [1] on starting jetty I see the > following issue: > > ERROR [o.s.w.c.ContextLoader] (main:null) Context initialization failed > org.springfra

Re: [DISCUSS] Transaction Hell

2013-10-09 Thread Chiradeep Vittal
+1 to option B (for a lot of the reasons enunciated by Darren). Also, let's get this in right away so that by 1/31/2014 we are confident about the change and fixed any bugs uncovered by the new scheme. On 10/9/13 10:29 AM, "Darren Shepherd" wrote: >Pedro, > >From a high level I think we'd probab

RE: questions about registerIso API and updateIsoPermissions API

2013-10-09 Thread Jessica Wang
Alena, > Jessica, did you mean updateIso? As updateIsoPermissions updates permissions > only. Alena, I meant UpdateIsoPermissions API, not updateIso API. If you check Java file, it's UpdateIsoPermissionsCmd.java that extends BaseUpdateTemplateOrIsoPermissionsCmd.java which takes in isextractabl

Re: [MERGE] spring-modularization to master - Spring Modularization

2013-10-09 Thread Kelven Yang
+1 Kelven On 10/9/13 9:18 AM, "Chip Childers" wrote: >+1 from me too. > > >On Wed, Oct 9, 2013 at 12:13 PM, Prasanna Santhanam >wrote: > >> Here's the BVT result from spring-modularization branch: Failures that >> are listed exist on master as well. So the branch doesn't break >> anything add

Re: master simulator build broken on ManagedContext

2013-10-09 Thread Darren Shepherd
Prasanna, Try now. I pushed 0d7aa931b4892661df733cd1ba20fe139d13e59b for this. The issue was that at some point the package of ConfigDepotImpl was changed in some refactoring. The applicationContext was changed for this, but apparently somebody didn't check simulatorContext. The bean should neve

Re: [DISCUSS] Transaction Hell

2013-10-09 Thread Pedro Roque Marques
Darren, I generally agree with you... just trying to point out what could be pitfalls on the way to evolve the system. On Oct 9, 2013, at 10:29 AM, Darren Shepherd wrote: > > I wish we were doing transaction per API, but I don't think that was > ever a consideration. I do think the sync portion

RE: questions about registerIso API and updateIsoPermissions API

2013-10-09 Thread Jessica Wang
Nitin, > At the moment, I think that for Isos we should allow to edit it so would > call it an API bug. Thanks. > Register Iso does provide an option to mark an ISO featured. I see that in > the latest master. That only works for admin, but NOT normal user. If you log in as a normal user, the

Re: [DISCUSS] Transaction Hell

2013-10-09 Thread Kelven Yang
+1 Original Transaction class also has many tightly-coupled assumptions about the underlying data source, lock master. Developers are usually lost on when and where they should use @DB, for nested transactions, it does not really work as expected. Kelven On 10/9/13 10:38 AM, "Chiradeep Vittal"

Re: System VM template caching

2013-10-09 Thread Chiradeep Vittal
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Releas e_Notes/upgrade-instructions.html On 10/9/13 10:11 AM, "kel...@backbonetechnology.com" wrote: >We tested deleting the template on primary storage, and it failed to >regenerate. > >What is the documented method for regis

Re: System VM template caching

2013-10-09 Thread Sebastien Goasguen
and that one: http://markmail.org/message/kdmvc3frngdki5ho On Oct 9, 2013, at 2:15 PM, Chiradeep Vittal wrote: > http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Releas > e_Notes/upgrade-instructions.html > > > On 10/9/13 10:11 AM, "kel...@backbonetechnology.com" > wrot

Re: [DISCUSS] Transaction Hell

2013-10-09 Thread Daan Hoogland
Darren, Happy to hear your view on Spring. +1 for option B On Wed, Oct 9, 2013 at 8:06 PM, Kelven Yang wrote: > +1 > > Original Transaction class also has many tightly-coupled assumptions about > the underlying data source, lock master. Developers are usually lost on > when and where they sho

Re: [DISCUSS] Transaction Hell

2013-10-09 Thread Darren Shepherd
Pedro, The @DB annotation adds a guard. It doesn't actually start or end a transaction. It will check that the transaction should be rolled back if one was started and not closed and that's about it. So the only time transactions are really started is when you see txn.start() in the code. So t

Re: [DISCUSS] Transaction Hell

2013-10-09 Thread Darren Shepherd
This is blocking my spring-modularization branch as I coupled changing the DB transactions stuff with the spring stuff (maybe not the best idea...). So if everyone is on board with option 2, I'll look to get it done by probably Tuesday. I'll create a branch from master, independent of the spring

Re: [DISCUSS] Transaction Hell

2013-10-09 Thread Mike Tutkowski
I think Option B is a good move. On Wed, Oct 9, 2013 at 1:00 PM, Darren Shepherd wrote: > This is blocking my spring-modularization branch as I coupled changing > the DB transactions stuff with the spring stuff (maybe not the best > idea...). So if everyone is on board with option 2, I'll look

Re: Review Request 14522: [CLOUDSTACK-4771] Support Revert VM Disk from Snapshot

2013-10-09 Thread SuichII, Christopher
Just bumping this since there haven't been any responses. Does anyone have any thoughts on this? I'm ready and prepared to do the work, but I don't want to move on if people have concerns with this approach or can think of a better solution. -Chris -- Chris Suich chris.su...@netapp.com

Re: [PROPOSAL] Remove Setters from *JoinVO

2013-10-09 Thread Daan Hoogland
Chris, Since I see no objections, why don't you test your idea and submit a patch? regards, Daan On Fri, Oct 4, 2013 at 7:29 PM, SuichII, Christopher wrote: > *JoinVOs are used to store entries from MySQL views, which are not editable. > I think removing setters from the *JoinVOs may help avoi

Re: [PROPOSAL] Remove Setters from *JoinVO

2013-10-09 Thread Mike Tutkowski
Yeah, I agree with you, Chris. I think these setters should be removed. On Wed, Oct 9, 2013 at 1:33 PM, Daan Hoogland wrote: > Chris, > > Since I see no objections, why don't you test your idea and submit a patch? > > regards, > Daan > > On Fri, Oct 4, 2013 at 7:29 PM, SuichII, Christopher > wr

Re: Review Request 14522: [CLOUDSTACK-4771] Support Revert VM Disk from Snapshot

2013-10-09 Thread Mike Tutkowski
"Has there been any thoughts to allow storage providers to indicate which features they support?" We talked about this for a while at the CloudStack Collaboration Conference in Santa Clara. Right now, this is not supported and that's a serious problem. This kind of ties in with Storage Tagging a

RE: questions about registerIso API and updateIsoPermissions API

2013-10-09 Thread Jessica Wang
Currently, at API level, a normal user is not allowed to specify "isfeatured" when registering ISO (API will ignore "isfeatured" parameter when a normal user passes it), but a normal user is allowed to specify "isfeatured" when updating ISO. Should we fix API to: (1) allow a normal user to speci

Re: [DOC] 4.2.0 Templates

2013-10-09 Thread Daan Hoogland
Marty, I am not sure what you mean. Do you mean the doc dir in the repo? I think you need to look in https://git-wip-us.apache.org/repos/asf/cloudstack-docs.git for the 4.2 docs. regards, Daan On Sun, Oct 6, 2013 at 10:51 PM, Marty Sweet wrote: > Hi guys, > > I created a document for creating L

Re: [DISCUSS] make commands.properties the exception, not the rule

2013-10-09 Thread SuichII, Christopher
I just wanted to add a little clarification from a plugin perspective. Having commands.properties as a whitelist just adds another place that plugins have to register with CloudStack. For plugins that do not intend on being a part of the CloudStack source, this is actually quite tricky. Currentl

Re: what's the reason for the placeholder nic in VPC/VR?

2013-10-09 Thread Darren Shepherd
Okay, that makes sense. Another random question. Why does router_network_ref exist? Is it not sufficient to just find a DomainRouter VM that has a nic attached to the network? It seems to be for RvR? Is that right? Still I don't understand why the table is needed. Darren On Wed, Oct 9, 2013

Re: [PROPOSAL] Modularize Spring

2013-10-09 Thread SuichII, Christopher
I think I'll look into a version of (2). The difference being that I think using an int is too large of a range and provides unnecessary granularity. If two strategies or providers both have snapshot strategies, they are both simply going to return the max int. However, if we use an enum with va

{Responsiveness report] users 2013w40

2013-10-09 Thread Daan Hoogland
http://markmail.org/message/vm2rmrlqdkv7fscz SecondaryStorage VM on 4.1.1 by nick.sindlin...@appcore.com http://markmail.org/message/whks4wvzuaewvnsw qemu-kvm tweaking (CloudStack-2.2.14) by Vladimir Melnik http://markmail.org/message/d7b4vozgi5gs3a5g Migrating/managing secondary storages by mailin

Re: Review Request 14522: [CLOUDSTACK-4771] Support Revert VM Disk from Snapshot

2013-10-09 Thread SuichII, Christopher
Well then, I think sending back a list of supported operations with volumes would be a good start. Eventually, this could be extended to have supported fields as well. While it does cost some overhead up front to load the supported operations from storage providers when listing volumes, I think

Fwd: [DISCUSS/PROPOSAL] Upgrading Driver Model

2013-10-09 Thread Mike Tutkowski
Hey Chris, This e-mail chain might be of interest to you. Talk to you later, Mike -- Forwarded message -- From: John Burwell Date: Tue, Aug 20, 2013 at 3:43 PM Subject: [DISCUSS/PROPOSAL] Upgrading Driver Model To: "dev@cloudstack.apache.org" Cc: Daan Hoogland , Hugo Trippaers

Re: Review Request 14522: [CLOUDSTACK-4771] Support Revert VM Disk from Snapshot

2013-10-09 Thread Mike Tutkowski
Just sent you an e-mail chain under the subject: [DISCUSS/PROPOSAL] Upgrading Driver Model On Wed, Oct 9, 2013 at 2:17 PM, SuichII, Christopher wrote: > Well then, I think sending back a list of supported operations with > volumes would be a good start. Eventually, this could be extended to hav

Re: what's the reason for the placeholder nic in VPC/VR?

2013-10-09 Thread Alena Prokharchyk
Valid question and concern. Here is the history: V1.0 No notion of the NaaS yet, no networks/nics tables; guest type and all network related info - public ip, mac, netmask - for the VR is stored in domain_router table V2.1 NaaS added. Although each router has entries in the nics table, and its po

Re: Doc Updates

2013-10-09 Thread Daan Hoogland
Great rant Carlos, You should get it to the dev list. Actually I'll add the dev list in now. It makes sense to update the docs also after a release, when bug in the docs are found these can easily be changed without a full release cycle of the code itself. regards, Daan On Wed, Oct 9, 2013 at 10

Re: [DISCUSS/PROPOSAL] Upgrading Driver Model

2013-10-09 Thread John Burwell
Kelven, As I stated in my proposal, I think it is important to recognize the distinction between components that control/interact with infrastructure and components that represent orchestration abstractions/mechanisms within the management server. Currently, these two concepts are conflated --

Re: Review Request 14320: add boolean option httpModeEnabled to the service offering for use in haproxy conf

2013-10-09 Thread Daan Hoogland
H Chiradeep, Would you considder this if I rename the option to keepAlive, adding a API description field stating that it only has effect on HAProxy (for now)? regards, Daan On Tue, Oct 1, 2013 at 10:50 AM, Daan Hoogland wrote: > Ok Chiradeep, > > I see where you worries are. I'll study the sti

Re: LXC and Networking

2013-10-09 Thread Phong Nguyen
The LXC cluster does not require a zone of it's own, so you should be able to run an LXC cluster with other clusters. Regarding the LXC resource manager issue, it sounds like you're missing something during server initialization. Under the hood, LXC uses Libvirt and leverages most of the KVM Libvi

RE: Doc Updates

2013-10-09 Thread Christopher M. Ryan
+1 on this. I find management hard to please when I persuade changing to a new technology only to have issues related to documentation. This prolongs deployment and doesn't help with the already difficult management decision. It took us a month to switch to CloudStack and almost a week to begin

Re: questions about registerIso API and updateIsoPermissions API

2013-10-09 Thread Nitin Mehta
I think (1) is the right way to go. From: Jessica Wang mailto:jessica.w...@citrix.com>> Date: Wednesday 9 October 2013 12:47 PM To: Nitin Mehta mailto:nitin.me...@citrix.com>>, "mailto:dev@cloudstack.apache.org>>" mailto:dev@cloudstack.apache.org>>, Alena Prokharchyk mailto:alena.prokharc...@ci

Re: LXC and Networking

2013-10-09 Thread Francois Gaudreault
Thanks Phong about the networking answers. I will follow the KVM docs. Regarding the resource manager, we did compile the nonoss package on our own. Are you saying we require an extra deps? -- Francois Gaudreault Architecte de Solution Cloud | Cloud Solutions Architect fgaudrea...@cloudops.c

Re: [DISCUSS/PROPOSAL] Upgrading Driver Model

2013-10-09 Thread SuichII, Christopher
Interesting. I'm not sure how I missed this thread... I'll try to chime in where I can, then. However, everything going on in here sounds like work for post-4.3, but if we are adding revert volume snapshot to 4.3, we will need a solution to that before then. It seems like the idea I've got for t

Re: Review Request 14320: add boolean option httpModeEnabled to the service offering for use in haproxy conf

2013-10-09 Thread Chiradeep Vittal
Sure. On 10/9/13 1:55 PM, "Daan Hoogland" wrote: >H Chiradeep, > >Would you considder this if I rename the option to keepAlive, adding a >API description field stating that it only has effect on HAProxy (for >now)? > >regards, >Daan > >On Tue, Oct 1, 2013 at 10:50 AM, Daan Hoogland >wrote: >> O

Re: Doc Updates

2013-10-09 Thread Sebastien Goasguen
The docs have recently been moved into their main repo. This potentially means that we are heading towards documentation releases on a different cycle than the code release. We are not there yet but it's in the works, anyone interested and willing to contribute patches and ideas should registe

Re: Review Request 14381: KVM: add connect/disconnect capabilities to StorageAdaptors so that external storage services can attach/detach devices on-demand

2013-10-09 Thread Mike Tutkowski
Hey Marcus, I'm merging your changes into mine. It looks like I can remove your call to getPhysicalDisk (below) (and the associated KVMPhysicalDisk variable, as well). I assume you would never want to produce any side effects in your getPhysicalDisk implementation, right? Seems like that would b

RE: questions about registerIso API and updateIsoPermissions API

2013-10-09 Thread Jessica Wang
Thanks, Nitin. I just filed an API bug for this: https://issues.apache.org/jira/i#browse/CLOUDSTACK-4843 From: Nitin Mehta Sent: Wednesday, October 09, 2013 2:08 PM To: Jessica Wang; ; Alena Prokharchyk Cc: Shweta Agarwal Subject: Re: questions about registerIso API and updateIsoPermissions API

Re: Review Request 14381: KVM: add connect/disconnect capabilities to StorageAdaptors so that external storage services can attach/detach devices on-demand

2013-10-09 Thread Marcus Sorensen
Yeah, that looks like leftovers from refactoring our 4.1 code into 4.2 and making it something more generic. It looks like it could be removed. On Wed, Oct 9, 2013 at 3:40 PM, Mike Tutkowski wrote: > Hey Marcus, > > I'm merging your changes into mine. > > It looks like I can remove your call to

Re: Review Request 14381: KVM: add connect/disconnect capabilities to StorageAdaptors so that external storage services can attach/detach devices on-demand

2013-10-09 Thread Mike Tutkowski
Will do...I'll remove it (there is similar code in two methods). On Wed, Oct 9, 2013 at 3:49 PM, Marcus Sorensen wrote: > Yeah, that looks like leftovers from refactoring our 4.1 code into 4.2 and > making it something more generic. It looks like it could be removed. > > > On Wed, Oct 9, 2013 a

Re: Review Request 14381: KVM: add connect/disconnect capabilities to StorageAdaptors so that external storage services can attach/detach devices on-demand

2013-10-09 Thread Mike Tutkowski
I've got the code all merged, by the way. I should be able to start in on testing soon (tonight or tomorrow). On Wed, Oct 9, 2013 at 3:51 PM, Mike Tutkowski wrote: > Will do...I'll remove it (there is similar code in two methods). > > > On Wed, Oct 9, 2013 at 3:49 PM, Marcus Sorensen wrote: >

Re: [DOC] 4.2.0 Templates

2013-10-09 Thread Marty Sweet
Hi Daan, Yeah the doc directory in the repo commited to master, where is the current http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/working-with-templates.html being built from? Marty On Wed, Oct 9, 2013 at 8:55 PM, Daan Hoogland wrote: > Marty, > > I am not s

Re: Doc Updates

2013-10-09 Thread Harm Boertien
I see at least 1 topic for the cloudstack collab. +1 Sent from my iPhone On 9 okt. 2013, at 23:01, "Christopher M. Ryan" wrote: > +1 on this. > I find management hard to please when I persuade changing to a new technology > only to have issues related to documentation. This prolongs deployme

Re: [PROPOSAL] Remove Setters from *JoinVO

2013-10-09 Thread Min Chen
+1 on this. As Chris mentioned, the intention of *JoinVOs are representation of MySQL views, which should not be editable after search. -min On 10/4/13 10:29 AM, "SuichII, Christopher" wrote: >*JoinVOs are used to store entries from MySQL views, which are not >editable. I think removing setters

why are RvR routers not HA

2013-10-09 Thread Darren Shepherd
I don't quite understand why in the redundant VR use case you wouldn't want the individual VRs to have HA enabled. It seems the code will always set ha=false for RvR. I know if I loose one of the VRs, the other takes over, so that is redundant. But don't you want the lost VR to come back to life

Re: [PROPOSAL] Modularize Spring

2013-10-09 Thread Darren Shepherd
I think I'm fine with that. Is the enum type return dynamically at runtime. So the API would be something like "PlugInPriority canHandle(...)"? Darren On Wed, Oct 9, 2013 at 1:13 PM, SuichII, Christopher wrote: > I think I'll look into a version of (2). The difference being that I think > usi

RE: [DOC] 4.2.0 Templates

2013-10-09 Thread Radhika Puthiyetath
4.2 docs are from 4.2 branch. -Original Message- From: Marty Sweet [mailto:msweet@gmail.com] Sent: Thursday, October 10, 2013 3:27 AM To: dev@cloudstack.apache.org Subject: Re: [DOC] 4.2.0 Templates Hi Daan, Yeah the doc directory in the repo commited to master, where is the current

Re: why are RvR routers not HA

2013-10-09 Thread Alena Prokharchyk
On 10/9/13 4:55 PM, "Darren Shepherd" wrote: >I don't quite understand why in the redundant VR use case you wouldn't >want the individual VRs to have HA enabled. It seems the code will >always set ha=false for RvR. I know if I loose one of the VRs, the >other takes over, so that is redundant.

Re: [PROPOSAL] Modularize Spring

2013-10-09 Thread SuichII, Christopher
Yep, that's the idea. In fact, we really need it to be dynamic so that the strategy or provider can respond depending on the action. For example, snapshotting may be supported while reverting may not be. -- Chris Suich chris.su...@netapp.com NetApp Software Engineer Data Center Platforms – Clou

Re: why are RvR routers not HA

2013-10-09 Thread Darren Shepherd
I didn't read the whole thread yet, but at the end of the day it's sounds like an implementation issue. So I'll just naively say I'll fix that :) Darren > On Oct 9, 2013, at 5:58 PM, Alena Prokharchyk > wrote: > > HA redundant virtual router

  1   2   >