Contrail as new component in Jira

2013-12-30 Thread Parth Jagirdar
Need new component Contrail in Jira to track bugs during validations.


Thank You,

.. Parth


Review Request 15746: Service Offering being created without host tags due to mismatch with base for test_vpc_vm_life_cycle.py.

2013-11-20 Thread Parth Jagirdar

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

Review request for cloudstack, edison su and Girish Shilamkar.


Bugs: https://issues.apache.org/jira/browse/CLOUDSTACK-5223

https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/CLOUDSTACK-5223


Repository: cloudstack-git


Description
---

Service Offering being created without host tags due to mismatch with base.


Diffs
-

  test/integration/component/test_vpc_vm_life_cycle.py beb5b99 

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


Testing
---

Yes


Thanks,

Parth Jagirdar



RE: Wiki access

2013-10-15 Thread Parth Jagirdar
I need edit access too;

Username: parth

Thanks,
.. Parth


-Original Message-
From: Prasanna Santhanam [mailto:t...@apache.org] 
Sent: Tuesday, October 15, 2013 3:13 AM
To: dev@cloudstack.apache.org
Subject: Re: Wiki access

On Tue, Oct 15, 2013 at 09:58:22AM +, Donal Lafferty wrote:
> May I get access to edit pages as well?
> 
> username: dlafferty
Done.

-- 
Prasanna.,


Powered by BigRock.com



Re: Review Request: Selenium Headless configuration using PhantomJS

2013-05-01 Thread Parth Jagirdar

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

(Updated May 2, 2013, 12:08 a.m.)


Review request for cloudstack, David Nalley, Chip Childers, and edison su.


Changes
---

Adding command line Param for MS IP.


Description
---

Selenium Headless configuration using PhantomJS.

Fixed Readme Typos, and added an extra field for PhantomJS and How to configure 
Management Server IP.


This addresses bug Cloudstack-2282.


Diffs (updated)
-

  test/selenium/ReadMe.txt 30b0e0d 
  test/selenium/lib/initialize.py e8cc49a 
  test/selenium/smoke/Login_and_Accounts.py c5132d9 
  test/selenium/smoke/main.py 86bb930 

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


Testing
---

NA.


Thanks,

Parth Jagirdar



Re: Review Request: Selenium Headless configuration using PhantomJS

2013-05-01 Thread Parth Jagirdar

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

(Updated May 1, 2013, 5:48 p.m.)


Review request for cloudstack, David Nalley, Chip Childers, and edison su.


Changes
---

Updating the diff


Description
---

Selenium Headless configuration using PhantomJS.

Fixed Readme Typos, and added an extra field for PhantomJS and How to configure 
Management Server IP.


This addresses bug Cloudstack-2282.


Diffs (updated)
-

  test/selenium/ReadMe.txt 30b0e0d 
  test/selenium/lib/initialize.py e8cc49a 
  test/selenium/smoke/Login_and_Accounts.py c5132d9 

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


Testing
---

NA.


Thanks,

Parth Jagirdar



RE: [DISCUSS] UI automation using Python/Selenium

2013-04-30 Thread Parth Jagirdar
We need to come up with a naming scheme. And what elements to include.

Any suggestions for that?


Thanks,
.. Parth


-Original Message-
From: Edison Su [mailto:edison...@citrix.com] 
Sent: Monday, April 29, 2013 7:45 PM
To: dev@cloudstack.apache.org; Chip Childers
Subject: RE: [DISCUSS] UI automation using Python/Selenium

+1 on the unique names/Id, it's a life saver. The following code to find out UI 
element is unmaintainable:
instances_table_xpath = 
"/html/body/div/div/div[2]/div[2]/div[2]/div/div[2]/div[2]/table/tbody/tr/td/span"


