Re: [ACS41] Help needed clearing bugs!

2013-04-12 Thread Prasanna Santhanam
On Thu, Apr 11, 2013 at 05:11:23PM -0400, Chip Childers wrote:
> Hi all,
> 
> I need your help clearing out the following bugs...  if you have one
> assigned to you, please see if you can get it completed.  If you have
> any time available, and think you can help resolve one of the unassigned
> ones, please jump in!  We're obviously behind the schedule that we set
> for ourselves, so I'd love to see the community come together for a
> final push to get 4.1.0 out the door.
> 
> CLOUDSTACK-2007 Release Notes failing to build on jenkins.cs.o
> Currently unassigned - Joe looked into it, and he thinks this is a 
> build server issue.  Can someone please take a look?

I've commented on the ticket and the temporary fix also applied on
jenkins. The job passes for now. 

> 
> CLOUDSTACK-1934 NPE with listSupportedNetworkServices after upgrade from 4.0 
> to 4.1 (Ubuntu MS) 
> Unassigned
> 
> CLOUDSTACK-1978 openvswitch - unable to start console session for SSVM CPVM 
> user VMs
> Unassigned
> 
> CLOUDSTACK-1987 Deleted service offerings owned by a domain show up to domain 
> users
> Unassigned
> 
> CLOUDSTACK-1997 Upload and Document IPV6 specific system templates. 
> Unassigned - Who wants to host the template (wido?), and then we need to
> add it to the IPv6 docs.
> 
> Last but not least, we still need to wrap up any final docs (including
> Release Notes, which I consider a blocker right now).  Joe, do you want
> / need help with the Release Notes?  Other doc folks, anything that's in
> progress that we can get over the line would be appreciated.  The same
> goes for translations that may be outstanding...
> 
> Let's get 4.1.0 out!
> 
> -chip

-- 
Prasanna.,


Re: Review Request: Syslog messages not getting generated for the "alertType:: 0"

2013-04-12 Thread Sateesh Chodapuneedi

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

Ship it!


Ship It!

- Sateesh Chodapuneedi


On April 10, 2013, 8:53 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10392/
> ---
> 
> (Updated April 10, 2013, 8:53 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh, Pranav Saxena, and Sateesh 
> Chodapuneedi.
> 
> 
> Description
> ---
> 
> Fixed the issue Syslog messages not getting generated for the "alertType:: 0  
> -- System Alert: Low Available Memory in cluster" 
> 
> 
> This addresses bug https://issues.apache.org/jira/browse/CLOUDSTACK-1993.
> 
> 
> Diffs
> -
> 
>   
> plugins/alert-handlers/syslog-alerts/src/org/apache/cloudstack/syslog/AlertsSyslogAppender.java
>  d2f2565 
> 
> Diff: https://reviews.apache.org/r/10392/diff/
> 
> 
> Testing
> ---
> 
> tested manually
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



Re: Review Request: Syslog messages not getting generated for the "alertType:: 0"

2013-04-12 Thread Sateesh Chodapuneedi


> On April 12, 2013, 7:28 a.m., Sateesh Chodapuneedi wrote:
> > Ship It!


Committed the patch to master branch.
commit 7fb63be6e1c2ed2b6d2de02dae3ec0f77f1748f3


- Sateesh


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


On April 10, 2013, 8:53 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10392/
> ---
> 
> (Updated April 10, 2013, 8:53 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh, Pranav Saxena, and Sateesh 
> Chodapuneedi.
> 
> 
> Description
> ---
> 
> Fixed the issue Syslog messages not getting generated for the "alertType:: 0  
> -- System Alert: Low Available Memory in cluster" 
> 
> 
> This addresses bug https://issues.apache.org/jira/browse/CLOUDSTACK-1993.
> 
> 
> Diffs
> -
> 
>   
> plugins/alert-handlers/syslog-alerts/src/org/apache/cloudstack/syslog/AlertsSyslogAppender.java
>  d2f2565 
> 
> Diff: https://reviews.apache.org/r/10392/diff/
> 
> 
> Testing
> ---
> 
> tested manually
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



CS | CentOS Upgrade

2013-04-12 Thread Maurice Lawler
Hello CS Family;

I wanted to ask, if I were to proceed in a YUM update -- What would happen with 
4.0.1 CS installation. I do not want my kernel etc to become outdated or be a 
result of a compromise due to my not upgrading. Right now i am using KVM | Cent 
OS | 6.3 

Thanks,

 - Maurice

Re: CS | CentOS Upgrade

2013-04-12 Thread Wido den Hollander

Hi,

On 04/12/2013 09:34 AM, Maurice Lawler wrote:

Hello CS Family;

I wanted to ask, if I were to proceed in a YUM update -- What would happen with 
4.0.1 CS installation. I do not want my kernel etc to become outdated or be a 
result of a compromise due to my not upgrading. Right now i am using KVM | Cent 
OS | 6.3



Nothing should happen. As long as you don't delete your MySQL database 
(which YUM won't do) it will all keep running.


The mgmt server is just Java, so that's all.

Wido


Thanks,

  - Maurice



Re: Review Request: Enhance resize volume tests to support xenserver hypervisor and fix few test flow errors

2013-04-12 Thread Prasanna Santhanam

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



test/integration/smoke/1


This file was probably added unintentionally. Can you remove it?



test/integration/smoke/test_volumes.py


Why would a sleep be required here? Can you add a comment for why?



test/integration/smoke/test_volumes.py


This sleep can also be removed since virtual_machine.stop returns only 
after the VM moves to stopped state.



test/integration/smoke/test_volumes.py


Same as above. 


- Prasanna Santhanam


On April 12, 2013, 6:35 a.m., SrikanteswaraRao Talluri wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10393/
> ---
> 
> (Updated April 12, 2013, 6:35 a.m.)
> 
> 
> Review request for cloudstack, Prasanna Santhanam and Marcus Sorensen.
> 
> 
> Description
> ---
> 
>  Based on hypervisor, resizeVolume needs VM to be in stopped state for 
> xenserver.
> 
> Earlier tests had volume not attached, Hence, resize is failing 
> 
> 
> This addresses bug CLOUDSTACK-1995.
> 
> 
> Diffs
> -
> 
>   test/integration/smoke/1 PRE-CREATION 
>   test/integration/smoke/test_volumes.py 36eb5de 
> 
> Diff: https://reviews.apache.org/r/10393/diff/
> 
> 
> Testing
> ---
> 
> Tested with KVM and XenServer hypervisors with local storage. I couldn't test 
> on shared storage because of a bug related to primary storage
> 
> 
> Thanks,
> 
> SrikanteswaraRao Talluri
> 
>



Re: Review Request: Cloudstack-701 Support for non contiguous vlan ranges.

2013-04-12 Thread Abhinandan Prateek

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

Ship it!


Ship It!

- Abhinandan Prateek


On April 9, 2013, 3 p.m., bharat kumar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10238/
> ---
> 
> (Updated April 9, 2013, 3 p.m.)
> 
> 
> Review request for cloudstack and Abhinandan Prateek.
> 
> 
> Description
> ---
> 
> Cloudstack-701: Support for non contiguous vlan ranges.
> 
> 
> Diffs
> -
> 
>   api/src/com/cloud/network/NetworkService.java ab6d7bf 
>   api/src/com/cloud/network/PhysicalNetwork.java a2044a6 
>   api/src/org/apache/cloudstack/api/ApiConstants.java c518830 
>   
> api/src/org/apache/cloudstack/api/command/admin/network/UpdatePhysicalNetworkCmd.java
>  06cf38d 
>   server/src/com/cloud/api/ApiResponseHelper.java 64be7f8 
>   server/src/com/cloud/configuration/ConfigurationManagerImpl.java 1526fb0 
>   server/src/com/cloud/dc/dao/DataCenterVnetDao.java 79e91c4 
>   server/src/com/cloud/dc/dao/DataCenterVnetDaoImpl.java 5ded0f4 
>   server/src/com/cloud/network/ExternalFirewallDeviceManagerImpl.java ae00bf2 
>   server/src/com/cloud/network/NetworkServiceImpl.java 4eb620c 
>   server/src/com/cloud/network/dao/PhysicalNetworkVO.java e5ffcfb 
>   server/src/com/cloud/network/guru/GuestNetworkGuru.java 9c0205a 
>   server/src/com/cloud/resource/ResourceManagerImpl.java 82bca51 
>   server/test/com/cloud/network/MockNetworkManagerImpl.java 6da48ec 
>   server/test/com/cloud/network/UpdatePhysicalNetworkTest.java PRE-CREATION 
>   server/test/com/cloud/vpc/MockNetworkManagerImpl.java ead0051 
>   test/integration/smoke/test_non_contigiousvlan.py PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/10238/diff/
> 
> 
> Testing
> ---
> 
> Tested on latest master.
> 
> 
> Thanks,
> 
> bharat kumar
> 
>



Re: Review Request: Cloudstack-701 Support for non contiguous vlan ranges.

2013-04-12 Thread Abhinandan Prateek


> On April 12, 2013, 9:53 a.m., Abhinandan Prateek wrote:
> > Ship It!

The patch does not apply, can you resubmit after checking it.


- Abhinandan


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


On April 9, 2013, 3 p.m., bharat kumar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10238/
> ---
> 
> (Updated April 9, 2013, 3 p.m.)
> 
> 
> Review request for cloudstack and Abhinandan Prateek.
> 
> 
> Description
> ---
> 
> Cloudstack-701: Support for non contiguous vlan ranges.
> 
> 
> Diffs
> -
> 
>   api/src/com/cloud/network/NetworkService.java ab6d7bf 
>   api/src/com/cloud/network/PhysicalNetwork.java a2044a6 
>   api/src/org/apache/cloudstack/api/ApiConstants.java c518830 
>   
> api/src/org/apache/cloudstack/api/command/admin/network/UpdatePhysicalNetworkCmd.java
>  06cf38d 
>   server/src/com/cloud/api/ApiResponseHelper.java 64be7f8 
>   server/src/com/cloud/configuration/ConfigurationManagerImpl.java 1526fb0 
>   server/src/com/cloud/dc/dao/DataCenterVnetDao.java 79e91c4 
>   server/src/com/cloud/dc/dao/DataCenterVnetDaoImpl.java 5ded0f4 
>   server/src/com/cloud/network/ExternalFirewallDeviceManagerImpl.java ae00bf2 
>   server/src/com/cloud/network/NetworkServiceImpl.java 4eb620c 
>   server/src/com/cloud/network/dao/PhysicalNetworkVO.java e5ffcfb 
>   server/src/com/cloud/network/guru/GuestNetworkGuru.java 9c0205a 
>   server/src/com/cloud/resource/ResourceManagerImpl.java 82bca51 
>   server/test/com/cloud/network/MockNetworkManagerImpl.java 6da48ec 
>   server/test/com/cloud/network/UpdatePhysicalNetworkTest.java PRE-CREATION 
>   server/test/com/cloud/vpc/MockNetworkManagerImpl.java ead0051 
>   test/integration/smoke/test_non_contigiousvlan.py PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/10238/diff/
> 
> 
> Testing
> ---
> 
> Tested on latest master.
> 
> 
> Thanks,
> 
> bharat kumar
> 
>



Re: Review Request: Cloudstack-1534 Disable/Enable-unmanage/manage cluster is setting CPU overcommit and Memory overcommit ratio to 1(default value)

2013-04-12 Thread Abhinandan Prateek

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

Ship it!


Ship It!

- Abhinandan Prateek


On April 9, 2013, 11:13 a.m., bharat kumar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10368/
> ---
> 
> (Updated April 9, 2013, 11:13 a.m.)
> 
> 
> Review request for cloudstack and Abhinandan Prateek.
> 
> 
> Description
> ---
> 
> Cloudstack-1534 Disable/Enable-unmanage/manage cluster is setting CPU 
> overcommit  and Memory overcommit ratio to 1(default value)
> 
> 
> This addresses bug CLOUDSTACK-1534.
> 
> 
> Diffs
> -
> 
>   
> api/src/org/apache/cloudstack/api/command/admin/cluster/UpdateClusterCmd.java 
> 95728dd 
>   server/src/com/cloud/resource/ResourceManagerImpl.java 82bca51 
> 
> Diff: https://reviews.apache.org/r/10368/diff/
> 
> 
> Testing
> ---
> 
> tested on master.
> 
> 
> Thanks,
> 
> bharat kumar
> 
>



Re: Review Request: Cloudstack-1534 Disable/Enable-unmanage/manage cluster is setting CPU overcommit and Memory overcommit ratio to 1(default value)

2013-04-12 Thread ASF Subversion and Git Services

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


Commit 580731ccc0b03b54dde544ead30ae44eebc8f2f5 in branch refs/heads/master 
from Abhinandan Prateek 
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=580731c ]

CLOUDSTACK-1534 Disable/Enable-unmanaged/manage cluster is setting CPU 
overcommit and memory overcommit ratio to 1 (defalut value).

Signed-off-by: Abhinandan Prateek 


- ASF Subversion and Git Services


On April 9, 2013, 11:13 a.m., bharat kumar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10368/
> ---
> 
> (Updated April 9, 2013, 11:13 a.m.)
> 
> 
> Review request for cloudstack and Abhinandan Prateek.
> 
> 
> Description
> ---
> 
> Cloudstack-1534 Disable/Enable-unmanage/manage cluster is setting CPU 
> overcommit  and Memory overcommit ratio to 1(default value)
> 
> 
> This addresses bug CLOUDSTACK-1534.
> 
> 
> Diffs
> -
> 
>   
> api/src/org/apache/cloudstack/api/command/admin/cluster/UpdateClusterCmd.java 
> 95728dd 
>   server/src/com/cloud/resource/ResourceManagerImpl.java 82bca51 
> 
> Diff: https://reviews.apache.org/r/10368/diff/
> 
> 
> Testing
> ---
> 
> tested on master.
> 
> 
> Thanks,
> 
> bharat kumar
> 
>



Re: Review Request: Cloudstack-1534 Disable/Enable-unmanage/manage cluster is setting CPU overcommit and Memory overcommit ratio to 1(default value)

2013-04-12 Thread Abhinandan Prateek


> On April 12, 2013, 9:59 a.m., Abhinandan Prateek wrote:
> > Ship It!

committed


- Abhinandan


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


On April 9, 2013, 11:13 a.m., bharat kumar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10368/
> ---
> 
> (Updated April 9, 2013, 11:13 a.m.)
> 
> 
> Review request for cloudstack and Abhinandan Prateek.
> 
> 
> Description
> ---
> 
> Cloudstack-1534 Disable/Enable-unmanage/manage cluster is setting CPU 
> overcommit  and Memory overcommit ratio to 1(default value)
> 
> 
> This addresses bug CLOUDSTACK-1534.
> 
> 
> Diffs
> -
> 
>   
> api/src/org/apache/cloudstack/api/command/admin/cluster/UpdateClusterCmd.java 
> 95728dd 
>   server/src/com/cloud/resource/ResourceManagerImpl.java 82bca51 
> 
> Diff: https://reviews.apache.org/r/10368/diff/
> 
> 
> Testing
> ---
> 
> tested on master.
> 
> 
> Thanks,
> 
> bharat kumar
> 
>



Re: Review Request: Changes for Egress firewall rules feature support in SRX

2013-04-12 Thread Abhinandan Prateek


> On April 10, 2013, 6:01 p.m., Sheng Yang wrote:
> > Ship It!

The patch fails to apply on master please check and resubmit.


- Abhinandan


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


On April 10, 2013, 12:46 p.m., Jayapal Reddy wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10336/
> ---
> 
> (Updated April 10, 2013, 12:46 p.m.)
> 
> 
> Review request for cloudstack, Abhinandan Prateek, Sheng Yang, and Murali 
> Reddy.
> 
> 
> Description
> ---
> 
> Added egress firewall rules support for SRX device.
> Supported networks:
> 1. Advanced Isolated networks.
> 
> 
> This addresses bug CLOUDSTACK-779.
> 
> 
> Diffs
> -
> 
>   api/src/com/cloud/agent/api/to/FirewallRuleTO.java 7f77936 
>   
> plugins/network-elements/juniper-srx/src/com/cloud/network/element/JuniperSRXExternalFirewallElement.java
>  af0912a 
>   
> plugins/network-elements/juniper-srx/src/com/cloud/network/resource/JuniperSrxResource.java
>  8482168 
>   scripts/network/juniper/application-add.xml 6603850 
>   scripts/network/juniper/security-policy-add.xml 632a17d 
>   server/src/com/cloud/network/ExternalFirewallDeviceManagerImpl.java 1fc32d0 
>   server/src/com/cloud/upgrade/dao/Upgrade410to420.java f39038f 
> 
> Diff: https://reviews.apache.org/r/10336/diff/
> 
> 
> Testing
> ---
> 
> Unit Testing done.
> 
> 
> Thanks,
> 
> Jayapal Reddy
> 
>



RE: [Discuss] FS review-VMWare(Supporting DRS, HA)

2013-04-12 Thread Suresh Sadhu
Hi Kelven,

Hope you are working on this feature .Any updates on this feature. When can we 
expect the  FS with full implementation details .I have put my comments in the 
below link so that it's easy to track.


https://cwiki.apache.org/confluence/display/CLOUDSTACK/VMWare+Enhancements+-+Support+for+DRS+and+VM+HA?focusedCommentId=30753355&;

Regards
Sadhu

From: Suresh Sadhu
Sent: 18 January 2013 19:09
To: Hari Kannan; 'cloudstack-...@incubator.apache.org'; 
'cloudstack-us...@incubator.apache.org'
Subject: [Discuss] FS review-VMWare(Supporting DRS, HA

Hi Hari,

am the QA resource for this feature. I have reviewed the Functional spec and 
please find the review comments below:



1.Are we going to implement Cloudstack HA support for VMware or still will 
depend on Native HA.

2.Is the  Cloudstack HA support for VMware is only for DRS enabled cluster.

3.Are we going to address  open vmware vmsync issue as part of this feature 
enhancement.

4.please provide/update the FS with Flow/ implementation details ,like


n  How are we going to handle the power management

n  What happen CS and DRS tries to control the same vm at same time

n  How the CS will query/get info from DRS

n  Earlier  when the DRS enabled ,CS has no idea where the VM moved but it will 
try to query  all the hosts till it finds the moved VM by DRS and it will 
update the  host as  parent host. Now how this behaviour will work with your 
implementation.



n  How the Cloudstack handle VM replacement when& after Vm has been started

5.DRS with fully automated will impact host/cluster performance and 
network. Not sure why we added as requirement in FS (CloudStack must be able to 
support HA, load balancing and power management in a DRS cluster that is setup 
in a fully automated fashion )is there any specific reason.

Regards
Sadhu






[ACS41][Patch Request] CLOUDSTACK-1934: NPE with listSupportedNetworkServices

2013-04-12 Thread Murali Reddy

Please cherry-pick to 4.1

CLOUDSTACK-1934: NPE with listSupportedNetworkServices

For 'connectivity' network service current set of providers (MidoNet,
NiciraNcp) not necessarily part of OSS builds. So handle the case where
there are no providers for a service

Branch: refs/heads/master
Commit: c0419791ede331fff7151a5cee9a358c0400c272
Parents: 4ae3e5d
Author: Murali Reddy mailto:murali.re...@citrix.com>>
Authored: Fri Apr 12 16:44:03 2013 +0530
Committer: Murali Reddy 
mailto:murali.re...@citrix.com>>
Committed: Fri Apr 12 16:47:50 2013 +0530


Re: [ACS41] Help needed clearing bugs!

2013-04-12 Thread Murali Reddy
On 12/04/13 2:41 AM, "Chip Childers"  wrote:
>
>CLOUDSTACK-1934 NPE with listSupportedNetworkServices after upgrade from
>4.0 to 4.1 (Ubuntu MS)
>Unassigned

Submitted patch for 1934.



[QA]question on cloudstack-usage service

2013-04-12 Thread Suresh Sadhu
HI,


Any idea why usage server is stopped with unexpected exception(is there any 
issue exits/logged already),do we need to add any additional 
packages/rpm/configurations other than installing the usage server monitor"
Seen this issue on master build.


[root@rhel631 ~]# service cloudstack-usage start
Starting CloudStack Usage Monitor cloudstack-usage [  OK  ]
[root@rhel631 ~]# service cloudstack-usage status
cloudstack-usage (pid  20999) is running...
[root@rhel631 ~]# service cloudstack-usage status
cloudstack-usage is stopped


Content of cloudstack-usage.err:
*

log4j:WARN No appenders could be found for logger 
(org.springframework.core.env.StandardEnvironment).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at 
org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'portForwardingUsageParser': Injection of autowired 
dependencies failed; nested exception is 
org.springframework.beans.factory.BeanCreationException: Could not autowire 
field: private com.cloud.usage.dao.UsageDao 
com.cloud.usage.parser.PortForwardingUsageParser._usageDao; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'usageDaoImpl' defined in URL 
[jar:file:/usr/share/cloudstack-usage/lib/cloud-server-4.2.0-SNAPSHOT.jar!/com/cloud/usage/dao/UsageDaoImpl.class]:
 BeanPostProcessor before instantiation of bean failed; nested exception is 
net.sf.cglib.core.CodeGenerationException: 
java.lang.ExceptionInInitializerError-->null
at 
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:287)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
at 
org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:139)
at 
org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:83)
at com.cloud.usage.UsageServer.start(UsageServer.java:52)
... 5 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not 
autowire field: private com.cloud.usage.dao.UsageDao 
com.cloud.usage.parser.PortForwardingUsageParser._usageDao; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'usageDaoImpl' defined in URL 
[jar:file:/usr/share/cloudstack-usage/lib/cloud-server-4.2.0-SNAPSHOT.jar!/com/cloud/usage/dao/UsageDaoImpl.class]:
 BeanPostProcessor before instantiation of bean failed; nested exception is 
