RE: is jira down. ?

2013-08-04 Thread Rajesh Battala
Jira is up now. 
Looks like there was an issue with plugin and somebody Fixed it. 

Thanks
Rajesh  Battala

-Original Message-
From: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 
Sent: Monday, August 5, 2013 12:19 PM
To: dev@cloudstack.apache.org
Subject: is jira down. ?




[Doc] Limiting Resource Usage Section for Review

2013-08-04 Thread Radhika Puthiyetath
Hi,

Limiting Resource Usage is ready for review. The doc is attached at 
CLOUDSTACK-713

Please see section 14.4. Limiting Resource Usage (118),  and provide your 
feedback.


Regards
-Radhika




is jira down. ?

2013-08-04 Thread Rajesh Battala



Re: Review Request 12358: CLOUDSTACK-3228: system vms are not comming up in zone with two cluster xen and kvm

2013-08-04 Thread Nitin Mehta

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/12358/#review24637
---

Ship it!


Ship It!

- Nitin Mehta


On July 18, 2013, 9:23 a.m., Harikrishna Patnala wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12358/
> ---
> 
> (Updated July 18, 2013, 9:23 a.m.)
> 
> 
> Review request for cloudstack and Nitin Mehta.
> 
> 
> Bugs: CLOUDSTACK-3228 and CLOUDSTACK-3631
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> CLOUDSTACK-3228: system vms are not comming up in zone with two cluster xen 
> and kvm;Zone host is ready, but secondary storage vm template: 3 is not ready 
> on secondary storage: 2
> 
> CLOUDSTACK-3631: Enhance System vm deployment retry mechanism
> 
> 
> Diffs
> -
> 
>   engine/schema/src/com/cloud/storage/dao/VMTemplateDao.java c3d44bd 
>   engine/schema/src/com/cloud/storage/dao/VMTemplateDaoImpl.java 9e75990 
>   
> plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer56FP1Resource.java
>  2cc592d 
>   server/src/com/cloud/consoleproxy/ConsoleProxyManagerImpl.java 5983aa7 
>   server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java 
> 6859b0b 
> 
> Diff: https://reviews.apache.org/r/12358/diff/
> 
> 
> Testing
> ---
> 
> tested locally
> 
> 
> Thanks,
> 
> Harikrishna Patnala
> 
>



Re: Reverting 17267794adb2bab923fb20515a7b943780d61921

2013-08-04 Thread Nitin Mehta
Should we not try and enforce it through git ?

On 02/08/13 10:44 PM, "Alex Huang"  wrote:

>Ok...i spoke too soon.  Just talked with Prasanna.  He pointed out that
>it's a large change that's been in since May.  So I won't revert it.  But
>the rule is no one can change create-schema.sql until the community
>decided we want to based off of a new copy of the create-schema.
>
>--Alex
>
>> -Original Message-
>> From: Alex Huang [mailto:alex.hu...@citrix.com]
>> Sent: Friday, August 2, 2013 10:01 AM
>> To: Saksham Srivastava
>> Cc: dev@cloudstack.apache.org
>> Subject: Reverting 17267794adb2bab923fb20515a7b943780d61921
>> 
>> Saksham,
>> 
>> I'm reverting commit id: 17267794adb2bab923fb20515a7b943780d61921 in
>> master.
>> 
>> It changed the create-schema.sql.  We've established since 4.1 that
>>create-
>> schema.sql should not be changed and everything done through upgrades.
>>I
>> believe this commit causes a fresh deployment to fail.
>> 
>> --Alex



Re: [4.1] getVMPassword > how to decrypt

2013-08-04 Thread Harikrishna Patnala
In case if we lost the private key or if we want to change the ssh key pair 
corresponding to the VM, we have resetSSHKeyForVirtualMachine API to do 
that(parameters: vm ID and Keypair name).

Thanks
Harikrishna
On 02-Aug-2013, at 8:15 PM, David Nalley  wrote:

> No it doesn't. Keeping both destroys the benefit of public key
> cryptography. The idea is that you can hand out the public key and never
> need share the private.
> On Aug 2, 2013 7:02 AM, "Antonio Petrocelli" 
> wrote:
> 
>> This key must alreay be on the system...
>> 
>> Only i need to retrieve it API wan't i need a different solution
>> 
>> Thanks
>> 
>> Il 02/08/2013 12:51, Wei ZHOU ha scritto:
>> 
>> Antonio,
>> 
>> For almost all clients, they do not want the provider storing the private
>> key (on management server). It is a big security risk for clients.
>> You have to store the key by yourself.
>> 
>> -Wei
>> 
>> 
>> 2013/8/2 Antonio Petrocelli 
>> 
>>> Thanks a lot.
>>> 
>>> It work.
>>> 
>>> I'm unable to retrive PRIVATEKEY with API call:
>>> http://cloudstack.apache.org/docs/api/apidocs-4.1/domain_admin/listSSHKeyPairs.html
>>> 
>>> the only way to retrieve is from:
>>> http://cloudstack.apache.org/docs/api/apidocs-4.1/domain_admin/createSSHKeyPair.html
>>> 
>>> but i don't want store this key...
>>> 
>>> Do you now how i can retrieve it?
>>> 
>>> Thanks.
>>> 
>>> Regards.
>>> 
>>> Il 01/08/2013 16:47, Harikrishna Patnala ha scritto:
>>> 
>>> Yes the password is encrypted with public key of ssh key pair assigned to 
>>> the guest VM during deployment.
>>> We can decrypt it using the private key of that key pair.
>>> 
>>> -Harikrishna
>>> 
>>> On 01-Aug-2013, at 3:13 AM, Chiradeep Vittal 
>>> mailto:chiradeep.vit...@citrix.com> 
>>> > wrote:
>>> 
>>> Isn't this encrypted with the ssh keys of the user? (createSshKeyPair)
>>> 
>>> From: Antonio Petrocelli 
>>> mailto:a.petroce...@netsons.com> 
>>> >
>>> Reply-To: mailto:dev@cloudstack.apache.org> 
>>> >
>>> Date: Tuesday, July 30, 2013 2:46 AM
>>> To: mailto:dev@cloudstack.apache.org> 
>>> >
>>> Subject: [4.1] getVMPassword > how to decrypt
>>> 
>>> Hello,
>>> http://cloudstack.apache.org/docs/api/apidocs-4.1/domain_admin/getVMPassword.html
>>> 
>>> after retrieved the password i'm unable to decrypt the encryptedpassword.
>>> 
>>> Suggestions?
>>> 
>>> Thanks.
>>> 
>>> Regards.
>>> --
>>> 
>>> 
>>> 
>>> Supernova s.r.l.
>>> Via G. Misiticoni, 3
>>> 65126 - Pescara
>>> ITALY
>>> www.netsons.com 
>>> Antonio Petrocelli
>>> Software Engineer
>>> 
>>> 
>>> t. (+39) 085 45 100 52
>>> e. a.petroce...@netsons.com 
>>> 
>>> 
>>> 
>>> 
>>>  
>>> 
>>> 
>>> Netsons® è un marchio registrato dalla Supernova s.r.l.
>>> 
>>> Le informazioni trasmesse sono riservate alla persona o alla società 
>>> indicata come destinatario, e possono includere contenuti considerati 
>>> confidenziali. Ogni elaborazione, comunicazione, trasmissione o altro 
>>> utilizzo, anche azioni conseguenti alla conoscenza di queste informazioni 
>>> da parte di chiunque non sia espressamente indicato come destinatario è 
>>> proibita. Nel caso abbiate ricevuto per errore questa comunicazione, siete 
>>> pregati di darne avviso a info [at] netsons.com 
>>>  ed eliminare ogni stampa ed ogni traccia informatica. 
>>> Il ricevente dovrà inoltre accertarsi che gli eventuali allegati non 
>>> contengano virus prima di aprirli. Qualunque opinione o affermazione 
>>> presentata in questo messaggio è da ritenersi propria dell'autore e non 
>>> rappresenta necessariamente la posizione della Societ&agr
>>> ave;.
>>> 
>>> The information transmitted is intended only for the person or entity to 
>>> which it is addressed and may contain confidential material. Any review, 
>>> retransmission, dissemination or other use of, or taking of any action in 
>>> reliance upon this information by persons or entities other than the 
>>> intended recipient is prohibited. If you received this in error, please 
>>> contact: info [at] netsons.com  and 
>>> delete the material from any computer. If this email contains attachments 
>>> you should ensure they are checked for viruses before opening them. Any 
>>> views or opinions presented are solely those of the author and do not 
>>> necessarily represent those of the company.
>>> 
>>> 
>>> 
>> 



[Doc] Developer Guide API Section for Review

2013-08-04 Thread Radhika Puthiyetath
Hi,

Developer Guide API section is ready for review. The doc is attached at 
https://issues.apache.org/jira/browse/CLOUDSTACK-3546

