Re: Not able to download CentOS template

2014-03-25 Thread Tejas Gadaria
Hi Suresh,

1) "use local storage" flag was marked while zone creation.
2) As I am not able to ping pulic ip of SSVM and CPVM,
I took console of SSVM from xencenter.
SSVM health check..

root@s-9-VM:/usr/local/cloud/systemvm# sh ssvm-check.sh

First DNS server is  8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=56 time=100.616 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=56 time=165.650 ms
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 100.616/133.133/165.650/32.517 ms
Good: Can ping DNS server

Good: DNS resolves download.cloud.com

NFS is currently mounted
Mount point is /mnt/SecStorage/87d42d71-bb1f-3572-af86-17add6e61e15
Good: Can write to mount point

Management server is 10.129.151.57. Checking connectivity.
Good: Can connect to management server port 8250

Good: Java process is running

Tests Complete. Look for ERROR or WARNING above.

3) Status of iptables on MS..

[root@xen ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source   destination

Chain FORWARD (policy ACCEPT)
target prot opt source   destination

Chain OUTPUT (policy ACCEPT)
target prot opt source   destination

4) In Global conf. host ip is set to 10.129.151.57 which is MS ip.

Also I confirm with /etc/cloudstack/management/db.properties
cluster.node.IP=10.129.151.57

Just before my host lost connectivity for 2min, after network restored I
have restarted cloudstack-manageent service
and template status : No route to host


Regards,
Tejas


On Tue, Mar 25, 2014 at 12:37 PM, Suresh Sadhu wrote:

>
> Did you enable   the " use local storage " flag during zone creation
> Also did you check any error  ssvm agent is up and running ?
> Check ur MS is listening on 8250 port. Or stop all the iptables
> What is the value set for host in global config.it should set to MS iP
>
>
> Check why still it's looking for download.cloud.com ,it should refer your
> nfs storage IP
>
>  INFO HttpTemplateDownloader:147 - No credentials configured for host=
> download.cloud.com:80
>
>
> *07:21:55,243  INFO HttpMethodDirector:439 - I/O exception
> (java.net.NoRouteToHostException) caught when processing request: No route
> to host 07:21:55,243  INFO HttpMethodDirector:445
>
>
> Regards
> Sadhu
>
>
>
>
>
>
>
>
>
> -Original Message-
> From: Tejas Gadaria [mailto:refond.g...@gmail.com]
> Sent: 25 March 2014 12:23
> To: us...@cloudstack.apache.org
> Cc: dev@cloudstack.apache.org
> Subject: Re: Not able to download CentOS template
>
> Hi Suresh,
>
> Yes "system.vm.use.local.storage" is already set to "true"
>
> Regards,
> Tejas
>
>
> On Tue, Mar 25, 2014 at 12:18 PM, Suresh Sadhu  >wrote:
>
> > Ok.
> >
> > What is the value set  for the "system.vm.use.local.storage" and I
> > hope you already  enabled  " use local storage " flag during zone
> creation.
> >
> > If "system.vm.use.local.storage" set to false then  please change to
> > true and restart your MS.
> > Regards
> > sadhu
> >
> > -Original Message-
> > From: Tejas Gadaria [mailto:refond.g...@gmail.com]
> > Sent: 25 March 2014 11:09
> > To: dev@cloudstack.apache.org
> > Cc: us...@cloudstack.apache.org
> > Subject: Re: Not able to download CentOS template
> >
> > Hi Suresh,
> >
> > 'secstorage.allowed.internal.sites' already set to Management server
> > IP
> > 10.129.151.57/24 .
> >
> > Regards,
> > Tejas
> >
> >
> > On Tue, Mar 25, 2014 at 11:01 AM, Suresh Sadhu
> >  > >wrote:
> >
> > > What is the value  set for this global configuration :
> > > secstorage.allowed.internal.sites
> > >
> > > Set global configuration secstorage.allowed.internal.sites  to your
> > > internal network  cidr and restart the management server.
> > >
> > > Regards
> > > Sadhu
> > >
> > >
> > > -Original Message-
> > > From: Tejas Gadaria [mailto:refond.g...@gmail.com]
> > > Sent: 25 March 2014 08:50
> > > To: us...@cloudstack.apache.org; dev@cloudstack.apache.org
> > > Subject: Re: Not able to download CentOS template
> > >
> > > Hi Osay,
> > >
> > > I am running NFS server on top of Management server, I have mounted
> > > nfs share..
> > >
> > > [root@xen nfs]# mount
> > > /dev/mapper/VolGroup-lv_root on / type ext4 (rw) proc on /proc type
> > > proc
> > > (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts
> > > (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw)
> > > /dev/sda1 on /boot type ext4 (rw)
> > > none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on
> > > /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
> > > /dev/sdb1 on /nfs type ext4 (rw)
> > > nfsd on /proc/fs/nfsd type nfsd (rw) 10.129.151.57:/nfs/secondary on
> > > /mnt

[GitHub] cloudstack-docs-admin pull request: CLOUDSTACK-6204: updating docs...

2014-03-25 Thread runseb
Github user runseb commented on the pull request:

https://github.com/apache/cloudstack-docs-admin/pull/7#issuecomment-38537220
  
Do you mind checking 
http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/latest/ 
and making a pull request to include this info in the 4.3 What's new section if 
it applies ?

thanks


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack-docs-admin pull request: CLOUDSTACK-6204: updating docs...

2014-03-25 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/cloudstack-docs-admin/pull/7


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: CloudStack New Spring Logic

2014-03-25 Thread Hugo Trippaers
Hey Soheil,

The files look good to me at first glance.

Are you sure the property files are in the final jar? Just asking because you 
use the resource directory and our default is resources.


Cheers,

Hugo


On 24 mrt. 2014, at 20:46, Soheil Eizadi  wrote:

> I am refactoring some code that use to work with the older 4.x before the new 
> Spring changes. I read the Spring wiki and have made the necessary changes, 
> e.g.
> 
> Administrators-MacBook-Pro-88:infoblox seizadi$ find resource/
> 
> resource/
> 
> resource//log4j.properties
> 
> resource//META-INF
> 
> resource//META-INF/cloudstack
> 
> resource//META-INF/cloudstack/infoblox
> 
> resource//META-INF/cloudstack/infoblox/module.properties
> 
> resource//META-INF/cloudstack/infoblox/spring-infoblox-context.xml
> 
> 
> Administrators-MacBook-Pro-88:infoblox seizadi$ cat 
> resource//META-INF/cloudstack/infoblox/module.properties
> 
> # .
> 
> name=infoblox
> 
> parent=network
> 
> 
> Administrators-MacBook-Pro-88:infoblox seizadi$ cat 
> resource//META-INF/cloudstack/infoblox/spring-infoblox-context.xml
> 
> 
> 
> http://www.springframework.org/schema/beans";
> 
>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> 
>   xmlns:context="http://www.springframework.org/schema/context";
> 
>   xmlns:aop="http://www.springframework.org/schema/aop";
> 
>   xsi:schemaLocation="http://www.springframework.org/schema/beans
> 
>  
> http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
> 
>  http://www.springframework.org/schema/aop 
> http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
> 
>  http://www.springframework.org/schema/context
> 
>  
> http://www.springframework.org/schema/context/spring-context-3.0.xsd";
> 
>> 
> 
> 
> class="org.apache.cloudstack.network.dao.InfobloxDaoImpl" />
> 
> class="org.apache.cloudstack.network.element.InfobloxElement" >
> 
>
> 
>
> 
> 
> 
> 
> My jar file builds and gets put into the target directory:
> 
> ./cloud-client-ui-4.4.0-SNAPSHOT/WEB-INF/lib/cloud-plugin-network-infoblox-4.4.0-SNAPSHOT.jar
> 
> ./client/target/cloud-client-ui-4.4.0-SNAPSHOT/WEB-INF/lib/cloud-plugin-network-infoblox-4.4.0-SNAPSHOT.jar
> 
> 
> I don't see my plugin in the Network Hierarchy:
> 
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy: network
> 
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   baremetal-network
> 
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   contrail
> 
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   elb
> 
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   midonet
> 
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   netscaler
> 
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   nvp
> 
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   opendaylight
> 
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   ovs
> 
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   paloalto
> 
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   server-network
> 
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   ssp
> 
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   vns
> 
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   vxlan
> 
> 
> What am I missing to get my module into the DefintionSet?
> 
> -Soheil



Re: Review Request 19588: CLOUDSTACK-6015: Add tests for adding/deleting new user account, adding/deleting user.

2014-03-25 Thread Sebastien Goasguen

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


Still does not apply. 


$ git apply --check ~/Desktop/5.patch 
error: patch failed: test/selenium/browser/__init__.py:0
error: test/selenium/browser/__init__.py: patch does not apply
error: test/selenium/browser/firefox.py: already exists in working directory
error: patch failed: test/selenium/browser/firefox.py:1
error: test/selenium/browser/firefox.py: patch does not apply
error: test/selenium/common/Global_Locators.py: already exists in working 
directory
error: patch failed: test/selenium/common/Global_Locators.py:73
error: test/selenium/common/Global_Locators.py: patch does not apply
error: patch failed: test/selenium/common/__init__.py:0
error: test/selenium/common/__init__.py: patch does not apply
error: test/selenium/common/shared.py: already exists in working directory
error: patch failed: test/selenium/common/shared.py:1
error: test/selenium/common/shared.py: patch does not apply
error: patch failed: test/selenium/cspages/__init__.py:0
error: test/selenium/cspages/__init__.py: patch does not apply
error: test/selenium/cspages/dashboard/__init__.py: already exists in working 
directory
error: test/selenium/cspages/dashboard/dashboardpage.py: already exists in 
working directory
error: test/selenium/cspages/login/__init__.py: already exists in working 
directory
error: test/selenium/cspages/login/loginpage.py: already exists in working 
directory
error: patch failed: test/selenium/cspages/login/loginpage.py:76
error: test/selenium/cspages/login/loginpage.py: patch does not apply
error: patch failed: test/selenium/cstests/__init__.py:0
error: test/selenium/cstests/__init__.py: patch does not apply
error: test/selenium/cstests/regressiontests/__init__.py: already exists in 
working directory
error: patch failed: test/selenium/cstests/smoketests/__init__.py:0
error: test/selenium/cstests/smoketests/__init__.py: patch does not apply
error: test/selenium/cstests/smoketests/global_settings_test.py: already exists 
in working directory
error: test/selenium/cstests/smoketests/login_logout_test.py: already exists in 
working directory
error: patch failed: test/selenium/cstests/smoketests/login_logout_test.py:1
error: test/selenium/cstests/smoketests/login_logout_test.py: patch does not 
apply
error: patch failed: test/selenium/cstests/smoketests/login_logout_test.py:58
error: test/selenium/cstests/smoketests/login_logout_test.py: patch does not 
apply
error: test/selenium/cstests/smoketests/navigation_test.py: already exists in 
working directory
error: test/selenium/cstests/smoketests/smokecfg.py: already exists in working 
directory
error: patch failed: test/selenium/cstests/smoketests/smokecfg.py:1
error: test/selenium/cstests/smoketests/smokecfg.py: patch does not apply

I think you still have the previous commits that you made in the branch you are 
writing those new tests.
So when you created the patch it still includes them.



- Sebastien Goasguen


On March 24, 2014, 4:40 p.m., Yichi Lu wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19588/
> ---
> 
> (Updated March 24, 2014, 4:40 p.m.)
> 
> 
> Review request for cloudstack and Sebastien Goasguen.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> CLOUDSTACK-6015
> Following tests are new (need to be run in the order displayed):
> adduseraccount_test.py
> adduser_test.py
> login_logout_as_JohnD_test.py(new account's username is JohnD)
> deleteuser_test.py
> deleteuseraccount_test.py
> 
> 
> Diffs
> -
> 
>   test/selenium/browser/__init__.py e69de29 
>   test/selenium/browser/firefox.py PRE-CREATION 
>   test/selenium/browser/firefox.py e89619f 
>   test/selenium/common/Global_Locators.py PRE-CREATION 
>   test/selenium/common/Global_Locators.py 1b03d7f 
>   test/selenium/common/__init__.py e69de29 
>   test/selenium/common/shared.py PRE-CREATION 
>   test/selenium/common/shared.py 39f2d33 
>   test/selenium/common/shared.py b4f537f 
>   test/selenium/cspages/__init__.py e69de29 
>   test/selenium/cspages/accounts/accountspage.py PRE-CREATION 
>   test/selenium/cspages/accounts/userspage.py PRE-CREATION 
>   test/selenium/cspages/cspage.py PRE-CREATION 
>   test/selenium/cspages/dashboard/__init__.py PRE-CREATION 
>   test/selenium/cspages/dashboard/dashboardpage.py PRE-CREATION 
>   test/selenium/cspages/dashboard/dashboardpage.py 4394199 
>   test/selenium/cspages/login/__init__.py PRE-CREATION 
>   test/selenium/cspages/login/loginpage.py PRE-CREATION 
>   test/selenium/cspages/login/loginpage.py 39e4295 
>   test/selenium/cspages/login/loginpage.py e7795d9 
>   test/selenium/cspages/loginpage.py PRE-CREATION 
>   test/sel

Re: [PROPOSAL] More Flexible Security Group Implementation

2014-03-25 Thread Jeff Hair
Hi,

If the isVmWare checks are removed, what would they be replaced with
instead? Would it be an additional method in the Security Group Manager?


On Mon, Mar 24, 2014 at 5:40 PM, Chiradeep Vittal <
chiradeep.vit...@citrix.com> wrote:

> Hi, I believe the right layer of abstraction is present in the SG manager
> (and yes, we should remove isVMWare checks). This abstraction works at the
> 'policy' level: which IP/VM is allowed to talk to which VM/IP.  This policy
> is translated into a concrete implementation by the resources. So I don't
> like the idea of hypervisor-specific gurus (network gurus should be
> agnostic of the hypervisor)
>
> From: Jeff Hair mailto:j...@greenqloud.com>>
> Reply-To: "dev@cloudstack.apache.org" <
> dev@cloudstack.apache.org>
> Date: Monday, March 24, 2014 at 9:12 AM
> To: "dev@cloudstack.apache.org" <
> dev@cloudstack.apache.org>
> Subject: [PROPOSAL] More Flexible Security Group Implementation
>
> Hi,
>
> Currently the security group manager has a very specific implementation
> that requires an agent running on the other end. This works for KVM but not
> for other hypervisors such as VMware. The validation mechanisms are also
> very tightly coupled to the large methods in the NetworkManager and
> UserVmManager.
>
> I'd like to propose a more flexible way of handling security groups,
> perhaps called SecurityGroupGuru.
>
> Major points:
>
>- Instead of having hard checks like "if (isVmWare) throw
>InvalidParameterValueException" when it comes to security groups, the
>various managers would loop through the set of security group gurus
> until
>they find a guru that supports the desired configuration (combination of
>hypervisor, zone type, network type).
>- The SecurityGroupManagerImpl will now send jobs off to the
>SecurityGroupGuru to handle, instead of handling the job itself. For
>example, a KvmSecurityGroupGuru would handle the jobs as they are now. A
>new VmwareSecurityGroupGuru could be implemented for VMware, etc.
>
> The main desire for this proposal is to to allow extensible security group
> implementations that don't have to override extremely large methods to
> change their behavior on a few lines.
>
> Some possible use cases of this include:
>
>- Changing security group behavior. Instead of having the security
>groups on a physical host, they could be put on a virtual router.
>- A foundation for security groups in isolated advanced-mode networks.
>- Organized, maintainable implementations of security groups for
>different hypervisors.
>
>
> Thanks,
>
> Jeff
>
>


Review Request 19604: [Windowsfication] fixing log issues on windows

2014-03-25 Thread Damodar Reddy Talakanti

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

Review request for cloudstack and Abhinandan Prateek.


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

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


Repository: cloudstack-git


Description
---

After Windowsfication logs were not getting generated properly on windows. 
Fixed the same by updating tomcat's properties in MSI installer


Diffs
-

  scripts/installer/windows/acs.wxs 7967478 

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


Testing
---

As changes are related to windows tested whether log files are getting 
generated or not in windows.


Thanks,

Damodar Reddy Talakanti



Re: [4.3] Problem with SG, possible release blocker

2014-03-25 Thread Nux!

On 24.03.2014 22:26, Nux! wrote:

Hi,

Possibly as recent work has been done on the SG iptables bits to fix
some serious issues, some others may have been introduced.
Here's the default output of iptables-save in a KVM agent:
http://paste.fedoraproject.org/88208/39569972/

The critical line is: "-A FORWARD -i ssbr0 -j DROP"
This means SSVM can't contact SS.

Possibly also this, though I have not noticed any problems yet:
"-A FORWARD -o mgmtbr0 -j DROP
-A FORWARD -i mgmtbr0 -j DROP"

Can anyone confirm this bug please and make a quick amendment?


This might be a small issue, but if confirmed it should be a blocker as 
it impedes Adv+SG zone functionality.


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Review Request 19608: CLOUDSTACK-6282 - Added new automated testcases

2014-03-25 Thread Vinay Varma

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

Review request for cloudstack and Santhosh Edukulla.


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


Repository: cloudstack-git


Description
---

Adding below new Test cases for test_escalations.py 

test_01_list_volumes_pagination 
test_02_list_volume_byid 
test_03_data_volume_resize 
test_04_custom_volume 
test_05_volume_snapshot 
test_06_volume_snapshot_policy 
test_07_volume_snapshots_pagination 
test_08_volume_extract 
test_09_volume_upload


Diffs
-

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

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


Testing
---

@summary: Test List Volumes pagination ... ok
@summary: Test List Volumes with Id ... ok
@summary: Test to verify creation and resize of data volume ... ok
@summary: Test to verify creation and resize of custom volume ... ok
@summary: Test to verify creation of snapshot from volume and creation of 
template, volume from snapshot ... ok
@summary: Test to verify creation of Hourly, Daily, Weekly, Monthly Snapshot 
policies from volume ... ok
@summary: Test to verify pagination of snapshots for Volume ... ok
@summary: Test to verify extract/download a Volume ... ok
@summary: Test to verify upload volume ... ok

--
Ran 9 tests in 299.663s

OK


Thanks,

Vinay Varma



Re: Review Request 19608: CLOUDSTACK-6282 - Added new automated testcases

2014-03-25 Thread Santhosh Edukulla

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



test/integration/component/test_escalations.py


Line 9:  Move services section to config file in tools/marvin/marvin/config



test/integration/component/test_escalations.py


Change name from services to test_data



test/integration/component/test_escalations.py


Wrap it under try catch block and in case exception call clean up and return



test/integration/component/test_escalations.py


No need to clean VM if account is getting cleaned



test/integration/component/test_escalations.py


get userAPIClient, and wrap it in try catch, and in exception call clean up 
and then  skip tests



test/integration/component/test_escalations.py


This if elif and else can be better reorganized. We may not require elif 
and else, if we verify the output previously available and then proceed with 
further commands.



test/integration/component/test_escalations.py


Keeps all the doc strings at 1 place, make sure that doc strings contains 
steps for test cases, what to validate etc.



test/integration/component/test_escalations.py


Remove @author fields, wherever possible



test/integration/component/test_escalations.py


Remove else just verify for output and fail, then we dont need else 



test/integration/component/test_escalations.py


Move this assert to before else. Check for list_volumes_before as None,list 
type and empty list and fail accordingly.



test/integration/component/test_escalations.py


self is not required here. 



test/integration/component/test_escalations.py


Remove this if, and move clean step after assert. This way, clean up works 
if not none.



test/integration/component/test_escalations.py


Move this to before "if" statement and remove if statement as we already 
verified this in assert



test/integration/component/test_escalations.py


what if list_volumes_after is None



test/integration/component/test_escalations.py


Move all this checks to a simple private function and verify for different 
outputs. Verify for input dictionary of values and return fail\pass. Here, in 
test code use that utility and assert once, we may not need multiple asserts 



test/integration/component/test_escalations.py


what if list_volumes_by_id is None or not a list?



test/integration/component/test_escalations.py


Add clear description and doc strings where ver applicable and possible. 
Add steps and validation for test case.



test/integration/component/test_escalations.py


This if is not required as previous assert covers it.



test/integration/component/test_escalations.py


We can move this attach, list and detach to a simple utility function to be 
used by all tests.



test/integration/component/test_escalations.py


Append only when the output of previous operation is not None or empty list



test/integration/component/test_escalations.py


Rename the test case name properly to suit the purpose..



test/integration/component/test_escalations.py


The output of it can be none or empty?



test/integration/component/test_escalations.py


This test case is too big, break it in to multiple test cases if possible. 
1. To verify creation of snapshot from volume and 2. To verify creation of 
template from snapshot.



test/integration/component/test_escalations.py


Move this code to base.py 



test/integration/component/test_escalations.py


Move the assertions to custom utility function.



test/integration/component/test_escalat

Review Request 19612: Added fix for CLOUDSTACK-6269

2014-03-25 Thread Santhosh Edukulla

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

Review request for cloudstack, daan Hoogland and Kishan Kavala.


Repository: cloudstack-git


Description
---

Added fix for the mentioned bug.More details in the bug.


Diffs
-

  
plugins/hypervisors/simulator/src/com/cloud/agent/manager/MockVmManagerImpl.java
 27002f2 

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


Testing
---

Tested and post this, issue is not observed.


Thanks,

Santhosh Edukulla



[GitHub] cloudstack-docs-rn pull request: CLOUDSTACK-6204: updating release...

2014-03-25 Thread jlk
GitHub user jlk opened a pull request:

https://github.com/apache/cloudstack-docs-rn/pull/4

CLOUDSTACK-6204: updating release notes...

...to reflect depreciation of realhostip

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/jlk/cloudstack-docs-rn master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack-docs-rn/pull/4.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #4


commit eaf9fe30dd5d6818069883248e2e576fad259013
Author: John Kinsella 
Date:   2014-03-25T14:10:05Z

CLOUDSTACK-6204: updating release notes...

...to reflect depreciation of realhostip




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[ANNOUNCE] Apache CloudStack 4.3.0 Released

2014-03-25 Thread Chip Childers
Announcing Apache CloudStack 4.3.0

Tue Mar 25 2014 09:47:06 GMT-0400 (EDT)

Flexible, scalable, Open Source Infrastructure as a Service (IaaS) used
by organizations such as Zynga, Datapipe, and ISWest, among others, for
creating, managing, and deploying public, private, and hybrid Cloud
Computing environments

Forest Hill, MD --25 March 2014-- The Apache Software Foundation (ASF),
the all-volunteer developers, stewards, and incubators of more than 170
Open Source projects and initiatives, today announced Apache CloudStack
v4.3, the latest feature release of the CloudStack cloud orchestration
platform.

Apache CloudStack is an integrated Infrastructure-as-a-Service (IaaS)
software platform that allows users to build feature-rich public,
private, and hybrid cloud environments. CloudStack includes an intuitive
user interface and rich APIs for managing the compute, networking,
software, and storage infrastructure resources. CloudStack became an
Apache Top-level Project (TLP) in March 2013. "We are proud to announce
CloudStack v4.3," said Hugo Trippaers, Vice President of Apache
CloudStack. "This release represents over six months of work from the
Apache CloudStack community with many new and improved features."

Under The Hood

CloudStack V4.3 is the next feature release of the 4.x line which first
released on November 6, 2012. Some of the noteworthy new and improved
features include:

- Support for Microsoft Hyper-V - Apache CloudStack can now manage Hyper-V
  hypervisors in addition to KVM, XenServer, VMware, LXC, and Bare Metal
- Juniper OpenContrail integration - OpenContrail is a software defined
  networking controller from Juniper that CloudStack now integrates with
  to provide SDN services
- SSL Termination support for guest VMs - Apache CloudStack can configure
  and manage SSL termination in certain load balancer devices
- Palo Alto Firewall integration - Apache CloudStack can now manage and
  configure Palo Alto firewalls
- Remote access VPN for VPC networks - CloudStack's remote access VPN is
  now available for Virtual Private Cloud networks
- Site to Site VPN between VRs - CloudStack now allows site-to-site VPN
  connectivity to it's virtual routing devices. This permits your cloud
  computing environment to appear as a natural extension of your local
  network, or for you to easily interconnect multiple environments
- VXLAN support expansion to include KVM - CloudStack's support for
  integrating VXLAN, the network virtualization technology that attempts
  to ameliorate scalability problems with traditional networking
- SolidFire plugin extension to support KVM and hypervisor snapshots for
  XenServer and ESX - SolidFire provides guaranteed Storage Quality of
  Service at the Virtual Machine level
- Dynamic Compute offering - CloudStack now has the ability to dynamically
  scale the resources assigned to a running virtual machine instance for
  those hypervisors which support it

Downloads and Documentation

The official source code for the v4.3 release, as well as individual
contributors' convenience binaries, can be downloaded from the Apache
CloudStack downloads page at http://cloudstack.apache.org/downloads.html

The CloudStack 4.2 release includes over 110 issues from 4.2.0 and
4.2.1, including fixes for object storage support, documentation, and
more. A full list of corrected issues and upgrade instructions are
available in the Release Notes
http://docs.cloudstack.apache.org/projects/cloudstack-release-notes

Official installation, administration, and API documentation for each
release is available at http://docs.cloudstack.apache.org/en/latest/
Apache CloudStack in Action

Join members of the Apache CloudStack community at the CloudStack
Collaboration Conference, taking place 9-11 April 2014 immediately
following ApacheCon. For more information, visit
http://cloudstackcollab.org

Availability and Oversight

As with all Apache products, Apache CloudStack v4.3 is released under
the Apache License v2.0, and is overseen by a self-selected team of
active contributors to the project. A Project Management Committee (PMC)
guides the Project’s day-to-day operations, including community
development and product releases. For documentation and ways to become
involved with Apache CloudStack, visit http://cloudstack.apache.org/

About The Apache Software Foundation (ASF)

Established in 1999, the all-volunteer Foundation oversees more than one
hundred and seventy leading Open Source projects, including Apache HTTP
Server --the world's most popular Web server software. Through the ASF's
meritocratic process known as "The Apache Way," more than 400 individual
Members and 3,500 Committers successfully collaborate to develop freely
available enterprise-grade software, benefiting millions of users
worldwide: thousands of software solutions are distributed under the
Apache License; and the community actively participates in ASF mailing
lists, mentoring initiatives, and ApacheCon, the Foundation's official

Checkstyle Error

2014-03-25 Thread Alex Hitchins
I'm getting a checkstyle error on compilation.

What is the best way to see what I'm doing to cause the issue? I seem to be 
just getting the project it's failing on. This is with supplying -e to maven to 
give a stack trace. Is there anything I can configure in Eclipse to enforce 
these rules too?

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check
(cloudstack-checkstyle) on project cloud-server: Failed during checkstyle 
execution: Ther
e are 1 checkstyle errors. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.
maven.plugins:maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) on 
project cloud-
server: Failed during checkstyle execution


Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training
18th-19th February 2014, Brazil. 
Classroom
17th-23rd March 2014, Region A. Instructor led, 
On-line
24th-28th March 2014, Region B. Instructor led, 
On-line
16th-20th June 2014, Region A. Instructor led, 
On-line
23rd-27th June 2014, Region B. Instructor led, 
On-line

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 a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: [ANNOUNCE] Apache CloudStack 4.3.0 Released

2014-03-25 Thread Chip Childers
Website issues should all be resolved now.  Thanks for noticing this.

On Tue, Mar 25, 2014 at 10:14 AM, Sumita Gorla  wrote:
> Hi Chip
>
> Thank you for the announcement.
>
> The website still shows the latest release as 4.2.1
> http://cloudstack.apache.org/downloads.html
>
> "Apache CloudStack's most current release is 4.2.1."
>
>
> Thanks,
> Sumita
>
>
>
>
>
>
>
>
>
>
> On 3/25/14 10:05 AM, "Chip Childers"  wrote:
>
>>Announcing Apache CloudStack 4.3.0
>>
>>Tue Mar 25 2014 09:47:06 GMT-0400 (EDT)
>>
>>Flexible, scalable, Open Source Infrastructure as a Service (IaaS) used
>>by organizations such as Zynga, Datapipe, and ISWest, among others, for
>>creating, managing, and deploying public, private, and hybrid Cloud
>>Computing environments
>>
>>Forest Hill, MD --25 March 2014-- The Apache Software Foundation (ASF),
>>the all-volunteer developers, stewards, and incubators of more than 170
>>Open Source projects and initiatives, today announced Apache CloudStack
>>v4.3, the latest feature release of the CloudStack cloud orchestration
>>platform.
>>
>>Apache CloudStack is an integrated Infrastructure-as-a-Service (IaaS)
>>software platform that allows users to build feature-rich public,
>>private, and hybrid cloud environments. CloudStack includes an intuitive
>>user interface and rich APIs for managing the compute, networking,
>>software, and storage infrastructure resources. CloudStack became an
>>Apache Top-level Project (TLP) in March 2013. "We are proud to announce
>>CloudStack v4.3," said Hugo Trippaers, Vice President of Apache
>>CloudStack. "This release represents over six months of work from the
>>Apache CloudStack community with many new and improved features."
>>
>>Under The Hood
>>
>>CloudStack V4.3 is the next feature release of the 4.x line which first
>>released on November 6, 2012. Some of the noteworthy new and improved
>>features include:
>>
>>- Support for Microsoft Hyper-V - Apache CloudStack can now manage Hyper-V
>>  hypervisors in addition to KVM, XenServer, VMware, LXC, and Bare Metal
>>- Juniper OpenContrail integration - OpenContrail is a software defined
>>  networking controller from Juniper that CloudStack now integrates with
>>  to provide SDN services
>>- SSL Termination support for guest VMs - Apache CloudStack can configure
>>  and manage SSL termination in certain load balancer devices
>>- Palo Alto Firewall integration - Apache CloudStack can now manage and
>>  configure Palo Alto firewalls
>>- Remote access VPN for VPC networks - CloudStack's remote access VPN is
>>  now available for Virtual Private Cloud networks
>>- Site to Site VPN between VRs - CloudStack now allows site-to-site VPN
>>  connectivity to it's virtual routing devices. This permits your cloud
>>  computing environment to appear as a natural extension of your local
>>  network, or for you to easily interconnect multiple environments
>>- VXLAN support expansion to include KVM - CloudStack's support for
>>  integrating VXLAN, the network virtualization technology that attempts
>>  to ameliorate scalability problems with traditional networking
>>- SolidFire plugin extension to support KVM and hypervisor snapshots for
>>  XenServer and ESX - SolidFire provides guaranteed Storage Quality of
>>  Service at the Virtual Machine level
>>- Dynamic Compute offering - CloudStack now has the ability to dynamically
>>  scale the resources assigned to a running virtual machine instance for
>>  those hypervisors which support it
>>
>>Downloads and Documentation
>>
>>The official source code for the v4.3 release, as well as individual
>>contributors' convenience binaries, can be downloaded from the Apache
>>CloudStack downloads page at http://cloudstack.apache.org/downloads.html
>>
>>The CloudStack 4.2 release includes over 110 issues from 4.2.0 and
>>4.2.1, including fixes for object storage support, documentation, and
>>more. A full list of corrected issues and upgrade instructions are
>>available in the Release Notes
>>http://docs.cloudstack.apache.org/projects/cloudstack-release-notes
>>
>>Official installation, administration, and API documentation for each
>>release is available at http://docs.cloudstack.apache.org/en/latest/
>>Apache CloudStack in Action
>>
>>Join members of the Apache CloudStack community at the CloudStack
>>Collaboration Conference, taking place 9-11 April 2014 immediately
>>following ApacheCon. For more information, visit
>>http://cloudstackcollab.org
>>
>>Availability and Oversight
>>
>>As with all Apache products, Apache CloudStack v4.3 is released under
>>the Apache License v2.0, and is overseen by a self-selected team of
>>active contributors to the project. A Project Management Committee (PMC)
>>guides the Project¹s day-to-day operations, including community
>>development and product releases. For documentation and ways to become
>>involved with Apache CloudStack, visit http://cloudstack.apache.org/
>>
>>About The Apache Software Foundation (ASF)
>>
>>Established in 1999, the all-volunteer 

RE: Checkstyle Error

2014-03-25 Thread Alex Hitchins
Exactly what I thought, but it doesn't seem to want to work. Perhaps I need to 
do a "ln" to usr/libs or something. Either way, I'd be expecting apt-get to 
give a more insightful error message.

Thanks for looking.


Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969

alex.hitch...@shapeblue.com

-Original Message-
From: Wido den Hollander [mailto:w...@widodh.nl]
Sent: 25 March 2014 14:25
To: dev@cloudstack.apache.org
Subject: Re: Checkstyle Error



On 03/25/2014 03:19 PM, Alex Hitchins wrote:
> Thanks Wido, checking that now.
>
> Also, one thing you or someone else might be able to assist me with.
>
> I'm getting the following error setting up Maven on Debian. I don't get the 
> issue with Ubuntu however... any idea?
>
> # apt-get install maven
> E: Unable to locate package maven
>

Odd, since the package is there: https://packages.debian.org/wheezy/maven

I however never use Debian, so I'm not sure why it fails.

Wido

> I've opened Synaptic Package Manager and refreshed. Searching for the package 
> Maven, I see two items that seem to both be installed already. Is the answer 
> to just use Ubuntu?
>
>
> Regards
>
> Alex Hitchins
>
> D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969
>
> alex.hitch...@shapeblue.com
>
> -Original Message-
> From: Wido den Hollander [mailto:w...@widodh.nl]
> Sent: 25 March 2014 14:15
> To: dev@cloudstack.apache.org
> Subject: Re: Checkstyle Error
>
>
>
> On 03/25/2014 03:12 PM, Alex Hitchins wrote:
>> I'm getting a checkstyle error on compilation.
>>
>> What is the best way to see what I'm doing to cause the issue? I seem to be 
>> just getting the project it's failing on. This is with supplying -e to maven 
>> to give a stack trace. Is there anything I can configure in Eclipse to 
>> enforce these rules too?
>>
>
> Check the target directory of that project. There is a checkstyle report 
> which tells you which file and line is to blame.
>
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check
>> (cloudstack-checkstyle) on project cloud-server: Failed during
>> checkstyle execution: Ther e are 1 checkstyle errors. -> [Help 1]
>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
>> goal org.apache.
>> maven.plugins:maven-checkstyle-plugin:2.11:check
>> (cloudstack-checkstyle) on project cloud-
>> server: Failed during checkstyle execution
>>
>>
>> Need Enterprise Grade Support for Apache CloudStack?
>> Our CloudStack Infrastructure 
>> Support offers the 
>> best 24/7 SLA for CloudStack Environments.
>>
>> Apache CloudStack Bootcamp training courses
>>
>> **NEW!** CloudStack 4.2.1
>> training
>> 18th-19th February 2014, Brazil.
>> Classroom
>> 17th-23rd March 2014, Region A. Instructor led,
>> On-line
>> 24th-28th March 2014, Region B. Instructor led,
>> On-line
>> 16th-20th June 2014, Region A. Instructor led,
>> On-line
>> 23rd-27th June 2014, Region B. Instructor led,
>> On-line
>>
>> 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 a 
>> company incorporated in India and is operated under license from Shape Blue 
>> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil 
>> and 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 a company 
> incorporated in India and is operated under license from Shape Blue Ltd. 
> Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
> operated

Re: [ANNOUNCE] Apache CloudStack 4.3.0 Released

2014-03-25 Thread Sumita Gorla
Hi Chip

Thank you for the announcement.

The website still shows the latest release as 4.2.1
http://cloudstack.apache.org/downloads.html

"Apache CloudStack's most current release is 4.2.1."


Thanks,
Sumita










On 3/25/14 10:05 AM, "Chip Childers"  wrote:

>Announcing Apache CloudStack 4.3.0
>
>Tue Mar 25 2014 09:47:06 GMT-0400 (EDT)
>
>Flexible, scalable, Open Source Infrastructure as a Service (IaaS) used
>by organizations such as Zynga, Datapipe, and ISWest, among others, for
>creating, managing, and deploying public, private, and hybrid Cloud
>Computing environments
>
>Forest Hill, MD --25 March 2014-- The Apache Software Foundation (ASF),
>the all-volunteer developers, stewards, and incubators of more than 170
>Open Source projects and initiatives, today announced Apache CloudStack
>v4.3, the latest feature release of the CloudStack cloud orchestration
>platform.
>
>Apache CloudStack is an integrated Infrastructure-as-a-Service (IaaS)
>software platform that allows users to build feature-rich public,
>private, and hybrid cloud environments. CloudStack includes an intuitive
>user interface and rich APIs for managing the compute, networking,
>software, and storage infrastructure resources. CloudStack became an
>Apache Top-level Project (TLP) in March 2013. "We are proud to announce
>CloudStack v4.3," said Hugo Trippaers, Vice President of Apache
>CloudStack. "This release represents over six months of work from the
>Apache CloudStack community with many new and improved features."
>
>Under The Hood
>
>CloudStack V4.3 is the next feature release of the 4.x line which first
>released on November 6, 2012. Some of the noteworthy new and improved
>features include:
>
>- Support for Microsoft Hyper-V - Apache CloudStack can now manage Hyper-V
>  hypervisors in addition to KVM, XenServer, VMware, LXC, and Bare Metal
>- Juniper OpenContrail integration - OpenContrail is a software defined
>  networking controller from Juniper that CloudStack now integrates with
>  to provide SDN services
>- SSL Termination support for guest VMs - Apache CloudStack can configure
>  and manage SSL termination in certain load balancer devices
>- Palo Alto Firewall integration - Apache CloudStack can now manage and
>  configure Palo Alto firewalls
>- Remote access VPN for VPC networks - CloudStack's remote access VPN is
>  now available for Virtual Private Cloud networks
>- Site to Site VPN between VRs - CloudStack now allows site-to-site VPN
>  connectivity to it's virtual routing devices. This permits your cloud
>  computing environment to appear as a natural extension of your local
>  network, or for you to easily interconnect multiple environments
>- VXLAN support expansion to include KVM - CloudStack's support for
>  integrating VXLAN, the network virtualization technology that attempts
>  to ameliorate scalability problems with traditional networking
>- SolidFire plugin extension to support KVM and hypervisor snapshots for
>  XenServer and ESX - SolidFire provides guaranteed Storage Quality of
>  Service at the Virtual Machine level
>- Dynamic Compute offering - CloudStack now has the ability to dynamically
>  scale the resources assigned to a running virtual machine instance for
>  those hypervisors which support it
>
>Downloads and Documentation
>
>The official source code for the v4.3 release, as well as individual
>contributors' convenience binaries, can be downloaded from the Apache
>CloudStack downloads page at http://cloudstack.apache.org/downloads.html
>
>The CloudStack 4.2 release includes over 110 issues from 4.2.0 and
>4.2.1, including fixes for object storage support, documentation, and
>more. A full list of corrected issues and upgrade instructions are
>available in the Release Notes
>http://docs.cloudstack.apache.org/projects/cloudstack-release-notes
>
>Official installation, administration, and API documentation for each
>release is available at http://docs.cloudstack.apache.org/en/latest/
>Apache CloudStack in Action
>
>Join members of the Apache CloudStack community at the CloudStack
>Collaboration Conference, taking place 9-11 April 2014 immediately
>following ApacheCon. For more information, visit
>http://cloudstackcollab.org
>
>Availability and Oversight
>
>As with all Apache products, Apache CloudStack v4.3 is released under
>the Apache License v2.0, and is overseen by a self-selected team of
>active contributors to the project. A Project Management Committee (PMC)
>guides the Project¹s day-to-day operations, including community
>development and product releases. For documentation and ways to become
>involved with Apache CloudStack, visit http://cloudstack.apache.org/
>
>About The Apache Software Foundation (ASF)
>
>Established in 1999, the all-volunteer Foundation oversees more than one
>hundred and seventy leading Open Source projects, including Apache HTTP
>Server --the world's most popular Web server software. Through the ASF's
>meritocratic process known as "The Apache Way," more than 400 ind

Re: Checkstyle Error

2014-03-25 Thread Wido den Hollander



On 03/25/2014 03:19 PM, Alex Hitchins wrote:

Thanks Wido, checking that now.

Also, one thing you or someone else might be able to assist me with.

I'm getting the following error setting up Maven on Debian. I don't get the 
issue with Ubuntu however... any idea?

# apt-get install maven
E: Unable to locate package maven



Odd, since the package is there: https://packages.debian.org/wheezy/maven

I however never use Debian, so I'm not sure why it fails.

Wido


I've opened Synaptic Package Manager and refreshed. Searching for the package 
Maven, I see two items that seem to both be installed already. Is the answer to 
just use Ubuntu?


Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969

alex.hitch...@shapeblue.com

-Original Message-
From: Wido den Hollander [mailto:w...@widodh.nl]
Sent: 25 March 2014 14:15
To: dev@cloudstack.apache.org
Subject: Re: Checkstyle Error



On 03/25/2014 03:12 PM, Alex Hitchins wrote:

I'm getting a checkstyle error on compilation.

What is the best way to see what I'm doing to cause the issue? I seem to be 
just getting the project it's failing on. This is with supplying -e to maven to 
give a stack trace. Is there anything I can configure in Eclipse to enforce 
these rules too?



Check the target directory of that project. There is a checkstyle report which 
tells you which file and line is to blame.


[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check
(cloudstack-checkstyle) on project cloud-server: Failed during
checkstyle execution: Ther e are 1 checkstyle errors. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.
maven.plugins:maven-checkstyle-plugin:2.11:check
(cloudstack-checkstyle) on project cloud-
server: Failed during checkstyle execution


Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1
training
18th-19th February 2014, Brazil.
Classroom
17th-23rd March 2014, Region A. Instructor led,
On-line
24th-28th March 2014, Region B. Instructor led,
On-line
16th-20th June 2014, Region A. Instructor led,
On-line
23rd-27th June 2014, Region B. Instructor led,
On-line

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 a company incorporated in India and is operated 
under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company 
incorporated in Brasil and 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 a company incorporated in India and is operated 
under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company 
incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue 
is a registered trademark.



role of HA-Worker

2014-03-25 Thread Tomasz Zięba
Hello,

Could someone explain to me what is the role of HA-Worker thread
in CloudStack ?

The number of threads is set in the global settings:
ha.workers Number of hectares of worker threads. 5

According to me, HA-Worker thread has a bug in the implementation that
causes uncontrolled stopping virtual machines. (CLOUDSTACK-6036).

Which ACS functionality will be lost when the option ha.workers we set to
0?

Regards,


-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: 
pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/


Re: [ANNOUNCE] Apache CloudStack 4.3.0 Released

2014-03-25 Thread benoit lair
Hi Chip,

I've tried to reach acs 4.3 onto http://cloudstack.apt-get.eu/rhel/4.3/ but
the directory does not exists.


Regards, Benoit Lair.


2014-03-25 15:28 GMT+01:00 Chip Childers :

> Website issues should all be resolved now.  Thanks for noticing this.
>
> On Tue, Mar 25, 2014 at 10:14 AM, Sumita Gorla 
> wrote:
> > Hi Chip
> >
> > Thank you for the announcement.
> >
> > The website still shows the latest release as 4.2.1
> > http://cloudstack.apache.org/downloads.html
> >
> > "Apache CloudStack's most current release is 4.2.1."
> >
> >
> > Thanks,
> > Sumita
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On 3/25/14 10:05 AM, "Chip Childers"  wrote:
> >
> >>Announcing Apache CloudStack 4.3.0
> >>
> >>Tue Mar 25 2014 09:47:06 GMT-0400 (EDT)
> >>
> >>Flexible, scalable, Open Source Infrastructure as a Service (IaaS) used
> >>by organizations such as Zynga, Datapipe, and ISWest, among others, for
> >>creating, managing, and deploying public, private, and hybrid Cloud
> >>Computing environments
> >>
> >>Forest Hill, MD --25 March 2014-- The Apache Software Foundation (ASF),
> >>the all-volunteer developers, stewards, and incubators of more than 170
> >>Open Source projects and initiatives, today announced Apache CloudStack
> >>v4.3, the latest feature release of the CloudStack cloud orchestration
> >>platform.
> >>
> >>Apache CloudStack is an integrated Infrastructure-as-a-Service (IaaS)
> >>software platform that allows users to build feature-rich public,
> >>private, and hybrid cloud environments. CloudStack includes an intuitive
> >>user interface and rich APIs for managing the compute, networking,
> >>software, and storage infrastructure resources. CloudStack became an
> >>Apache Top-level Project (TLP) in March 2013. "We are proud to announce
> >>CloudStack v4.3," said Hugo Trippaers, Vice President of Apache
> >>CloudStack. "This release represents over six months of work from the
> >>Apache CloudStack community with many new and improved features."
> >>
> >>Under The Hood
> >>
> >>CloudStack V4.3 is the next feature release of the 4.x line which first
> >>released on November 6, 2012. Some of the noteworthy new and improved
> >>features include:
> >>
> >>- Support for Microsoft Hyper-V - Apache CloudStack can now manage
> Hyper-V
> >>  hypervisors in addition to KVM, XenServer, VMware, LXC, and Bare Metal
> >>- Juniper OpenContrail integration - OpenContrail is a software defined
> >>  networking controller from Juniper that CloudStack now integrates with
> >>  to provide SDN services
> >>- SSL Termination support for guest VMs - Apache CloudStack can configure
> >>  and manage SSL termination in certain load balancer devices
> >>- Palo Alto Firewall integration - Apache CloudStack can now manage and
> >>  configure Palo Alto firewalls
> >>- Remote access VPN for VPC networks - CloudStack's remote access VPN is
> >>  now available for Virtual Private Cloud networks
> >>- Site to Site VPN between VRs - CloudStack now allows site-to-site VPN
> >>  connectivity to it's virtual routing devices. This permits your cloud
> >>  computing environment to appear as a natural extension of your local
> >>  network, or for you to easily interconnect multiple environments
> >>- VXLAN support expansion to include KVM - CloudStack's support for
> >>  integrating VXLAN, the network virtualization technology that attempts
> >>  to ameliorate scalability problems with traditional networking
> >>- SolidFire plugin extension to support KVM and hypervisor snapshots for
> >>  XenServer and ESX - SolidFire provides guaranteed Storage Quality of
> >>  Service at the Virtual Machine level
> >>- Dynamic Compute offering - CloudStack now has the ability to
> dynamically
> >>  scale the resources assigned to a running virtual machine instance for
> >>  those hypervisors which support it
> >>
> >>Downloads and Documentation
> >>
> >>The official source code for the v4.3 release, as well as individual
> >>contributors' convenience binaries, can be downloaded from the Apache
> >>CloudStack downloads page at http://cloudstack.apache.org/downloads.html
> >>
> >>The CloudStack 4.2 release includes over 110 issues from 4.2.0 and
> >>4.2.1, including fixes for object storage support, documentation, and
> >>more. A full list of corrected issues and upgrade instructions are
> >>available in the Release Notes
> >>http://docs.cloudstack.apache.org/projects/cloudstack-release-notes
> >>
> >>Official installation, administration, and API documentation for each
> >>release is available at http://docs.cloudstack.apache.org/en/latest/
> >>Apache CloudStack in Action
> >>
> >>Join members of the Apache CloudStack community at the CloudStack
> >>Collaboration Conference, taking place 9-11 April 2014 immediately
> >>following ApacheCon. For more information, visit
> >>http://cloudstackcollab.org
> >>
> >>Availability and Oversight
> >>
> >>As with all Apache products, Apache CloudStack v4.3 is released under
> >>the Apache License v2.0, and is overs

RE: Checkstyle Error

2014-03-25 Thread Alex Hitchins
Thanks Wido, checking that now.

Also, one thing you or someone else might be able to assist me with.

I'm getting the following error setting up Maven on Debian. I don't get the 
issue with Ubuntu however... any idea?

# apt-get install maven
E: Unable to locate package maven

I've opened Synaptic Package Manager and refreshed. Searching for the package 
Maven, I see two items that seem to both be installed already. Is the answer to 
just use Ubuntu?


Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969

alex.hitch...@shapeblue.com

-Original Message-
From: Wido den Hollander [mailto:w...@widodh.nl]
Sent: 25 March 2014 14:15
To: dev@cloudstack.apache.org
Subject: Re: Checkstyle Error



On 03/25/2014 03:12 PM, Alex Hitchins wrote:
> I'm getting a checkstyle error on compilation.
>
> What is the best way to see what I'm doing to cause the issue? I seem to be 
> just getting the project it's failing on. This is with supplying -e to maven 
> to give a stack trace. Is there anything I can configure in Eclipse to 
> enforce these rules too?
>

Check the target directory of that project. There is a checkstyle report which 
tells you which file and line is to blame.

> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check
> (cloudstack-checkstyle) on project cloud-server: Failed during
> checkstyle execution: Ther e are 1 checkstyle errors. -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.
> maven.plugins:maven-checkstyle-plugin:2.11:check
> (cloudstack-checkstyle) on project cloud-
> server: Failed during checkstyle execution
>
>
> Need Enterprise Grade Support for Apache CloudStack?
> Our CloudStack Infrastructure 
> Support offers the 
> best 24/7 SLA for CloudStack Environments.
>
> Apache CloudStack Bootcamp training courses
>
> **NEW!** CloudStack 4.2.1
> training
> 18th-19th February 2014, Brazil.
> Classroom
> 17th-23rd March 2014, Region A. Instructor led,
> On-line
> 24th-28th March 2014, Region B. Instructor led,
> On-line
> 16th-20th June 2014, Region A. Instructor led,
> On-line
> 23rd-27th June 2014, Region B. Instructor led,
> On-line
>
> 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 a company 
> incorporated in India and is operated under license from Shape Blue Ltd. 
> Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and 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 a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: [ANNOUNCE] Apache CloudStack 4.3.0 Released

2014-03-25 Thread Nux!

On 25.03.2014 14:28, Chip Childers wrote:

Website issues should all be resolved now.  Thanks for noticing this.


Also http://cloudstack.apt-get.eu/rhel/4.3/ doesn't work (404). Nobody 
built the RPMs?


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


[GitHub] cloudstack-docs-rn pull request: CLOUDSTACK-6204: updating release...

2014-03-25 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/cloudstack-docs-rn/pull/4


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack-docs-rn pull request: Clarified supported/unsupported H...

2014-03-25 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/cloudstack-docs-rn/pull/5


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: [ANNOUNCE] Apache CloudStack 4.3.0 Released

2014-03-25 Thread Wido den Hollander



On 03/25/2014 03:47 PM, Antone Heyward wrote:

There should be a checklist to verify certain things are in place before
the release announcement.




Well, officially Apache projects only release source. The DEB and RPM 
packages are something from the community, not the project itself.


While I get your point, it's not a part of the official release.

Wido




On Tue, Mar 25, 2014 at 10:42 AM, Wido den Hollander  wrote:




On 03/25/2014 03:40 PM, Nux! wrote:


On 25.03.2014 14:28, Chip Childers wrote:


Website issues should all be resolved now.  Thanks for noticing this.



Also http://cloudstack.apt-get.eu/rhel/4.3/ doesn't work (404). Nobody
built the RPMs?



Seems like it. I don't have RHEL systems available to build the packages
one. Usually David build them.

Wido







Re: [ANNOUNCE] Apache CloudStack 4.3.0 Released

2014-03-25 Thread Chip Childers
David is working on the RPMs

On Tue, Mar 25, 2014 at 10:42 AM, Wido den Hollander  wrote:
>
>
> On 03/25/2014 03:40 PM, Nux! wrote:
>>
>> On 25.03.2014 14:28, Chip Childers wrote:
>>>
>>> Website issues should all be resolved now.  Thanks for noticing this.
>>
>>
>> Also http://cloudstack.apt-get.eu/rhel/4.3/ doesn't work (404). Nobody
>> built the RPMs?
>>
>
> Seems like it. I don't have RHEL systems available to build the packages
> one. Usually David build them.
>
> Wido


Re: applying patch - manually change jar file

2014-03-25 Thread Tomasz Zięba
It works for me. Thank for help.


cd /root/apache-cloudstack-4.2.1-src/plugins/hypervisors/xen

mvn -X -P cloud-plugin-hypervisor-xen clean install

cp
/root/.m2/repository/org/apache/cloudstack/cloud-plugin-hypervisor-xen/4.2.1/cloud-plugin-hypervisor-xen-4.2.1.jar
/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-hypervisor-xen-4.2.1-SNAPSHOT.jar



2014-03-24 11:09 GMT+01:00 Tomasz Zięba :

> hi,
>
> thank you for responses.
> unfortunately I don't know tools like mvn, ant etc. :-(
> So I don't know how to interpret this command output..
>
> # mvn -X -P developer,systemvm clean install -pl
> cloud-plugin-hypervisor-xen
>
> Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19
> 14:51:28+0100)
> Maven home: /usr/local/apache-maven-3.0.5
> Java version: 1.6.0_30, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "2.6.32-358.23.2.el6.x86_64", arch: "amd64",
> family: "unix"
> [INFO] Error stacktraces are turned on.
> [DEBUG] Reading global settings from
> /usr/local/apache-maven-3.0.5/conf/settings.xml
> [DEBUG] Reading user settings from /root/.m2/settings.xml
> [DEBUG] Using local repository at /root/.m2/repository
> [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10 for
> /root/.m2/repository
> [INFO] Scanning for projects...
> [DEBUG] Extension realms for project
> org.apache.cloudstack:cloudstack:pom:4.2.1: (none)
> [DEBUG] Looking up lifecyle mappings for packaging pom from
> ClassRealm[plexus.core, parent: null]
> .
> .
> [DEBUG] Looking up lifecyle mappings for packaging pom from
> ClassRealm[plexus.core, parent: null]
> [DEBUG] Extension realms for project
> org.apache.cloudstack:cloud-devcloud-kvm:pom:4.2.1: (none)
> [DEBUG] Looking up lifecyle mappings for packaging pom from
> ClassRealm[plexus.core, parent: null]
> [ERROR] Could not find the selected project in the reactor:
> cloud-plugin-hypervisor-xen -> [Help 1]
> org.apache.maven.MavenExecutionException: Could not find the selected
> project in the reactor: cloud-plugin-hypervisor-xen
> at
> org.apache.maven.DefaultMaven.trimSelectedProjects(DefaultMaven.java:749)
> at
> org.apache.maven.DefaultMaven.createDependencyGraph(DefaultMaven.java:703)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:290)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> 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:622)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> [ERROR]
> [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/MavenExecutionException
>
> But if I try to build rpms:
> cd packaging/centos63
> ./package.sh
>
> everything works properly.
>
>
> However, I do not want to create new rpms just update the jar file.
>
> PS: Sorry for asking such simple questions.
> Thanks,
>
>
>
> 2014-03-24 10:34 GMT+01:00 Punith S :
>
> hi,
>>
>> if you are using maven build,
>>
>> do mvn -P developer,systemvm clean install -pl cloud-plugin-hypervisor-xen
>>
>> get the newly built jar from .m2 repo in localhost and replace the old jar
>> in /usr/share/cloudtsack-management/webapps/client/WEB-INF/lib.
>>
>> your changes will be applied.
>>
>> thanks.
>>
>>
>>
>> On Mon, Mar 24, 2014 at 2:57 PM, Tomasz Zięba 
>> wrote:
>>
>> > Hello,
>> >
>> > after running:   jar -uvf .
>> >
>> > I have information:
>> > adding:
>> >
>> >
>> apache-cloudstack-4.2.1-src/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.class(in
>> > = 238178) (out= 104028)(deflated 56%)
>> >
>> > New file size increases:
>> >
>> > ls -la
>> >
>> >
>> /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-hypervisor-xen-4.2.1*
>> > -rw-r--r-- 1 root root 366550 Mar 24 09:55
>> >
>> >
>> /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-hypervisor-xen-4.2.1-SNAPSHOT.jar
>> >
>> > Original file looks as follows:
>> >
>> > ls -la
>> >
>>

Re: [ANNOUNCE] Apache CloudStack 4.3.0 Released

2014-03-25 Thread Antone Heyward
@Wido - Thanks for the info, i did not know that.


On Tue, Mar 25, 2014 at 10:49 AM, Wido den Hollander  wrote:

>
>
> On 03/25/2014 03:47 PM, Antone Heyward wrote:
>
>> There should be a checklist to verify certain things are in place before
>> the release announcement.
>>
>>
>>
> Well, officially Apache projects only release source. The DEB and RPM
> packages are something from the community, not the project itself.
>
> While I get your point, it's not a part of the official release.
>
> Wido
>
>
>>
>> On Tue, Mar 25, 2014 at 10:42 AM, Wido den Hollander 
>> wrote:
>>
>>
>>>
>>> On 03/25/2014 03:40 PM, Nux! wrote:
>>>
>>>  On 25.03.2014 14:28, Chip Childers wrote:

  Website issues should all be resolved now.  Thanks for noticing this.
>
>
 Also http://cloudstack.apt-get.eu/rhel/4.3/ doesn't work (404). Nobody
 built the RPMs?


  Seems like it. I don't have RHEL systems available to build the
>>> packages
>>> one. Usually David build them.
>>>
>>> Wido
>>>
>>>
>>
>>
>>


-- 
Antone
@thehyperadvisor
http://thehyperadvisor.com


Review Request 19616: Added check for null return.

2014-03-25 Thread Alex Hitchins

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

Review request for cloudstack.


Repository: cloudstack-git


Description
---

Added check for returned null, if received then throw exception.


Diffs
-

  server/src/com/cloud/storage/VolumeApiServiceImpl.java 5ffa99b 

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


Testing
---

Compiled & ran.


Thanks,

Alex Hitchins



Re: [ANNOUNCE] Apache CloudStack 4.3.0 Released

2014-03-25 Thread Wido den Hollander



On 03/25/2014 03:40 PM, Nux! wrote:

On 25.03.2014 14:28, Chip Childers wrote:

Website issues should all be resolved now.  Thanks for noticing this.


Also http://cloudstack.apt-get.eu/rhel/4.3/ doesn't work (404). Nobody
built the RPMs?



Seems like it. I don't have RHEL systems available to build the packages 
one. Usually David build them.


Wido


Re: [ANNOUNCE] Apache CloudStack 4.3.0 Released

2014-03-25 Thread Antone Heyward
There should be a checklist to verify certain things are in place before
the release announcement.




On Tue, Mar 25, 2014 at 10:42 AM, Wido den Hollander  wrote:

>
>
> On 03/25/2014 03:40 PM, Nux! wrote:
>
>> On 25.03.2014 14:28, Chip Childers wrote:
>>
>>> Website issues should all be resolved now.  Thanks for noticing this.
>>>
>>
>> Also http://cloudstack.apt-get.eu/rhel/4.3/ doesn't work (404). Nobody
>> built the RPMs?
>>
>>
> Seems like it. I don't have RHEL systems available to build the packages
> one. Usually David build them.
>
> Wido
>



-- 
Antone
@thehyperadvisor
http://thehyperadvisor.com


Re: Checkstyle Error

2014-03-25 Thread Wido den Hollander



On 03/25/2014 03:12 PM, Alex Hitchins wrote:

I'm getting a checkstyle error on compilation.

What is the best way to see what I'm doing to cause the issue? I seem to be 
just getting the project it's failing on. This is with supplying -e to maven to 
give a stack trace. Is there anything I can configure in Eclipse to enforce 
these rules too?



Check the target directory of that project. There is a checkstyle report 
which tells you which file and line is to blame.



[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check
(cloudstack-checkstyle) on project cloud-server: Failed during checkstyle 
execution: Ther
e are 1 checkstyle errors. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.
maven.plugins:maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) on 
project cloud-
server: Failed during checkstyle execution


Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training
18th-19th February 2014, Brazil. 
Classroom
17th-23rd March 2014, Region A. Instructor led, 
On-line
24th-28th March 2014, Region B. Instructor led, 
On-line
16th-20th June 2014, Region A. Instructor led, 
On-line
23rd-27th June 2014, Region B. Instructor led, 
On-line

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 a company incorporated in India and is operated 
under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company 
incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue 
is a registered trademark.



Re: [ANNOUNCE] Apache CloudStack 4.3.0 Released

2014-03-25 Thread benoit lair
Super! The rpms are now available !

Thanks à lot guys.


2014-03-25 16:00 GMT+01:00 Antone Heyward :

> @Wido - Thanks for the info, i did not know that.
>
>
> On Tue, Mar 25, 2014 at 10:49 AM, Wido den Hollander 
> wrote:
>
> >
> >
> > On 03/25/2014 03:47 PM, Antone Heyward wrote:
> >
> >> There should be a checklist to verify certain things are in place before
> >> the release announcement.
> >>
> >>
> >>
> > Well, officially Apache projects only release source. The DEB and RPM
> > packages are something from the community, not the project itself.
> >
> > While I get your point, it's not a part of the official release.
> >
> > Wido
> >
> >
> >>
> >> On Tue, Mar 25, 2014 at 10:42 AM, Wido den Hollander 
> >> wrote:
> >>
> >>
> >>>
> >>> On 03/25/2014 03:40 PM, Nux! wrote:
> >>>
> >>>  On 25.03.2014 14:28, Chip Childers wrote:
> 
>   Website issues should all be resolved now.  Thanks for noticing this.
> >
> >
>  Also http://cloudstack.apt-get.eu/rhel/4.3/ doesn't work (404).
> Nobody
>  built the RPMs?
> 
> 
>   Seems like it. I don't have RHEL systems available to build the
> >>> packages
> >>> one. Usually David build them.
> >>>
> >>> Wido
> >>>
> >>>
> >>
> >>
> >>
>
>
> --
> Antone
> @thehyperadvisor
> http://thehyperadvisor.com
>


RE: [ANNOUNCE] Apache CloudStack 4.3.0 Released

2014-03-25 Thread Sudha Ponnaganti
Congratulation  to all the community members !

-Original Message-
From: Chip Childers [mailto:chipchild...@apache.org] 
Sent: Tuesday, March 25, 2014 7:05 AM
To: annou...@cloudstack.apache.org
Subject: [ANNOUNCE] Apache CloudStack 4.3.0 Released

Announcing Apache CloudStack 4.3.0

Tue Mar 25 2014 09:47:06 GMT-0400 (EDT)

Flexible, scalable, Open Source Infrastructure as a Service (IaaS) used by 
organizations such as Zynga, Datapipe, and ISWest, among others, for creating, 
managing, and deploying public, private, and hybrid Cloud Computing environments

Forest Hill, MD --25 March 2014-- The Apache Software Foundation (ASF), the 
all-volunteer developers, stewards, and incubators of more than 170 Open Source 
projects and initiatives, today announced Apache CloudStack v4.3, the latest 
feature release of the CloudStack cloud orchestration platform.

Apache CloudStack is an integrated Infrastructure-as-a-Service (IaaS) software 
platform that allows users to build feature-rich public, private, and hybrid 
cloud environments. CloudStack includes an intuitive user interface and rich 
APIs for managing the compute, networking, software, and storage infrastructure 
resources. CloudStack became an Apache Top-level Project (TLP) in March 2013. 
"We are proud to announce CloudStack v4.3," said Hugo Trippaers, Vice President 
of Apache CloudStack. "This release represents over six months of work from the 
Apache CloudStack community with many new and improved features."

Under The Hood

CloudStack V4.3 is the next feature release of the 4.x line which first 
released on November 6, 2012. Some of the noteworthy new and improved features 
include:

- Support for Microsoft Hyper-V - Apache CloudStack can now manage Hyper-V
  hypervisors in addition to KVM, XenServer, VMware, LXC, and Bare Metal
- Juniper OpenContrail integration - OpenContrail is a software defined
  networking controller from Juniper that CloudStack now integrates with
  to provide SDN services
- SSL Termination support for guest VMs - Apache CloudStack can configure
  and manage SSL termination in certain load balancer devices
- Palo Alto Firewall integration - Apache CloudStack can now manage and
  configure Palo Alto firewalls
- Remote access VPN for VPC networks - CloudStack's remote access VPN is
  now available for Virtual Private Cloud networks
- Site to Site VPN between VRs - CloudStack now allows site-to-site VPN
  connectivity to it's virtual routing devices. This permits your cloud
  computing environment to appear as a natural extension of your local
  network, or for you to easily interconnect multiple environments
- VXLAN support expansion to include KVM - CloudStack's support for
  integrating VXLAN, the network virtualization technology that attempts
  to ameliorate scalability problems with traditional networking
- SolidFire plugin extension to support KVM and hypervisor snapshots for
  XenServer and ESX - SolidFire provides guaranteed Storage Quality of
  Service at the Virtual Machine level
- Dynamic Compute offering - CloudStack now has the ability to dynamically
  scale the resources assigned to a running virtual machine instance for
  those hypervisors which support it

Downloads and Documentation

The official source code for the v4.3 release, as well as individual 
contributors' convenience binaries, can be downloaded from the Apache 
CloudStack downloads page at http://cloudstack.apache.org/downloads.html

The CloudStack 4.2 release includes over 110 issues from 4.2.0 and 4.2.1, 
including fixes for object storage support, documentation, and more. A full 
list of corrected issues and upgrade instructions are available in the Release 
Notes http://docs.cloudstack.apache.org/projects/cloudstack-release-notes

Official installation, administration, and API documentation for each release 
is available at http://docs.cloudstack.apache.org/en/latest/
Apache CloudStack in Action

Join members of the Apache CloudStack community at the CloudStack Collaboration 
Conference, taking place 9-11 April 2014 immediately following ApacheCon. For 
more information, visit http://cloudstackcollab.org

Availability and Oversight

As with all Apache products, Apache CloudStack v4.3 is released under the 
Apache License v2.0, and is overseen by a self-selected team of active 
contributors to the project. A Project Management Committee (PMC) guides the 
Project’s day-to-day operations, including community development and product 
releases. For documentation and ways to become involved with Apache CloudStack, 
visit http://cloudstack.apache.org/

About The Apache Software Foundation (ASF)

Established in 1999, the all-volunteer Foundation oversees more than one 
hundred and seventy leading Open Source projects, including Apache HTTP Server 
--the world's most popular Web server software. Through the ASF's meritocratic 
process known as "The Apache Way," more than 400 individual Members and 3,500 
Committers successfully collaborate to devel

RE: Checkstyle Error

2014-03-25 Thread Alex Hitchins
Got the file, trailing spaces issue.

Many thanks for that Wido!


Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969

alex.hitch...@shapeblue.com

-Original Message-
From: Wido den Hollander [mailto:w...@widodh.nl]
Sent: 25 March 2014 14:15
To: dev@cloudstack.apache.org
Subject: Re: Checkstyle Error



On 03/25/2014 03:12 PM, Alex Hitchins wrote:
> I'm getting a checkstyle error on compilation.
>
> What is the best way to see what I'm doing to cause the issue? I seem to be 
> just getting the project it's failing on. This is with supplying -e to maven 
> to give a stack trace. Is there anything I can configure in Eclipse to 
> enforce these rules too?
>

Check the target directory of that project. There is a checkstyle report which 
tells you which file and line is to blame.

> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check
> (cloudstack-checkstyle) on project cloud-server: Failed during
> checkstyle execution: Ther e are 1 checkstyle errors. -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.
> maven.plugins:maven-checkstyle-plugin:2.11:check
> (cloudstack-checkstyle) on project cloud-
> server: Failed during checkstyle execution
>
>
> Need Enterprise Grade Support for Apache CloudStack?
> Our CloudStack Infrastructure 
> Support offers the 
> best 24/7 SLA for CloudStack Environments.
>
> Apache CloudStack Bootcamp training courses
>
> **NEW!** CloudStack 4.2.1
> training
> 18th-19th February 2014, Brazil.
> Classroom
> 17th-23rd March 2014, Region A. Instructor led,
> On-line
> 24th-28th March 2014, Region B. Instructor led,
> On-line
> 16th-20th June 2014, Region A. Instructor led,
> On-line
> 23rd-27th June 2014, Region B. Instructor led,
> On-line
>
> 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 a company 
> incorporated in India and is operated under license from Shape Blue Ltd. 
> Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and 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 a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: [ANNOUNCE] Apache CloudStack 4.3.0 Released

2014-03-25 Thread Wido den Hollander



On 03/25/2014 04:25 PM, benoit lair wrote:

Super! The rpms are now available !



Indeed. Currently the mirror is pumping out 300Mbit of CloudStack 
downloads with peaks to 500Mbit.


Great to see so many downloads!

Wido


Thanks à lot guys.


2014-03-25 16:00 GMT+01:00 Antone Heyward :


@Wido - Thanks for the info, i did not know that.


On Tue, Mar 25, 2014 at 10:49 AM, Wido den Hollander 
wrote:




On 03/25/2014 03:47 PM, Antone Heyward wrote:


There should be a checklist to verify certain things are in place before
the release announcement.




Well, officially Apache projects only release source. The DEB and RPM
packages are something from the community, not the project itself.

While I get your point, it's not a part of the official release.

Wido




On Tue, Mar 25, 2014 at 10:42 AM, Wido den Hollander 
wrote:




On 03/25/2014 03:40 PM, Nux! wrote:

  On 25.03.2014 14:28, Chip Childers wrote:


  Website issues should all be resolved now.  Thanks for noticing this.




Also http://cloudstack.apt-get.eu/rhel/4.3/ doesn't work (404).

Nobody

built the RPMs?


  Seems like it. I don't have RHEL systems available to build the

packages
one. Usually David build them.

Wido









--
Antone
@thehyperadvisor
http://thehyperadvisor.com





Re: ACS + RBD = mixed RAW/QCOW2 formats

2014-03-25 Thread Andrei Mikhailovsky

Sadhu, I am on ACS 4.2.1. 


Thanks 
- Original Message -

From: "Suresh Sadhu"  
To: dev@cloudstack.apache.org 
Sent: Tuesday, 25 March, 2014 5:44:21 AM 
Subject: RE: ACS + RBD = mixed RAW/QCOW2 formats 

HI, 


Check this below 2 issues and it will give better idea ..why you are seeing 
this 2 disk formats and also still issues related RBD base primary 
storage(ceph) are in open state. 

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

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


May I know which version of cloudstack you are using. 

regards 
sadhu 

-Original Message- 
From: Andrei Mikhailovsky [mailto:and...@arhont.com] 
Sent: 25 March 2014 05:51 
To: dev@cloudstack.apache.org 
Subject: ACS + RBD = mixed RAW/QCOW2 formats 

Hello guys, 


Was wondering if anyone noticed that when you create images/vms you sometimes 
get the wrong format shown in the database. I've noticed, but couldn't find the 
correlation yet, that sometimes I get the QCOW2 disk image format and sometimes 
the RAW format when ACS stores images on the RBD primary storage. 


Not sure if this relates to how images are created (from 
snapshots/templates/image_wizzard). As a result, i tend to have an issue with 
volume snapshot creation when incorrect format is specified. 


Thanks 


Andrei 



Re: ACS + RBD = mixed RAW/QCOW2 formats

2014-03-25 Thread Andrei Mikhailovsky

It looks like a similar issue that I am experiencing, but i need to double 
check the sequence. 


I've tested it a few months back, but from what I recall i've managed to go 
through vm > snapshot > template > deploy without any issues. However, what I 
was experiencing is occasional problems with snapshots, which tend to cause 
problems for some image types and not others. 


For instance, I had a volume which always caused an error during snapshot and 
in addition to that it caused agent to disconnect from the master leaving the 
status with Alert. It happened every time i've tried to snapshot it. I've 
created another volume and migrated data across and didn't have any issues. The 
db entries for both images were identical (in terms of important fields - not 
creation/modification dates, etc). 


I will need to find time to do more testing and report back. 


Thanks 


Andrei 


- Original Message -

From: "Suresh Sadhu"  
To: dev@cloudstack.apache.org 
Sent: Tuesday, 25 March, 2014 5:44:21 AM 
Subject: RE: ACS + RBD = mixed RAW/QCOW2 formats 

HI, 


Check this below 2 issues and it will give better idea ..why you are seeing 
this 2 disk formats and also still issues related RBD base primary 
storage(ceph) are in open state. 

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

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


May I know which version of cloudstack you are using. 

regards 
sadhu 

-Original Message- 
From: Andrei Mikhailovsky [mailto:and...@arhont.com] 
Sent: 25 March 2014 05:51 
To: dev@cloudstack.apache.org 
Subject: ACS + RBD = mixed RAW/QCOW2 formats 

Hello guys, 


Was wondering if anyone noticed that when you create images/vms you sometimes 
get the wrong format shown in the database. I've noticed, but couldn't find the 
correlation yet, that sometimes I get the QCOW2 disk image format and sometimes 
the RAW format when ACS stores images on the RBD primary storage. 


Not sure if this relates to how images are created (from 
snapshots/templates/image_wizzard). As a result, i tend to have an issue with 
volume snapshot creation when incorrect format is specified. 


Thanks 


Andrei 



Re: [ANNOUNCE] Apache CloudStack 4.3.0 Released

2014-03-25 Thread Wido den Hollander



On 03/25/2014 03:28 PM, Chip Childers wrote:

Website issues should all be resolved now.  Thanks for noticing this.



I also fixed the Ubuntu packages. They were there, but not properly 
indexed by the mirror.



On Tue, Mar 25, 2014 at 10:14 AM, Sumita Gorla  wrote:

Hi Chip

Thank you for the announcement.

The website still shows the latest release as 4.2.1
http://cloudstack.apache.org/downloads.html

"Apache CloudStack's most current release is 4.2.1."


Thanks,
Sumita










On 3/25/14 10:05 AM, "Chip Childers"  wrote:


Announcing Apache CloudStack 4.3.0

Tue Mar 25 2014 09:47:06 GMT-0400 (EDT)

Flexible, scalable, Open Source Infrastructure as a Service (IaaS) used
by organizations such as Zynga, Datapipe, and ISWest, among others, for
creating, managing, and deploying public, private, and hybrid Cloud
Computing environments

Forest Hill, MD --25 March 2014-- The Apache Software Foundation (ASF),
the all-volunteer developers, stewards, and incubators of more than 170
Open Source projects and initiatives, today announced Apache CloudStack
v4.3, the latest feature release of the CloudStack cloud orchestration
platform.

Apache CloudStack is an integrated Infrastructure-as-a-Service (IaaS)
software platform that allows users to build feature-rich public,
private, and hybrid cloud environments. CloudStack includes an intuitive
user interface and rich APIs for managing the compute, networking,
software, and storage infrastructure resources. CloudStack became an
Apache Top-level Project (TLP) in March 2013. "We are proud to announce
CloudStack v4.3," said Hugo Trippaers, Vice President of Apache
CloudStack. "This release represents over six months of work from the
Apache CloudStack community with many new and improved features."

Under The Hood

CloudStack V4.3 is the next feature release of the 4.x line which first
released on November 6, 2012. Some of the noteworthy new and improved
features include:

- Support for Microsoft Hyper-V - Apache CloudStack can now manage Hyper-V
  hypervisors in addition to KVM, XenServer, VMware, LXC, and Bare Metal
- Juniper OpenContrail integration - OpenContrail is a software defined
  networking controller from Juniper that CloudStack now integrates with
  to provide SDN services
- SSL Termination support for guest VMs - Apache CloudStack can configure
  and manage SSL termination in certain load balancer devices
- Palo Alto Firewall integration - Apache CloudStack can now manage and
  configure Palo Alto firewalls
- Remote access VPN for VPC networks - CloudStack's remote access VPN is
  now available for Virtual Private Cloud networks
- Site to Site VPN between VRs - CloudStack now allows site-to-site VPN
  connectivity to it's virtual routing devices. This permits your cloud
  computing environment to appear as a natural extension of your local
  network, or for you to easily interconnect multiple environments
- VXLAN support expansion to include KVM - CloudStack's support for
  integrating VXLAN, the network virtualization technology that attempts
  to ameliorate scalability problems with traditional networking
- SolidFire plugin extension to support KVM and hypervisor snapshots for
  XenServer and ESX - SolidFire provides guaranteed Storage Quality of
  Service at the Virtual Machine level
- Dynamic Compute offering - CloudStack now has the ability to dynamically
  scale the resources assigned to a running virtual machine instance for
  those hypervisors which support it

Downloads and Documentation

The official source code for the v4.3 release, as well as individual
contributors' convenience binaries, can be downloaded from the Apache
CloudStack downloads page at http://cloudstack.apache.org/downloads.html

The CloudStack 4.2 release includes over 110 issues from 4.2.0 and
4.2.1, including fixes for object storage support, documentation, and
more. A full list of corrected issues and upgrade instructions are
available in the Release Notes
http://docs.cloudstack.apache.org/projects/cloudstack-release-notes

Official installation, administration, and API documentation for each
release is available at http://docs.cloudstack.apache.org/en/latest/
Apache CloudStack in Action

Join members of the Apache CloudStack community at the CloudStack
Collaboration Conference, taking place 9-11 April 2014 immediately
following ApacheCon. For more information, visit
http://cloudstackcollab.org

Availability and Oversight

As with all Apache products, Apache CloudStack v4.3 is released under
the Apache License v2.0, and is overseen by a self-selected team of
active contributors to the project. A Project Management Committee (PMC)
guides the Project¹s day-to-day operations, including community
development and product releases. For documentation and ways to become
involved with Apache CloudStack, visit http://cloudstack.apache.org/

About The Apache Software Foundation (ASF)

Established in 1999, the all-volunteer Foundation oversees more than one
hundred and seventy leading 

RE: CloudStack New Spring Logic

2014-03-25 Thread Soheil Eizadi
Hi Hugo,
Thanks for catching it, it was just my typo that was causing the problem. :(
-Soheil

From: Trippie [trip...@gmail.com] on behalf of Hugo Trippaers 
[h...@trippaers.nl]
Sent: Tuesday, March 25, 2014 12:53 AM
To: dev@cloudstack.apache.org
Subject: Re: CloudStack New Spring Logic

Hey Soheil,

The files look good to me at first glance.

Are you sure the property files are in the final jar? Just asking because you 
use the resource directory and our default is resources.


Cheers,

Hugo


On 24 mrt. 2014, at 20:46, Soheil Eizadi  wrote:

> I am refactoring some code that use to work with the older 4.x before the new 
> Spring changes. I read the Spring wiki and have made the necessary changes, 
> e.g.
>
> Administrators-MacBook-Pro-88:infoblox seizadi$ find resource/
>
> resource/
>
> resource//log4j.properties
>
> resource//META-INF
>
> resource//META-INF/cloudstack
>
> resource//META-INF/cloudstack/infoblox
>
> resource//META-INF/cloudstack/infoblox/module.properties
>
> resource//META-INF/cloudstack/infoblox/spring-infoblox-context.xml
>
>
> Administrators-MacBook-Pro-88:infoblox seizadi$ cat 
> resource//META-INF/cloudstack/infoblox/module.properties
>
> # .
>
> name=infoblox
>
> parent=network
>
>
> Administrators-MacBook-Pro-88:infoblox seizadi$ cat 
> resource//META-INF/cloudstack/infoblox/spring-infoblox-context.xml
>
> 
>
> http://www.springframework.org/schema/beans";
>
>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>
>   xmlns:context="http://www.springframework.org/schema/context";
>
>   xmlns:aop="http://www.springframework.org/schema/aop";
>
>   xsi:schemaLocation="http://www.springframework.org/schema/beans
>
>  
> http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
>
>  http://www.springframework.org/schema/aop 
> http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
>
>  http://www.springframework.org/schema/context
>
>  
> http://www.springframework.org/schema/context/spring-context-3.0.xsd";
>
>>
>
>
> class="org.apache.cloudstack.network.dao.InfobloxDaoImpl" />
>
> class="org.apache.cloudstack.network.element.InfobloxElement" >
>
>
>
>
>
>
> 
>
> My jar file builds and gets put into the target directory:
>
> ./cloud-client-ui-4.4.0-SNAPSHOT/WEB-INF/lib/cloud-plugin-network-infoblox-4.4.0-SNAPSHOT.jar
>
> ./client/target/cloud-client-ui-4.4.0-SNAPSHOT/WEB-INF/lib/cloud-plugin-network-infoblox-4.4.0-SNAPSHOT.jar
>
>
> I don't see my plugin in the Network Hierarchy:
>
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy: network
>
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   baremetal-network
>
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   contrail
>
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   elb
>
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   midonet
>
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   netscaler
>
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   nvp
>
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   opendaylight
>
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   ovs
>
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   paloalto
>
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   server-network
>
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   ssp
>
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   vns
>
> INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Module 
> Hierarchy:   vxlan
>
>
> What am I missing to get my module into the DefintionSet?
>
> -Soheil



[GitHub] cloudstack-docs-rn pull request: Clarified supported/unsupported H...

2014-03-25 Thread rvdm
GitHub user rvdm opened a pull request:

https://github.com/apache/cloudstack-docs-rn/pull/5

Clarified supported/unsupported Hyper-V features

As discussed - workaround for potentially confusing 'supported 
functionalities' overview for Hyper-V (could be misinterpreted to be 
generalised supported/unsupported list).

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/rvdm/cloudstack-docs-rn master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack-docs-rn/pull/5.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #5


commit 20ff11f236b9f5668f1c91931aa68c6845de9e02
Author: Robert van der Meulen 
Date:   2014-03-25T14:19:24Z

Clarified supported/unsupported Hyper-V features




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[CLOUDSTACK-6139] system.vm.use.local.storage enable with Zone scope

2014-03-25 Thread Wilder Rodrigues
Hi all,

I have done some work to get the feature CLOUDSTACK-6139 implemented. I did not 
change many things, basically I made the Config.SystemVMUseLocalStorage enum to 
use ConfigKey.scope.Zone in its constructor and changed the 
DeploymentPlanningManagerImpl. The changes are depicted below (only snippets):

Config enum:

SystemVMUseLocalStorage(
"Advanced",
ManagementServer.class,
Boolean.class,
"system.vm.use.local.storage",
"false",
"Indicates whether to use local storage pools or shared storage 
pools for system VMs.",
null, ConfigKey.Scope.Zone.toString()),

DeploymentPlanningManagerImpl:


* I injected the DataCenterDao in order to check if the Zone uses local 
storage

 String ssvmUseLocalStorage = 
_configDao.getValue(Config.SystemVMUseLocalStorage.key());
 DataCenterVO zone = _zoneDao.findById(plan.getDataCenterId());
 boolean zoneUsesLocalStorage = zone.isLocalStorageEnabled();

 if (ssvmUseLocalStorage.equalsIgnoreCase("true") && zoneUsesLocalStorage) {
useLocalStorage = true;
 }

I have tested those changes running multiple zones (2 with local storage and 1 
without). Instances, networks, and all the rest are working fine. I ran the 
tests against 3 hosts running XenServer, where one of them has an extra disk 
which is used as NFS primary storage. From the 2 instances using local storage, 
one was created with Cloudtack 4.3 RC (9th round). In order to make it clear, 
below the steps I followed to test it:

Global settings: system.vm.use.local.storage == true


1.  Deploy Cloudstack 4.3.0 RC (9th round)

2.  Create a zone (local storage enabled)

a.   Create an instance and network

3.  Test firewalling and port forwarding

4.  Upgrade Cloudstack 4.3.0 RC (9th round) to Cloudstack 4.5.0-SNAPSHOT

5.  Test firewalling and port forwarding

6.  Create a zone (local storage enabled)

a.   Create an instance and network

7.  Create a zone (local storage disabled) + NFS primary storage

a.   Create an instance and network

8.  Test firewalling and port forwarding

With the steps above, I was able to set up the whole environment and make sure 
the VMs were running properly and ACL/Port-Forwarding were also working as 
expected.

Global settings: system.vm.use.local.storage == false


1.  Deploy Cloudstack 4.3.0 RC (9th round)

2.  Create a zone (local storage disabled) + NFS primary storage

a.   Create an instance and network

3.  Test firewalling and port forwarding

4.  Upgrade Cloudstack 4.3.0 RC (9th round) to Cloudstack 4.5.0-SNAPSHOT

5.  Test firewalling and port forwarding

6.  Set system.vm.use.local.storage to true

7.  Create a zone (local storage enabled)

a.   Create an instance and network

8.  Create a zone (local storage enabled)

a.   Create an instance and network

9.  Create new instance under the Zone which does not use local storage

10.  Test firewalling and port forwarding

Again, everything worked as expected.

With the steps provided above, I can make sure that resources created with 
version prior to master won't have problems when performing an update.

How do you see those changes? What do you think about the way I tested it? Is 
there anything else I should do before I file a review request to Apache Review 
Board?

Remarks: there are several NPE and ClassCastException happening. Also, there is 
a AQL error (see below) when performing SELECT on autoscale_vmgroups. It was 
not happening with 4.3.0 or 4.5.0-SNAPSHOT. Only happens if an upgrade is done.

Unknown column 'autoscale_vmgroups.last_interval' in 'field list'

In addition, the NPEs are related to the Router Alerts. I see errors on the 
SMlog and also on vmops.log (in the host itself)

SMlog ==> FAILED in util.pread: (rc 127) stdout: '', stderr: 'bash: 
/opt/cloud/bin/getRouterAlerts.sh: No such file or directory
Vmops ==> 2014-03-25 14:32:29DEBUG [root] routerProxy command 
getRouterAlerts.sh 169.254.2.18 null failed

I deleted the VM Router and restarted my network... it fixed the problem.

Thanks in advance for your feedback.

Cheers,
Wilder


Re: Review Request 19578: CLOUDSTACK-6253: Optimizing VR alerts getting algorithm

2014-03-25 Thread Alena Prokharchyk


> On March 24, 2014, 9:56 p.m., Alena Prokharchyk wrote:
> > DomainRouterDaoImpl.java
> > 
> > Why do you iterate through VRs set twice? That doesn't seem right to me. 
> > Why don't you just return original routerIds set?
> > 
> > 
> > public List listByRunningStateAndManagementServer(State 
> > state, long mgmtSrvrId) {
> > 308 
> > SearchCriteria sc = 
> > RunningSearchByManagementServerId.create();
> > 309 
> > sc.setParameters("state", State.Running);
> > 310 
> > sc.setJoinParameters("host", "mgmtServerId", mgmtSrvrId);
> > 311 
> > List routerIds = listBy(sc);
> > 312 
> > List routers = new ArrayList();
> > 313 
> > for (DomainRouterVO router : routerIds) {
> > 314 
> > routers.add(findById(router.getId()));
> > 315 
> > }
> > 316 
> > return routers;
> > 317 
> > }
> 
> Harikrishna Patnala wrote:
> This I have put it to remove the duplicates in case of VPC routers. But 
> I'll remove this loop because anyway I'm skipping the VPC routers in the loop 
> in VritualnetworkapplianceManagerImpl

Huh? That doesn't make any sense to me. listBy(sc) returns you non-duplicated 
entries. So yes, please go ahead and remove it.


- Alena


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


On March 25, 2014, 6:24 a.m., Harikrishna Patnala wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19578/
> ---
> 
> (Updated March 25, 2014, 6:24 a.m.)
> 
> 
> Review request for cloudstack, Jayapal Reddy, Murali Reddy, and Sheng Yang.
> 
> 
> Bugs: CLOUDSTACK-6253
> https://issues.apache.org/jira/browse/CLOUDSTACK-6253
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> CLOUDSTACK-6253: Optimizing VR alerts getting algorithm 
> In addition to this a new configuration parameter is added 
> router.alerts.check.interval defaulted to 30minutes to check for alerts in 
> Virtual Router
> 
> 
> Diffs
> -
> 
>   core/src/com/cloud/agent/api/GetRouterAlertsAnswer.java 06a7a7a 
>   
> core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java 
> e13fbf6 
>   engine/schema/src/com/cloud/vm/dao/DomainRouterDao.java e3f75fa 
>   engine/schema/src/com/cloud/vm/dao/DomainRouterDaoImpl.java 6b62f56 
>   server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java 
> e3597ac 
>   server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java 
> c692491 
>   systemvm/patches/debian/config/opt/cloud/bin/getRouterAlerts.sh e5e8abe 
>   test/integration/component/test_VirtualRouter_alerts.py PRE-CREATION 
>   test/integration/smoke/test_VirtualRouter_alerts.py 2333d84 
> 
> Diff: https://reviews.apache.org/r/19578/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Harikrishna Patnala
> 
>



Re: Review Request 19578: CLOUDSTACK-6253: Optimizing VR alerts getting algorithm

2014-03-25 Thread Alena Prokharchyk


> On March 24, 2014, 10:03 p.m., Alena Prokharchyk wrote:
> > Also if you are hardcoding the state to search by, to Running in your 
> > method, there is no need to define it in the method signature:
> > 
> >  public List listByRunningStateAndManagementServer(State 
> > state, long mgmtSrvrId) { - remove it from the signature
> > 308 
> > SearchCriteria sc = 
> > RunningSearchByManagementServerId.create();
> > 309 
> > sc.setParameters("state", State.Running); - here is the hard coding
> 
> Harikrishna Patnala wrote:
> Thank you Alena, I'll make this a generic method to 
> listbyStateAndManagementServer so that it can be used for any state.

If you make it a generic method, please change the name of it from 
"listByRunningStateAndManagementServer" to "listByStateAndManagementServer" :)


- Alena


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


On March 25, 2014, 6:24 a.m., Harikrishna Patnala wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19578/
> ---
> 
> (Updated March 25, 2014, 6:24 a.m.)
> 
> 
> Review request for cloudstack, Jayapal Reddy, Murali Reddy, and Sheng Yang.
> 
> 
> Bugs: CLOUDSTACK-6253
> https://issues.apache.org/jira/browse/CLOUDSTACK-6253
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> CLOUDSTACK-6253: Optimizing VR alerts getting algorithm 
> In addition to this a new configuration parameter is added 
> router.alerts.check.interval defaulted to 30minutes to check for alerts in 
> Virtual Router
> 
> 
> Diffs
> -
> 
>   core/src/com/cloud/agent/api/GetRouterAlertsAnswer.java 06a7a7a 
>   
> core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java 
> e13fbf6 
>   engine/schema/src/com/cloud/vm/dao/DomainRouterDao.java e3f75fa 
>   engine/schema/src/com/cloud/vm/dao/DomainRouterDaoImpl.java 6b62f56 
>   server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java 
> e3597ac 
>   server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java 
> c692491 
>   systemvm/patches/debian/config/opt/cloud/bin/getRouterAlerts.sh e5e8abe 
>   test/integration/component/test_VirtualRouter_alerts.py PRE-CREATION 
>   test/integration/smoke/test_VirtualRouter_alerts.py 2333d84 
> 
> Diff: https://reviews.apache.org/r/19578/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Harikrishna Patnala
> 
>



4.5 version is missing in Jira

2014-03-25 Thread Alena Prokharchyk
I’ve noticed that 4.5 version is missing in Apache CS Jira. Whoever has an 
admin privileges, can you please add it?

Thanks!
Alena.


RE: [ACS4.3] Schedule reminder : 10 days to code freeze

2014-03-25 Thread Anthony Xu
4.3/4.4?



-Original Message-
From: Animesh Chaturvedi [mailto:animesh.chaturv...@citrix.com] 
Sent: Tuesday, November 26, 2013 9:20 PM
To: dev@cloudstack.apache.org
Subject: [ACS4.3] Schedule reminder : 10 days to code freeze

Folks

We are now 10 days from ACS 4.3 code freeze and our bug fix activity is very 
slow. If you have any issues assigned to you please try to resolve them ASAP 
and help close the unassigned issues.

For detailed report visit the release dashboard [1]

[1] https://issues.apache.org/jira/secure/Dashboard.jspa?selectPageId=12321625

Thanks
Animesh


RE: [ACS4.3] Schedule reminder : 10 days to code freeze

2014-03-25 Thread Animesh Chaturvedi
I sure don't want to start again on 4.3. I survived 9 RCs already and it is out 
.

> -Original Message-
> From: Anthony Xu [mailto:xuefei...@citrix.com]
> Sent: Tuesday, March 25, 2014 11:08 AM
> To: 'dev@cloudstack.apache.org'
> Subject: RE: [ACS4.3] Schedule reminder : 10 days to code freeze
> 
> 4.3/4.4?
> 
> 
> 
> -Original Message-
> From: Animesh Chaturvedi [mailto:animesh.chaturv...@citrix.com]
> Sent: Tuesday, November 26, 2013 9:20 PM
> To: dev@cloudstack.apache.org
> Subject: [ACS4.3] Schedule reminder : 10 days to code freeze
> 
> Folks
> 
> We are now 10 days from ACS 4.3 code freeze and our bug fix activity is very
> slow. If you have any issues assigned to you please try to resolve them ASAP
> and help close the unassigned issues.
> 
> For detailed report visit the release dashboard [1]
> 
> [1]
> https://issues.apache.org/jira/secure/Dashboard.jspa?selectPageId=1232162
> 5
> 
> Thanks
> Animesh


Re: [PROPOSAL] ROOT volume detach - feature for CS 4.5

2014-03-25 Thread Alena Prokharchyk
Here is the link to the corresponding FS (placed in “4.5 Design documents” 
section)

https://cwiki.apache.org/confluence/display/CLOUDSTACK/ROOT+volume+detach

-Alena.

From: Alena Prokharchyk 
mailto:alena.prokharc...@citrix.com>>
Date: Monday, March 24, 2014 at 11:37 AM
To: "dev@cloudstack.apache.org" 
mailto:dev@cloudstack.apache.org>>
Subject: [PROPOSAL] ROOT volume detach - feature for CS 4.5

I would like to propose a new feature for CS 4.5 - "ROOT volume detach" - that 
enables support for following use cases:

1) Replace current ROOT volume with the new one for  existing vm.
2) Case when ROOT volume of vm1 gets corrupted, and you want to attach it to 
vm2 to run the recovery utils on it. With current CS implemntation, you have to 
perform several steps - create snapshot of vm1's volume, create volume from 
snapshot, attach volume to the vm2. New implementation will merge it all to one 
step.