net.sf.cglib.core.CodeGenerationException: 
java.lang.ExceptionInInitializerError-->null
@


Re: Review Request: Cloudstack-1534 Disable/Enable-unmanage/manage cluster is setting CPU overcommit and Memory overcommit ratio to 1(default value)

2013-04-12 Thread ASF Subversion and Git Services

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


Commit 580731ccc0b03b54dde544ead30ae44eebc8f2f5 in branch 
refs/heads/marvin_refactor from Abhinandan Prateek 
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=580731c ]

CLOUDSTACK-1534 Disable/Enable-unmanaged/manage cluster is setting CPU 
overcommit and memory overcommit ratio to 1 (defalut value).

Signed-off-by: Abhinandan Prateek 


- ASF Subversion and Git Services


On April 9, 2013, 11:13 a.m., bharat kumar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10368/
> ---
> 
> (Updated April 9, 2013, 11:13 a.m.)
> 
> 
> Review request for cloudstack and Abhinandan Prateek.
> 
> 
> Description
> ---
> 
> Cloudstack-1534 Disable/Enable-unmanage/manage cluster is setting CPU 
> overcommit  and Memory overcommit ratio to 1(default value)
> 
> 
> This addresses bug CLOUDSTACK-1534.
> 
> 
> Diffs
> -
> 
>   
> api/src/org/apache/cloudstack/api/command/admin/cluster/UpdateClusterCmd.java 
> 95728dd 
>   server/src/com/cloud/resource/ResourceManagerImpl.java 82bca51 
> 
> Diff: https://reviews.apache.org/r/10368/diff/
> 
> 
> Testing
> ---
> 
> tested on master.
> 
> 
> Thanks,
> 
> bharat kumar
> 
>



Re: [ACS41] Help needed clearing bugs!

2013-04-12 Thread Chip Childers
On Thu, Apr 11, 2013 at 10:36:59PM -0700, Min Chen wrote:
> It seems to me that this patch will fix 1989, not 1987.
> Thanks
> -min

I'm going to commit that patch, and relate it to 1989.

> 
> On 4/11/13 6:24 PM, "Marcus Sorensen"  wrote:
> 
> >Does it fix 1989, or perhaps both?
> >
> >https://issues.apache.org/jira/browse/CLOUDSTACK-1989
> >On Apr 11, 2013 7:08 PM, "Min Chen"  wrote:
> >
> >> Hi Ryan,
> >>
> >> Maybe I overlooked something, but I could not understand how
> >>your
> >> patch
> >> is fixing CLOUDSTACK-1987. It would be appreciated if you can address my
> >> comment in that patch.
> >>
> >> Thanks
> >> -min
> >>
> >> On 4/11/13 5:52 PM, "Prachi Damle"  wrote:
> >>
> >> >Hi Ryan,
> >> >
> >> >Yes Sure, my bad,  will look at the patch first.
> >> >
> >> >Thanks,
> >> >Prachi
> >> >
> >> >-Original Message-
> >> >From: Ryan Dietrich [mailto:r...@betterservers.com]
> >> >Sent: Thursday, April 11, 2013 5:46 PM
> >> >To: dev@cloudstack.apache.org
> >> >Subject: Re: [ACS41] Help needed clearing bugs!
> >> >
> >> >Could you look at this first?
> >> >
> >> >https://reviews.apache.org/r/10426/
> >> >
> >> >On Apr 11, 2013, at 6:25 PM, Prachi Damle 
> >> wrote:
> >> >


Re: Review Request: Fix for CLOUDSTACK-1989

2013-04-12 Thread Chip Childers

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

(Updated April 12, 2013, 12:58 p.m.)


Review request for cloudstack, Chip Childers and Marcus Sorensen.


Summary (updated)
-

Fix for CLOUDSTACK-1989


Description
---

So, without this fix you can't query service offerings that don't have a domain 
id set (null).


This addresses bug CLOUDSTACK-1989.


Diffs
-

  server/src/com/cloud/api/query/QueryManagerImpl.java 951d09e 

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


Testing
---

Called "listServiceOfferings" using a simple perl script, once with an ID, and 
once without an ID specified.


Thanks,

Ryan Dietrich



Re: Review Request: Fix for CLOUDSTACK-1989

2013-04-12 Thread ASF Subversion and Git Services

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


Commit b20e29cffcafb4cb781b360a55203e4ef3dee968 in branch refs/heads/4.1 from 
Chip Childers 
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=b20e29c ]

CLOUDSTACK-1989: Without this fix you can't query service offerings
that don't have a domain id set (null).

Tested via: Called "listServiceOfferings" using a simple perl script,
once with an ID, and once without an ID specified.

Signed-off-by: Chip Childers 


- ASF Subversion and Git Services


On April 12, 2013, 12:58 p.m., Ryan Dietrich wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10426/
> ---
> 
> (Updated April 12, 2013, 12:58 p.m.)
> 
> 
> Review request for cloudstack, Chip Childers and Marcus Sorensen.
> 
> 
> Description
> ---
> 
> So, without this fix you can't query service offerings that don't have a 
> domain id set (null).
> 
> 
> This addresses bug CLOUDSTACK-1989.
> 
> 
> Diffs
> -
> 
>   server/src/com/cloud/api/query/QueryManagerImpl.java 951d09e 
> 
> Diff: https://reviews.apache.org/r/10426/diff/
> 
> 
> Testing
> ---
> 
> Called "listServiceOfferings" using a simple perl script, once with an ID, 
> and once without an ID specified.
> 
> 
> Thanks,
> 
> Ryan Dietrich
> 
>



Re: Review Request: Fix for CLOUDSTACK-1989

2013-04-12 Thread ASF Subversion and Git Services

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


Commit 38df62865d905aeac49fac7c32b66c7099036867 in branch refs/heads/master 
from Chip Childers 
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=38df628 ]

CLOUDSTACK-1989: Without this fix you can't query service offerings
that don't have a domain id set (null).

Tested via: Called "listServiceOfferings" using a simple perl script,
once with an ID, and once without an ID specified.

Signed-off-by: Chip Childers 


- ASF Subversion and Git Services


On April 12, 2013, 12:58 p.m., Ryan Dietrich wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10426/
> ---
> 
> (Updated April 12, 2013, 12:58 p.m.)
> 
> 
> Review request for cloudstack, Chip Childers and Marcus Sorensen.
> 
> 
> Description
> ---
> 
> So, without this fix you can't query service offerings that don't have a 
> domain id set (null).
> 
> 
> This addresses bug CLOUDSTACK-1989.
> 
> 
> Diffs
> -
> 
>   server/src/com/cloud/api/query/QueryManagerImpl.java 951d09e 
> 
> Diff: https://reviews.apache.org/r/10426/diff/
> 
> 
> Testing
> ---
> 
> Called "listServiceOfferings" using a simple perl script, once with an ID, 
> and once without an ID specified.
> 
> 
> Thanks,
> 
> Ryan Dietrich
> 
>



Re: [ACS41][Patch Request] CLOUDSTACK-1934: NPE with listSupportedNetworkServices

2013-04-12 Thread Chip Childers
On Fri, Apr 12, 2013 at 11:21:10AM +, Murali Reddy wrote:
> 
> Please cherry-pick to 4.1
> 
> CLOUDSTACK-1934: NPE with listSupportedNetworkServices
> 
> For 'connectivity' network service current set of providers (MidoNet,
> NiciraNcp) not necessarily part of OSS builds. So handle the case where
> there are no providers for a service
> 
> Branch: refs/heads/master
> Commit: c0419791ede331fff7151a5cee9a358c0400c272
> Parents: 4ae3e5d
> Author: Murali Reddy mailto:murali.re...@citrix.com>>
> Authored: Fri Apr 12 16:44:03 2013 +0530
> Committer: Murali Reddy 
> mailto:murali.re...@citrix.com>>
> Committed: Fri Apr 12 16:47:50 2013 +0530

ACK - Done:

commit 641594aa2ff6fb6d1a4208e71a1cf1bcd1d18f09
Author: Murali Reddy 
Date:   Fri Apr 12 16:44:03 2013 +0530

CLOUDSTACK-1934: NPE with listSupportedNetworkServices

For 'connectivity' network service current set of providers (MidoNet,
NiciraNcp) not necessarily part of OSS builds. So handle the case where
there are no providers for a service


Re: Review Request: Fix for CLOUDSTACK-1987

2013-04-12 Thread Chip Childers
On Fri, Apr 12, 2013 at 05:38:28AM +, Min Chen wrote:
> 
> 
> > On April 12, 2013, 5:28 a.m., Min Chen wrote:
> > > server/src/com/cloud/api/query/QueryManagerImpl.java, line 2111
> > > 
> > >
> > > For domain users, they should not be able to query system offerings. 
> > > This fix didn't guard that case.
> 
> If this patch is to fix 1989 (instead of 1987), then the patch looks fine to 
> me. Based on ML discussion, it seems that we need to update this review 
> summary to clarify that it is to fix CLOUDSTACK-1989.

Summary corrected, and applied.  I resolved 1989.

We still need a fix for 1987


RE: Documentation How-To

2013-04-12 Thread Radhika Puthiyetath
Hi Jason,

Thanks a bunch for reviewing the dvSwitch documentation.

This feature is not part of 4.1. However, this feature checked into Master.

Please do try on the master build.

Regards
-Radhika

From: Jason Cadmus [mailto:jdcad...@gmail.com]
Sent: Friday, April 12, 2013 12:53 AM
To: Radhika Puthiyetath
Subject: Re: Documentation How-To

Hi Radhika,

I have installed ACS 4.1 SNAPSHOT and started reviewing your documentation I 
have conducted my implimentation.

I am not seeing a global setting for vmware.use.dvswitch as stated in "Enabling 
Virtual Distributed Switching" Section 8.3.7.3 of the PDF you attached in a 
previous email.

Although i do see vmware.use.nexsus.vswitch in global settings.

Is that option needed for VDS capabilities, or has it been deprecated as of ACS 
4.1?

Thanks,
JC
On Tue, Apr 9, 2013 at 11:37 AM, Radhika Puthiyetath 
mailto:radhika.puthiyet...@citrix.com>> wrote:
Hi Jason,

Here is the documentation.

Please see 8.3.7. Configuring a vSphere Cluster with VMware Distributed Virtual 
Switch (page no. 108)

Thanks
-Radhika

-Original Message-
From: Jason Cadmus [mailto:jdcad...@gmail.com]
Sent: Tuesday, April 09, 2013 8:42 PM
To: dev@cloudstack.apache.org
Subject: Documentation How-To
I am working on installing/testing/documenting CS 4.10 on vSphere 5.1 using 
vDistributed Switching with CS advanced networking. Can someone please give me 
some insight on the proper way to contribute to CS formal documentation?

--
Thanks,
JC



--
Thanks,
JC


Re: Edit access to Jira

2013-04-12 Thread Chip Childers
On Fri, Apr 12, 2013 at 04:35:54AM +, Shweta Agarwal wrote:
> Can someone please provide edit access to jira.
> 
> User name : shweta.agar...@citrix.com
> 
> Mail Id : shweta.agar...@citrix.com
> 
> Thanks
> Shweta

Done!


Re: [MERGE] ASA 1000v as external firewall in isolated guest networks

2013-04-12 Thread Chip Childers
On Fri, Apr 12, 2013 at 06:39:29AM +, Koushik Das wrote:
> Currently there are no functional tests, did e2e tests manually.
> There are some external setup that is required which then needs to be added 
> to Cloudstack like Nexus 1000v, VNMC, ASA 1000v appliance details. I don't 
> see any existing tests related to Vmware/Nexus stuff which I can reuse, so 
> implementing all these steps would need some time.
> 
> So wanted to check if it is ok to merge now and add the functional tests 
> subsequently?

Before we merge it in, can we first discuss how we want to hand this
sort of thing?  It seems that at least a marvin test, not run by
default, would be helpful here.  Certainly documentation on how to setup
an environment to support the test is also needed.

Do other's have thoughts on this?


Re: Review Request: Fixed typo in public class

2013-04-12 Thread Chip Childers

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

Ship it!


committed to 4.1 and master.  Thanks!

- Chip Childers


On April 12, 2013, 4:11 a.m., Pascal Borreli wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10427/
> ---
> 
> (Updated April 12, 2013, 4:11 a.m.)
> 
> 
> Review request for cloudstack, Chip Childers, Joe Brockmeier, and Sebastien 
> Goasguen.
> 
> 
> Description
> ---
> 
> Fixed typo in public class, made a Review Board with only that as it could be 
> problematic (BC, external class using it)
> 
> 
> Diffs
> -
> 
>   client/WEB-INF/classes/resources/messages_de_DE.properties 5c7fc63 
>   
> engine/storage/integration-test/test/org/apache/cloudstack/storage/test/DirectAgentTest.java
>  2d6b94f 
>   
> engine/storage/src/org/apache/cloudstack/storage/command/CreateVolumeFromBaseImageCommand.java
>  f4be067 
>   
> engine/storage/src/org/apache/cloudstack/storage/to/ImageOnPrimayDataStoreTO.java
>  18743d7 
>   
> plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServerStorageResource.java
>  70660d2 
> 
> Diff: https://reviews.apache.org/r/10427/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Pascal Borreli
> 
>



Re: [MERGE] ASA 1000v as external firewall in isolated guest networks

2013-04-12 Thread Prasanna Santhanam
On Fri, Apr 12, 2013 at 09:20:39AM -0400, Chip Childers wrote:
> On Fri, Apr 12, 2013 at 06:39:29AM +, Koushik Das wrote:
> > Currently there are no functional tests, did e2e tests manually.
> > There are some external setup that is required which then needs to be added 
> > to Cloudstack like Nexus 1000v, VNMC, ASA 1000v appliance details. I don't 
> > see any existing tests related to Vmware/Nexus stuff which I can reuse, so 
> > implementing all these steps would need some time.
> > 
> > So wanted to check if it is ok to merge now and add the functional tests 
> > subsequently?
> 
> Before we merge it in, can we first discuss how we want to hand this
> sort of thing?  It seems that at least a marvin test, not run by
> default, would be helpful here.  Certainly documentation on how to setup
> an environment to support the test is also needed.
> 
> Do other's have thoughts on this?

+1 - I can spare some hardware to host virtual instances of the ASA
appliance. We do NetScaler VPXs in this fashion. But I'm not sure what
kind of pre-programming will be required on the ASA to run the test.
So some documentation would certainly help.

-- 
Prasanna.,


Re: Review Request: (CLOUDSTACK-2017) implement network bandwidth rate limits for VMs for KVM

2013-04-12 Thread Chip Childers

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


Wei,

Any chance you can provide unit tests and / or a marvin test that covers this 
functionality? I know it's a bit of an odd part of the code to have an 
automated test for, but we'd love to see something added with each incremental 
functional change we make.

-chip

- Chip Childers


On April 12, 2013, 6:33 a.m., Wei Zhou wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10428/
> ---
> 
> (Updated April 12, 2013, 6:33 a.m.)
> 
> 
> Review request for cloudstack.
> 
> 
> Description
> ---
> 
> Adding bandwidth inbound and outbound limitations in VM XML file to implement 
> network bandwidth rate limits for VMs for KVM.
> It is supported since libvirt 0.9.4.
> 
> The patch only applies on CloudStack 4.0.1 branch.
> If commited, I will change it to support 4.1 and master branch.
> 
> 
> This addresses bug CLOUDSTACK-2017.
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/BridgeVifDriver.java
>  f406c86 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtDomainXMLParser.java
>  b622b6d 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java
>  ba6c715 
> 
> Diff: https://reviews.apache.org/r/10428/diff/
> 
> 
> Testing
> ---
> 
> Testing manually ok.
> The VMs need to stop and start to make network bandwidth limits effective.
> 
> 
> Thanks,
> 
> Wei Zhou
> 
>



Re: [MERGE] ASA 1000v as external firewall in isolated guest networks

2013-04-12 Thread Chip Childers
On Fri, Apr 12, 2013 at 06:55:56PM +0530, Prasanna Santhanam wrote:
> On Fri, Apr 12, 2013 at 09:20:39AM -0400, Chip Childers wrote:
> > On Fri, Apr 12, 2013 at 06:39:29AM +, Koushik Das wrote:
> > > Currently there are no functional tests, did e2e tests manually.
> > > There are some external setup that is required which then needs to be 
> > > added to Cloudstack like Nexus 1000v, VNMC, ASA 1000v appliance details. 
> > > I don't see any existing tests related to Vmware/Nexus stuff which I can 
> > > reuse, so implementing all these steps would need some time.
> > > 
> > > So wanted to check if it is ok to merge now and add the functional tests 
> > > subsequently?
> > 
> > Before we merge it in, can we first discuss how we want to hand this
> > sort of thing?  It seems that at least a marvin test, not run by
> > default, would be helpful here.  Certainly documentation on how to setup
> > an environment to support the test is also needed.
> > 
> > Do other's have thoughts on this?
> 
> +1 - I can spare some hardware to host virtual instances of the ASA
> appliance. We do NetScaler VPXs in this fashion. But I'm not sure what
> kind of pre-programming will be required on the ASA to run the test.
> So some documentation would certainly help.

Koushik,