> -Original Message-----
> From: Parth Jagirdar [mailto:parth.jagir...@citrix.com]
> Sent: Monday, April 29, 2013 7:17 PM
> To: dev@cloudstack.apache.org; Chip Childers
> Subject: Re: [DISCUSS] UI automation using Python/Selenium
> 
> Bringing this back on tableŠ
> 
> As we have discussed this in past, That we need to have ID's/Names for 
> UI elements.
> 
> The challenge is to come up with a standard naming scheme to 
> accomplish this task.
> How many unique names?
> 
> 
> 1)
> 
> Can we just get away with associating ID's with basic elements (and 
> often accessed elements)?
> 
>  say for example :
> - Dashboard/Network/Instances and almost every icon on Dashboard screen.
> (Almost Always clicked multiple times in each test case, often in 
> middle of a test case for a clean start)
> - VM operations icons. Start Stop etc etcŠ
> - Template operations etc etc. ( this can be a long list so need help 
> to think of a way we can limit this)
> 
> - Some other valuable objects are Tables containing data VM's, 
> Networks all is listed in tables on UI::
> 
>  Following snippet is almost always used to find the VM we created in 
> our tests.
> 
> We actually traverse through the table to find our VM with a string match.
> 
> Now if we can have a name for this table column (say Instances_table) ..
> Life will be much simpler.
> 
> Such tables are used frequently on UI.
> 
> 
> linkclass = None
> linkclass =
> driver.find_elements_by_xpath(Global_Locators.instances_table_xpath) # 
> This returns a list of all VM names in tables
> 
> for link in linkclass:
> 
>   if link.text == "Auto-VM": # We will search for our VM in this table
>   print "found VM in table ..  checking status..." + '\n' + '\n'
>   link.click()
> 
>   status =
> driver.find_element_by_xpath(Global_Locators.state_xpath).text
> ## get the status of our VM
> 
>   if status == "Running" : # then click and do something ...
> 
> 
> 
> 
> In shortŠ Any suggestions?
> 
> 
> 1) Standard procedure to, name elements or associate ID's to them. (A 
> Page on wiki and a standard that committers/reviewers can enforce so 
> we can ensure that new features and bug fixes both comply with it)
> 
> 2) Identifying which elements to start with. (inputs needed to define 
> that fine line)
> 
> 
> .. Parth
> 
> 
> 
> On 2/14/13 10:38 AM, "Pranav Saxena"  wrote:
> 
> >[CHIP]
> >I'd assume that we would want to open bugs on key elements that 
> >should actually have an ID, to make the test suite a bit more robust 
> >(less prone to issues as the UI is tweaked over time
> >
> >We are having discussion about this and should be able to get the 
> >relevant changes done in sometime (associating ID's with the UI
> >elements) so that UI automation could be done in a more sturdy way .
> >
> >Regards,
> >Pranav
> >
> >-Original Message-
> >From: Parth Jagirdar [mailto:parth.jagir...@citrix.com]
> >Sent: Friday, February 15, 2013 12:00 AM
> >To: Chip Childers; cloudstack-...@incubator.apache.org
> >Subject: RE: [DISCUSS] UI automation using Python/Selenium
> >
> >Hi Chip,
> >
> >
> >For following::
> >
> >
> >[CHIP]
> >In your design doc, you mention that Main.py will be the executable file.
> > Either it needs to support flags to trigger different suites, or it 
> >can simply be exploded into multiple "main" files that drive the 
> >correct suite.
> >
> >[PARTH]
> >Yes, Main .py is the executable.
> >We import other modules
> >Each class in each module is a test case.
> >And then we serialize them into main.
> >
> >
> >[CHIP]
> >As for element locators, you're right about the difficulty in the 
> >current page DOM.  XPath seems to be the only reasonable way for now.
> >
> >[PARTH]
> >Xpath is least reliable. ID and Name tops the reliability. But for 
> >now no choice.
> >Howe

Re: Review Request: Selenium Headless configuration using PhantomJS

2013-04-30 Thread Parth Jagirdar

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

(Updated April 30, 2013, 5:56 p.m.)


Review request for cloudstack, David Nalley, Chip Childers, and edison su.


Changes
---

Removed password from build/replace.properties


Description
---

Selenium Headless configuration using PhantomJS.

Fixed Readme Typos, and added an extra field for PhantomJS and How to configure 
Management Server IP.


This addresses bug Cloudstack-2282.


Diffs (updated)
-

  framework/ipc/src/org/apache/cloudstack/framework/messagebus/MessageBus.java 
4aa007d 
  
framework/ipc/src/org/apache/cloudstack/framework/messagebus/MessageBusBase.java
 5b7af4d 
  framework/ipc/test/org/apache/cloudstack/messagebus/TestMessageBus.java 
PRE-CREATION 
  framework/ipc/test/resources/MessageBusTestContext.xml PRE-CREATION 

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


Testing
---

NA.


Thanks,

Parth Jagirdar



Re: [DISCUSS] UI automation using Python/Selenium

2013-04-29 Thread Parth Jagirdar
Bringing this back on tableŠ

As we have discussed this in past, That we need to have ID's/Names for UI
elements.

The challenge is to come up with a standard naming scheme to accomplish
this task.
How many unique names?


1) 

Can we just get away with associating ID's with basic elements (and often
accessed elements)?

 say for example :
- Dashboard/Network/Instances and almost every icon on Dashboard screen.
(Almost Always clicked multiple times in each test case, often in middle
of a test case for a clean start)
- VM operations icons. Start Stop etc etcŠ
- Template operations etc etc. ( this can be a long list so need help to
think of a way we can limit this)

- Some other valuable objects are Tables containing data VM's, Networks
all is listed in tables on UI::

 Following snippet is almost always used to find the VM we created in our
tests.

We actually traverse through the table to find our VM with a string match.

Now if we can have a name for this table column (say Instances_table) ..
Life will be much simpler.

Such tables are used frequently on UI.


linkclass = None
linkclass =
driver.find_elements_by_xpath(Global_Locators.instances_table_xpath) #
This returns a list of all VM names in tables

for link in linkclass:

if link.text == "Auto-VM": # We will search for our VM in this table
print "found VM in table ..  checking status..." + '\n' + '\n'
link.click()

status = driver.find_element_by_xpath(Global_Locators.state_xpath).text
## get the status of our VM

if status == "Running" : # then click and do something ...




In shortŠ Any suggestions?


1) Standard procedure to, name elements or associate ID's to them. (A Page
on wiki and a standard that committers/reviewers can enforce so we can
ensure that new features and bug fixes both comply with it)

2) Identifying which elements to start with. (inputs needed to define that
fine line)


.. Parth



On 2/14/13 10:38 AM, "Pranav Saxena"  wrote:

>[CHIP]
>I'd assume that we would want to open bugs on key elements that should
>actually have an ID, to make the test suite a bit more robust (less prone
>to issues as the UI is tweaked over time
>
>We are having discussion about this and should be able to get the
>relevant changes done in sometime (associating ID's with the UI elements)
>so that UI automation could be done in a more sturdy way .
>
>Regards,
>Pranav
>
>-Original Message-
>From: Parth Jagirdar [mailto:parth.jagir...@citrix.com]
>Sent: Friday, February 15, 2013 12:00 AM
>To: Chip Childers; cloudstack-...@incubator.apache.org
>Subject: RE: [DISCUSS] UI automation using Python/Selenium
>
>Hi Chip,
>
>
>For following::
>
>
>[CHIP]
>In your design doc, you mention that Main.py will be the executable file.
> Either it needs to support flags to trigger different suites, or it can
>simply be exploded into multiple "main" files that drive the correct
>suite.
>
>[PARTH]
>Yes, Main .py is the executable.
>We import other modules
>Each class in each module is a test case.
>And then we serialize them into main.
>
>
>[CHIP]
>As for element locators, you're right about the difficulty in the current
>page DOM.  XPath seems to be the only reasonable way for now.
>
>[PARTH]
>Xpath is least reliable. ID and Name tops the reliability. But for now no
>choice.
>However I have created a global file which looks like
>
># Selects Templates from drop down
>template_xpath = 
>"/html/body/div/div/div[2]/div[2]/div[2]/div/div[2]/div/div/div/select/opt
>ion[1]"
>
># Selects ISO from drop down
>iso_xpath = 
>"/html/body/div/div/div[2]/div[2]/div[2]/div/div[2]/div/div/div/select/opt
>ion[2]"
>
># Add Template
>AddTemplate_xpath = "//div[3]/span"
>
>We are essentially using these variables across all the classes and
>modules. So in event of script failure we look at the element location
>(using xpath finder) and match it with our global file. If they differ we
>update accordingly.
>Also note that terminal elements (ones that are reachable by only one
>way, Like a house on dead end street) I have hard coded them into
>scripts. Because if these paths change and scripts fail we know where to
>look at.
>
>Also, all similar test cases say service offerings are in one module
>service_offerings.py.  which contains disk/compute/system offerings with
>Add/Edit and Delete test cases.
>We should be able to perform a replace easily if needed.
>
>
>
>[CHIP]
>I'd assume that we would want to open bugs on key elements that should
>actually have an ID, to make the test suite a bit more robust (less prone
>to issues as the UI is tweaked over time).
>[P

Review Request: Selenium Headless configuration using PhantomJS

2013-04-29 Thread Parth Jagirdar

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

Review request for cloudstack, David Nalley, Chip Childers, and edison su.


Description
---

Selenium Headless configuration using PhantomJS.

Fixed Readme Typos, and added an extra field for PhantomJS and How to configure 
Management Server IP.


This addresses bug Cloudstack-2282.


Diffs
-

  build/replace.properties 265f335 
  test/selenium/ReadMe.txt 30b0e0d 
  test/selenium/lib/initialize.py e8cc49a 
  test/selenium/smoke/Login_and_Accounts.py c5132d9 

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


Testing
---

NA.


Thanks,

Parth Jagirdar



Eclipse has very high resource utilization

2013-04-26 Thread Parth Jagirdar
5) Problem: Eclipse becomes unresponsive with high resource utilization:
Go to Eclipse folder and Change following (towards the end) in .ini 
configuration file.
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms384m
-Xmx2048m

Added to 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+a+CloudStack+dev+environment+on+Windows



Thanks,
.. Parth



RE: MS Run issue

2013-04-25 Thread Parth Jagirdar
Well resolved... 

Change - Xmx runtime param on control panel didn't help. 

Used Chiradeep's one liner for rescue..

export MAVEN_OPTS="-Xmx2048m -XX:MaxPermSize=800m -Xmx2g -Xdebug 
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"


Updated Cwiki's

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+a+CloudStack+dev+environment+on+Windows


Thanks,
.. Parth


-Original Message-
From: Parth Jagirdar [mailto:parth.jagir...@citrix.com] 
Sent: Thursday, April 25, 2013 4:19 PM
To: dev@cloudstack.apache.org
Subject: MS Run issue

Run issue on Windows this time...
Originally posted in first MAC out of memory thread (Solved :-) ) but 
separating now as different issues.

Suggestions...?


pl,vMSnapshotManagerImpl,volumeManagerImpl,ClassicalPrimaryDataStoreProvider,AffinityGroupServiceImpl,DeploymentPlanningManager,AffinityGroupJoinDaoImpl,AffinityGroupDaoImpl,AffinityGroupVMMapDaoImpl,databaseUpgradeChecker,configurationDaoImpl,GlobalLoadBalancingRulesServiceImpl,niciraNvpDaoImpl,niciraNvpNicMappingDaoImpl,niciraNvpRouterMappingDaoImpl,NiciraNvpGuestNetworkGuru,NiciraNvp,MidoNetGuestNetworkGuru,MidoNetElement,userAuthenticators,userPasswordEncoders,securityCheckers,resourceDiscoverers,haInvestigators,haFenceBuilders,deploymentPlanners,podAllocators,hostAllocators,storagePoolAllocators,ipDeployers,dhcpProviders,networkGurus,networkElements,HostAntiAffinityProcessor,affinityProcessors,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0];
 root of factory hierarchy INFO  [utils.component.ComponentContext] (main:) 
Setup Spring Application context INFO  [cloud.serializer.GsonHelper] (main:) 
Default Builder inited.
INFO  [cloudstack.discovery.ApiDiscoveryServiceImpl] (main:) Api Discovery 
Service: Annotation, docstrings, api relation graph processed in 640.788117 ms 
INFO  [cloud.api.ApiServer] (Thread-8:) ApiServer listening on port 8096 INFO  
[web.context.ContextLoader] (main:) Root WebApplicationContext: initialization 
completed in 15533 ms INFO  [cloud.utils.LogUtils] (main:) log4j configuration 
found at 
C:\cloudstack\client\target\cloud-client-ui-4.2.0-SNAPSHOT\WEB-INF\classes\log4j-cloud.xml
INFO  [factory.annotation.AutowiredAnnotationBeanPostProcessor] (main:) JSR-330 
'javax.inject.Inject' annotation found and supported for autowiring
2013-04-25 15:24:42.037:INFO::Started 
SelectChannelConnector@0.0.0.0<mailto:SelectChannelConnector@0.0.0.0>:8080
[INFO] Started Jetty Server

Exception in thread "Timer-2" Exception in thread "Timer-1"



Platform:
Windows 7 with cygwin... Xmx set to 2048 from control panel as runtime param.



RE: Out of Memory while attempting a Run

2013-04-25 Thread Parth Jagirdar
Page edited at ..

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+Up+a+CloudStack+Development+Environment+on+Mac+OS+X


Thanks,
.. Parth


-Original Message-
From: David Nalley [mailto:da...@gnsa.us] 
Sent: Thursday, April 25, 2013 3:39 PM
To: dev@cloudstack.apache.org
Subject: Re: Out of Memory while attempting a Run

Please use Apache CloudStack's wiki at https://cwiki.apache.org/CLOUDSTACK

I've purged the DNS entries for wiki and bugs.cs.o, the domain is being 
migrated to the ASF soon anyway.