With the planned implementation, once the ROOT volume is detached, it can be 
attached to any existing vm (with respect to Admin/Domain/Physical resources 
limitations), either as a DataDisk or a Root disk.

Amazon EC2 already has this functionality in place, so I think CS would only 
benefit from having it. Storage experts (Edison, others) please raise your 
concerns if you have any, or if you see any potential problems with the planned 
implementation. And if anyone can think of other use cases this feature can 
possible solve, I would appreciate this input as well.


Feature limitations:

* ROOT volume can be detached only when vm is in Stopped state
* CS will fail to start the vm not having a ROOT volume

I will send out the link to the FS once I start getting feedback on the 
proposal.

-Alena.


Question about API development in v4.3

2014-03-25 Thread Tom Li
Hi All,

I am following this tutorial to add a plugin into cloudstack 4.3:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+API+Development

Everything looks well except for that neither componentContext.xml.in nor
applicationContext.xml.in  is found in cloudstack/client/tomcatconf/
directory. When I run the server, it shows "getTimeOfDay" is an unknown
command.

Does anyone know how to correctly plug in new module in v4.3?

Tom


Re: [QUESTION] JavaScript Question

2014-03-25 Thread Mike Tutkowski
Just an FYI: I did a little CSS research and fixed this formatting issue.