I think that it will require working with Prasanna to get a Marvin test
suite for the feature ready to go.  I'd personally like to see that
*prior* to the merge into master.  We need to "up our game" on automated
testing of new features, so that we stop digging ourselves deeper and
deeper into a hole.

-chip


The given command does not exist or it is not available for user

2013-04-12 Thread Paul Angus
Hi All,

When I try to log in to the current build of CloudStack 4.1 I get an error in 
the browser:

The given command does not exist or it is not available for user

The management-server.log shows:

2013-04-12 13:52:55,796 DEBUG [cloud.user.AccountManagerImpl] 
(catalina-exec-18:null) Attempting to log in user: admin in domain 1
2013-04-12 13:52:55,796 DEBUG [server.auth.MD5UserAuthenticator] 
(catalina-exec-18:null) Retrieving user: admin
2013-04-12 13:52:55,803 DEBUG [cloud.user.AccountManagerImpl] 
(catalina-exec-18:null) User: admin in domain 1 has successfully logged in
2013-04-12 13:52:55,822 DEBUG [cloud.api.ApiServlet] (catalina-exec-18:null) 
===END===  10.0.1.31 -- POST  null
2013-04-12 13:52:55,852 DEBUG [cloud.api.ApiServlet] (catalina-exec-6:null) 
===START===  10.0.1.31 -- GET  
command=listCapabilities&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7s%3D&_=1365771173024
2013-04-12 13:52:55,858 DEBUG [cloud.api.ApiServer] (catalina-exec-6:null) The 
given command:listCapabilities does not exist or it is not available for user 
with id:2
2013-04-12 13:52:55,859 DEBUG [cloud.api.ApiServlet] (catalina-exec-6:null) 
===END===  10.0.1.31 -- GET  
command=listCapabilities&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7s%3D&_=1365771173024
2013-04-12 13:52:55,889 DEBUG [cloud.api.ApiServlet] (catalina-exec-7:null) 
===START===  10.0.1.31 -- GET  
command=listSwifts&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7s%3D&_=1365771173059
2013-04-12 13:52:55,895 DEBUG [cloud.api.ApiServer] (catalina-exec-7:null) The 
given command:listSwifts does not exist or it is not available for user with 
id:2
2013-04-12 13:52:55,896 DEBUG [cloud.api.ApiServlet] (catalina-exec-7:null) 
===END===  10.0.1.31 -- GET  
command=listSwifts&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7s%3D&_=1365771173059

Any ideas anyone?

Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com | 
www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: The given command does not exist or it is not available for user

2013-04-12 Thread Marcus Sorensen
Is it an upgrade, or a fresh install? Which OS? Installed via package?
Generally this points to something during the startup not finishing, so you
may want to scroll up well beyond the actual login attempt to see if
something failed. I believe I saw this once when it couldn't find the cloud
user's home (since it changed to /var/cloudstack/management) or wasn't
owned/writable by cloud to set up ssh keys there, and maybe once during a
botched DB upgrade.


On Fri, Apr 12, 2013 at 7:57 AM, Paul Angus wrote:

>  Hi All,
>
>
>
> When I try to log in to the current build of CloudStack 4.1 I get an error
> in the browser:
>
>
>
> The given command does not exist or it is not available for user
>
>
>
> The management-server.log shows:
>
>
>
> 2013-04-12 13:52:55,796 DEBUG [cloud.user.AccountManagerImpl]
> (catalina-exec-18:null) Attempting to log in user: admin in domain 1
>
> 2013-04-12 13:52:55,796 DEBUG [server.auth.MD5UserAuthenticator]
> (catalina-exec-18:null) Retrieving user: admin
>
> 2013-04-12 13:52:55,803 DEBUG [cloud.user.AccountManagerImpl]
> (catalina-exec-18:null) User: admin in domain 1 has successfully logged in
>
> 2013-04-12 13:52:55,822 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-18:null) ===END===  10.0.1.31 -- POST  null
>
> 2013-04-12 13:52:55,852 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-6:null) ===START===  10.0.1.31 -- GET
> command=listCapabilities&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7s%3D&_=1365771173024
>
> 2013-04-12 13:52:55,858 DEBUG [cloud.api.ApiServer] (catalina-exec-6:null)
> The given command:listCapabilities does not exist or it is not available
> for user with id:2
>
> 2013-04-12 13:52:55,859 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-6:null) ===END===  10.0.1.31 -- GET
> command=listCapabilities&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7s%3D&_=1365771173024
>
> 2013-04-12 13:52:55,889 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-7:null) ===START===  10.0.1.31 -- GET
> command=listSwifts&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7s%3D&_=1365771173059
>
> 2013-04-12 13:52:55,895 DEBUG [cloud.api.ApiServer] (catalina-exec-7:null)
> The given command:listSwifts does not exist or it is not available for user
> with id:2
>
> 2013-04-12 13:52:55,896 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-7:null) ===END===  10.0.1.31 -- GET
> command=listSwifts&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7s%3D&_=1365771173059
>
>
>
> Any ideas anyone?
>
>
>
> Regards
>
>
>
> Paul Angus
>
> *Senior Consultant / Cloud Architect*
>
>
>
> [image: cid:image002.png@01CE1071.C6CC9C10]
>
>
>
> S: +44 20 3603 0540 <+442036030540> | M: +4 <+447968161581>47711418784
>
> paul.an...@shapeblue.com  |
> www.shapeblue.com | Twitter:@shapeblue 
>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
>
>  This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is
> operated under license from Shape Blue Ltd. ShapeBlue is a registered
> trademark.
>


Re: git commit: updated refs/heads/master to 4e5a8a0

2013-04-12 Thread Milamber

This commits seems have introduce a bug:

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile 
(default-compile) on project cloud-engine-storage: Compilation failure
[ERROR] 
/root/cloudstack-dev/dist/rpmbuild/BUILD/cloudstack-4.1.0-SNAPSHOT/engine/storage/src/org/apache/cloudstack/storage/to/ImageOnPrimayDataStoreTO.java:[23,7] 
class ImageOnPrimaryDataStoreTO is public, should be declared in a file 
named ImageOnPrimaryDataStoreTO.java

[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the 
-e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, 
please read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

[ERROR]
[ERROR] After correcting the problems, you can resume the build with the 
command

[ERROR]   mvn  -rf :cloud-engine-storage
error: Bad exit status from /var/tmp/rpm-tmp.Wuyn34 (%build)


Le 12/04/2013 13:14, chipchild...@apache.org a ecrit :

Updated Branches:
   refs/heads/master 0f8a46c58 ->  4e5a8a0f8


Fixed Primary typo

Conflicts:

client/WEB-INF/classes/resources/messages_de_DE.properties


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/4e5a8a0f
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/4e5a8a0f
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/4e5a8a0f

Branch: refs/heads/master
Commit: 4e5a8a0f8adcc665755229ee3d18f40913d15913
Parents: 0f8a46c
Author: Pascal Borreli
Authored: Fri Apr 12 03:53:51 2013 +
Committer: Chip Childers
Committed: Fri Apr 12 14:14:44 2013 +0100

--
  .../cloudstack/storage/test/DirectAgentTest.java   |4 ++--
  .../command/CreateVolumeFromBaseImageCommand.java  |6 +++---
  .../storage/to/ImageOnPrimayDataStoreTO.java   |4 ++--
  .../xen/resource/XenServerStorageResource.java |4 ++--
  4 files changed, 9 insertions(+), 9 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/4e5a8a0f/engine/storage/integration-test/test/org/apache/cloudstack/storage/test/DirectAgentTest.java
--
diff --git 
a/engine/storage/integration-test/test/org/apache/cloudstack/storage/test/DirectAgentTest.java
 
b/engine/storage/integration-test/test/org/apache/cloudstack/storage/test/DirectAgentTest.java
index 2d6b94f..fc4aea8 100644
--- 
a/engine/storage/integration-test/test/org/apache/cloudstack/storage/test/DirectAgentTest.java
+++ 
b/engine/storage/integration-test/test/org/apache/cloudstack/storage/test/DirectAgentTest.java
@@ -23,7 +23,7 @@ import java.util.UUID;
  import javax.inject.Inject;

  import org.apache.cloudstack.storage.to.ImageDataStoreTO;
-import org.apache.cloudstack.storage.to.ImageOnPrimayDataStoreTO;
+import org.apache.cloudstack.storage.to.ImageOnPrimaryDataStoreTO;
  import org.apache.cloudstack.storage.to.PrimaryDataStoreTO;
  import org.apache.cloudstack.storage.to.TemplateTO;
  import org.mockito.Mockito;
@@ -126,7 +126,7 @@ public class DirectAgentTest extends CloudStackTestNGBase {

  @Test
  public void testDownloadTemplate() {
-ImageOnPrimayDataStoreTO image = 
Mockito.mock(ImageOnPrimayDataStoreTO.class);
+ImageOnPrimaryDataStoreTO image = 
Mockito.mock(ImageOnPrimaryDataStoreTO.class);
  PrimaryDataStoreTO primaryStore = 
Mockito.mock(PrimaryDataStoreTO.class);
  
Mockito.when(primaryStore.getUuid()).thenReturn(this.getLocalStorageUuid());
  Mockito.when(image.getPrimaryDataStore()).thenReturn(primaryStore);

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/4e5a8a0f/engine/storage/src/org/apache/cloudstack/storage/command/CreateVolumeFromBaseImageCommand.java
--
diff --git 
a/engine/storage/src/org/apache/cloudstack/storage/command/CreateVolumeFromBaseImageCommand.java
 
b/engine/storage/src/org/apache/cloudstack/storage/command/CreateVolumeFromBaseImageCommand.java
index f4be067..1734bc4 100644
--- 
a/engine/storage/src/org/apache/cloudstack/storage/command/CreateVolumeFromBaseImageCommand.java
+++ 
b/engine/storage/src/org/apache/cloudstack/storage/command/CreateVolumeFromBaseImageCommand.java
@@ -18,14 +18,14 @@
   */
  package org.apache.cloudstack.storage.command;

-import org.apache.cloudstack.storage.to.ImageOnPrimayDataStoreTO;
+import org.apache.cloudstack.storage.to.ImageOnPrimaryDataStoreTO;
  import org.apache.cloudstack.storage.to.VolumeTO;

  import com.cloud.agent.api.Command;

  public class CreateVolumeFromBaseImageCommand extends Command implements 
StorageSubSystemCommand {
  private final VolumeTO

Re: git commit: updated refs/heads/master to 4e5a8a0

2013-04-12 Thread Chip Childers
On Fri, Apr 12, 2013 at 02:12:04PM +, Milamber wrote:
> This commits seems have introduce a bug:

Indeed - reverting now.

> 
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
> (default-compile) on project cloud-engine-storage: Compilation
> failure
> [ERROR] 
> /root/cloudstack-dev/dist/rpmbuild/BUILD/cloudstack-4.1.0-SNAPSHOT/engine/storage/src/org/apache/cloudstack/storage/to/ImageOnPrimayDataStoreTO.java:[23,7]
> class ImageOnPrimaryDataStoreTO is public, should be declared in a
> file named ImageOnPrimaryDataStoreTO.java
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with
> the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible
> solutions, please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with
> the command
> [ERROR]   mvn  -rf :cloud-engine-storage
> error: Bad exit status from /var/tmp/rpm-tmp.Wuyn34 (%build)


Re: git commit: updated refs/heads/master to 4e5a8a0

2013-04-12 Thread Chip Childers
On Fri, Apr 12, 2013 at 02:12:04PM +, Milamber wrote:
> This commits seems have introduce a bug:
> 
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
> (default-compile) on project cloud-engine-storage: Compilation
> failure
> [ERROR] 
> /root/cloudstack-dev/dist/rpmbuild/BUILD/cloudstack-4.1.0-SNAPSHOT/engine/storage/src/org/apache/cloudstack/storage/to/ImageOnPrimayDataStoreTO.java:[23,7]
> class ImageOnPrimaryDataStoreTO is public, should be declared in a
> file named ImageOnPrimaryDataStoreTO.java
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with
> the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible
> solutions, please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with
> the command
> [ERROR]   mvn  -rf :cloud-engine-storage
> error: Bad exit status from /var/tmp/rpm-tmp.Wuyn34 (%build)

I reverted.  It should build fine now.


Re: Master broken

2013-04-12 Thread Chip Childers
On Thu, Apr 11, 2013 at 05:57:01PM -0700, Kelven Yang wrote:
> These issues are caused by that some of components are not really mocked,
> instead, they are loaded directly main source.
> 
> One of the benefits from Spring is that it integrates with Mokito nicely,
> all we need is to probably have a base test configuration that returns all
> mocked DAOs or other common components and then have all unit test purely
> written against mocked components.
> 
> We need to finalize the way to write Java unit test so that everyone can
> follow to reduce the frequency/prevent these from happening. I'll find
> some time to update the Unit-test guideline document in wiki, cleanup
> things in this area and re-enable all unit tests in the build.

+1 to this...  that would be great to get sorted out Kelven!


What should be the expected behaviour when VM is deployed (not through CloudStack) on CloudStack managed hosts? Was" [IP Reservation] Is VM creation using the reserved IPs on cloudstack managed hosts

2013-04-12 Thread Saksham Srivastava
Changing the subject  and reposting.

-Original Message-
From: Abhinav Roy [mailto:abhinav@citrix.com] 
Sent: Tuesday, April 02, 2013 10:36 AM
To: dev@cloudstack.apache.org
Subject: RE: [IP Reservation] Is VM creation using the reserved IPs on 
cloudstack managed hosts supported?


Hi,

Is creation of VMs using the reserved IP (after doing IP reservation) on 
cloudstack managed hosts supported? Because when I tried to do that the VM got 
destroyed as soon as it was created.
While on hosts which are not managed by cloudstack VM creation using reserved 
IPs went through.



Thanks and regards,
Abhinav


RE: The given command does not exist or it is not available for user

2013-04-12 Thread Paul Angus
Hi Marcus,

It was a clean install from an OSS build created from git pull of 4.1-SNAPSHOT 
this morning. The VM is CentOS 6.3.

I did see a previous post with a similar issue and so I checked 
/var/cloudstack/management - it does exist.

I'll look earlier in the log as you suggest...

(Thanks)

Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Marcus Sorensen [mailto:shadow...@gmail.com]
Sent: 12 April 2013 15:09
To: dev@cloudstack.apache.org
Subject: Re: The given command does not exist or it is not available for user

Is it an upgrade, or a fresh install? Which OS? Installed via package?
Generally this points to something during the startup not finishing, so you may 
want to scroll up well beyond the actual login attempt to see if something 
failed. I believe I saw this once when it couldn't find the cloud user's home 
(since it changed to /var/cloudstack/management) or wasn't owned/writable by 
cloud to set up ssh keys there, and maybe once during a botched DB upgrade.


On Fri, Apr 12, 2013 at 7:57 AM, Paul Angus wrote:

>  Hi All,
>
>
>
> When I try to log in to the current build of CloudStack 4.1 I get an
> error in the browser:
>
>
>
> The given command does not exist or it is not available for user
>
>
>
> The management-server.log shows:
>
>
>
> 2013-04-12 13:52:55,796 DEBUG [cloud.user.AccountManagerImpl]
> (catalina-exec-18:null) Attempting to log in user: admin in domain 1
>
> 2013-04-12 13:52:55,796 DEBUG [server.auth.MD5UserAuthenticator]
> (catalina-exec-18:null) Retrieving user: admin
>
> 2013-04-12 13:52:55,803 DEBUG [cloud.user.AccountManagerImpl]
> (catalina-exec-18:null) User: admin in domain 1 has successfully
> logged in
>
> 2013-04-12 13:52:55,822 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-18:null) ===END===  10.0.1.31 -- POST  null
>
> 2013-04-12 13:52:55,852 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-6:null) ===START===  10.0.1.31 -- GET
> command=listCapabilities&response=json&sessionkey=HCJMmPaamkJis00sLcGZ
> 0CDZO7s%3D&_=1365771173024
>
> 2013-04-12 13:52:55,858 DEBUG [cloud.api.ApiServer]
> (catalina-exec-6:null) The given command:listCapabilities does not
> exist or it is not available for user with id:2
>
> 2013-04-12 13:52:55,859 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-6:null) ===END===  10.0.1.31 -- GET
> command=listCapabilities&response=json&sessionkey=HCJMmPaamkJis00sLcGZ
> 0CDZO7s%3D&_=1365771173024
>
> 2013-04-12 13:52:55,889 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-7:null) ===START===  10.0.1.31 -- GET
> command=listSwifts&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7
> s%3D&_=1365771173059
>
> 2013-04-12 13:52:55,895 DEBUG [cloud.api.ApiServer]
> (catalina-exec-7:null) The given command:listSwifts does not exist or
> it is not available for user with id:2
>
> 2013-04-12 13:52:55,896 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-7:null) ===END===  10.0.1.31 -- GET
> command=listSwifts&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7
> s%3D&_=1365771173059
>
>
>
> Any ideas anyone?
>
>
>
> Regards
>
>
>
> Paul Angus
>
> *Senior Consultant / Cloud Architect*
>
>
>
> [image: cid:image002.png@01CE1071.C6CC9C10]
>
>
>
> S: +44 20 3603 0540 <+442036030540> | M: +4 <+447968161581>47711418784
>
> paul.an...@shapeblue.com  |
> www.shapeblue.com | Twitter:@shapeblue 
>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
>
>  This email and any attachments to it may be confidential and are
> intended solely for the use of the individual to whom it is addressed.
> Any views or opinions expressed are solely those of the author and do
> not necessarily represent those of Shape Blue Ltd or related
> companies. If you are not the intended recipient of this email, you
> must neither take any action based upon its contents, nor copy or show
> it to anyone. Please contact the sender if you believe you have
> received this email in error. Shape Blue Ltd is a company incorporated
> in England & Wales. ShapeBlue Services India LLP is operated under
> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>
This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



RE: Master broken

2013-04-12 Thread Rajesh Battala
+1 It would be very nice to see a wiki page how to write unit test. It would be 
great help.

Thanks
Rajesh Battala

> -Original Message-
> From: Chip Childers [mailto:chip.child...@sungard.com]
> Sent: Friday, April 12, 2013 7:57 PM
> To: dev@cloudstack.apache.org
> Subject: Re: Master broken
> 
> On Thu, Apr 11, 2013 at 05:57:01PM -0700, Kelven Yang wrote:
> > These issues are caused by that some of components are not really
> > mocked, instead, they are loaded directly main source.
> >
> > One of the benefits from Spring is that it integrates with Mokito
> > nicely, all we need is to probably have a base test configuration that
> > returns all mocked DAOs or other common components and then have all
> > unit test purely written against mocked components.
> >
> > We need to finalize the way to write Java unit test so that everyone
> > can follow to reduce the frequency/prevent these from happening. I'll
> > find some time to update the Unit-test guideline document in wiki,
> > cleanup things in this area and re-enable all unit tests in the build.
> 
> +1 to this...  that would be great to get sorted out Kelven!


Review Request: Fixed Primary typo

2013-04-12 Thread Pascal Borreli

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

Review request for cloudstack and Chip Childers.


Description
---

Fixing typos "Primay" / "Primayr" to "Primary"


Diffs
-

  
engine/storage/integration-test/test/org/apache/cloudstack/storage/test/DirectAgentTest.java
 2d6b94f 
  
engine/storage/src/org/apache/cloudstack/storage/command/CreateVolumeFromBaseImageCommand.java
 f4be067 
  