--David

On Thu, Apr 25, 2013 at 6:27 PM, Parth Jagirdar  
wrote:
> Logged a comment on following page..
>
> http://wiki.cloudstack.org/display/dev/Setting+up+a+CloudStack+develop
> ment+environment+on+Mac+OSX?focusedCommentId=17273515#comment-17273515
>
>
>
> Thanks,
> .. Parth
>
>
> -Original Message-
> From: Chiradeep Vittal [mailto:chiradeep.vit...@citrix.com]
> Sent: Thursday, April 25, 2013 3:09 PM
> To: dev@cloudstack.apache.org
> Subject: Re: Out of Memory while attempting a Run
>
> export MAVEN_OPTS="-Xmx2048m -XX:MaxPermSize=800m -Xmx2g -Xdebug 
> -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
>
> It should be there on the wiki, if not, please update
>
> On 4/25/13 2:28 PM, "Parth Jagirdar"  wrote:
>
>>mvn -pl :cloud-client-ui jetty:run
>>
>>Hangs at following.. With out of memory.
>>Suggestions?
>>
>>SystemŠInfo
>>Running OS X,
>>Tomcat 6.0.33,
>>java version "1.6.0_45"
>>Java(TM) SE Runtime Environment (build 1.6.0_45-b06-451-11M4406) Java
>>HotSpot(TM) 64-Bit Server VM (build 20.45-b01-451, mixed mode)
>>
>>(One hiccup I recall is.. Brew install cdrtools didn't go through well 
>>(Could'nt link at the end) but then mkisofs is at desired location 
>>/usr/local/bin; this one was downloaded from Helios link.. Not sure if 
>>this would matter)
>>
>>
>>pNicMappingDaoImpl,niciraNvpRouterMappingDaoImpl,NiciraNvpGuestNetwork
>>G
>>uru
>>,NiciraNvp,MidoNetGuestNetworkGuru,MidoNetElement,userAuthenticators,u
>>s
>>erP
>>asswordEncoders,securityCheckers,resourceDiscoverers,haInvestigators,h
>>a
>>Fen
>>ceBuilders,deploymentPlanners,podAllocators,hostAllocators,storagePool
>>A
>>llo
>>cators,ipDeployers,dhcpProviders,networkGurus,networkElements,HostAnti
>>A
>>ffi
>>nityProcessor,affinityProcessors,org.springframework.context.annotatio
>>n .Co nfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; 
>>root of factory hierarchy INFO  [utils.component.ComponentContext] 
>>(main:) Setup Spring Application context ^C^CJava HotSpot(TM) 64-Bit 
>>Server VM
>>warning: Exception java.lang.OutOfMemoryError occurred dispatching 
>>signal Unknown Signal to
>>handler- the VM may need to be forcibly terminated ^CJava HotSpot(TM) 
>>64-Bit Server VM warning: Exception java.lang.OutOfMemoryError 
>>occurred dispatching signal Unknown Signal to
>>handler- the VM may need to be forcibly terminated Java HotSpot(TM) 
>>64-Bit Server VM warning: Exception java.lang.OutOfMemoryError 
>>occurred dispatching signal Unknown Signal to
>>handler- the VM may need to be forcibly terminated
>>
>>
>>
>>Thanks,
>>.. Parth
>


RE: Out of Memory while attempting a Run

2013-04-25 Thread Parth Jagirdar
And another Run issue on Windows this time...

pl,vMSnapshotManagerImpl,volumeManagerImpl,ClassicalPrimaryDataStoreProvider,AffinityGroupServiceImpl,DeploymentPlanningManager,AffinityGroupJoinDaoImpl,AffinityGroupDaoImpl,AffinityGroupVMMapDaoImpl,databaseUpgradeChecker,configurationDaoImpl,GlobalLoadBalancingRulesServiceImpl,niciraNvpDaoImpl,niciraNvpNicMappingDaoImpl,niciraNvpRouterMappingDaoImpl,NiciraNvpGuestNetworkGuru,NiciraNvp,MidoNetGuestNetworkGuru,MidoNetElement,userAuthenticators,userPasswordEncoders,securityCheckers,resourceDiscoverers,haInvestigators,haFenceBuilders,deploymentPlanners,podAllocators,hostAllocators,storagePoolAllocators,ipDeployers,dhcpProviders,networkGurus,networkElements,HostAntiAffinityProcessor,affinityProcessors,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0];
 root of factory hierarchy
INFO  [utils.component.ComponentContext] (main:) Setup Spring Application 
context
INFO  [cloud.serializer.GsonHelper] (main:) Default Builder inited.
INFO  [cloudstack.discovery.ApiDiscoveryServiceImpl] (main:) Api Discovery 
Service: Annotation, docstrings, api relation graph processed in 640.788117 ms
INFO  [cloud.api.ApiServer] (Thread-8:) ApiServer listening on port 8096
INFO  [web.context.ContextLoader] (main:) Root WebApplicationContext: 
initialization completed in 15533 ms
INFO  [cloud.utils.LogUtils] (main:) log4j configuration found at 
C:\cloudstack\client\target\cloud-client-ui-4.2.0-SNAPSHOT\WEB-INF\classes\log4j-cloud.xml
INFO  [factory.annotation.AutowiredAnnotationBeanPostProcessor] (main:) JSR-330 
'javax.inject.Inject' annotation found and supported for autowiring
2013-04-25 15:24:42.037:INFO::Started SelectChannelConnector@0.0.0.0:8080
[INFO] Started Jetty Server
Exception in thread "Timer-2" Exception in thread "Timer-1"


Windows 7... Xmx set to 2048 from control panel as runtime param.



Thanks,
.. Parth


-----Original Message-
From: Parth Jagirdar 
Sent: Thursday, April 25, 2013 3:28 PM
To: dev@cloudstack.apache.org
Subject: RE: Out of Memory while attempting a Run

Logged a comment on following page..