On Sun, Mar 23, 2014 at 12:44 AM, Mike Tutkowski <
mike.tutkow...@solidfire.com> wrote:

> By the way, when I said, "I fixed the "No Thanks" radio-button issue in
> both 4.4 and master," I meant I fixed the issue where the custom compute
> and/or custom storage QoS controls were not disappearing when you clicked
> on the "No Thanks" radio button.
>
>
> On Sat, Mar 22, 2014 at 7:45 PM, Mike Tutkowski <
> mike.tutkow...@solidfire.com> wrote:
>
>> FYI that I fixed the "No Thanks" radio-button issue in both 4.4 and
>> master.
>>
>>
>> On Sat, Mar 22, 2014 at 5:38 PM, Mike Tutkowski <
>> mike.tutkow...@solidfire.com> wrote:
>>
>>> I actually think it has to do with the CSS.
>>>
>>> It looks like the "No Thanks" radio button's height is not taken into
>>> consideration when we shrink the height of the Disk Offering container to
>>> fit in the custom compute and custom storage QoS controls.
>>>
>>> I also noticed that if you select a custom Disk Offering and - as
>>> expected - it displays custom controls at the bottom and then you click on
>>> the "No Thanks" radio button that the custom fields don't disappear.
>>>
>>>
>>> On Sat, Mar 22, 2014 at 5:27 PM, Mike Tutkowski <
>>> mike.tutkow...@solidfire.com> wrote:
>>>
 Hi,

 I have a JavaScript question. Of course, feel free anyone to answer it,
 but I CCed Brian, Jessica, and Alena since they seem to do a lot of our GUI
 work.

 While testing a feature of mine for 4.4, I came across a minor GUI
 issue.

 For 4.4 I added the ability for Compute Offerings to support Storage
 Quality of Service (Qos).

 From a visual perspective, this partly entailed adding Min IOPS and Max
 IOPS as options when a user selects a Compute or Disk Offering in the
 process of creating a VM.

 Here is how this looks for a Compute Offering:

 http://i.imgur.com/2HNZ6Ta.png

 For Compute Offerings, this works great as you can scroll the list of
 Compute Offerings and - for the selected Compute Offering, if applicable -
 you can scroll its custom compute options (Number of CPU cores, MHz, and
 memory) and its storage QoS options. If storage QoS is not enabled on the
 Compute Offering (or if its values are configured by the admin on the
 Compute Offering), you won't see these options here (just like if custom
 compute options like number of CPU cores isn't enabled for users to
 configure on the Compute Offering, you won't see those options here 
 either).

 The moral of the story here is that this scrolling works great.

 I noticed a minor GUI issue, however, with the equivalent functionality
 on Disk Offerings:

  http://i.imgur.com/HJsAhdU.png

 As you can see here, the scrolling doesn't work.

 I was hoping a GUI person could take a look at this for me. Nothing
 obvious stuck out when I looked at index.jsp and I don't have nearly the
 JavaScript experience as I have Java experience.

 Thanks!
 Mike

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

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



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