engine/storage/src/org/apache/cloudstack/storage/datastore/provider/DataStoreProviderManagerImpl.java
 91b6c63 
  
engine/storage/src/org/apache/cloudstack/storage/to/ImageOnPrimaryDataStoreTO.java
 PRE-CREATION 
  
engine/storage/src/org/apache/cloudstack/storage/to/ImageOnPrimayDataStoreTO.java
 18743d7 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServerStorageResource.java
 9c29149 

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


Testing
---


Thanks,

Pascal Borreli



Re: What should be the expected behaviour when VM is deployed (not through CloudStack) on CloudStack managed hosts? Was" [IP Reservation] Is VM creation using the reserved IPs on cloudstack managed ho

2013-04-12 Thread Ahmad Emneina
cloudstack doesnt allow vm's to be created, on hosts it manages, outside of
its knowledge. this is expected default behavior. Not sure if there are any
flags to ignore these vm's...


On Fri, Apr 12, 2013 at 8:00 AM, Saksham Srivastava <
saksham.srivast...@citrix.com> wrote:

> Changing the subject  and reposting.
>
> -Original Message-
> From: Abhinav Roy [mailto:abhinav@citrix.com]
> Sent: Tuesday, April 02, 2013 10:36 AM
> To: dev@cloudstack.apache.org
> Subject: RE: [IP Reservation] Is VM creation using the reserved IPs on
> cloudstack managed hosts supported?
>
>
> Hi,
>
> Is creation of VMs using the reserved IP (after doing IP reservation) on
> cloudstack managed hosts supported? Because when I tried to do that the VM
> got destroyed as soon as it was created.
> While on hosts which are not managed by cloudstack VM creation using
> reserved IPs went through.
>
>
>
> Thanks and regards,
> Abhinav
>


Can DevCloud2 be run without installing a development library on my laptop?

2013-04-12 Thread Donal Lafferty
ATM, DevCloud2 is only suitable for developers.  The instructions require you 
to compile the management server on the host machine.

If DevCloud2's base VM were put on a bridged network, would I be able to 
compile and run the management server on Dom0 of the DevCloud2 appliance?

DL


Re: Can DevCloud2 be run without installing a development library on my laptop?

2013-04-12 Thread Chip Childers
On Fri, Apr 12, 2013 at 04:25:26PM +0100, Donal Lafferty wrote:
> ATM, DevCloud2 is only suitable for developers.  The instructions require you 
> to compile the management server on the host machine.
> 
> If DevCloud2's base VM were put on a bridged network, would I be able to 
> compile and run the management server on Dom0 of the DevCloud2 appliance?
> 
> DL

Absolutely!  I run it that way personally.

Use devcloud_internal-mgt.cfg instead of devcloud.cfg as the config.


New Committer: Bruno Demion (a.k.a milamber)

2013-04-12 Thread Sebastien Goasguen
The Project Management Committee (PMC) for Apache CloudStack has asked Bruno 
Demion (a.k.a milamber) to become a committer and we are pleased to announced 
that they have accepted.

Bruno has contributed to the french translation of the UI and the Docs, as well 
as fixed several issues with encoding of the localization support of the UI.  
For information, Bruno is also a committer and PMC member of the Apache Jmeter 
project.
Being a committer allows many contributors to contribute more
autonomously. For developers, it makes it easier to submit changes and
eliminates the need to have contributions reviewed via the patch
submission process. Whether contributions are development-related or
otherwise, it is a recognition of a contributor's participation in the
project and commitment to the project and the Apache Way.
Please join me in congratulating Bruno,

-Sebastien, on behalf of  the Apache CloudStack PMC

Re: New Committer: Bruno Demion (a.k.a milamber)

2013-04-12 Thread Ahmad Emneina
Congrats Bruno! Thanks for the contributions so far.

Ahmad

On Apr 12, 2013, at 9:02 AM, Sebastien Goasguen  wrote:

> The Project Management Committee (PMC) for Apache CloudStack has asked Bruno 
> Demion (a.k.a milamber) to become a committer and we are pleased to announced 
> that they have accepted.
> 
> Bruno has contributed to the french translation of the UI and the Docs, as 
> well as fixed several issues with encoding of the localization support of the 
> UI.  For information, Bruno is also a committer and PMC member of the Apache 
> Jmeter project.
> Being a committer allows many contributors to contribute more
> autonomously. For developers, it makes it easier to submit changes and
> eliminates the need to have contributions reviewed via the patch
> submission process. Whether contributions are development-related or
> otherwise, it is a recognition of a contributor's participation in the
> project and commitment to the project and the Apache Way.
> Please join me in congratulating Bruno,
> 
> -Sebastien, on behalf of  the Apache CloudStack PMC


Re: New Committer: Bruno Demion (a.k.a milamber)

2013-04-12 Thread Joe Brockmeier
On Fri, Apr 12, 2013, at 11:02 AM, Sebastien Goasguen wrote:
> Please join me in congratulating Bruno,

Congrats, Bruno! Welcome aboard!

Best,

jzb
-- 
Joe Brockmeier
j...@zonker.net
Twitter: @jzb
http://www.dissociatedpress.net/


Re: Review Request: When associating an IP to a VPC allow admin's to specify what IP they want to associate. (CLOUDSTACK-1942)

2013-04-12 Thread Ryan Dietrich

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

(Updated April 12, 2013, 4:12 p.m.)


Review request for cloudstack, Prasanna Santhanam, Chiradeep Vittal, and Marcus 
Sorensen.


Changes
---

Did not know to put "cloudstack" for the group when doing reviews. :)


Description
---

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

This patch will allow you to specify an IP when associating an IP to a VPC.


Diffs
-

  api/src/com/cloud/network/NetworkService.java ab6d7bf 
  
api/src/org/apache/cloudstack/api/command/user/address/AssociateIPAddrCmd.java 
406f782 
  server/src/com/cloud/network/NetworkManager.java 4af716c 
  server/src/com/cloud/network/NetworkManagerImpl.java a97f2ce 
  server/src/com/cloud/network/NetworkServiceImpl.java 4eb620c 
  server/test/com/cloud/network/MockNetworkManagerImpl.java 18eae08 
  server/test/com/cloud/vpc/MockNetworkManagerImpl.java bd4fd67 

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


Testing
---

Manually tested using master branch, as well as 4.1.  Tested manually using 
"ipid" as well as leaving it off resulting in existing functionality.

Also, ran new marvin test.  This probably could have been incorporated into the 
the existing test_network.py file, but half of those tests were failing on my 
system.


Thanks,

Ryan Dietrich



Re: New Committer: Bruno Demion (a.k.a milamber)

2013-04-12 Thread prasanna
On 12 April 2013 21:32, Sebastien Goasguen  wrote:
> The Project Management Committee (PMC) for Apache CloudStack has asked Bruno 
> Demion (a.k.a milamber) to become a committer and we are pleased to announced 
> that they have accepted.
>
> Bruno has contributed to the french translation of the UI and the Docs, as 
> well as fixed several issues with encoding of the localization support of the 
> UI.  For information, Bruno is also a committer and PMC member of the Apache 
> Jmeter project.
> Being a committer allows many contributors to contribute more
> autonomously. For developers, it makes it easier to submit changes and
> eliminates the need to have contributions reviewed via the patch
> submission process. Whether contributions are development-related or
> otherwise, it is a recognition of a contributor's participation in the
> project and commitment to the project and the Apache Way.
> Please join me in congratulating Bruno,
>

Congratulations Milamber! Hope we can get performance metrics out of a
jmeter and cloudstack collaboration.


Re: New Committer: Bruno Demion (a.k.a milamber)

2013-04-12 Thread Chip Childers
On Fri, Apr 12, 2013 at 12:02 PM, Sebastien Goasguen  wrote:
> The Project Management Committee (PMC) for Apache CloudStack has asked Bruno 
> Demion (a.k.a milamber) to become a committer and we are pleased to announced 
> that they have accepted.
>
> Bruno has contributed to the french translation of the UI and the Docs, as 
> well as fixed several issues with encoding of the localization support of the 
> UI.  For information, Bruno is also a committer and PMC member of the Apache 
> Jmeter project.
> Being a committer allows many contributors to contribute more
> autonomously. For developers, it makes it easier to submit changes and
> eliminates the need to have contributions reviewed via the patch
> submission process. Whether contributions are development-related or
> otherwise, it is a recognition of a contributor's participation in the
> project and commitment to the project and the Apache Way.
> Please join me in congratulating Bruno,
>
> -Sebastien, on behalf of  the Apache CloudStack PMC

Congratulations Bruno!


RE: Master broken

2013-04-12 Thread Koushik Das
There is already one 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Unit+Testing+101 and 
also 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Unit+Testing+with+JUnit+and+Spring
Also you can look at the some of the existing unit tests.

> -Original Message-
> From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
> Sent: Friday, April 12, 2013 8:32 PM
> To: dev@cloudstack.apache.org
> Subject: RE: Master broken
> 
> +1 It would be very nice to see a wiki page how to write unit test. It would 
> be
> great help.
> 
> Thanks
> Rajesh Battala
> 
> > -Original Message-
> > From: Chip Childers [mailto:chip.child...@sungard.com]
> > Sent: Friday, April 12, 2013 7:57 PM
> > To: dev@cloudstack.apache.org
> > Subject: Re: Master broken
> >
> > On Thu, Apr 11, 2013 at 05:57:01PM -0700, Kelven Yang wrote:
> > > These issues are caused by that some of components are not really
> > > mocked, instead, they are loaded directly main source.
> > >
> > > One of the benefits from Spring is that it integrates with Mokito
> > > nicely, all we need is to probably have a base test configuration
> > > that returns all mocked DAOs or other common components and then
> > > have all unit test purely written against mocked components.
> > >
> > > We need to finalize the way to write Java unit test so that everyone
> > > can follow to reduce the frequency/prevent these from happening.
> > > I'll find some time to update the Unit-test guideline document in
> > > wiki, cleanup things in this area and re-enable all unit tests in the 
> > > build.
> >
> > +1 to this...  that would be great to get sorted out Kelven!


Re: Review Request: Fixed Primary typo

2013-04-12 Thread Chip Childers

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

Ship it!


Applied to master.  If we want this in 4.1, we'll need a different patch, 
because the cherry-pick has conflicts.  If you want to work through that 
locally, and then submit the correct patch, I'll happily apply to 4.1.

- Chip Childers


On April 12, 2013, 3:09 p.m., Pascal Borreli wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10430/
> ---
> 
> (Updated April 12, 2013, 3:09 p.m.)
> 
> 
> Review request for cloudstack and Chip Childers.
> 
> 
> Description
> ---
> 
> Fixing typos "Primay" / "Primayr" to "Primary"
> 
> 
> Diffs
> -
> 
>   
> engine/storage/integration-test/test/org/apache/cloudstack/storage/test/DirectAgentTest.java
>  2d6b94f 
>   
> engine/storage/src/org/apache/cloudstack/storage/command/CreateVolumeFromBaseImageCommand.java
>  f4be067 
>   
> engine/storage/src/org/apache/cloudstack/storage/datastore/provider/DataStoreProviderManagerImpl.java
>  91b6c63 
>   
> engine/storage/src/org/apache/cloudstack/storage/to/ImageOnPrimaryDataStoreTO.java
>  PRE-CREATION 
>   
> engine/storage/src/org/apache/cloudstack/storage/to/ImageOnPrimayDataStoreTO.java
>  18743d7 
>   
> plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServerStorageResource.java
>  9c29149 
> 
> Diff: https://reviews.apache.org/r/10430/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Pascal Borreli
> 
>



RE: [MERGE] ASA 1000v as external firewall in isolated guest networks

2013-04-12 Thread Koushik Das


> -Original Message-
> From: prasanna [mailto:srivatsav.prasa...@gmail.com] On Behalf Of
> Prasanna Santhanam
> Sent: Friday, April 12, 2013 6:56 PM
> To: dev@cloudstack.apache.org
> Subject: Re: [MERGE] ASA 1000v as external firewall in isolated guest
> networks
> 
> On Fri, Apr 12, 2013 at 09:20:39AM -0400, Chip Childers wrote:
> > On Fri, Apr 12, 2013 at 06:39:29AM +, Koushik Das wrote:
> > > Currently there are no functional tests, did e2e tests manually.
> > > There are some external setup that is required which then needs to be
> added to Cloudstack like Nexus 1000v, VNMC, ASA 1000v appliance details. I
> don't see any existing tests related to Vmware/Nexus stuff which I can
> reuse, so implementing all these steps would need some time.
> > >
> > > So wanted to check if it is ok to merge now and add the functional tests
> subsequently?
> >
> > Before we merge it in, can we first discuss how we want to hand this
> > sort of thing?  It seems that at least a marvin test, not run by
> > default, would be helpful here.  Certainly documentation on how to
> > setup an environment to support the test is also needed.
> >
> > Do other's have thoughts on this?
> 
> +1 - I can spare some hardware to host virtual instances of the ASA
> appliance. We do NetScaler VPXs in this fashion. But I'm not sure what kind
> of pre-programming will be required on the ASA to run the test.
> So some documentation would certainly help.

The FS already has documentation on the external setup part. I will update it 
if something is not clear.

> 
> --
> Prasanna.,


Re: Master broken

2013-04-12 Thread Kelven Yang


On 4/12/13 9:35 AM, "Koushik Das"  wrote:

>There is already one
>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Unit+Testing+101
>and also 
>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Unit+Testing+with+J
>Unit+and+Spring
>Also you can look at the some of the existing unit tests.

Yes, I know alex wrote one, still need some finalization procedures to
reduce mistakes like we have encountered in this thread. I'll go through
the existing test cases we have and update this document accordingly.

-Kelven

>
>> -Original Message-
>> From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
>> Sent: Friday, April 12, 2013 8:32 PM
>> To: dev@cloudstack.apache.org
>> Subject: RE: Master broken
>> 
>> +1 It would be very nice to see a wiki page how to write unit test. It
>>would be
>> great help.
>> 
>> Thanks
>> Rajesh Battala
>> 
>> > -Original Message-
>> > From: Chip Childers [mailto:chip.child...@sungard.com]
>> > Sent: Friday, April 12, 2013 7:57 PM
>> > To: dev@cloudstack.apache.org
>> > Subject: Re: Master broken
>> >
>> > On Thu, Apr 11, 2013 at 05:57:01PM -0700, Kelven Yang wrote:
>> > > These issues are caused by that some of components are not really
>> > > mocked, instead, they are loaded directly main source.
>> > >
>> > > One of the benefits from Spring is that it integrates with Mokito
>> > > nicely, all we need is to probably have a base test configuration
>> > > that returns all mocked DAOs or other common components and then
>> > > have all unit test purely written against mocked components.
>> > >
>> > > We need to finalize the way to write Java unit test so that everyone
>> > > can follow to reduce the frequency/prevent these from happening.
>> > > I'll find some time to update the Unit-test guideline document in
>> > > wiki, cleanup things in this area and re-enable all unit tests in
>>the build.
>> >
>> > +1 to this...  that would be great to get sorted out Kelven!



Review Request: [4.1] Fix Primary typo

2013-04-12 Thread Pascal Borreli

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

Review request for cloudstack and Chip Childers.


Description
---

Fixed Primay -> Primary


Diffs
-

  client/WEB-INF/classes/resources/messages_de_DE.properties 5c7fc63 
  
engine/storage/integration-test/test/org/apache/cloudstack/storage/test/DirectAgentTest.java
 2d6b94f 
  
engine/storage/src/org/apache/cloudstack/storage/command/CreateVolumeFromBaseImageCommand.java
 f4be067 
  
engine/storage/src/org/apache/cloudstack/storage/to/ImageOnPrimaryDataStoreTO.java
 PRE-CREATION 
  
engine/storage/src/org/apache/cloudstack/storage/to/ImageOnPrimayDataStoreTO.java
 18743d7 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServerStorageResource.java
 70660d2 

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


Testing
---


Thanks,

Pascal Borreli



Re: Review Request: Fixed Primary typo

2013-04-12 Thread Pascal Borreli


> On April 12, 2013, 4:42 p.m., Chip Childers wrote:
> > Applied to master.  If we want this in 4.1, we'll need a different patch, 
> > because the cherry-pick has conflicts.  If you want to work through that 
> > locally, and then submit the correct patch, I'll happily apply to 4.1.

done https://reviews.apache.org/r/10431/


- Pascal


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


On April 12, 2013, 3:09 p.m., Pascal Borreli wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10430/
> ---
> 
> (Updated April 12, 2013, 3:09 p.m.)
> 
> 
> Review request for cloudstack and Chip Childers.
> 
> 
> Description
> ---
> 
> Fixing typos "Primay" / "Primayr" to "Primary"
> 
> 
> Diffs
> -
> 
>   
> engine/storage/integration-test/test/org/apache/cloudstack/storage/test/DirectAgentTest.java
>  2d6b94f 
>   
> engine/storage/src/org/apache/cloudstack/storage/command/CreateVolumeFromBaseImageCommand.java
>  f4be067 
>   
> engine/storage/src/org/apache/cloudstack/storage/datastore/provider/DataStoreProviderManagerImpl.java
>  91b6c63 
>   
> engine/storage/src/org/apache/cloudstack/storage/to/ImageOnPrimaryDataStoreTO.java
>  PRE-CREATION 
>   
> engine/storage/src/org/apache/cloudstack/storage/to/ImageOnPrimayDataStoreTO.java
>  18743d7 
>   
> plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServerStorageResource.java
>  9c29149 
> 
> Diff: https://reviews.apache.org/r/10430/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Pascal Borreli
> 
>



Re: What should be the expected behaviour when VM is deployed (not through CloudStack) on CloudStack managed hosts? Was" [IP Reservation] Is VM creation using the reserved IPs on cloudstack managed h

2013-04-12 Thread Chiradeep Vittal
Still not clear :(
Can you give a detailed step by step procedure of
"creation of VMs using the reserved IP (after doing IP reservation) on
cloudstack managed hosts supported?"

On 4/12/13 8:00 AM, "Saksham Srivastava" 
wrote:

>Changing the subject  and reposting.
>
>-Original Message-
>From: Abhinav Roy [mailto:abhinav@citrix.com]
>Sent: Tuesday, April 02, 2013 10:36 AM
>To: dev@cloudstack.apache.org
>Subject: RE: [IP Reservation] Is VM creation using the reserved IPs on
>cloudstack managed hosts supported?
>
>
>Hi,
>
>Is creation of VMs using the reserved IP (after doing IP reservation) on
>cloudstack managed hosts supported? Because when I tried to do that the
>VM got destroyed as soon as it was created.
>While on hosts which are not managed by cloudstack VM creation using
>reserved IPs went through.
>
>
>
>Thanks and regards,
>Abhinav



Re: [MERGE] ASA 1000v as external firewall in isolated guest networks

2013-04-12 Thread Chiradeep Vittal

On 4/12/13 6:55 AM, "Chip Childers"  wrote:

>On Fri, Apr 12, 2013 at 06:55:56PM +0530, Prasanna Santhanam wrote:
>> On Fri, Apr 12, 2013 at 09:20:39AM -0400, Chip Childers wrote:
>> > On Fri, Apr 12, 2013 at 06:39:29AM +, Koushik Das wrote:
>> > > Currently there are no functional tests, did e2e tests manually.
>> > > There are some external setup that is required which then needs to
>>be added to Cloudstack like Nexus 1000v, VNMC, ASA 1000v appliance
>>details. I don't see any existing tests related to Vmware/Nexus stuff
>>which I can reuse, so implementing all these steps would need some time.
>> > > 
>> > > So wanted to check if it is ok to merge now and add the functional
>>tests subsequently?
>> > 
>> > Before we merge it in, can we first discuss how we want to hand this
>> > sort of thing?  It seems that at least a marvin test, not run by
>> > default, would be helpful here.  Certainly documentation on how to
>>setup
>> > an environment to support the test is also needed.
>> > 
>> > Do other's have thoughts on this?
>> 
>> +1 - I can spare some hardware to host virtual instances of the ASA
>> appliance. We do NetScaler VPXs in this fashion. But I'm not sure what
>> kind of pre-programming will be required on the ASA to run the test.
>> So some documentation would certainly help.
>
>Koushik,
>
>I think that it will require working with Prasanna to get a Marvin test
>suite for the feature ready to go.  I'd personally like to see that
>*prior* to the merge into master.  We need to "up our game" on automated
>testing of new features, so that we stop digging ourselves deeper and
>deeper into a hole.
>
>-chip

But this approach isn't scalable either.

Every new whiz bang network device will require infrastructure / licenses
/ etc. 


I think if there's component level tests of the code introduced (at least
the network elements) that should be a good first step.