http://wiki.cloudstack.org/display/dev/Setting+up+a+CloudStack+development+environment+on+Mac+OSX?focusedCommentId=17273515#comment-17273515



Thanks,
.. Parth


-Original Message-
From: Chiradeep Vittal [mailto:chiradeep.vit...@citrix.com]
Sent: Thursday, April 25, 2013 3:09 PM
To: dev@cloudstack.apache.org
Subject: Re: Out of Memory while attempting a Run

export MAVEN_OPTS="-Xmx2048m -XX:MaxPermSize=800m -Xmx2g -Xdebug 
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"

It should be there on the wiki, if not, please update

On 4/25/13 2:28 PM, "Parth Jagirdar"  wrote:

>mvn -pl :cloud-client-ui jetty:run
>
>Hangs at following.. With out of memory.
>Suggestions?
>
>SystemŠInfo
>Running OS X,
>Tomcat 6.0.33,
>java version "1.6.0_45"
>Java(TM) SE Runtime Environment (build 1.6.0_45-b06-451-11M4406) Java
>HotSpot(TM) 64-Bit Server VM (build 20.45-b01-451, mixed mode)
>
>(One hiccup I recall is.. Brew install cdrtools didn't go through well 
>(Could'nt link at the end) but then mkisofs is at desired location 
>/usr/local/bin; this one was downloaded from Helios link.. Not sure if 
>this would matter)
>
>
>pNicMappingDaoImpl,niciraNvpRouterMappingDaoImpl,NiciraNvpGuestNetworkG
>uru
>,NiciraNvp,MidoNetGuestNetworkGuru,MidoNetElement,userAuthenticators,us
>erP
>asswordEncoders,securityCheckers,resourceDiscoverers,haInvestigators,ha
>Fen
>ceBuilders,deploymentPlanners,podAllocators,hostAllocators,storagePoolA
>llo
>cators,ipDeployers,dhcpProviders,networkGurus,networkElements,HostAntiA
>ffi
>nityProcessor,affinityProcessors,org.springframework.context.annotation
>.Co nfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; root 
>of factory hierarchy INFO  [utils.component.ComponentContext] (main:) 
>Setup Spring Application context ^C^CJava HotSpot(TM) 64-Bit Server VM
>warning: Exception java.lang.OutOfMemoryError occurred dispatching 
>signal Unknown Signal to
>handler- the VM may need to be forcibly terminated ^CJava HotSpot(TM) 
>64-Bit Server VM warning: Exception java.lang.OutOfMemoryError occurred 
>dispatching signal Unknown Signal to
>handler- the VM may need to be forcibly terminated Java HotSpot(TM) 
>64-Bit Server VM warning: Exception java.lang.OutOfMemoryError occurred 
>dispatching signal Unknown Signal to
>handler- the VM may need to be forcibly terminated
>
>
>
>Thanks,
>.. Parth



RE: Out of Memory while attempting a Run

2013-04-25 Thread Parth Jagirdar
Logged a comment on following page..

http://wiki.cloudstack.org/display/dev/Setting+up+a+CloudStack+development+environment+on+Mac+OSX?focusedCommentId=17273515#comment-17273515



Thanks,
.. Parth


-Original Message-
From: Chiradeep Vittal [mailto:chiradeep.vit...@citrix.com] 
Sent: Thursday, April 25, 2013 3:09 PM
To: dev@cloudstack.apache.org
Subject: Re: Out of Memory while attempting a Run

export MAVEN_OPTS="-Xmx2048m -XX:MaxPermSize=800m -Xmx2g -Xdebug 
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"

It should be there on the wiki, if not, please update

On 4/25/13 2:28 PM, "Parth Jagirdar"  wrote:

>mvn -pl :cloud-client-ui jetty:run
>
>Hangs at following.. With out of memory.
>Suggestions?
>
>SystemŠInfo
>Running OS X,
>Tomcat 6.0.33,
>java version "1.6.0_45"
>Java(TM) SE Runtime Environment (build 1.6.0_45-b06-451-11M4406) Java 
>HotSpot(TM) 64-Bit Server VM (build 20.45-b01-451, mixed mode)
>
>(One hiccup I recall is.. Brew install cdrtools didn't go through well 
>(Could'nt link at the end) but then mkisofs is at desired location 
>/usr/local/bin; this one was downloaded from Helios link.. Not sure if 
>this would matter)
>
>
>pNicMappingDaoImpl,niciraNvpRouterMappingDaoImpl,NiciraNvpGuestNetworkG
>uru 
>,NiciraNvp,MidoNetGuestNetworkGuru,MidoNetElement,userAuthenticators,us
>erP 
>asswordEncoders,securityCheckers,resourceDiscoverers,haInvestigators,ha
>Fen 
>ceBuilders,deploymentPlanners,podAllocators,hostAllocators,storagePoolA
>llo 
>cators,ipDeployers,dhcpProviders,networkGurus,networkElements,HostAntiA
>ffi 
>nityProcessor,affinityProcessors,org.springframework.context.annotation
>.Co nfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; root 
>of factory hierarchy INFO  [utils.component.ComponentContext] (main:) 
>Setup Spring Application context ^C^CJava HotSpot(TM) 64-Bit Server VM 
>warning: Exception java.lang.OutOfMemoryError occurred dispatching 
>signal Unknown Signal to
>handler- the VM may need to be forcibly terminated ^CJava HotSpot(TM) 
>64-Bit Server VM warning: Exception java.lang.OutOfMemoryError occurred 
>dispatching signal Unknown Signal to
>handler- the VM may need to be forcibly terminated Java HotSpot(TM) 
>64-Bit Server VM warning: Exception java.lang.OutOfMemoryError occurred 
>dispatching signal Unknown Signal to
>handler- the VM may need to be forcibly terminated
>
>
>
>Thanks,
>.. Parth



RE: [DOC][Review] Document ability to delete events and alerts

2013-04-25 Thread Parth Jagirdar
Looks good to me.

Thanks,
.. Parth


-Original Message-
From: Radhika Puthiyetath [mailto:radhika.puthiyet...@citrix.com] 
Sent: Wednesday, April 24, 2013 11:02 PM
To: dev@cloudstack.apache.org; Sanjay Tripathi
Subject: [DOC][Review] Document ability to delete events and alerts

Hi,

Documentation for delete/archive events and alerts are ready.

The doc draft is posted to https://issues.apache.org/jira/browse/CLOUDSTACK-1567

Please share your comments.

Thanks
-Radhika


Out of Memory while attempting a Run

2013-04-25 Thread Parth Jagirdar
mvn -pl :cloud-client-ui jetty:run

Hangs at following.. With out of memory.
Suggestions?

System…Info
Running OS X,
Tomcat 6.0.33,
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06-451-11M4406)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01-451, mixed mode)