Re: Still need SSVM SSL config docs

2014-03-25 Thread Amogh Vasekar
Hi,

I have some info on :
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Realhost+IP+changes#
RealhostIPchanges-SSVM , which gives pointers on updating the parameter
and tips on how to generate the correct certificate. I will submit a pull
request based on similar lines as console proxy soon.

Thanks,
Amogh

On 3/24/14 11:32 PM, "John Kinsella"  wrote:

>Everyone - I believe we¹re still missing documentation on how to
>configure ACS 4.3 to use a user-provided SSL certificate for SSVM file
>copies?
>
>Pretty sure I know the answer, so consider this a request for that
>documentation, at least in wiki form.
>
>I¹ve submitted a pull request for updates to the console proxy docs in
>the admin guide.
>
>I¹ve got a blog post in draft format that I¹d like to send out tomorrow,
>would love to be able to link to the SSVM configuration steps as well.
>
>John



Re: [PROPOSAL] ROOT volume detach - feature for CS 4.5

2014-03-25 Thread Mike Tutkowski
Hi Alena,

I was wondering how we plan to keep track of the new "bootable" property?
When we create a VM, would we just mark its root disk as bootable and then
that property becomes immutable (for the upgrade case, all root disks would
be marked as bootable)?

I'm thinking we'd want to keep track of bootable disks even when there are
detached and turned into data disks. Is that what you had in mind?