--
Chiradeep



[ACS402] BLOCKER CLOUDSTACK-1151: DatabaseUpgradeChecker com.cloud.utils.exception.CloudRuntimeException

2013-04-12 Thread Joe Brockmeier
Can someone take a look at 1151?, running into this:

DatabaseUpgradeChecker
com.cloud.utils.exception.CloudRuntimeException: The end upgrade version
is actually at 4.0.0 but our management server code version is at
4.0.2.20130327104730

This is one of the things standing in the way of getting a 4.0.2 release
finished.

Best,

jzb
-- 
Joe Brockmeier
j...@zonker.net
Twitter: @jzb
http://www.dissociatedpress.net/


Re: [MERGE] ASA 1000v as external firewall in isolated guest networks

2013-04-12 Thread Chip Childers
On Fri, Apr 12, 2013 at 09:50:36AM -0700, Chiradeep Vittal wrote:
> 
> On 4/12/13 6:55 AM, "Chip Childers"  wrote:
> 
> >On Fri, Apr 12, 2013 at 06:55:56PM +0530, Prasanna Santhanam wrote:
> >> On Fri, Apr 12, 2013 at 09:20:39AM -0400, Chip Childers wrote:
> >> > On Fri, Apr 12, 2013 at 06:39:29AM +, Koushik Das wrote:
> >> > > Currently there are no functional tests, did e2e tests manually.
> >> > > There are some external setup that is required which then needs to
> >>be added to Cloudstack like Nexus 1000v, VNMC, ASA 1000v appliance
> >>details. I don't see any existing tests related to Vmware/Nexus stuff
> >>which I can reuse, so implementing all these steps would need some time.
> >> > > 
> >> > > So wanted to check if it is ok to merge now and add the functional
> >>tests subsequently?
> >> > 
> >> > Before we merge it in, can we first discuss how we want to hand this
> >> > sort of thing?  It seems that at least a marvin test, not run by
> >> > default, would be helpful here.  Certainly documentation on how to
> >>setup
> >> > an environment to support the test is also needed.
> >> > 
> >> > Do other's have thoughts on this?
> >> 
> >> +1 - I can spare some hardware to host virtual instances of the ASA
> >> appliance. We do NetScaler VPXs in this fashion. But I'm not sure what
> >> kind of pre-programming will be required on the ASA to run the test.
> >> So some documentation would certainly help.
> >
> >Koushik,
> >
> >I think that it will require working with Prasanna to get a Marvin test
> >suite for the feature ready to go.  I'd personally like to see that
> >*prior* to the merge into master.  We need to "up our game" on automated
> >testing of new features, so that we stop digging ourselves deeper and
> >deeper into a hole.
> >
> >-chip
> 
> But this approach isn't scalable either.
> 
> Every new whiz bang network device will require infrastructure / licenses
> / etc. 
> 
> 
> I think if there's component level tests of the code introduced (at least
> the network elements) that should be a good first step.
> 
> --
> Chiradeep

Agreed that it would be a good first step, absolutely.  We really do
need to think about how we deal with all of these integrations...  and
how we do ongoing testing.  It's going to be a challenge either way.

The point of having a marvin test, IMO, isn't necessarily tied to the CI
infrastructure.  Instead, it allows for a regression test to be run when
and if there is an appropriate target infrastructure.  I'm sort of
breaking the problem into two parts: having tests to run if you have the
required setup, and figuring out how we get the required setup.

Make sense?


Re: [ACS402] BLOCKER CLOUDSTACK-1151: DatabaseUpgradeChecker com.cloud.utils.exception.CloudRuntimeException

2013-04-12 Thread Chip Childers
On Fri, Apr 12, 2013 at 11:53:52AM -0500, Joe Brockmeier wrote:
> Can someone take a look at 1151?, running into this:
> 
> DatabaseUpgradeChecker
> com.cloud.utils.exception.CloudRuntimeException: The end upgrade version
> is actually at 4.0.0 but our management server code version is at
> 4.0.2.20130327104730
> 
> This is one of the things standing in the way of getting a 4.0.2 release
> finished.
> 
> Best,
> 
> jzb
> -- 
> Joe Brockmeier
> j...@zonker.net
> Twitter: @jzb
> http://www.dissociatedpress.net/
>

It's currently assigned to Kishan, but Kishan hasn't commented or ACK'ed
it.  I'm going to unassign it right now, so that anyone with the
willingness can take a look.

-chip


RE: [MERGE] ASA 1000v as external firewall in isolated guest networks

2013-04-12 Thread Koushik Das


> -Original Message-
> From: Chip Childers [mailto:chip.child...@sungard.com]
> Sent: Friday, April 12, 2013 7:27 PM
> To: dev@cloudstack.apache.org
> Subject: Re: [MERGE] ASA 1000v as external firewall in isolated guest
> networks
> 
> On Fri, Apr 12, 2013 at 06:55:56PM +0530, Prasanna Santhanam wrote:
> > On Fri, Apr 12, 2013 at 09:20:39AM -0400, Chip Childers wrote:
> > > On Fri, Apr 12, 2013 at 06:39:29AM +, Koushik Das wrote:
> > > > Currently there are no functional tests, did e2e tests manually.
> > > > There are some external setup that is required which then needs to be
> added to Cloudstack like Nexus 1000v, VNMC, ASA 1000v appliance details. I
> don't see any existing tests related to Vmware/Nexus stuff which I can
> reuse, so implementing all these steps would need some time.
> > > >
> > > > So wanted to check if it is ok to merge now and add the functional tests
> subsequently?
> > >
> > > Before we merge it in, can we first discuss how we want to hand this
> > > sort of thing?  It seems that at least a marvin test, not run by
> > > default, would be helpful here.  Certainly documentation on how to
> > > setup an environment to support the test is also needed.
> > >
> > > Do other's have thoughts on this?
> >
> > +1 - I can spare some hardware to host virtual instances of the ASA
> > appliance. We do NetScaler VPXs in this fashion. But I'm not sure what
> > kind of pre-programming will be required on the ASA to run the test.
> > So some documentation would certainly help.
> 
> Koushik,
> 
> I think that it will require working with Prasanna to get a Marvin test suite 
> for
> the feature ready to go.  I'd personally like to see that
> *prior* to the merge into master.  We need to "up our game" on automated
> testing of new features, so that we stop digging ourselves deeper and
> deeper into a hole.

Sure will work with Prasanna on this.

Ideally I would like to write tests for network offering creation with VNMC as 
provider and the newly added APIs for this feature and would like to reuse 
existing code for testing the following features:

- Vmware cluster setup with Nexus 1000v
- Network creation
- Vm deployment
- Acquiring public IP
- Static nat/pf rule creation

Any help on the above would be appreciated.


> 
> -chip


Re: New Committer: Bruno Demion (a.k.a milamber)

2013-04-12 Thread Kelceydamage@bbits
Congrats!

Sent from my iPhone

On Apr 12, 2013, at 9:33 AM, Chip Childers  wrote:

> On Fri, Apr 12, 2013 at 12:02 PM, Sebastien Goasguen  wrote:
>> The Project Management Committee (PMC) for Apache CloudStack has asked Bruno 
>> Demion (a.k.a milamber) to become a committer and we are pleased to 
>> announced that they have accepted.
>> 
>> Bruno has contributed to the french translation of the UI and the Docs, as 
>> well as fixed several issues with encoding of the localization support of 
>> the UI.  For information, Bruno is also a committer and PMC member of the 
>> Apache Jmeter project.
>> Being a committer allows many contributors to contribute more
>> autonomously. For developers, it makes it easier to submit changes and
>> eliminates the need to have contributions reviewed via the patch
>> submission process. Whether contributions are development-related or
>> otherwise, it is a recognition of a contributor's participation in the
>> project and commitment to the project and the Apache Way.
>> Please join me in congratulating Bruno,
>> 
>> -Sebastien, on behalf of  the Apache CloudStack PMC
> 
> Congratulations Bruno!


Re: New Committer: Bruno Demion (a.k.a milamber)

2013-04-12 Thread Alena Prokharchyk
Bruno, congrats and welcome aboard!

-Alena.

On 4/12/13 9:02 AM, "Sebastien Goasguen"  wrote:

>The Project Management Committee (PMC) for Apache CloudStack has asked
>Bruno Demion (a.k.a milamber) to become a committer and we are pleased to
>announced that they have accepted.
>
>Bruno has contributed to the french translation of the UI and the Docs,
>as well as fixed several issues with encoding of the localization support
>of the UI.  For information, Bruno is also a committer and PMC member of
>the Apache Jmeter project.
>Being a committer allows many contributors to contribute more
>autonomously. For developers, it makes it easier to submit changes and
>eliminates the need to have contributions reviewed via the patch
>submission process. Whether contributions are development-related or
>otherwise, it is a recognition of a contributor's participation in the
>project and commitment to the project and the Apache Way.
>Please join me in congratulating Bruno,
>
>-Sebastien, on behalf of  the Apache CloudStack PMC




RE: New Committer: Bruno Demion (a.k.a milamber)

2013-04-12 Thread Animesh Chaturvedi
Congratulations Bruno

> -Original Message-
> From: Sebastien Goasguen [mailto:run...@gmail.com]
> Sent: Friday, April 12, 2013 9:03 AM
> To: dev@cloudstack.apache.org
> Subject: New Committer: Bruno Demion (a.k.a milamber)
> 
> The Project Management Committee (PMC) for Apache CloudStack has
> asked Bruno Demion (a.k.a milamber) to become a committer and we are
> pleased to announced that they have accepted.
> 
> Bruno has contributed to the french translation of the UI and the Docs, as
> well as fixed several issues with encoding of the localization support of the
> UI.  For information, Bruno is also a committer and PMC member of the
> Apache Jmeter project.
> Being a committer allows many contributors to contribute more
> autonomously. For developers, it makes it easier to submit changes and
> eliminates the need to have contributions reviewed via the patch submission
> process. Whether contributions are development-related or otherwise, it is a
> recognition of a contributor's participation in the project and commitment to
> the project and the Apache Way.
> Please join me in congratulating Bruno,
> 
> -Sebastien, on behalf of  the Apache CloudStack PMC


Re: Review Request: Changes for Egress firewall rules feature support in SRX

2013-04-12 Thread Sheng Yang


> On April 10, 2013, 6:01 p.m., Sheng Yang wrote:
> > Ship It!
> 
> Abhinandan Prateek wrote:
> The patch fails to apply on master please check and resubmit.

I've already applied it to master. Seems my comment didn't get out...


- Sheng


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


On April 10, 2013, 12:46 p.m., Jayapal Reddy wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10336/
> ---
> 
> (Updated April 10, 2013, 12:46 p.m.)
> 
> 
> Review request for cloudstack, Abhinandan Prateek, Sheng Yang, and Murali 
> Reddy.
> 
> 
> Description
> ---
> 
> Added egress firewall rules support for SRX device.
> Supported networks:
> 1. Advanced Isolated networks.
> 
> 
> This addresses bug CLOUDSTACK-779.
> 
> 
> Diffs
> -
> 
>   api/src/com/cloud/agent/api/to/FirewallRuleTO.java 7f77936 
>   
> plugins/network-elements/juniper-srx/src/com/cloud/network/element/JuniperSRXExternalFirewallElement.java
>  af0912a 
>   
> plugins/network-elements/juniper-srx/src/com/cloud/network/resource/JuniperSrxResource.java
>  8482168 
>   scripts/network/juniper/application-add.xml 6603850 
>   scripts/network/juniper/security-policy-add.xml 632a17d 
>   server/src/com/cloud/network/ExternalFirewallDeviceManagerImpl.java 1fc32d0 
>   server/src/com/cloud/upgrade/dao/Upgrade410to420.java f39038f 
> 
> Diff: https://reviews.apache.org/r/10336/diff/
> 
> 
> Testing
> ---
> 
> Unit Testing done.
> 
> 
> Thanks,
> 
> Jayapal Reddy
> 
>



Re: Review Request: Fix for CLOUDSTACK-1987

2013-04-12 Thread Min Chen
I will provide a patch for 1987 today.

Thanks
-min

On 4/12/13 6:06 AM, "Chip Childers"  wrote:

>On Fri, Apr 12, 2013 at 05:38:28AM +, Min Chen wrote:
>> 
>> 
>> > On April 12, 2013, 5:28 a.m., Min Chen wrote:
>> > > server/src/com/cloud/api/query/QueryManagerImpl.java, line 2111
>> > > 
>>>1>
>> > >
>> > > For domain users, they should not be able to query system
>>offerings. This fix didn't guard that case.
>> 
>> If this patch is to fix 1989 (instead of 1987), then the patch looks
>>fine to me. Based on ML discussion, it seems that we need to update this
>>review summary to clarify that it is to fix CLOUDSTACK-1989.
>
>Summary corrected, and applied.  I resolved 1989.
>
>We still need a fix for 1987



Re: [ACS402] BLOCKER CLOUDSTACK-1151: DatabaseUpgradeChecker com.cloud.utils.exception.CloudRuntimeException

2013-04-12 Thread Joe Brockmeier

On 04/12/2013 11:56 AM, Chip Childers wrote:

It's currently assigned to Kishan, but Kishan hasn't commented or ACK'ed
it.  I'm going to unassign it right now, so that anyone with the
willingness can take a look.


Thanks!


Issue launching VM on VMware

2013-04-12 Thread Mike Tutkowski
Hi,

Any thoughts on this?  It seems like I should have plenty of memory (on
either of my two ESXi hosts) and plenty of storage space (on my
iSCSI-backed VMFS datastore).

Thanks!

INFO  [user.vm.DeployVMCmd] (Job-Executor-11:job-11) Unable to create a
deployment for VM[User|5878531f-2164-48cc-b1b7-3b38e9b16b5f]
com.cloud.exception.InsufficientServerCapacityException: Unable to create a
deployment for VM[User|5878531f-2164-48cc-b1b7-3b38e9b16b5f]Scope=interface
com.cloud.dc.DataCenter; id=1
at
org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.reserveVirtualMachine(VMEntityManagerImpl.java:186)
at
org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.reserve(VirtualMachineEntityImpl.java:198)
at
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3859)
at
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3458)
at
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3444)
at
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at
org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:379)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:680)


-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud
*™*


Re: Issue launching VM on VMware

2013-04-12 Thread Mike Tutkowski
Same problem when I try to start the VM on the local storage of either of
my ESXi hosts.


On Fri, Apr 12, 2013 at 11:39 AM, Mike Tutkowski <
mike.tutkow...@solidfire.com> wrote:

> Hi,
>
> Any thoughts on this?  It seems like I should have plenty of memory (on
> either of my two ESXi hosts) and plenty of storage space (on my
> iSCSI-backed VMFS datastore).
>
> Thanks!
>
> INFO  [user.vm.DeployVMCmd] (Job-Executor-11:job-11) Unable to create a
> deployment for VM[User|5878531f-2164-48cc-b1b7-3b38e9b16b5f]
> com.cloud.exception.InsufficientServerCapacityException: Unable to create
> a deployment for
> VM[User|5878531f-2164-48cc-b1b7-3b38e9b16b5f]Scope=interface
> com.cloud.dc.DataCenter; id=1
>  at
> org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.reserveVirtualMachine(VMEntityManagerImpl.java:186)
> at
> org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.reserve(VirtualMachineEntityImpl.java:198)
>  at
> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3859)
> at
> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3458)
>  at
> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3444)
> at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>  at
> org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:379)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
>  at
> com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
>  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>  at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>  at java.lang.Thread.run(Thread.java:680)
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the 
> cloud
> *™*
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud
*™*


Re: The given command does not exist or it is not available for user

2013-04-12 Thread Rohit Yadav
Probably an ACL issue, occurs when a user is trying to execute an API they
are not allowed; or the API does not exist.

HTH.
On Apr 12, 2013 7:28 PM, "Paul Angus"  wrote:

>  Hi All,
>
>
>
> When I try to log in to the current build of CloudStack 4.1 I get an error
> in the browser:
>
>
>
> The given command does not exist or it is not available for user
>
>
>
> The management-server.log shows:
>
>
>
> 2013-04-12 13:52:55,796 DEBUG [cloud.user.AccountManagerImpl]
> (catalina-exec-18:null) Attempting to log in user: admin in domain 1
>
> 2013-04-12 13:52:55,796 DEBUG [server.auth.MD5UserAuthenticator]
> (catalina-exec-18:null) Retrieving user: admin
>
> 2013-04-12 13:52:55,803 DEBUG [cloud.user.AccountManagerImpl]
> (catalina-exec-18:null) User: admin in domain 1 has successfully logged in
>
> 2013-04-12 13:52:55,822 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-18:null) ===END===  10.0.1.31 -- POST  null
>
> 2013-04-12 13:52:55,852 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-6:null) ===START===  10.0.1.31 -- GET
> command=listCapabilities&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7s%3D&_=1365771173024
>
> 2013-04-12 13:52:55,858 DEBUG [cloud.api.ApiServer] (catalina-exec-6:null)
> The given command:listCapabilities does not exist or it is not available
> for user with id:2
>
> 2013-04-12 13:52:55,859 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-6:null) ===END===  10.0.1.31 -- GET
> command=listCapabilities&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7s%3D&_=1365771173024
>
> 2013-04-12 13:52:55,889 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-7:null) ===START===  10.0.1.31 -- GET
> command=listSwifts&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7s%3D&_=1365771173059
>
> 2013-04-12 13:52:55,895 DEBUG [cloud.api.ApiServer] (catalina-exec-7:null)
> The given command:listSwifts does not exist or it is not available for user
> with id:2
>
> 2013-04-12 13:52:55,896 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-7:null) ===END===  10.0.1.31 -- GET
> command=listSwifts&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7s%3D&_=1365771173059
>
>
>
> Any ideas anyone?
>
>
>
> Regards
>
>
>
> Paul Angus
>
> *Senior Consultant / Cloud Architect*
>
>
>
> [image: cid:image002.png@01CE1071.C6CC9C10]
>
>
>
> S: +44 20 3603 0540 <+442036030540> | M: +4 <+447968161581>47711418784
>
> paul.an...@shapeblue.com  |
> www.shapeblue.com | Twitter:@shapeblue 
>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
>
>  This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is
> operated under license from Shape Blue Ltd. ShapeBlue is a registered
> trademark.
>


Re: [QA]question on cloudstack-usage service

2013-04-12 Thread Wido den Hollander