(One hiccup I recall is.. Brew install cdrtools didn't go through well 
(Could'nt link at the end) but then mkisofs is at desired location 
/usr/local/bin; this one was downloaded from Helios link.. Not sure if this 
would matter)


pNicMappingDaoImpl,niciraNvpRouterMappingDaoImpl,NiciraNvpGuestNetworkGuru,NiciraNvp,MidoNetGuestNetworkGuru,MidoNetElement,userAuthenticators,userPasswordEncoders,securityCheckers,resourceDiscoverers,haInvestigators,haFenceBuilders,deploymentPlanners,podAllocators,hostAllocators,storagePoolAllocators,ipDeployers,dhcpProviders,networkGurus,networkElements,HostAntiAffinityProcessor,affinityProcessors,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0];
 root of factory hierarchy
INFO  [utils.component.ComponentContext] (main:) Setup Spring Application 
context
^C^CJava HotSpot(TM) 64-Bit Server VM warning: Exception 
java.lang.OutOfMemoryError occurred dispatching signal Unknown Signal to 
handler- the VM may need to be forcibly terminated
^CJava HotSpot(TM) 64-Bit Server VM warning: Exception 
java.lang.OutOfMemoryError occurred dispatching signal Unknown Signal to 
handler- the VM may need to be forcibly terminated
Java HotSpot(TM) 64-Bit Server VM warning: Exception java.lang.OutOfMemoryError 
occurred dispatching signal Unknown Signal to handler- the VM may need to be 
forcibly terminated



Thanks,
.. Parth


Re: Review Request: Re-enable baremetal components

2013-04-18 Thread Parth Jagirdar
I think original consensus was to disable Baremetal for 4.1 only.

ŠParth

On 4/18/13 6:56 PM, "David Nalley"  wrote:

>
>---
>This is an automatically generated e-mail. To reply, visit:
>https://reviews.apache.org/r/10616/#review19428
>---
>
>
>Baremetal seems to be suffering from a significant lack of unit tests and
>integration tests for marvin to consume. Let's get those in place before
>we consider re-enabling this.
>
>- David Nalley
>
>
>On April 19, 2013, 1:33 a.m., Venkata Siva Vijayendra Bhamidipati wrote:
>> 
>> ---
>> This is an automatically generated e-mail. To reply, visit:
>> https://reviews.apache.org/r/10616/
>> ---
>> 
>> (Updated April 19, 2013, 1:33 a.m.)
>> 
>> 
>> Review request for cloudstack, Chip Childers, Kelven Yang, and Frank
>>Zhang.
>> 
>> 
>> Description
>> ---
>> 
>> Baremetal provisioning components were commented out on master -
>>uncommenting them again to allow creation of baremetal clusters.
>> 
>> 
>> This addresses bug CLOUDSTACK-2101.
>> 
>> 
>> Diffs
>> -
>> 
>>   client/tomcatconf/applicationContext.xml.in 7487a5e
>>   client/tomcatconf/componentContext.xml.in 7a46981
>>   client/tomcatconf/nonossComponentContext.xml.in 2359ba8
>> 
>> Diff: https://reviews.apache.org/r/10616/diff/
>> 
>> 
>> Testing
>> ---
>> 
>> Creation of a cluster of hypervisor type baremetal succeeds with these
>>changes in.
>> 
>> 
>> Thanks,
>> 
>> Venkata Siva Vijayendra Bhamidipati
>> 
>>
>



RE: [WIKI][DISCUSS] privilege to remove attachemnts on cwiki

2013-04-17 Thread Parth Jagirdar
Aite,

In future if such event occurs(Wrong attachment), Who to contact for help with 
removal?

And who/how one qualifies for such privileges?
(Should we give it to folks with significant contribution history? If so what 
defines significant?)

This will definitely make contributors life easier and Wiki pages will have a 
clean face to show to visitors.


Thanks,
.. Parth


-Original Message-
From: David Nalley [mailto:da...@gnsa.us] 
Sent: Wednesday, April 17, 2013 4:21 PM
To: dev@cloudstack.apache.org
Subject: Re: [WIKI][DISCUSS] privilege to remove attachemnts on cwiki

On Wed, Apr 17, 2013 at 7:08 PM, Parth Jagirdar
wrote:

> I see,
>
> Should people contributing have it?
> Any reason why we let them create pages and add attachments but not 
> remove them?
>
> ŠParth
>
>
No.
Deletion is potentially damaging, particularly when folks can remove anything 
in a space.
Deletion will not be set by default for folks with accounts.


--David


Re: [WIKI][DISCUSS] privilege to remove attachemnts on cwiki

2013-04-17 Thread Parth Jagirdar
I see,

Should people contributing have it?
Any reason why we let them create pages and add attachments but not remove
them?

ŠParth

On 4/17/13 3:42 PM, "David Nalley"  wrote:

>On Wed, Apr 17, 2013 at 6:38 PM, Parth Jagirdar
>wrote:
>
>> All,
>>
>> I uploaded a wrong attachment on a page created by me.
>> But I didn't have privileges to remove any attachments that I uploaded.
>>
>> Has anyone faced similar situation?
>>
>> Do you think that Authors/owner of the page should have privileges to
>> remove their own contents?
>>
>> Should we vote for it?
>>
>>
>> Thanks,
>> .. Parth
>>
>>
>Jira doesn't have such fine grained permissions. (at least the version
>that
>we are on doesn't.) You either get permission to remove any object in the
>space or no permission to remove any object in the space.
>
>--David