Please see section4.1. What's New in the API for 4.2,  and provide your 
feedback.

Also, please let me know other than the API changes what you think what should 
be covered in the What's New Section.

Regards
-Radhika




Re: Review Request 12934: Tests for egress firewall rules for advance zone

2013-08-04 Thread Ashutosh Kelkar


> On Aug. 2, 2013, 10:29 a.m., Jayapal Reddy wrote:
> > test/integration/component/test_egress_fw_rules.py, line 676
> > 
> >
> > change the comment.
> > Egress policy is true

Done.


> On Aug. 2, 2013, 10:29 a.m., Jayapal Reddy wrote:
> > test/integration/component/test_egress_fw_rules.py, line 679
> > 
> >
> > fix the comment.
> > access to public network for tcp port 80 is blocked.

Done.


> On Aug. 2, 2013, 10:29 a.m., Jayapal Reddy wrote:
> > test/integration/component/test_egress_fw_rules.py, line 785
> > 
> >
> > Egress policy is not set to false, but comment says false. The above 
> > test case is already set to true

Done.


> On Aug. 2, 2013, 10:29 a.m., Jayapal Reddy wrote:
> > test/integration/component/test_egress_fw_rules.py, line 819
> > 
> >
> > Fix the comment, invalid cidr is passed to create the rule

Done.


> On Aug. 2, 2013, 10:29 a.m., Jayapal Reddy wrote:
> > test/integration/component/test_egress_fw_rules.py, line 837
> > 
> >
> > Invalid cidr is not passed to rule. fix the comment

Done.


> On Aug. 2, 2013, 10:29 a.m., Jayapal Reddy wrote:
> > test/integration/component/test_egress_fw_rules.py, line 856
> > 
> >
> > Fix the comment

Done


> On Aug. 2, 2013, 10:29 a.m., Jayapal Reddy wrote:
> > test/integration/component/test_egress_fw_rules.py, line 912
> > 
> >
> > Fix the comment

Done


> On Aug. 2, 2013, 10:29 a.m., Jayapal Reddy wrote:
> > test/integration/component/test_egress_fw_rules.py, line 55
> > 
> >
> > I appreciate your effort in correcting the test cases.
> > There are few comments from my side. Please fix those.
> > Also the script is failed to run.Also look into this. The below 
> > exception is thrown
> > 
> > 
> > integration.component.test_egress_fw_rules.log_test_exceptions ... ERROR
> > 
> > ==
> > ERROR: integration.component.test_egress_fw_rules.log_test_exceptions
> > --
> > Traceback (most recent call last):
> >   File "/Library/Python/2.7/site-packages/nose/case.py", line 197, in 
> > runTest
> > self.test(*self.arg)
> > TypeError: log_test_exceptions() takes exactly 1 argument (0 given)
> >

I am able to run the script without any issue.
python2.7 -m marvin.deployAndRun -c  $TESTPATH/run.cfg -d $TESTPATH -r 
/var/log/cs4.2.x-result.log -t /var/log/cs4.2.x-client.log -l &
testpid=$!
tail --pid $testpid -f /var/log/cs4.2.x-result.log /var/log/cs4.2.x-client.log
Let me know if you are still facing issues running the tests.


- Ashutosh


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/12934/#review24517
---


On Aug. 1, 2013, 6:19 a.m., Ashutosh Kelkar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12934/
> ---
> 
> (Updated Aug. 1, 2013, 6:19 a.m.)
> 
> 
> Review request for cloudstack, Girish Shilamkar, Jayapal Reddy, and Prasanna 
> Santhanam.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Tests for egress firewall rules for advance zone.
> 
> 
> Diffs
> -
> 
>   test/integration/component/test_egress_fw_rules.py PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/12934/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Ashutosh Kelkar
> 
>



Re: Review Request 12934: Tests for egress firewall rules for advance zone

2013-08-04 Thread Ashutosh Kelkar

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/12934/
---

(Updated Aug. 5, 2013, 4:33 a.m.)


Review request for cloudstack, Girish Shilamkar, Jayapal Reddy, and Prasanna 
Santhanam.


Changes
---

code review changes.


Repository: cloudstack-git


Description
---

Tests for egress firewall rules for advance zone.


Diffs (updated)
-

  test/integration/component/test_egress_fw_rules.py PRE-CREATION 

Diff: https://reviews.apache.org/r/12934/diff/


Testing
---


Thanks,

Ashutosh Kelkar