On 04/12/2013 01:33 PM, Suresh Sadhu wrote:

HI,


Any idea why usage server is stopped with unexpected exception(is there any issue 
exits/logged already),do we need to add any additional packages/rpm/configurations 
other than installing the usage server monitor"
Seen this issue on master build.



Hmm, that is weird. Could you print the classpath what is submitted to 
the JSVC process?


Wondering what it is generating.

Wido



[root@rhel631 ~]# service cloudstack-usage start
Starting CloudStack Usage Monitor cloudstack-usage [  OK  ]
[root@rhel631 ~]# service cloudstack-usage status
cloudstack-usage (pid  20999) is running...
[root@rhel631 ~]# service cloudstack-usage status
cloudstack-usage is stopped


Content of cloudstack-usage.err:
*

log4j:WARN No appenders could be found for logger 
(org.springframework.core.env.StandardEnvironment).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:616)
 at 
org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'portForwardingUsageParser': Injection of autowired dependencies 
failed; nested exception is 
org.springframework.beans.factory.BeanCreationException: Could not autowire field: 
private com.cloud.usage.dao.UsageDao 
com.cloud.usage.parser.PortForwardingUsageParser._usageDao; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean with 
name 'usageDaoImpl' defined in URL 
[jar:file:/usr/share/cloudstack-usage/lib/cloud-server-4.2.0-SNAPSHOT.jar!/com/cloud/usage/dao/UsageDaoImpl.class]:
 BeanPostProcessor before instantiation of bean failed; nested exception is 
net.sf.cglib.core.CodeGenerationException: 
java.lang.ExceptionInInitializerError-->null
 at 
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:287)
 at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
 at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
 at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
 at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
 at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
 at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
 at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
 at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
 at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
 at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
 at 
org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:139)
 at 
org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:83)
 at com.cloud.usage.UsageServer.start(UsageServer.java:52)
 ... 5 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not 
autowire field: private com.cloud.usage.dao.UsageDao 
com.cloud.usage.parser.PortForwardingUsageParser._usageDao; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean with 
name 'usageDaoImpl' defined in URL 
[jar:file:/usr/share/cloudstack-usage/lib/cloud-server-4.2.0-SNAPSHOT.jar!/com/cloud/usage/dao/UsageDaoImpl.class]:
 BeanPostProcessor before instantiation of bean failed; nested exception is 
net.sf.cglib.core.CodeGenerationException: 
java.lang.ExceptionInInitializerError-->null
@



Re: Issue launching VM on VMware

2013-04-12 Thread Kelven Yang
Look back from the exception in logs, this exception is the final place
that throws the failure exception, the actual reason may be shown in logs
earlier than this point.
Kelven

On 4/12/13 10:46 AM, "Mike Tutkowski"  wrote:

>Same problem when I try to start the VM on the local storage of either of
>my ESXi hosts.
>
>
>On Fri, Apr 12, 2013 at 11:39 AM, Mike Tutkowski <
>mike.tutkow...@solidfire.com> wrote:
>
>> Hi,
>>
>> Any thoughts on this?  It seems like I should have plenty of memory (on
>> either of my two ESXi hosts) and plenty of storage space (on my
>> iSCSI-backed VMFS datastore).
>>
>> Thanks!
>>
>> INFO  [user.vm.DeployVMCmd] (Job-Executor-11:job-11) Unable to create a
>> deployment for VM[User|5878531f-2164-48cc-b1b7-3b38e9b16b5f]
>> com.cloud.exception.InsufficientServerCapacityException: Unable to
>>create
>> a deployment for
>> VM[User|5878531f-2164-48cc-b1b7-3b38e9b16b5f]Scope=interface
>> com.cloud.dc.DataCenter; id=1
>>  at
>> 
>>org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.reserve
>>VirtualMachine(VMEntityManagerImpl.java:186)
>> at
>> 
>>org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.re
>>serve(VirtualMachineEntityImpl.java:198)
>>  at
>> 
>>com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java
>>:3859)
>> at
>> 
>>com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java
>>:3458)
>>  at
>> 
>>com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java
>>:3444)
>> at
>> 
>>com.cloud.utils.component.ComponentInstantiationPostProcessor$Interceptor
>>Dispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>>  at
>> 
>>org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd
>>.java:379)
>> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
>>  at
>> com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
>> at 
>>java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
>>  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>  at
>> 
>>java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor
>>.java:895)
>> at
>> 
>>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav
>>a:918)
>>  at java.lang.Thread.run(Thread.java:680)
>>
>>
>> --
>> *Mike Tutkowski*
>> *Senior CloudStack Developer, SolidFire Inc.*
>> e: mike.tutkow...@solidfire.com
>> o: 303.746.7302
>> Advancing the way the world uses the
>>cloud
>> **
>>
>
>
>
>-- 
>*Mike Tutkowski*
>*Senior CloudStack Developer, SolidFire Inc.*
>e: mike.tutkow...@solidfire.com
>o: 303.746.7302
>Advancing the way the world uses the
>cloud
>**



Regarding Master branch Blocker Bug: Failed to inject generated public key into systemvm iso due to java.io.IOException

2013-04-12 Thread Chandan Purushothama
Hello,

I filed a blocker bug on master branch 
https://issues.apache.org/jira/browse/CLOUDSTACK-2013 yesterday. May I know 
whether anyone can pick it up and unblock me. I am currently unable to login to 
the management server and do anything with the cloudstack management server. 
Kindly let me know,

Thank you,
Chandan.


RE: [MERGE] Dedicate Public IP Addresses

2013-04-12 Thread Likitha Shetty
Prasanna, thanks for taking a look at the branch and for making the necessary 
changes to the marvin tests.

If there are no concerns I will merge the branch today.

Thanks,
Likitha

>-Original Message-
>From: Chip Childers [mailto:chip.child...@sungard.com]
>Sent: Thursday, April 11, 2013 12:37 PM
>To: dev@cloudstack.apache.org
>Subject: Re: [MERGE] Dedicate Public IP Addresses
>
>On Tue, Apr 09, 2013 at 05:23:05PM +, Likitha Shetty wrote:
>> Hi all,
>>
>> I would like to merge the feature Dedicate Public IP ranges to master.
>>
>> Jira ticket - https://issues.apache.org/jira/browse/CLOUDSTACK-704
>> Proposal discussion -
>> http://mail-archives.apache.org/mod_mbox/incubator-cloudstack-users/20
>>
>1303.mbox/%3C64FB1554ABC9B44FAA773FBD6CB889C2010D9C03119B%40BA
>NPMAILBO
>> X01.citrite.net%3E FS -
>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/FS-+Dedicate+Pu
>> blic+IP+Addresses+per+tenant
>> Branch - dedicate_public_ip_range_2
>> Unit tests -  Unit tests for the new API's can be found at
>> cloudstack/server/test/com/cloud/configuration/ConfigurationManagerTes
>> t.java Integration tests - Python tests can be found be found at
>> test/integration/component/test_public_ip_range.py
>> Rebased the branch with master - Commit id:
>> d5d167cb97b95f5622c0e34fe4546642484016f6
>> RAT report - Attached
>> Patch is available at - https://reviews.apache.org/r/10377/
>>
>> Thanks,
>> Likitha
>
>+1 - this is a great merge


Review Request: Fix CLOUDSTACK-1987: service offerings owned by a domain show up to domain users

2013-04-12 Thread Min Chen

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

Review request for cloudstack, Chip Childers, Prachi Damle, and Ryan Dietrich.


Description
---

Besides fixing CLOUDSTACK-1987 (caused by AND-OR precedence issues in sql 
statement), this patch also addressed similar issues for DiskOffering 
(CLOUDSTACK-1987 and CLOUDSTACK-1989). Additionally, this patch fixed wildcard 
search inconsistency issue for name parameter.


This addresses bug https://issues.apache.org/jira/browse/CLOUDSTACK-1987.


Diffs
-

  server/src/com/cloud/api/query/QueryManagerImpl.java b96691a 

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


Testing
---

Validated the failed scenario in local setup.


Thanks,

Min Chen



CLOUDSTACK-524: Can we backport to 4.1?

2013-04-12 Thread Chip Childers
Chiradeep,

Any chance you can submit a patch to apply to 4.1 for CLOUDSTACK-524?
That, or point me to the commits to cherry pick?

-chip


Re: [ACS41] Help needed clearing bugs!

2013-04-12 Thread Min Chen
Chip, patch for CLOUDSTACK-1987 is submitted for review:
https://reviews.apache.org/r/10432/.

Thanks
-min

On 4/12/13 5:52 AM, "Chip Childers"  wrote:

>On Thu, Apr 11, 2013 at 10:36:59PM -0700, Min Chen wrote:
>> It seems to me that this patch will fix 1989, not 1987.
>> Thanks
>> -min
>
>I'm going to commit that patch, and relate it to 1989.
>
>> 
>> On 4/11/13 6:24 PM, "Marcus Sorensen"  wrote:
>> 
>> >Does it fix 1989, or perhaps both?
>> >
>> >https://issues.apache.org/jira/browse/CLOUDSTACK-1989
>> >On Apr 11, 2013 7:08 PM, "Min Chen"  wrote:
>> >
>> >> Hi Ryan,
>> >>
>> >> Maybe I overlooked something, but I could not understand how
>> >>your
>> >> patch
>> >> is fixing CLOUDSTACK-1987. It would be appreciated if you can
>>address my
>> >> comment in that patch.
>> >>
>> >> Thanks
>> >> -min
>> >>
>> >> On 4/11/13 5:52 PM, "Prachi Damle"  wrote:
>> >>
>> >> >Hi Ryan,
>> >> >
>> >> >Yes Sure, my bad,  will look at the patch first.
>> >> >
>> >> >Thanks,
>> >> >Prachi
>> >> >
>> >> >-Original Message-
>> >> >From: Ryan Dietrich [mailto:r...@betterservers.com]
>> >> >Sent: Thursday, April 11, 2013 5:46 PM
>> >> >To: dev@cloudstack.apache.org
>> >> >Subject: Re: [ACS41] Help needed clearing bugs!
>> >> >
>> >> >Could you look at this first?
>> >> >
>> >> >https://reviews.apache.org/r/10426/
>> >> >
>> >> >On Apr 11, 2013, at 6:25 PM, Prachi Damle 
>> >> wrote:
>> >> >



Re: [QA]question on cloudstack-usage service

2013-04-12 Thread Kelven Yang
It looks like to UsageDao has some trouble to initialize itself. On which
branch does this problem happen?

Kelven

On 4/12/13 11:05 AM, "Wido den Hollander"  wrote:

>
>
>On 04/12/2013 01:33 PM, Suresh Sadhu wrote:
>> HI,
>>
>>
>> Any idea why usage server is stopped with unexpected exception(is there
>>any issue exits/logged already),do we need to add any additional
>>packages/rpm/configurations other than installing the usage server
>>monitor"
>> Seen this issue on master build.
>>
>
>Hmm, that is weird. Could you print the classpath what is submitted to
>the JSVC process?
>
>Wondering what it is generating.
>
>Wido
>
>>
>> [root@rhel631 ~]# service cloudstack-usage start
>> Starting CloudStack Usage Monitor cloudstack-usage [  OK  ]
>> [root@rhel631 ~]# service cloudstack-usage status
>> cloudstack-usage (pid  20999) is running...
>> [root@rhel631 ~]# service cloudstack-usage status
>> cloudstack-usage is stopped
>>
>>
>> Content of cloudstack-usage.err:
>> *
>>
>> log4j:WARN No appenders could be found for logger
>>(org.springframework.core.env.StandardEnvironment).
>> log4j:WARN Please initialize the log4j system properly.
>> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig
>>for more info.
>> java.lang.reflect.InvocationTargetException
>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>  at 
>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
>>:57)
>>  at 
>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
>>mpl.java:43)
>>  at java.lang.reflect.Method.invoke(Method.java:616)
>>  at 
>>org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:17
>>7)
>> Caused by: org.springframework.beans.factory.BeanCreationException:
>>Error creating bean with name 'portForwardingUsageParser': Injection of
>>autowired dependencies failed; nested exception is
>>org.springframework.beans.factory.BeanCreationException: Could not
>>autowire field: private com.cloud.usage.dao.UsageDao
>>com.cloud.usage.parser.PortForwardingUsageParser._usageDao; nested
>>exception is org.springframework.beans.factory.BeanCreationException:
>>Error creating bean with name 'usageDaoImpl' defined in URL
>>[jar:file:/usr/share/cloudstack-usage/lib/cloud-server-4.2.0-SNAPSHOT.jar
>>!/com/cloud/usage/dao/UsageDaoImpl.class]: BeanPostProcessor before
>>instantiation of bean failed; nested exception is
>>net.sf.cglib.core.CodeGenerationException:
>>java.lang.ExceptionInInitializerError-->null
>>  at 
>>org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostP
>>rocessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.j
>>ava:287)
>>  at 
>>org.springframework.beans.factory.support.AbstractAutowireCapableBeanFact
>>ory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
>>  at 
>>org.springframework.beans.factory.support.AbstractAutowireCapableBeanFact
>>ory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
>>  at 
>>org.springframework.beans.factory.support.AbstractAutowireCapableBeanFact
>>ory.createBean(AbstractAutowireCapableBeanFactory.java:456)
>>  at 
>>org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject
>>(AbstractBeanFactory.java:294)
>>  at 
>>org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.ge
>>tSingleton(DefaultSingletonBeanRegistry.java:225)
>>  at 
>>org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(A
>>bstractBeanFactory.java:291)
>>  at 
>>org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abs
>>tractBeanFactory.java:193)
>>  at 
>>org.springframework.beans.factory.support.DefaultListableBeanFactory.preI
>>nstantiateSingletons(DefaultListableBeanFactory.java:609)
>>  at 
>>org.springframework.context.support.AbstractApplicationContext.finishBean
>>FactoryInitialization(AbstractApplicationContext.java:918)
>>  at 
>>org.springframework.context.support.AbstractApplicationContext.refresh(Ab
>>stractApplicationContext.java:469)
>>  at 
>>org.springframework.context.support.ClassPathXmlApplicationContext.
>>(ClassPathXmlApplicationContext.java:139)
>>  at 
>>org.springframework.context.support.ClassPathXmlApplicationContext.
>>(ClassPathXmlApplicationContext.java:83)
>>  at com.cloud.usage.UsageServer.start(UsageServer.java:52)
>>  ... 5 more
>> Caused by: org.springframework.beans.factory.BeanCreationException:
>>Could not autowire field: private com.cloud.usage.dao.UsageDao
>>com.cloud.usage.parser.PortForwardingUsageParser._usageDao; nested
>>exception is org.springframework.beans.factory.BeanCreationException:
>>Error creating bean with name 'usageDaoImpl' defined in URL
>>[jar:file:/usr/share/cloudstack-usage/lib/cloud-server-4.2.0-SNAPSHOT.jar
>>!/com/cloud/usage/dao/UsageDaoImpl.class]: BeanPostProcessor befo

Re: Review Request: Fix CLOUDSTACK-1987: service offerings owned by a domain show up to domain users

2013-04-12 Thread ASF Subversion and Git Services

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


Commit dd486efb77d2dad63991975fd06d033dfa8db445 in branch refs/heads/4.1 from 
Chip Childers 
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=dd486ef ]

Fix CLOUDSTACK-1987: Deleted service offering still shows for domain users. 
Also extend this fix for Disk offering as well.


- ASF Subversion and Git Services


On April 12, 2013, 6:37 p.m., Min Chen wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10432/
> ---
> 
> (Updated April 12, 2013, 6:37 p.m.)
> 
> 
> Review request for cloudstack, Chip Childers, Prachi Damle, and Ryan Dietrich.
> 
> 
> Description
> ---
> 
> Besides fixing CLOUDSTACK-1987 (caused by AND-OR precedence issues in sql 
> statement), this patch also addressed similar issues for DiskOffering 
> (CLOUDSTACK-1987 and CLOUDSTACK-1989). Additionally, this patch fixed 
> wildcard search inconsistency issue for name parameter.
> 
> 
> This addresses bug https://issues.apache.org/jira/browse/CLOUDSTACK-1987.
> 
> 
> Diffs
> -
> 
>   server/src/com/cloud/api/query/QueryManagerImpl.java b96691a 
> 
> Diff: https://reviews.apache.org/r/10432/diff/
> 
> 
> Testing
> ---
> 
> Validated the failed scenario in local setup.
> 
> 
> Thanks,
> 
> Min Chen
> 
>



Re: Review Request: Fix CLOUDSTACK-1987: service offerings owned by a domain show up to domain users

2013-04-12 Thread Chip Childers

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

Ship it!


Applied.  Please be sure that this is fixed in master as well.

- Chip Childers


On April 12, 2013, 6:37 p.m., Min Chen wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10432/
> ---
> 
> (Updated April 12, 2013, 6:37 p.m.)
> 
> 
> Review request for cloudstack, Chip Childers, Prachi Damle, and Ryan Dietrich.
> 
> 
> Description
> ---
> 
> Besides fixing CLOUDSTACK-1987 (caused by AND-OR precedence issues in sql 
> statement), this patch also addressed similar issues for DiskOffering 
> (CLOUDSTACK-1987 and CLOUDSTACK-1989). Additionally, this patch fixed 
> wildcard search inconsistency issue for name parameter.
> 
> 
> This addresses bug https://issues.apache.org/jira/browse/CLOUDSTACK-1987.
> 
> 
> Diffs
> -
> 
>   server/src/com/cloud/api/query/QueryManagerImpl.java b96691a 
> 
> Diff: https://reviews.apache.org/r/10432/diff/
> 
> 
> Testing
> ---
> 
> Validated the failed scenario in local setup.
> 
> 
> Thanks,
> 
> Min Chen
> 
>



Re: Issue launching VM on VMware

2013-04-12 Thread Mike Tutkowski
Looks like it might be because no virtual router is running?

2013-04-12 12:50:27,994 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:null) Found 0 routers to update status.
2013-04-12 12:50:27,995 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:null) Found 0 networks to update RvR status.
2013-04-12 12:50:28,026 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:null) Found 0 routers to update status.
2013-04-12 12:50:28,027 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:null) Found 0 networks to update RvR status.

My SSVM is running, but it looks like no virtual router is.


On Fri, Apr 12, 2013 at 12:11 PM, Kelven Yang wrote:

> Look back from the exception in logs, this exception is the final place
> that throws the failure exception, the actual reason may be shown in logs
> earlier than this point.
> Kelven
>
> On 4/12/13 10:46 AM, "Mike Tutkowski" 
> wrote:
>
> >Same problem when I try to start the VM on the local storage of either of
> >my ESXi hosts.
> >
> >
> >On Fri, Apr 12, 2013 at 11:39 AM, Mike Tutkowski <
> >mike.tutkow...@solidfire.com> wrote:
> >
> >> Hi,
> >>
> >> Any thoughts on this?  It seems like I should have plenty of memory (on
> >> either of my two ESXi hosts) and plenty of storage space (on my
> >> iSCSI-backed VMFS datastore).
> >>
> >> Thanks!
> >>
> >> INFO  [user.vm.DeployVMCmd] (Job-Executor-11:job-11) Unable to create a
> >> deployment for VM[User|5878531f-2164-48cc-b1b7-3b38e9b16b5f]
> >> com.cloud.exception.InsufficientServerCapacityException: Unable to
> >>create
> >> a deployment for
> >> VM[User|5878531f-2164-48cc-b1b7-3b38e9b16b5f]Scope=interface
> >> com.cloud.dc.DataCenter; id=1
> >>  at
> >>
> >>org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.reserve
> >>VirtualMachine(VMEntityManagerImpl.java:186)
> >> at
> >>
> >>
> org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.re
> >>serve(VirtualMachineEntityImpl.java:198)
> >>  at
> >>
> >>com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java
> >>:3859)
> >> at
> >>
> >>com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java
> >>:3458)
> >>  at
> >>
> >>com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java
> >>:3444)
> >> at
> >>
> >>com.cloud.utils.component.ComponentInstantiationPostProcessor$Interceptor
> >>Dispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> >>  at
> >>
> >>org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd
> >>.java:379)
> >> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
> >>  at
> >> com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
> >> at
> >>java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
> >>  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> >> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> >>  at
> >>
> >>java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor
> >>.java:895)
> >> at
> >>
> >>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav
> >>a:918)
> >>  at java.lang.Thread.run(Thread.java:680)
> >>
> >>
> >> --
> >> *Mike Tutkowski*
> >> *Senior CloudStack Developer, SolidFire Inc.*
> >> e: mike.tutkow...@solidfire.com
> >> o: 303.746.7302
> >> Advancing the way the world uses the
> >>cloud
> >> * *
> >>
> >
> >
> >
> >--
> >*Mike Tutkowski*
> >*Senior CloudStack Developer, SolidFire Inc.*
> >e: mike.tutkow...@solidfire.com
> >o: 303.746.7302
> >Advancing the way the world uses the
> >cloud
> >* *
>
>


-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud
*™*


Re: [ACS41] Help needed clearing bugs!

2013-04-12 Thread Chip Childers
On Fri, Apr 12, 2013 at 11:40:35AM -0700, Min Chen wrote:
> Chip, patch for CLOUDSTACK-1987 is submitted for review:
> https://reviews.apache.org/r/10432/.
> 
> Thanks
> -min

Applied!  Please make sure it gets into master.

commit dd486efb77d2dad63991975fd06d033dfa8db445
Author: Min Chen 
Date:   Fri Apr 12 11:29:16 2013 -0700

Fix CLOUDSTACK-1987: Deleted service offering still shows for domain users. 
Also extend this fix for Disk offering as well.


RE: The given command does not exist or it is not available for user

2013-04-12 Thread Sangeetha Hariharan
I have seen this issue happen intermittently when the management server has not 
yet loaded all the components but we are able to access the management server 
UI.
At this point , when we log in , we are presented with " The given command does 
not exist or it is not available for user". 

But when you try to log in after few minutes (after the components loading is 
completed) , you will be able to log in successfully.

Is this the kind of issues you are facing?

2013-04-12 11:46:53,228 INFO  [utils.component.ComponentContext] (Timer-1:null) 
Configuring 
com.cloud.network.guru.OvsGuestNetworkGuru_EnhancerByCloudStack_d7cda260
2013-04-12 11:46:53,228 INFO  [utils.component.ComponentContext] (Timer-1:null) 
Configuring com.cloud.hypervisor.guru.VMwareGuru_EnhancerByCloudStack_4fd95e3d
2013-04-12 11:46:53,228 INFO  [utils.component.ComponentContext] (Timer-1:null) 
Configuring 
com.cloud.network.guru.StorageNetworkGuru_EnhancerByCloudStack_42e7a777
2013-04-12 11:46:53,228 INFO  [utils.component.ComponentContext] (Timer-1:null) 
Configuring 
com.cloud.network.element.MidoNetElement_EnhancerByCloudStack_c15799f2
2013-04-12 11:46:53,230 INFO  [network.element.MidoNetElement] (Timer-1:null) 
midonet API server address is  http://localhost:8081
2013-04-12 11:46:53,399 DEBUG [cloud.api.ApiServlet] (catalina-exec-19:null) 
===START===  10.217.252.128 -- POST  null
2013-04-12 11:46:53,419 DEBUG [cloud.user.AccountManagerImpl] 
(catalina-exec-19:null) Attempting to log in user: admin in domain 1
2013-04-12 11:46:53,419 DEBUG [server.auth.SHA256SaltedUserAuthenticator] 
(catalina-exec-19:null) Retrieving user: admin
2013-04-12 11:46:54,360 DEBUG [cloud.user.AccountManagerImpl] 
(catalina-exec-19:null) User: admin in domain 1 has successfully logged in
2013-04-12 11:46:54,410 DEBUG [cloud.api.ApiServlet] (catalina-exec-19:null) 
===END===  10.217.252.128 -- POST  null
2013-04-12 11:46:54,451 DEBUG [cloud.api.ApiServlet] (catalina-exec-24:null) 
===START===  10.217.252.128 -- GET  
command=listCapabilities&response=json&sessionkey=Bqhd5Xu2xRt2Zy5pmcwSKJBNLrg%3D&_=1365792760278
2013-04-12 11:46:54,469 DEBUG [cloud.api.ApiServer] (catalina-exec-24:null) The 
given command:listCapabilities does not exist or it is not available for user 
with id:2
2013-04-12 11:46:54,497 DEBUG [cloud.api.ApiServlet] (catalina-exec-24:null) 
===END===  10.217.252.128 -- GET  
command=listCapabilities&response=json&sessionkey=Bqhd5Xu2xRt2Zy5pmcwSKJBNLrg%3D&_=1365792760278
2013-04-12 11:46:54,521 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) 
===START===  10.217.252.128 -- GET  
command=listSwifts&response=json&sessionkey=Bqhd5Xu2xRt2Zy5pmcwSKJBNLrg%3D&_=1365792760350
2013-04-12 11:46:54,530 DEBUG [cloud.api.ApiServer] (catalina-exec-5:null) The 
given command:listSwifts does not exist or it is not available for user with 
id:2
2013-04-12 11:46:54,533 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) 
===END===  10.217.252.128 -- GET  
command=listSwifts&response=json&sessionkey=Bqhd5Xu2xRt2Zy5pmcwSKJBNLrg%3D&_=1365792760350
2013-04-12 11:46:56,328 INFO  [utils.component.ComponentContext] (Timer-1:null) 
Configuring 
org.apache.cloudstack.storage.allocator.ClusterScopeStoragePoolAllocator_EnhancerByCloudStack_580b2575
2013-04-12 11:46:56,333 INFO  [utils.component.ComponentContext] (Timer-1:null) 
Configuring 
org.apache.cloudstack.storage.allocator.GarbageCollectingStoragePoolAllocator_EnhancerByCloudStack_f46bb5fa
2013-04-12 11:46:56,363 INFO  [utils.component.ComponentContext] (Timer-1:null) 
Configuring 
org.apache.cloudstack.acl.StaticRoleBasedAPIAccessChecker_EnhancerByCloudStack_cbfe3f69
2013-04-12 11:46:56,378 INFO  [utils.component.ComponentContext] (Timer-1:null) 
Configuring com.cloud.ha.KVMFencer_EnhancerByCloudStack_afa1b038
2013-04-12 11:46:56,378 INFO  [utils.component.ComponentContext] (Timer-1:null) 
Configuring 
com.cloud.network.element.VirtualRouterElement_EnhancerByCloudStack_5301d244
2013-04-12 11:46:56,378 INFO  [utils.component.ComponentContext] (Timer-1:null) 
Configuring com.cloud.ha.XenServerFencer_EnhancerByCloudStack_75828daa
2013-04-12 11:46:56,378 INFO  [utils.component.ComponentContext] (Timer-1:null) 
Configuring 
com.cloud.storage.secondary.SecondaryStorageVmDefaultAllocator_EnhancerByCloudStack_b44dce17

Thanks
Sangeetha

-Original Message-
From: rohityada...@gmail.com [mailto:rohityada...@gmail.com] On Behalf Of Rohit 
Yadav
Sent: Friday, April 12, 2013 10:51 AM
To: dev@cloudstack.apache.org
Subject: Re: The given command does not exist or it is not available for user

Probably an ACL issue, occurs when a user is trying to execute an API they are 
not allowed; or the API does not exist.

HTH.
On Apr 12, 2013 7:28 PM, "Paul Angus"  wrote:

>  Hi All,
>
>
>
> When I try to log in to the current build of CloudStack 4.1 I get an 
> error in the browser:
>
>
>
> The given command does not exist or it is not available for user
>
>
>
> The management-server.log shows:
>
>
>
> 2013-04-12 13:52:55,79

Re: Regarding Master branch Blocker Bug: Failed to inject generated public key into systemvm iso due to java.io.IOException

2013-04-12 Thread Chiradeep Vittal
Permissions of the files? (scripts and iso and keys)

On 4/12/13 11:14 AM, "Chandan Purushothama"
 wrote:

>Hello,
>
>I filed a blocker bug on master branch
>https://issues.apache.org/jira/browse/CLOUDSTACK-2013 yesterday. May I
>know whether anyone can pick it up and unblock me. I am currently unable
>to login to the management server and do anything with the cloudstack
>management server. Kindly let me know,
>
>Thank you,
>Chandan.



Re: Review Request: Remove VM snapshot table creation from schema-40to410.sql

2013-04-12 Thread Chip Childers

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

Ship it!


Applied. Thanks!

commit d61b9fe827e7f1956c611be5d956a992697b7417
Author: Mice Xia 
Date:   Wed Apr 10 09:52:32 2013 +0800

remove vm_snapshot schema creation from 40to410.sql

- Chip Childers


On April 10, 2013, 6:13 a.m., mice xia wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10390/
> ---
> 
> (Updated April 10, 2013, 6:13 a.m.)
> 
> 
> Review request for cloudstack and Chip Childers.
> 
> 
> Description
> ---
> 
> vm snapshot is not in 4.1, related schema creation script should not be in 
> schema-40to410.sql
> 
> 
> Diffs
> -
> 
>   setup/db/db/schema-40to410.sql f327ce9 
> 
> Diff: https://reviews.apache.org/r/10390/diff/
> 
> 
> Testing
> ---
> 
> mvn -P developer -pl developer -Ddeploydb
> 
> succeed
> 
> 
> Thanks,
> 
> mice xia
> 
>



Re: Issue launching VM on VMware

2013-04-12 Thread Mike Tutkowski
So, could this be the problem:

In the interest of efficiency, I am running a virtual appliance with
vCenter inside of it on one of the two ESXi hosts I'm using in CloudStack.

Technically we're not supposed to have any VMs running that we're not
started by CloudStack, right?

Could this be what's causing my troubles?


On Fri, Apr 12, 2013 at 12:56 PM, Mike Tutkowski <
mike.tutkow...@solidfire.com> wrote:

> Looks like it might be because no virtual router is running?
>
> 2013-04-12 12:50:27,994 DEBUG
> [network.router.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:null) Found 0 routers to update status.
> 2013-04-12 12:50:27,995 DEBUG
> [network.router.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:null) Found 0 networks to update RvR status.
> 2013-04-12 12:50:28,026 DEBUG
> [network.router.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:null) Found 0 routers to update status.
> 2013-04-12 12:50:28,027 DEBUG
> [network.router.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:null) Found 0 networks to update RvR status.
>
> My SSVM is running, but it looks like no virtual router is.
>
>
> On Fri, Apr 12, 2013 at 12:11 PM, Kelven Yang wrote:
>
>> Look back from the exception in logs, this exception is the final place
>> that throws the failure exception, the actual reason may be shown in logs
>> earlier than this point.
>> Kelven
>>
>> On 4/12/13 10:46 AM, "Mike Tutkowski" 
>> wrote:
>>
>> >Same problem when I try to start the VM on the local storage of either of
>> >my ESXi hosts.
>> >
>> >
>> >On Fri, Apr 12, 2013 at 11:39 AM, Mike Tutkowski <
>> >mike.tutkow...@solidfire.com> wrote:
>> >
>> >> Hi,
>> >>
>> >> Any thoughts on this?  It seems like I should have plenty of memory (on
>> >> either of my two ESXi hosts) and plenty of storage space (on my
>> >> iSCSI-backed VMFS datastore).
>> >>
>> >> Thanks!
>> >>
>> >> INFO  [user.vm.DeployVMCmd] (Job-Executor-11:job-11) Unable to create a
>> >> deployment for VM[User|5878531f-2164-48cc-b1b7-3b38e9b16b5f]
>> >> com.cloud.exception.InsufficientServerCapacityException: Unable to
>> >>create
>> >> a deployment for
>> >> VM[User|5878531f-2164-48cc-b1b7-3b38e9b16b5f]Scope=interface
>> >> com.cloud.dc.DataCenter; id=1
>> >>  at
>> >>
>>
>> >>org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.reserve
>> >>VirtualMachine(VMEntityManagerImpl.java:186)
>> >> at
>> >>
>> >>
>> org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.re
>> >>serve(VirtualMachineEntityImpl.java:198)
>> >>  at
>> >>
>>
>> >>com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java
>> >>:3859)
>> >> at
>> >>
>>
>> >>com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java
>> >>:3458)
>> >>  at
>> >>
>>
>> >>com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java
>> >>:3444)
>> >> at
>> >>
>>
>> >>com.cloud.utils.component.ComponentInstantiationPostProcessor$Interceptor
>> >>Dispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>> >>  at
>> >>
>>
>> >>org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd
>> >>.java:379)
>> >> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
>> >>  at
>> >> com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
>> >> at
>> >>java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
>> >>  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>> >> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>> >>  at
>> >>
>>
>> >>java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor
>> >>.java:895)
>> >> at
>> >>
>>
>> >>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav
>> >>a:918)
>> >>  at java.lang.Thread.run(Thread.java:680)
>> >>
>> >>
>> >> --
>> >> *Mike Tutkowski*
>> >> *Senior CloudStack Developer, SolidFire Inc.*
>> >> e: mike.tutkow...@solidfire.com
>> >> o: 303.746.7302
>> >> Advancing the way the world uses the
>> >>cloud
>> >> * *
>> >>
>> >
>> >
>> >
>> >--
>> >*Mike Tutkowski*
>> >*Senior CloudStack Developer, SolidFire Inc.*
>> >e: mike.tutkow...@solidfire.com
>> >o: 303.746.7302
>> >Advancing the way the world uses the
>> >cloud
>> >* *
>>
>>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the 
> cloud
> *™*
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud
*™*


Re: Review Request: [4.1] Fix Primary typo

2013-04-12 Thread Chip Childers

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

Ship it!


Applied to 4.1:

commit 531bb6c1754f0d23b868abe526f8e19fc635ed30
Author: Pascal Borreli 
Date:   Fri Apr 12 03:53:51 2013 +

Fixed Primary typo

- Chip Childers


On April 12, 2013, 4:45 p.m., Pascal Borreli wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10431/
> ---
> 
> (Updated April 12, 2013, 4:45 p.m.)
> 
> 
> Review request for cloudstack and Chip Childers.
> 
> 
> Description
> ---
> 
> Fixed Primay -> Primary
> 
> 
> Diffs
> -
> 
>   client/WEB-INF/classes/resources/messages_de_DE.properties 5c7fc63 
>   
> engine/storage/integration-test/test/org/apache/cloudstack/storage/test/DirectAgentTest.java
>  2d6b94f 
>   
> engine/storage/src/org/apache/cloudstack/storage/command/CreateVolumeFromBaseImageCommand.java
>  f4be067 
>   
> engine/storage/src/org/apache/cloudstack/storage/to/ImageOnPrimaryDataStoreTO.java
>  PRE-CREATION 
>   
> engine/storage/src/org/apache/cloudstack/storage/to/ImageOnPrimayDataStoreTO.java
>  18743d7 
>   
> plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServerStorageResource.java
>  70660d2 
> 
> Diff: https://reviews.apache.org/r/10431/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Pascal Borreli
> 
>



Re: Review Request: [4.1] Fix Primary typo

2013-04-12 Thread Chip Childers

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

Ship it!


Applied to 4.1:

commit 531bb6c1754f0d23b868abe526f8e19fc635ed30
Author: Pascal Borreli 
Date:   Fri Apr 12 03:53:51 2013 +

Fixed Primary typo

- Chip Childers


On April 12, 2013, 4:45 p.m., Pascal Borreli wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10431/
> ---
> 
> (Updated April 12, 2013, 4:45 p.m.)
> 
> 
> Review request for cloudstack and Chip Childers.
> 
> 
> Description
> ---
> 
> Fixed Primay -> Primary
> 
> 
> Diffs
> -
> 
>   client/WEB-INF/classes/resources/messages_de_DE.properties 5c7fc63 
>   
> engine/storage/integration-test/test/org/apache/cloudstack/storage/test/DirectAgentTest.java
>  2d6b94f 
>   
> engine/storage/src/org/apache/cloudstack/storage/command/CreateVolumeFromBaseImageCommand.java
>  f4be067 
>   
> engine/storage/src/org/apache/cloudstack/storage/to/ImageOnPrimaryDataStoreTO.java
>  PRE-CREATION 
>   
> engine/storage/src/org/apache/cloudstack/storage/to/ImageOnPrimayDataStoreTO.java
>  18743d7 
>   
> plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServerStorageResource.java
>  70660d2 
> 
> Diff: https://reviews.apache.org/r/10431/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Pascal Borreli
> 
>



Re: New Committer: Bruno Demion (a.k.a milamber)

2013-04-12 Thread Milamber

Thanks Community CS !

Hopefully I bring some good things on CloudStack!

Milamber

Le 12/04/2013 16:02, Sebastien Goasguen a ecrit :

The Project Management Committee (PMC) for Apache CloudStack has asked Bruno 
Demion (a.k.a milamber) to become a committer and we are pleased to announced 
that they have accepted.

Bruno has contributed to the french translation of the UI and the Docs, as well 
as fixed several issues with encoding of the localization support of the UI.  
For information, Bruno is also a committer and PMC member of the Apache Jmeter 
project.
Being a committer allows many contributors to contribute more
autonomously. For developers, it makes it easier to submit changes and
eliminates the need to have contributions reviewed via the patch
submission process. Whether contributions are development-related or
otherwise, it is a recognition of a contributor's participation in the
project and commitment to the project and the Apache Way.
Please join me in congratulating Bruno,

-Sebastien, on behalf of  the Apache CloudStack PMC




[ACS41] Final push to the first RC!

2013-04-12 Thread Chip Childers
Hi!

Fantastic job over the last 24 hours.  We're now done with the known
Blocker and Critical *functional* bugs.

Outstanding work:

Complete the release notes - How's that going Joe?  Need / want help?

Upload the IPv6 enabled system VM template to Wido's server (Chiradeep
is putting it somewhere for me to push to Wido's server), and update the
documentation to reference the download location.  I'll handle these
items.

Last, but not least, Ilya asked if CLOUDSTACK-524 could be put into 4.1.
The fix looks reasonable to me, and I pinged Chiradeep to see if he
wouldn't mind providing a 4.1 specific patch or cherry-pick request.

Are there any other outstanding items that others want to see complete
before I cut the RC?

The only other outstanding question is if we want to get 4.0.2 out of
the way *first*, or if we do them concurrently.  IMO we can do them
concurrently.

Unless anyone objects, or raises other items for inclusion, I'll start
the process as soon as we complete the items noted above.

-chip


RE: Issue launching VM on VMware

2013-04-12 Thread Musayev, Ilya
Mike,

I've done many vmware install, I don't believe your issue is with VC running on 
the same hypervisor you are trying to manage - since one of my setups is doing 
just that.