[WIKI][DISCUSS] privilege to remove attachemnts on cwiki

2013-04-17 Thread Parth Jagirdar
All,

I uploaded a wrong attachment on a page created by me.
But I didn't have privileges to remove any attachments that I uploaded.  

Has anyone faced similar situation?

Do you think that Authors/owner of the page should have privileges to remove 
their own contents?

Should we vote for it?


Thanks,
.. Parth



Re: [QA][ACS42] Test Plan for Change Account Membership CS-1390

2013-04-17 Thread Parth Jagirdar
Addition,


Verification for successful Move should include following (Applicable to
all move test cases)::

1) Ensure VM is functional (Start, Stop and Access)
2) Ensure old owner doesn't have access to it anymore.
 
ŠParth
 

On 4/15/13 10:17 PM, "Parth Jagirdar"  wrote:

>All,
>
>Test Plan @ 
>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Change+account+memb
>ership+Test+Plan
>
>CS Bug @ https://issues.apache.org/jira/browse/CLOUDSTACK-1390
>
>Requirements @ 
>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Change+account+memb
>ership
>
>FS & UseCases @ 
>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Change+Account+Memb
>ership+-+VM
>
>
>ŠParth
>



[QA][ACS42] Test Plan for Enhanced Baremetal support for Cisco UCS

2013-04-16 Thread Parth Jagirdar
Test Plan @  
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Enhanced+Baremetal+support+for+Cisco+UCS

Requirements @ 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Enhanced+Baremetal+support+on+Cisco+UCS

FS @ 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Cisco+UCS+Integration+functional+spec


Ignore the Change Account Test Plan in above link.. that one got uploaded by 
mistake.


...Parth


[QA][ACS42] Test Plan for Change Account Membership CS-1390

2013-04-15 Thread Parth Jagirdar
All,

Test Plan @ 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Change+account+membership+Test+Plan

CS Bug @ https://issues.apache.org/jira/browse/CLOUDSTACK-1390

Requirements @ 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Change+account+membership

FS & UseCases @ 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Change+Account+Membership+-+VM


…Parth



Test Results for SHA-256

2013-04-04 Thread Parth Jagirdar
Test Results for SHA-256 as Default Algorithm.

https://cwiki.apache.org/confluence/display/CLOUDSTACK/SHA-256+Salted+as+default+Algorithm+for+Passwords


...Parth


Test Results for SHA-256

2013-04-04 Thread Parth Jagirdar
Test Results for SHA-256 as Default Algorithm.

https://cwiki.apache.org/confluence/display/CLOUDSTACK/SHA-256+Salted+as+default+Algorithm+for+Passwords


...Parth



[DISCUSS] UI time conversion for Events and Alerts.

2013-04-02 Thread Parth Jagirdar
All,

CS – 1898 ::  UI : incorrect time conversion on UI under Events

https://issues.apache.org/jira/browse/CLOUDSTACK-1898


I am proposing to change/redesign the way CS handles times and dates currently.


We have time conversion issue on UI due to Time Zones.

Time Zones is not a mandatory field and if left blank CS will use its default 
time zone and Users will see time on their UI's off. (Refer to bug and attached 
screen for clarification) (Unless of course they are in default time zone that 
CS would use, when no time zone is supplied)


Once upon a time…there was a table in a database , named Event…..


mysql> select * from event;
+-+--+---+---+---+-++---+-+---+--++--+
| id  | uuid | type  | 
state | description 
  | user_id | account_id | domain_id | created 
| level | start_id | parameters | archived |
+-+--+---+---+---+-++---+-+---+--++--+
|   1 | 746273bb-a6ed-453a-8e45-a9873d06c58e | USER.LOGIN| 
Completed | user has logged in from IP Address 10.216.132.50
  |   2 |  2 | 1 | 2013-04-01 22:26:12 
| INFO  |0 | NULL   |0 |
|   2 | f8323212-fe8f-4d3c-a1c8-40d26b217895 | USER.CREATE   | 
Completed | Successfully completed creating User. Account Name: test, Domain 
Id:1 |   2 |  1 | 1 | 2013-04-01 
22:49:50 | INFO  |0 | NULL   |0 |


Now assume 2 users;

1.Admin  and
2.User

with User created by Admin using "Pacific time Zone".

When these 2 Users log in on UI, they both will see Event 1 (From Table above) 
with different times. (Of course Admin)

Admin will see it as 2013-04-01 22:26:12  +/- Time Zone specified when this 
user was created.
Similarly user will see this same event with time +/- "Time Zone specified when 
this user was created". (Pacific Time , in our example)

As per existing implementation, a Traveling "User", Either logs in from London 
Or Tokyo; "if this User was created using PST", then he will have time off all 
the time during his travel.



DISCUSS:: To Prevent CS – 1898

- Should we actually store time/date in DB in some standard format. And then 
display it by converting based on User's (Client Browser's) time/zone.
- Or should we instead make Time Zone field mandatory? (In this case we still 
have traveling user problem).




RE: [QA] Test plan for Password Encryption - Make SHA1 Salted as default authenticator and encoder.

2013-03-28 Thread Parth Jagirdar
Great!!

Thanks.

Thanks,
.. Parth

-Original Message-
From: Vijayendra Bhamidipati 
Sent: Thursday, March 28, 2013 2:40 PM
To: Parth Jagirdar; cloudstack-...@incubator.apache.org
Subject: Re: [QA] Test plan for Password Encryption - Make SHA1 Salted as 
default authenticator and encoder.

Hi Parth,

The test plan looks good. You can also add a test to remove an authenticator 
that was used for a particular user (say MD5) after creating that user, 
rebuild/restart the mgmt server and see that that user authentication fails. 
All other tests look good.