Thanks!
Mike


On Tue, Mar 25, 2014 at 12:20 PM, Alena Prokharchyk <
alena.prokharc...@citrix.com> wrote:

> Here is the link to the corresponding FS (placed in "4.5 Design documents"
> section)
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/ROOT+volume+detach
>
> -Alena.
>
> From: Alena Prokharchyk  alena.prokharc...@citrix.com>>
> Date: Monday, March 24, 2014 at 11:37 AM
> To: "dev@cloudstack.apache.org" <
> dev@cloudstack.apache.org>
> Subject: [PROPOSAL] ROOT volume detach - feature for CS 4.5
>
> I would like to propose a new feature for CS 4.5 - "ROOT volume detach" -
> that enables support for following use cases:
>
> 1) Replace current ROOT volume with the new one for  existing vm.
> 2) Case when ROOT volume of vm1 gets corrupted, and you want to attach it
> to vm2 to run the recovery utils on it. With current CS implemntation, you
> have to perform several steps - create snapshot of vm1's volume, create
> volume from snapshot, attach volume to the vm2. New implementation will
> merge it all to one step.
>
>
> With the planned implementation, once the ROOT volume is detached, it can
> be attached to any existing vm (with respect to Admin/Domain/Physical
> resources limitations), either as a DataDisk or a Root disk.
>
> Amazon EC2 already has this functionality in place, so I think CS would
> only benefit from having it. Storage experts (Edison, others) please raise
> your concerns if you have any, or if you see any potential problems with
> the planned implementation. And if anyone can think of other use cases this
> feature can possible solve, I would appreciate this input as well.
>
>
> Feature limitations:
>
> * ROOT volume can be detached only when vm is in Stopped state
> * CS will fail to start the vm not having a ROOT volume
>
> I will send out the link to the FS once I start getting feedback on the
> proposal.
>
> -Alena.
>



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