Also, while it maybe stated somewhere that you should dedicate this hypervisor 
to CS, CS does not know anything about other VMs it did not create. It maybe a 
best practice to dedicate your hypervisors, however, its not a must requirement 
(please correct me if I'm wrong).

Even when you place ESXi into maintenance mode in CS, it does not really take 
hypervisor into maintenance mode, it just evacuvates its VMs to other 
hypervisors.

Typical reasons for your problem:
1) you've changed "Management Network" port group
2) you are not using default vswitch0
(both of the above can be changed in settings)
3) you attempting to use DVS, not yet supported in 4.1, supported in 4.2
 - I will release my version of ACS of 4.1 with DVS integrated as soon as 4.1 
goes out.

If none of the above are true, please submit a log through 
paste.cloudstack.org, the exception you've posted show the end result error - 
but not the original cause.

Regards
ilya

> -Original Message-
> From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
> Sent: Friday, April 12, 2013 3:18 PM
> To: dev@cloudstack.apache.org
> Cc: cloudstack-...@incubator.apache.org
> Subject: Re: Issue launching VM on VMware
> 
> So, could this be the problem:
> 
> In the interest of efficiency, I am running a virtual appliance with vCenter
> inside of it on one of the two ESXi hosts I'm using in CloudStack.
> 
> Technically we're not supposed to have any VMs running that we're not
> started by CloudStack, right?
> 
> Could this be what's causing my troubles?
> 
> 
> On Fri, Apr 12, 2013 at 12:56 PM, Mike Tutkowski <
> mike.tutkow...@solidfire.com> wrote:
> 
> > Looks like it might be because no virtual router is running?
> >
> > 2013-04-12 12:50:27,994 DEBUG
> > [network.router.VirtualNetworkApplianceManagerImpl]
> > (RouterStatusMonitor-1:null) Found 0 routers to update status.
> > 2013-04-12 12:50:27,995 DEBUG
> > [network.router.VirtualNetworkApplianceManagerImpl]
> > (RouterStatusMonitor-1:null) Found 0 networks to update RvR status.
> > 2013-04-12 12:50:28,026 DEBUG
> > [network.router.VirtualNetworkApplianceManagerImpl]
> > (RouterStatusMonitor-1:null) Found 0 routers to update status.
> > 2013-04-12 12:50:28,027 DEBUG
> > [network.router.VirtualNetworkApplianceManagerImpl]
> > (RouterStatusMonitor-1:null) Found 0 networks to update RvR status.
> >
> > My SSVM is running, but it looks like no virtual router is.
> >
> >
> > On Fri, Apr 12, 2013 at 12:11 PM, Kelven Yang
> wrote:
> >
> >> Look back from the exception in logs, this exception is the final
> >> place that throws the failure exception, the actual reason may be
> >> shown in logs earlier than this point.
> >> Kelven
> >>
> >> On 4/12/13 10:46 AM, "Mike Tutkowski" 
> >> wrote:
> >>
> >> >Same problem when I try to start the VM on the local storage of
> >> >either of my ESXi hosts.
> >> >
> >> >
> >> >On Fri, Apr 12, 2013 at 11:39 AM, Mike Tutkowski <
> >> >mike.tutkow...@solidfire.com> wrote:
> >> >
> >> >> Hi,
> >> >>
> >> >> Any thoughts on this?  It seems like I should have plenty of
> >> >> memory (on either of my two ESXi hosts) and plenty of storage
> >> >> space (on my iSCSI-backed VMFS datastore).
> >> >>
> >> >> Thanks!
> >> >>
> >> >> INFO  [user.vm.DeployVMCmd] (Job-Executor-11:job-11) Unable to
> >> >>create a  deployment for
> >> >>VM[User|5878531f-2164-48cc-b1b7-3b38e9b16b5f]
> >> >> com.cloud.exception.InsufficientServerCapacityException: Unable to
> >> >>create  a deployment for
> >> >>VM[User|5878531f-2164-48cc-b1b7-3b38e9b16b5f]Scope=interface
> >> >> com.cloud.dc.DataCenter; id=1
> >> >>  at
> >> >>
> >>
> >> >>org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.r
> >> >>eserve
> >> >>VirtualMachine(VMEntityManagerImpl.java:186)
> >> >> at
> >> >>
> >> >>
> >> org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImp
> >> l.re
> >> >>serve(VirtualMachineEntityImpl.java:198)
> >> >>  at
> >> >>
> >>
> >>
> >>com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManage
> rImp
> >> >>l.java
> >> >>:3859)
> >> >> at
> >> >>
> >>
> >>
> >>com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManage
> rImp
> >> >>l.java
> >> >>:3458)
> >> >>  at
> >> >>
> >>
> >>
> >>com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManage
> rImp
> >> >>l.java
> >> >>:3444)
> >> >> at
> >> >>
> >>
> >>
> >>com.cloud.utils.component.ComponentInstantiationPostProcessor$Inter
> >> >>ceptor
> >> >>Dispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> >> >>  at
> >> >>
> >>
> >>
> >>org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(De
> plo
> >> >>yVMCmd
> >> >>.java:379)
> >> >> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
> >> >>  at
> >> >>
> >>
> >>com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.jav
> a:
> >> >>437)

Re: Review Request: Fix CLOUDSTACK-1987: service offerings owned by a domain show up to domain users

2013-04-12 Thread ASF Subversion and Git Services

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


Commit 4b1a9f146c7316ba885d0889bd10ae09074e1169 in branch refs/heads/master 
from Min Chen 
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=4b1a9f1 ]

Fix CLOUDSTACK-1987: Deleted service offering still shows for domain users. 
Also extend this fix for Disk offering as well.


- ASF Subversion and Git Services


On April 12, 2013, 6:37 p.m., Min Chen wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10432/
> ---
> 
> (Updated April 12, 2013, 6:37 p.m.)
> 
> 
> Review request for cloudstack, Chip Childers, Prachi Damle, and Ryan Dietrich.
> 
> 
> Description
> ---
> 
> Besides fixing CLOUDSTACK-1987 (caused by AND-OR precedence issues in sql 
> statement), this patch also addressed similar issues for DiskOffering 
> (CLOUDSTACK-1987 and CLOUDSTACK-1989). Additionally, this patch fixed 
> wildcard search inconsistency issue for name parameter.
> 
> 
> This addresses bug https://issues.apache.org/jira/browse/CLOUDSTACK-1987.
> 
> 
> Diffs
> -
> 
>   server/src/com/cloud/api/query/QueryManagerImpl.java b96691a 
> 
> Diff: https://reviews.apache.org/r/10432/diff/
> 
> 
> Testing
> ---
> 
> Validated the failed scenario in local setup.
> 
> 
> Thanks,
> 
> Min Chen
> 
>



Re: [ACS41] Help needed clearing bugs!

2013-04-12 Thread Min Chen
Thanks. Applied to master as well.

-min

On 4/12/13 11:56 AM, "Chip Childers"  wrote:

>On Fri, Apr 12, 2013 at 11:40:35AM -0700, Min Chen wrote:
>> Chip, patch for CLOUDSTACK-1987 is submitted for review:
>> https://reviews.apache.org/r/10432/.
>> 
>> Thanks
>> -min
>
>Applied!  Please make sure it gets into master.
>
>commit dd486efb77d2dad63991975fd06d033dfa8db445
>Author: Min Chen 
>Date:   Fri Apr 12 11:29:16 2013 -0700
>
>Fix CLOUDSTACK-1987: Deleted service offering still shows for domain
>users. Also extend this fix for Disk offering as well.



RE: [ACS41] Final push to the first RC!

2013-04-12 Thread Sudha Ponnaganti
One additional task to be done is clearing Resolved features/improvements. 
There are a few tasks left to be closed. Reporters need to confirm validity of 
the implementation as no one has picked those up for validation in community.  
Other than that rest are all validated and closed. Can this be added to 
outstanding work?

-Original Message-
From: Chip Childers [mailto:chip.child...@sungard.com] 
Sent: Friday, April 12, 2013 1:04 PM
To: dev@cloudstack.apache.org
Subject: [ACS41] Final push to the first RC!

Hi!

Fantastic job over the last 24 hours.  We're now done with the known Blocker 
and Critical *functional* bugs.

Outstanding work:

Complete the release notes - How's that going Joe?  Need / want help?

Upload the IPv6 enabled system VM template to Wido's server (Chiradeep is 
putting it somewhere for me to push to Wido's server), and update the 
documentation to reference the download location.  I'll handle these items.

Last, but not least, Ilya asked if CLOUDSTACK-524 could be put into 4.1.
The fix looks reasonable to me, and I pinged Chiradeep to see if he wouldn't 
mind providing a 4.1 specific patch or cherry-pick request.

Are there any other outstanding items that others want to see complete before I 
cut the RC?

The only other outstanding question is if we want to get 4.0.2 out of the way 
*first*, or if we do them concurrently.  IMO we can do them concurrently.

Unless anyone objects, or raises other items for inclusion, I'll start the 
process as soon as we complete the items noted above.

-chip


Review Request: Fix command for executing injectkeys.sh

2013-04-12 Thread Phong Nguyen

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

Review request for cloudstack and Hugo Trippaers.


Description
---

Management server unable to start (from rpm) due to invalid call to Script for 
injectkeys.sh. 

2013-04-12 15:02:13,496 WARN  [cloud.server.ConfigurationServerImpl] 
(Timer-1:null) Failed to inject generated public key into systemvm iso 
java.io.IOException: Cannot run program "/bin/bash 
/usr/share/cloudstack-common/scripts/vm/systemvm/injectkeys.sh": error=2, No 
such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
at com.cloud.utils.script.Script.execute(Script.java:183)


Diffs
-

  server/src/com/cloud/server/ConfigurationServerImpl.java 596387f 

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


Testing
---

Rebuilt rpm and tested management server startup -- success


Thanks,

Phong Nguyen



Re: deployDataCenter.py doesn't work for me on master

2013-04-12 Thread Soheil Eizadi
Here is my latest update, there were a bunch of separate emails about
4a7d392f1 on systemvm.iso thread.
I assumed pulling the latest trunk, I should be fine, which I did that and
rebuilt and deployed DB and started from scratch, rather than reverting
4a7d392f1. 

I still cannot create a zone, I get to this point after Host/XenServer has
been discovered and we are creating the first VM. It passed all
allocations checks and trying to create VM from Template,

I get internal Error on XenServer:
>> INTERNAL_ERROR: [ Record_util.Record_failure("Failed to parse field
>>'virtual-size'


For the call to XenServer from MS:
xe vdi-create sr-uuid=c375f445-5314-8c9b-bbc7-f60a84a65c6c
virtual-size=MiB type=user
name-label=cloud-9d2467db-75f8-451c-9beb-df47d626e23b username=root
password=null


Not sure why this field is not set to a proper value?

-Soheil

More detail logs below ….

[root@xenserver-devcloud log]# xe host-param-list
uuid=f4bc16a9-291c-4d2e-b9f2-d018cabd1a4b | grep version
API-version-major ( RO): 1
API-version-minor ( RO): 9
   API-version-vendor ( RO): XenSource
API-version-vendor-implementation (MRO):
 software-version (MRO): product_version: 6.0.2;
product_version_text: 6.0.2; product_version_text_short: 6.0.2;
product_brand: XenServer; build_number: 53456p; hg_id: ; hostname: choi-3;
date: 2012-03-20; dbv: 2010.0521; xapi: 1.3; xen: 4.1.2; linux:
2.6.32.12-0.7.1.xs6.0.2.542.170665xen; xencenter_min: 1.9; xencenter_max:
1.9; network_backend: openvswitch; xs:main: XenServer Pack, version 6.0.2,
build 53456p; xcp:main: Base Pack, version 1.0.99, build 53456p;
xs:XS602E001.XS602E002: Hotfix XS602E001.XS602E002, version 6.0.2;
xs:xenserver-transfer-vm: XenServer Transfer VM, version 6.0.2, build
53456p
 tags (SRW):
vmops-version-com.cloud.hypervisor.xen.resource.XenServer602Resource-4.2.0-
SNAPSHOT, cloud-heartbeat-c375f445-5314-8c9b-bbc7-f60a84a65c6c


vmops.log:
2013-04-12 09:44:05,481 DEBUG [cloud.storage.VolumeManagerImpl]
(secstorage-1:null) Checking if we need to prepare 1 volumes for
VM[SecondaryStorageVm|s-1-VM]
2013-04-12 09:44:05,544 DEBUG [cloud.template.TemplateManagerImpl]
(secstorage-1:null) Downloading 1 via 1
2013-04-12 09:44:05,550 DEBUG [agent.transport.Request]
(secstorage-1:null) Seq 1-258473995: Sending  { Cmd , MgmtId: 1, via: 1,
Ver: v1, Flags: 100111,
[{"storage.PrimaryStorageDownloadCommand":{"localPath":"/mnt/75719dd8-db6b-
398f-924a-c6d088e442d2","poolUuid":"75719dd8-db6b-398f-924a-c6d088e442d2","
poolId":1,"primaryPool":{"id":1,"uuid":"75719dd8-db6b-398f-924a-c6d088e442d
2","host":"172.16.197.134","path":"/opt/storage/primary","port":2049,"type"
:"NetworkFilesystem"},"secondaryStorageUrl":"nfs://172.16.197.134/opt/stora
ge/secondary","primaryStorageUrl":"nfs://172.16.197.134/opt/storage/primary
","url":"nfs://172.16.197.134/opt/storage/secondary/template/tmpl/1/1/","fo
rmat":"VHD","accountId":1,"name":"routing-1","wait":10800}}] }
2013-04-12 09:44:05,551 DEBUG [agent.transport.Request]
(secstorage-1:null) Seq 1-258473995: Executing:  { Cmd , MgmtId: 1, via:
1, Ver: v1, Flags: 100111,
[{"storage.PrimaryStorageDownloadCommand":{"localPath":"/mnt/75719dd8-db6b-
398f-924a-c6d088e442d2","poolUuid":"75719dd8-db6b-398f-924a-c6d088e442d2","
poolId":1,"primaryPool":{"id":1,"uuid":"75719dd8-db6b-398f-924a-c6d088e442d
2","host":"172.16.197.134","path":"/opt/storage/primary","port":2049,"type"
:"NetworkFilesystem"},"secondaryStorageUrl":"nfs://172.16.197.134/opt/stora
ge/secondary","primaryStorageUrl":"nfs://172.16.197.134/opt/storage/primary
","url":"nfs://172.16.197.134/opt/storage/secondary/template/tmpl/1/1/","fo
rmat":"VHD","accountId":1,"name":"routing-1","wait":10800}}] }
2013-04-12 09:44:05,551 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-10:null) Seq 1-258473995: Executing request
2013-04-12 09:44:05,760 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:null) Found 0 routers to update status.
2013-04-12 09:44:05,762 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:null) Found 0 networks to update RvR status.
2013-04-12 09:44:05,772 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:null) Found 0 routers to update status.
2013-04-12 09:44:05,774 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:null) Found 0 networks to update RvR status.
2013-04-12 09:44:07,844 WARN  [xen.resource.CitrixResourceBase]
(DirectAgent-10:null) destoryVDIbyNameLabel failed due to there are 0 VDIs
with name cloud-9d2467db-75f8-451c-9beb-df47d626e23b
2013-04-12 09:44:07,844 WARN  [xen.resource.CitrixResourceBase]
(DirectAgent-10:null) can not create vdi in sr
c375f445-5314-8c9b-bbc7-f60a84a65c6c
2013-04-12 09:44:07,844 WARN  [xen.resource.CitrixResourceBase]
(DirectAgent-10:null) Catch Exception
com.cloud.utils.exception.CloudRuntimeException on
host:f4bc16a9-291c

Re: Review Request: Fix CLOUDSTACK-1987: service offerings owned by a domain show up to domain users

2013-04-12 Thread ASF Subversion and Git Services

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


Commit 4b1a9f146c7316ba885d0889bd10ae09074e1169 in branch refs/heads/internallb 
from Min Chen 
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=4b1a9f1 ]

Fix CLOUDSTACK-1987: Deleted service offering still shows for domain users. 
Also extend this fix for Disk offering as well.


- ASF Subversion and Git Services


On April 12, 2013, 6:37 p.m., Min Chen wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10432/
> ---
> 
> (Updated April 12, 2013, 6:37 p.m.)
> 
> 
> Review request for cloudstack, Chip Childers, Prachi Damle, and Ryan Dietrich.
> 
> 
> Description
> ---
> 
> Besides fixing CLOUDSTACK-1987 (caused by AND-OR precedence issues in sql 
> statement), this patch also addressed similar issues for DiskOffering 
> (CLOUDSTACK-1987 and CLOUDSTACK-1989). Additionally, this patch fixed 
> wildcard search inconsistency issue for name parameter.
> 
> 
> This addresses bug https://issues.apache.org/jira/browse/CLOUDSTACK-1987.
> 
> 
> Diffs
> -
> 
>   server/src/com/cloud/api/query/QueryManagerImpl.java b96691a 
> 
> Diff: https://reviews.apache.org/r/10432/diff/
> 
> 
> Testing
> ---
> 
> Validated the failed scenario in local setup.
> 
> 
> Thanks,
> 
> Min Chen
> 
>



Re: Review Request: Fix command for executing injectkeys.sh

2013-04-12 Thread Chiradeep Vittal
Does this conflict with
5cd3608 Remove the chmod solution and replace with an explicit call to
/bin/bash. This way the file will only need read permissions.



On 4/12/13 2:11 PM, "Phong Nguyen"  wrote:

>
>---
>This is an automatically generated e-mail. To reply, visit:
>https://reviews.apache.org/r/10437/
>---
>
>Review request for cloudstack and Hugo Trippaers.
>
>
>Description
>---
>
>Management server unable to start (from rpm) due to invalid call to
>Script for injectkeys.sh.
>
>2013-04-12 15:02:13,496 WARN  [cloud.server.ConfigurationServerImpl]
>(Timer-1:null) Failed to inject generated public key into systemvm iso
>java.io.IOException: Cannot run program "/bin/bash
>/usr/share/cloudstack-common/scripts/vm/systemvm/injectkeys.sh": error=2,
>No such file or directory
>   at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
>   at com.cloud.utils.script.Script.execute(Script.java:183)
>
>
>Diffs
>-
>
>  server/src/com/cloud/server/ConfigurationServerImpl.java 596387f
>
>Diff: https://reviews.apache.org/r/10437/diff/
>
>
>Testing
>---
>
>Rebuilt rpm and tested management server startup -- success
>
>
>Thanks,
>
>Phong Nguyen
>



Re: deployDataCenter.py doesn't work for me on master

2013-04-12 Thread Chiradeep Vittal
Try this fix http://s.apache.org/j27

On 4/12/13 3:11 PM, "Soheil Eizadi"  wrote:

>>>[ Record_util.Record_failure("Failed to parse field
>>>'virtual-size'
>



RE: [ASFCS42] Proposed schedule for our next release

2013-04-12 Thread Animesh Chaturvedi


> 
> 
> 
> On Apr 11, 2013, at 10:33 PM, "Marcus Sorensen" 
> wrote:
> 
> > One thing I'd like to point out, and perhaps its merely subjective,
> > but it seemed like from initial 4.1 feature freeze to a week or two
> > before the rc was supposed to be cut there wasn't much action on bug
> > fixing. It wasn't until the deadlines started becoming imminent that
> > people came back to work on 4.1. Just something to keep in mind when
> discussing extending deadlines.
> 
> Certainly the urgency does set in closer to deadlines.
> 
[Animesh>] Marcus I  did further analysis and it points out that there was 
constant activity in defect fixing since the code freeze date and matches up 
closely with defect creation. Please see attached graph.




  1   2   >