Regards,
Vijay

On 3/25/13 12:38 PM, "Parth Jagirdar"  wrote:

>
>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Password+Encrypt
>ion
>+
>-+Make+SHA1+Salted+as+default+authenticator+and+encoder.
>
>
>ŠParth
>



[QA] Test Plan for Ability to delete-Archive Alerts and Events

2013-03-26 Thread Parth Jagirdar
All,

Test Plan for Ability to delete-Archive Alerts and 
Events.

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Ability+to+delete-Archive+Alerts+and+Events+Test+Plan


…Parth


[QA] Test plan for Password Encryption - Make SHA1 Salted as default authenticator and encoder.

2013-03-25 Thread Parth Jagirdar

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Password+Encryption+
-+Make+SHA1+Salted+as+default+authenticator+and+encoder.


ŠParth



Re: [ACS41] Baremetal blockers

2013-03-21 Thread Parth Jagirdar
Assuming we will have to disable Cisco UCS functionality as well; as that
would have some dependency on Baremetal.

Is that right?

CLOUDSTACK-723 Enhanced Baremetal servers support on Cisco UCS




ŠParth



On 3/21/13 3:00 PM, "Jessica Wang"  wrote:

>
>
>-Original Message-
>From: Animesh Chaturvedi
>Sent: Thursday, March 21, 2013 2:56 PM
>To: dev@cloudstack.apache.org
>Cc: cloudstack-...@incubator.apache.org; Jessica Wang
>Subject: RE: [ACS41] Baremetal blockers
>
>
>
>> -Original Message-
>> From: Animesh Chaturvedi [mailto:animesh.chaturv...@citrix.com]
>> Sent: Thursday, March 21, 2013 2:22 PM
>> To: dev@cloudstack.apache.org
>> Cc: cloudstack-...@incubator.apache.org; Jessica Wang
>> Subject: RE: [ACS41] Baremetal blockers
>> 
>> 
>> > >> > >
>> > >> > > I am checking if  these can be reassigned. If it does not pan
>> > >> > > out by
>> > >> tomorrow I will propose to disable the feature for 4.1 release.
>> > >> >
>> > >> > I think that a decision is predicated on a more specific
>> > >> > statement of what we mean by "disable".
>> > >>
>> > >> Pinging on this again.  I'm leaning towards agreement, but what
>> > >> *exactly* can we do to disable it and (at the same time) minimize
>> > >> the
>> > >> knock- on effect of the change required to disable it.
>> > > [Animesh>] There is no one available to pick up these defects in
>> > > time for
>> > 4.1 so we will disable the feature. Disable means Baremetal will be
>> > removed from componentContext.xml , the API and UI will not be
>> available.
>> >
>> > Are you sure that removing the plugin from componentContext.xml will
>> > remove it from the UI?  (I'm not, that's why I'm asking)
>> [Animesh>] Yes, discussed with Alex and Jessica.
>[Animesh>] Will try out the change and submit a patch. Jessica anything
>else?
>[Jessica W] Nothing else except removing Baremetal from listHypervisors
>API response and listSupportedNetworkServices API response.
>



RE: [DISCUSS] Commit email notifications

2013-03-21 Thread Parth Jagirdar
Would be nice!!

+1

...Parth


Alex Huang  wrote:

+1!  +1!

--Alex

> -Original Message-
> From: Noah Slater [mailto:nsla...@apache.org]
> Sent: Thursday, March 21, 2013 6:38 AM
> To: cloudstack-...@incubator.apache.org
> Cc: Paul Davis
> Subject: [DISCUSS] Commit email notifications
>
> Hey CloudStack devs,
>
> A bit of potential cross pollination here...
>
> I take it you've all noticed the
> screen-full-of-emails-generated-by-a-Git-push thing we have going on? Well,
> Paul Davis has figured out a way to get all those commits wrapped up into a
> single thread in mail clients that support threading. (See the forwarded
> message.)
>
> Is this something we're interested in switching to?
>
> Thanks,
>
>
> -- Forwarded message --
> From: Paul Davis 
> Date: 20 March 2013 09:13
> Subject: Commit email notifications
> To: d...@couchdb.apache.org
>
>
> First off, apologies for the commit spam. But hopefully I've managed to find a
> decent combination of useful information and helpful threading for most
> email clients.
>
> I got caught in the wind playing with email headers trying to set the Message-
> Id and In-Reply-To/References headers to get threading to work for the git
> email notifications. Then I remembered that GMail basically ignores those. So
> I've gone and also changed the subject formatting so that GMail does play
> nicely with threads.
>
> Basically, I've switched between these two email styles for commit
> notifications:
>
> Old Style:
>
> [1/4] git commit: test commit 1/3
>
> New Style:
>
> [1/4] git commit: updated refs/heads/testing-email-notifications to
> 51293df
>
> The first one has the benefit of showing what the actual commit was about
> (this same information is repeated in the body) but the downside is that
> GMail does terrible thing in conversation view with these. I added a few
> things to the subject formatting and then set the format CouchDB uses to
> the style shown. This style has the benefit that each "push" to the repo
> should generate unique GMail conversations for each branch updated and
> also gives us a bit of a log on individual updates (a more thorough log is
> available via a URL I'm too lazy to lookup at 4am).
>
> One of the major thorns I've been chewing on for awhile is when we make
> an identical commit to more than one version branch and push all of those
> updated branches in one go. The old version would group them into a single
> GMail conversation which is a bit misleading and sometimes hard to pick
> apart. The new format should avoid that but at the loss of reading the "git 
> log
> --oneline" history type log (that's really out of order so not totally 
> useful).
>
> So if I'm crazy and people really like the "single push fills your inbox"
> approach let me know and I'll revert it and be more formal about the change.
> Though hopefully this new behavior is a net positive for everyone involved as
> my 4am brain seems to think is reasonable which means I've probably pissed
> off a whole bunch of people.
>
>
>
> --
> NS