Re: [PROPOSAL] ROOT volume detach - feature for CS 4.5

2014-03-25 Thread Alena Prokharchyk
Mike,

Volume has a template_id referencing vm_template table. Vm_template has
bootable flag, so we will derive information from there.
And sure, this information will not change if the root disk is detached.

On 3/25/14, 12:18 PM, "Mike Tutkowski" 
wrote:

>Hi Alena,
>
>I was wondering how we plan to keep track of the new "bootable" property?
>When we create a VM, would we just mark its root disk as bootable and then
>that property becomes immutable (for the upgrade case, all root disks
>would
>be marked as bootable)?
>
>I'm thinking we'd want to keep track of bootable disks even when there are
>detached and turned into data disks. Is that what you had in mind?
>
>Thanks!
>Mike
>
>
>On Tue, Mar 25, 2014 at 12:20 PM, Alena Prokharchyk <
>alena.prokharc...@citrix.com> wrote:
>
>> Here is the link to the corresponding FS (placed in "4.5 Design
>>documents"
>> section)
>>
>> 
>>https://cwiki.apache.org/confluence/display/CLOUDSTACK/ROOT+volume+detach
>>
>> -Alena.
>>
>> From: Alena Prokharchyk > alena.prokharc...@citrix.com>>
>> Date: Monday, March 24, 2014 at 11:37 AM
>> To: "dev@cloudstack.apache.org" <
>> dev@cloudstack.apache.org>
>> Subject: [PROPOSAL] ROOT volume detach - feature for CS 4.5
>>
>> I would like to propose a new feature for CS 4.5 - "ROOT volume detach"
>>-
>> that enables support for following use cases:
>>
>> 1) Replace current ROOT volume with the new one for  existing vm.
>> 2) Case when ROOT volume of vm1 gets corrupted, and you want to attach
>>it
>> to vm2 to run the recovery utils on it. With current CS implemntation,
>>you
>> have to perform several steps - create snapshot of vm1's volume, create
>> volume from snapshot, attach volume to the vm2. New implementation will
>> merge it all to one step.
>>
>>
>> With the planned implementation, once the ROOT volume is detached, it
>>can
>> be attached to any existing vm (with respect to Admin/Domain/Physical
>> resources limitations), either as a DataDisk or a Root disk.
>>
>> Amazon EC2 already has this functionality in place, so I think CS would
>> only benefit from having it. Storage experts (Edison, others) please
>>raise
>> your concerns if you have any, or if you see any potential problems with
>> the planned implementation. And if anyone can think of other use cases
>>this
>> feature can possible solve, I would appreciate this input as well.
>>
>>
>> Feature limitations:
>>
>> * ROOT volume can be detached only when vm is in Stopped state
>> * CS will fail to start the vm not having a ROOT volume
>>
>> I will send out the link to the FS once I start getting feedback on the
>> proposal.
>>
>> -Alena.
>>
>
>
>
>-- 
>*Mike Tutkowski*
>*Senior CloudStack Developer, SolidFire Inc.*
>e: mike.tutkow...@solidfire.com
>o: 303.746.7302
>Advancing the way the world uses the
>cloud
>*(tm)*



Re: Still need SSVM SSL config docs

2014-03-25 Thread John Kinsella
Thx!

On Mar 25, 2014, at 11:50 AM, Amogh Vasekar 
mailto:amogh.vase...@citrix.com>> wrote:

Hi,

I have some info on :
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Realhost+IP+changes#
RealhostIPchanges-SSVM , which gives pointers on updating the parameter
and tips on how to generate the correct certificate. I will submit a pull
request based on similar lines as console proxy soon.

Thanks,
Amogh

On 3/24/14 11:32 PM, "John Kinsella"  wrote:

Everyone - I believe we¹re still missing documentation on how to
configure ACS 4.3 to use a user-provided SSL certificate for SSVM file
copies?

Pretty sure I know the answer, so consider this a request for that
documentation, at least in wiki form.

I¹ve submitted a pull request for updates to the console proxy docs in
the admin guide.

I¹ve got a blog post in draft format that I¹d like to send out tomorrow,
would love to be able to link to the SSVM configuration steps as well.

John


Stratosec - Compliance as a Service
o: 415.315.9385
@johnlkinsella



Re: Resetting a VM is broken?

2014-03-25 Thread Mike Tutkowski
Hi,

I noticed today while running a VMware environment (although that probably
doesn't matter) that when I destroyed, but did not expunge, a VM, I was
given the option to later expunge it (expected) or recycle it (un-expected).

I wonder if we mean to let the user restore the VM (i.e. un-destroy it)
instead of recycle it (i.e. create a new root disk for the VM)?

Thanks,
Mike


On Thu, Mar 20, 2014 at 3:47 PM, Mike Tutkowski <
mike.tutkow...@solidfire.com> wrote:

> Right...that would be great, as well.
>
>
> On Thu, Mar 20, 2014 at 3:45 PM, Jessica Wang wrote:
>
>>  Also:
>>
>> (3) Change Reinstall icon to use a 'recycle' symbol, to avoid confusion
>> w/ reboot VM
>>
>>
>>
>>
>>
>>
>>
>> *From:* Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
>> *Sent:* Thursday, March 20, 2014 2:43 PM
>> *To:* Jessica Wang
>> *Cc:* Brian Federle; n...@li.nux.ro; dev@cloudstack.apache.org;
>> Harikrishna Patnala; Alena Prokharchyk; Stephen Turner
>>
>> *Subject:* Re: Resetting a VM is broken?
>>
>>
>>
>> Works for me. Thanks!
>>
>>
>>
>> On Thu, Mar 20, 2014 at 3:41 PM, Jessica Wang 
>> wrote:
>>
>> So, we'll change UI to:
>>
>> (1) Label the action icon that fires recoverVirtualMachine API as
>> "Recover".
>> Label the action icon that fires restoreVirtualMachine API as
>> "Reinstall".
>>
>> (2) change text in confirmation dialog of Reinstall action as:
>> "The VM will be reinstalled from template, all current data will be lost,
>> proceed with caution! Extra data volumes, if any, will not be touched."
>>
>>
>>
>>
>> -Original Message-
>> From: Nux! [mailto:n...@li.nux.ro]
>> Sent: Thursday, March 20, 2014 2:04 PM
>> To: dev@cloudstack.apache.org
>> Subject: Re: Resetting a VM is broken?
>>
>> On 20.03.2014 20:54, Mike Tutkowski wrote:
>> > The only technicality is that data on data disks won't be lost (just
>> > the
>> > root disk).
>>
>> Yes, that is true, we can add something like: "Extra data volumes, if
>> any, will not be touched."
>>
>> HTH
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>>
>>
>>
>>
>> --
>> *Mike Tutkowski*
>>
>> *Senior CloudStack Developer, SolidFire Inc.*
>>
>> e: mike.tutkow...@solidfire.com
>>
>> o: 303.746.7302
>>
>> Advancing the way the world uses the 
>> cloud
>> *(tm)*
>>
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the 
> cloud
> *(tm)*
>



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


Re: 4.5 version is missing in Jira

2014-03-25 Thread David Nalley
Done


On Tue, Mar 25, 2014 at 1:33 PM, Alena Prokharchyk
 wrote:
> I've noticed that 4.5 version is missing in Apache CS Jira. Whoever has an 
> admin privileges, can you please add it?
>
> Thanks!
> Alena.


Review Request 19635: CLOUDSTACK-6015: Add tests for adding/deleting new user account, adding/deleting user.

2014-03-25 Thread Yichi Lu

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

Review request for cloudstack and Sebastien Goasguen.


Repository: cloudstack-git


Description
---

CLOUDSTACK-6015
Following tests are new (need to be run in the order displayed):
adduseraccount_test.py
adduser_test.py
login_logout_as_JohnD_test.py(new account's username is JohnD)
deleteuser_test.py
deleteuseraccount_test.py


Diffs
-

  test/selenium/common/shared.py b4f537f 
  test/selenium/cspages/accounts/accountspage.py PRE-CREATION 
  test/selenium/cspages/accounts/userspage.py PRE-CREATION 
  test/selenium/cspages/cspage.py PRE-CREATION 
  test/selenium/cspages/dashboard/dashboardpage.py 4394199 
  test/selenium/cspages/login/loginpage.py e7795d9 
  test/selenium/cstests/smoketests/adduser_test.py PRE-CREATION 
  test/selenium/cstests/smoketests/adduseraccount_test.py PRE-CREATION 
  test/selenium/cstests/smoketests/deleteuser_test.py PRE-CREATION 
  test/selenium/cstests/smoketests/deleteuseraccount_test.py PRE-CREATION 
  test/selenium/cstests/smoketests/login_logout_as_JohnD_test.py PRE-CREATION 
  test/selenium/cstests/smoketests/smokecfg.py 8bbb350 

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


Testing
---

tested against CloudStack 4.5.0-SNAPSHOT. Patch generated against the latest 
master.
(Hope this time I did it right)


Thanks,

Yichi Lu



[QUESTION] Unsupported operation on VMware?

2014-03-25 Thread Mike Tutkowski
Hi,

I've noticed the following exception on VMware on 4.4 (when trying to
create a VM from a template and when trying to create a template from a
volume):

Unsupported command
issued:org.apache.cloudstack.storage.command.CopyCommand. Are you sure you
got the right type of server?

Any thoughts on why I might be getting this error?

Thanks,

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


Re: [QUESTION] Unsupported operation on VMware?

2014-03-25 Thread Mike Tutkowski
I assume - regardless of the hosts in my VMware cluster - that the commands
the management server sends should be to the vCenter Server, right?


On Tue, Mar 25, 2014 at 2:58 PM, Mike Tutkowski <
mike.tutkow...@solidfire.com> wrote:

> Hi,
>
> I've noticed the following exception on VMware on 4.4 (when trying to
> create a VM from a template and when trying to create a template from a
> volume):
>
> Unsupported command
> issued:org.apache.cloudstack.storage.command.CopyCommand. Are you sure you
> got the right type of server?
>
> Any thoughts on why I might be getting this error?
>
> Thanks,
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the 
> cloud
> *(tm)*
>



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


Re: [QUESTION] Unsupported operation on VMware?

2014-03-25 Thread Mike Tutkowski
I can create a VM from an ISO, but I don't think the CopyCommand is
involved there.


On Tue, Mar 25, 2014 at 2:59 PM, Mike Tutkowski <
mike.tutkow...@solidfire.com> wrote:

> I assume - regardless of the hosts in my VMware cluster - that the
> commands the management server sends should be to the vCenter Server, right?
>
>
> On Tue, Mar 25, 2014 at 2:58 PM, Mike Tutkowski <
> mike.tutkow...@solidfire.com> wrote:
>
>> Hi,
>>
>> I've noticed the following exception on VMware on 4.4 (when trying to
>> create a VM from a template and when trying to create a template from a
>> volume):
>>
>> Unsupported command
>> issued:org.apache.cloudstack.storage.command.CopyCommand. Are you sure you
>> got the right type of server?
>>
>> Any thoughts on why I might be getting this error?
>>
>> Thanks,
>>
>> --
>> *Mike Tutkowski*
>> *Senior CloudStack Developer, SolidFire Inc.*
>> e: mike.tutkow...@solidfire.com
>> o: 303.746.7302
>> Advancing the way the world uses the 
>> cloud
>> *(tm)*
>>
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the 
> cloud
> *(tm)*
>



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


Re: Resetting a VM is broken?

2014-03-25 Thread Mike Tutkowski
Cancel this e-mail here! :)

I somehow read Recycle when it clearly says Recover.


On Tue, Mar 25, 2014 at 2:20 PM, Mike Tutkowski <
mike.tutkow...@solidfire.com> wrote:

> Hi,
>
> I noticed today while running a VMware environment (although that probably
> doesn't matter) that when I destroyed, but did not expunge, a VM, I was
> given the option to later expunge it (expected) or recycle it (un-expected).
>
> I wonder if we mean to let the user restore the VM (i.e. un-destroy it)
> instead of recycle it (i.e. create a new root disk for the VM)?
>
> Thanks,
> Mike
>
>
> On Thu, Mar 20, 2014 at 3:47 PM, Mike Tutkowski <
> mike.tutkow...@solidfire.com> wrote:
>
>> Right...that would be great, as well.
>>
>>
>> On Thu, Mar 20, 2014 at 3:45 PM, Jessica Wang wrote:
>>
>>>  Also:
>>>
>>> (3) Change Reinstall icon to use a 'recycle' symbol, to avoid confusion
>>> w/ reboot VM
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *From:* Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
>>> *Sent:* Thursday, March 20, 2014 2:43 PM
>>> *To:* Jessica Wang
>>> *Cc:* Brian Federle; n...@li.nux.ro; dev@cloudstack.apache.org;
>>> Harikrishna Patnala; Alena Prokharchyk; Stephen Turner
>>>
>>> *Subject:* Re: Resetting a VM is broken?
>>>
>>>
>>>
>>> Works for me. Thanks!
>>>
>>>
>>>
>>> On Thu, Mar 20, 2014 at 3:41 PM, Jessica Wang 
>>> wrote:
>>>
>>> So, we'll change UI to:
>>>
>>> (1) Label the action icon that fires recoverVirtualMachine API as
>>> "Recover".
>>> Label the action icon that fires restoreVirtualMachine API as
>>> "Reinstall".
>>>
>>> (2) change text in confirmation dialog of Reinstall action as:
>>> "The VM will be reinstalled from template, all current data will be
>>> lost, proceed with caution! Extra data volumes, if any, will not be
>>> touched."
>>>
>>>
>>>
>>>
>>> -Original Message-
>>> From: Nux! [mailto:n...@li.nux.ro]
>>> Sent: Thursday, March 20, 2014 2:04 PM
>>> To: dev@cloudstack.apache.org
>>> Subject: Re: Resetting a VM is broken?
>>>
>>> On 20.03.2014 20:54, Mike Tutkowski wrote:
>>> > The only technicality is that data on data disks won't be lost (just
>>> > the
>>> > root disk).
>>>
>>> Yes, that is true, we can add something like: "Extra data volumes, if
>>> any, will not be touched."
>>>
>>> HTH
>>>
>>> --
>>> Sent from the Delta quadrant using Borg technology!
>>>
>>> Nux!
>>> www.nux.ro
>>>
>>>
>>>
>>>
>>>
>>> --
>>> *Mike Tutkowski*
>>>
>>> *Senior CloudStack Developer, SolidFire Inc.*
>>>
>>> e: mike.tutkow...@solidfire.com
>>>
>>> o: 303.746.7302
>>>
>>> Advancing the way the world uses the 
>>> cloud
>>> *(tm)*
>>>
>>
>>
>>
>> --
>> *Mike Tutkowski*
>> *Senior CloudStack Developer, SolidFire Inc.*
>> e: mike.tutkow...@solidfire.com
>> o: 303.746.7302
>> Advancing the way the world uses the 
>> cloud
>> *(tm)*
>>
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the 
> cloud
> *(tm)*
>



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


Re: Google Analytics

2014-03-25 Thread Chip Childers
On Tue, Mar 25, 2014 at 5:36 PM, David Nalley  wrote:
> Hi folks,
>
> Many many moons ago we discussed doing some website analytics. At the
> time we were discussing requesting a VM and using open source software
> to do this. We never got that built out. I don't really have the
> cycles (or inclination) at the moment for such a project, but I do
> think there is a value in measuring various things about our web
> traffic. As such, I'd like to stand up a Google Analytics account and
> add the snipped of code to our CMS template so that every page gets a
> copy of it. I'm happy to grant access to any committer who wishes to
> spend their time looking at the data. Anyone offended by this?
>
> I'll let this set for a few days and if no one becomes violently ill
> I'll move forward and make the changes.
>
> --David

+1


Google Analytics

2014-03-25 Thread David Nalley
Hi folks,

Many many moons ago we discussed doing some website analytics. At the
time we were discussing requesting a VM and using open source software
to do this. We never got that built out. I don't really have the
cycles (or inclination) at the moment for such a project, but I do
think there is a value in measuring various things about our web
traffic. As such, I'd like to stand up a Google Analytics account and
add the snipped of code to our CMS template so that every page gets a
copy of it. I'm happy to grant access to any committer who wishes to
spend their time looking at the data. Anyone offended by this?

I'll let this set for a few days and if no one becomes violently ill
I'll move forward and make the changes.

--David


Re: Google Analytics

2014-03-25 Thread Laszlo Hornyak
+1
Sounds good.


On Tue, Mar 25, 2014 at 10:36 PM, David Nalley  wrote:

> Hi folks,
>
> Many many moons ago we discussed doing some website analytics. At the
> time we were discussing requesting a VM and using open source software
> to do this. We never got that built out. I don't really have the
> cycles (or inclination) at the moment for such a project, but I do
> think there is a value in measuring various things about our web
> traffic. As such, I'd like to stand up a Google Analytics account and
> add the snipped of code to our CMS template so that every page gets a
> copy of it. I'm happy to grant access to any committer who wishes to
> spend their time looking at the data. Anyone offended by this?
>
> I'll let this set for a few days and if no one becomes violently ill
> I'll move forward and make the changes.
>
> --David
>



-- 

EOF


Re: Review Request 12228: static resource compression

2014-03-25 Thread Laszlo Hornyak


> On March 21, 2014, 8:07 p.m., Laszlo Hornyak wrote:
> > https://docs.google.com/spreadsheet/ccc?key=0ApMkIX1Ygx8zdHhqV2RETy05SDU1WER3Z2JEN3ktZHc&usp=sharing
> > 
> > Comparison of 3 configurations, the dynamic compression solution is the 
> > last one. This test was conducted in a VM with 2 vCPU and 4 GB RAM on a 
> > AMD E2-1800.
> >

Anyone managed to verify the results? Comments or thoughts?


- Laszlo


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


On March 20, 2014, 7:53 p.m., Laszlo Hornyak wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12228/
> ---
> 
> (Updated March 20, 2014, 7:53 p.m.)
> 
> 
> Review request for cloudstack, Brian Federle, Darren Shepherd, and Prasanna 
> Santhanam.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> CloudStack at first use downloads some 3.5 MB of css and javascript to the 
> client. With a weak internet connection, this might take a long time. With 
> gzip compression content can be compressed to 850 KB.
> 
> This version of the patch uses a custom plugin to compress static resources, 
> so that no dynamic compression is needed at runtime. When the static resource 
> servlet notices that there is gzipped version of the resource and the client 
> accepts gzipped content, then it is going to send the gziped version, while 
> still respects http caching.
> 
> 
> Diffs
> -
> 
>   client/WEB-INF/web.xml 1af38e1 
>   client/pom.xml d8dbde7 
>   server/src/com/cloud/servlet/StaticResourceServlet.java PRE-CREATION 
>   server/test/com/cloud/servlet/StaticResourceServletTest.java PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/12228/diff/
> 
> 
> Testing
> ---
> 
> yes, tested with firefox and chrome
> 
> 
> Thanks,
> 
> Laszlo Hornyak
> 
>



Re: Google Analytics

2014-03-25 Thread Sebastien Goasguen
I turned it on for docs.c.a.o already because it was built-in

-Sebastien

> On 25 Mar 2014, at 21:46, Laszlo Hornyak  wrote:
> 
> +1
> Sounds good.
> 
> 
>> On Tue, Mar 25, 2014 at 10:36 PM, David Nalley  wrote:
>> 
>> Hi folks,
>> 
>> Many many moons ago we discussed doing some website analytics. At the
>> time we were discussing requesting a VM and using open source software
>> to do this. We never got that built out. I don't really have the
>> cycles (or inclination) at the moment for such a project, but I do
>> think there is a value in measuring various things about our web
>> traffic. As such, I'd like to stand up a Google Analytics account and
>> add the snipped of code to our CMS template so that every page gets a
>> copy of it. I'm happy to grant access to any committer who wishes to
>> spend their time looking at the data. Anyone offended by this?
>> 
>> I'll let this set for a few days and if no one becomes violently ill
>> I'll move forward and make the changes.
>> 
>> --David
>> 
> 
> 
> 
> -- 
> 
> EOF


Re: Google Analytics

2014-03-25 Thread Rohit Yadav
+1 and use tag manager ftw


On Wed, Mar 26, 2014 at 3:06 AM, David Nalley  wrote:

> Hi folks,
>
> Many many moons ago we discussed doing some website analytics. At the
> time we were discussing requesting a VM and using open source software
> to do this. We never got that built out. I don't really have the
> cycles (or inclination) at the moment for such a project, but I do
> think there is a value in measuring various things about our web
> traffic. As such, I'd like to stand up a Google Analytics account and
> add the snipped of code to our CMS template so that every page gets a
> copy of it. I'm happy to grant access to any committer who wishes to
> spend their time looking at the data. Anyone offended by this?
>
> I'll let this set for a few days and if no one becomes violently ill
> I'll move forward and make the changes.
>
> --David
>


login as a user under user account.

2014-03-25 Thread Yichi Lu
I tried to create a test to login as a user (JaneD) under user account, but
it could not be done at this time:
2014-03-25 16:56:21,041 DEBUG [c.c.u.AccountManagerImpl]
(1591729149@qtp-1323814045-14:ctx-2e9373a5) Attempting to log in user:
JaneD in domain 1
2014-03-25 16:56:21,042 DEBUG [c.c.s.a.SHA256SaltedUserAuthenticator]
(1591729149@qtp-1323814045-14:ctx-2e9373a5) Retrieving user: JaneD
2014-03-25 16:56:21,049 ERROR [c.c.a.ApiServlet]
(1591729149@qtp-1323814045-14:ctx-2e9373a5) unknown exception writing api
response
com.cloud.exception.InvalidParameterValueException: Caller cannot be passed
as NULL to IAM!
at
org.apache.cloudstack.iam.RoleBasedEntityAccessChecker.checkAccess(RoleBasedEntityAccessChecker.java:67)


Log in as user account owner (JohnD) is ok.


Re: Review Request 19616: Added check for null return.

2014-03-25 Thread Laszlo Hornyak
Hi,

I have just looked into this, looks quite safe to me and follows the
conventions of the code.

However, what about a little change in the conventions? Wouldn't it be more
simple not to return null if the operation failed?
This could help simplifying the code by eliminating lots of null-checks,
and also the service implementations could become more simple.




On Tue, Mar 25, 2014 at 4:04 PM, Alex Hitchins
wrote:

>
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19616/
> ---
>
> Review request for cloudstack.
>
>
> Repository: cloudstack-git
>
>
> Description
> ---
>
> Added check for returned null, if received then throw exception.
>
>
> Diffs
> -
>
>   server/src/com/cloud/storage/VolumeApiServiceImpl.java 5ffa99b
>
> Diff: https://reviews.apache.org/r/19616/diff/
>
>
> Testing
> ---
>
> Compiled & ran.
>
>
> Thanks,
>
> Alex Hitchins
>
>


-- 

EOF


Re: Google Analytics

2014-03-25 Thread Ian Duffy
+1

On 25 March 2014 21:53, Rohit Yadav  wrote:
> +1 and use tag manager ftw
>
>
> On Wed, Mar 26, 2014 at 3:06 AM, David Nalley  wrote:
>
>> Hi folks,
>>
>> Many many moons ago we discussed doing some website analytics. At the
>> time we were discussing requesting a VM and using open source software
>> to do this. We never got that built out. I don't really have the
>> cycles (or inclination) at the moment for such a project, but I do
>> think there is a value in measuring various things about our web
>> traffic. As such, I'd like to stand up a Google Analytics account and
>> add the snipped of code to our CMS template so that every page gets a
>> copy of it. I'm happy to grant access to any committer who wishes to
>> spend their time looking at the data. Anyone offended by this?
>>
>> I'll let this set for a few days and if no one becomes violently ill
>> I'll move forward and make the changes.
>>
>> --David
>>


[GitHub] cloudstack-docs-install pull request: fix some URLs, internal link...

2014-03-25 Thread pdion891
GitHub user pdion891 opened a pull request:

https://github.com/apache/cloudstack-docs-install/pull/5

fix some URLs, internal links, fix un visible tables

fix some URLs, internal links, fix un visible tables
also rename package reference to 4.3.

```
pdion-mbook-3:cloudstack-docs-install pdion$ sphinx-build -b html source 
build
Running Sphinx v1.2.2
loading pickled environment... done
building [html]: targets for 1 source files that are out of date
updating environment: 0 added, 1 changed, 0 removed
reading sources... [100%] configuration 


looking for now-outdated files... none found
pickling environment... done
checking consistency... 
/Users/pdion/Documents/cloudstack/cloudstack-docs-install/source/managing_networks.rst::
 WARNING: document isn't included in any toctree
done
preparing documents... done
writing output... [100%] index  


writing additional files... genindex search
copying images... [100%] ./_static/images/add-cluster.png   


copying static files... done
copying extra files... done
dumping search index... done
dumping object inventory... done
build succeeded, 1 warning.
```

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/cloudops/cloudstack-docs-install master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack-docs-install/pull/5.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #5


commit f96c344f36b642e299d91b76633646cc2158053a
Author: Pierre-Luc Dion 
Date:   2014-03-26T04:13:13Z

fix some URLs, internal links, fix un visible tables




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: Review Request 19604: [Windowsfication] fixing log issues on windows

2014-03-25 Thread Rajani Karuturi

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



scripts/installer/windows/acs.wxs


a mix of '//' and '\' is used. If possible, use one


- Rajani Karuturi


On March 25, 2014, 11:33 a.m., Damodar Reddy Talakanti wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19604/
> ---
> 
> (Updated March 25, 2014, 11:33 a.m.)
> 
> 
> Review request for cloudstack and Abhinandan Prateek.
> 
> 
> Bugs: https://issues.apache.org/jira/browse/CLOUDSTACK-6105
> 
> https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/CLOUDSTACK-6105
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> After Windowsfication logs were not getting generated properly on windows. 
> Fixed the same by updating tomcat's properties in MSI installer
> 
> 
> Diffs
> -
> 
>   scripts/installer/windows/acs.wxs 7967478 
> 
> Diff: https://reviews.apache.org/r/19604/diff/
> 
> 
> Testing
> ---
> 
> As changes are related to windows tested whether log files are getting 
> generated or not in windows.
> 
> 
> Thanks,
> 
> Damodar Reddy Talakanti
> 
>



Re: Review Request 19612: Added fix for CLOUDSTACK-6269

2014-03-25 Thread Kishan Kavala

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

Ship it!


Ship It!

- Kishan Kavala


On March 25, 2014, 7:24 p.m., Santhosh Edukulla wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19612/
> ---
> 
> (Updated March 25, 2014, 7:24 p.m.)
> 
> 
> Review request for cloudstack, daan Hoogland and Kishan Kavala.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Added fix for the mentioned bug.More details in the bug.
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/simulator/src/com/cloud/agent/manager/MockVmManagerImpl.java
>  27002f2 
> 
> Diff: https://reviews.apache.org/r/19612/diff/
> 
> 
> Testing
> ---
> 
> Tested and post this, issue is not observed.
> 
> 
> Thanks,
> 
> Santhosh Edukulla
> 
>



Re: Review Request 18677: CLOUDSTACK-3272

2014-03-25 Thread Murali Reddy

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


Thanks for the patch. Could you please ensure patch can be applied to master, 
its fails to apply.

- Murali Reddy


On March 24, 2014, 12:46 p.m., Sonal Ojha wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/18677/
> ---
> 
> (Updated March 24, 2014, 12:46 p.m.)
> 
> 
> Review request for cloudstack, Chiradeep Vittal and Murali Reddy.
> 
> 
> Bugs: CLOUDSTACK-3272
> https://issues.apache.org/jira/browse/CLOUDSTACK-3272
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> At present, there are multiple event types that are generated by CS, action 
> events,usage events, resource state change events and alerts. Current problem 
> is
> all the events gets published on the event bus when event bus is enabled. 
> Intent is to introduce global setting config parameters to specify which 
> category of events to be published or not be published on the event bus.
> 
> 
> Diffs
> -
> 
>   server/src/com/cloud/configuration/Config.java 2d55f46 
>   server/src/com/cloud/event/ActionEventUtils.java 00122de 
>   server/src/com/cloud/test/DatabaseConfig.java 9370218 
> 
> Diff: https://reviews.apache.org/r/18677/diff/
> 
> 
> Testing
> ---
> 
> Successfully tested publishing / not publishing of various events based on 
> the global parameter publish.*.events.
> 
> 
> File Attachments
> 
> 
> 0001-CLOUDSTACK-3272-Changes-to-allow-publishing-of-event.patch
>   
> https://reviews.apache.org/media/uploaded/files/2014/03/24/4deb6544-5515-4a99-9f1c-f927c88d3014__0001-CLOUDSTACK-3272-Changes-to-allow-publishing-of-event.patch
> 
> 
> Thanks,
> 
> Sonal Ojha
> 
>



[Jenkins] centos slaves offline

2014-03-25 Thread Paul Angus
Hi,

I've noticed this morning that a large number of jobs in the 4.4 branch and 
some in the Master branch haven't run for a week.  There seems to be a queue 
built up because some of the nodes are offline.

Is this deliberate - or can someone fix it.

cloudstack-buildslave-centos6-609
  (offline)

cloudstack-buildslave-centos6-715
  (offline)


Regards

Paul Angus
Senior Consultant / Cloud Architect

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

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

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training
18th-19th February 2014, Brazil. 
Classroom
17th-23rd March 2014, Region A. Instructor led, 
On-line
24th-28th March 2014, Region B. Instructor led, 
On-line
16th-20th June 2014, Region A. Instructor led, 
On-line
23rd-27th June 2014, Region B. Instructor led, 
On-line

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 a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: [Jenkins] centos slaves offline

2014-03-25 Thread Hugo Trippaers
I'll have a look.

Thanks for the heads-up.

Hugo

Sent from my iPhone

> On 26 mrt. 2014, at 07:35, Paul Angus  wrote:
> 
> Hi,
>  
> I’ve noticed this morning that a large number of jobs in the 4.4 branch and 
> some in the Master branch haven’t run for a week.  There seems to be a queue 
> built up because some of the nodes are offline.
>  
> Is this deliberate – or can someone fix it.
>  
> cloudstack-buildslave-centos6-609  (offline)
> cloudstack-buildslave-centos6-715  (offline)
>  
> Regards
>  
> Paul Angus
> Senior Consultant / Cloud Architect
>  
> 
>  
> S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
> paul.an...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>  
> Need Enterprise Grade Support for Apache CloudStack?
> Our CloudStack Infrastructure Support offers the best 24/7 SLA for CloudStack 
> Environments.
> 
> Apache CloudStack Bootcamp training courses
> 
> **NEW!** CloudStack 4.2.1 training
> 18th-19th February 2014, Brazil. Classroom
> 17th-23rd March 2014, Region A. Instructor led, On-line
> 24th-28th March 2014, Region B. Instructor led, On-line
> 16th-20th June 2014, Region A. Instructor led, On-line
> 23rd-27th June 2014, Region B. Instructor led, On-line
> 
> 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 a company 
> incorporated in India and is operated under license from Shape Blue Ltd. 
> Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
> operated under license from Shape Blue Ltd. ShapeBlue is a registered 
> trademark.