Unable to Deploy Own Router in CS 4.5.1

2015-06-26 Thread raja sekhar
Hi All,

I am using CS 4.5.1 and xen 6.2.
I want to deploy my own router instead of default CS router.
for that i have uploaded vyatta router into cloudstack as template. enabled
routing feature. changed global parameter " router.template.xenserver  "
to template id/uuid.
router is deployed from that template but it is still stuck at Starting
stage for a long time in CS UI, but it is running in xencenter.
What is the correct procedure to deploy our own router in cloudstack?
Is cloudstack support Vyatta router?
If not which 3rd party routers will support?
when vm is deployed under this router it is also stuck at starting stage.


Regards,
Rajasekhar.


Re: [PROPOSAL] Commit to master through PR only

2015-06-26 Thread Wilder Rodrigues
Clean and simple, Sebastien. I like that. :)

Concerning Travis, I’m with Daan and Remi: in case of a red Travis run, a good 
analysis on the results is needed before saying no.

Let’s make ACS more awesome! ;)

Cheers,
Wilder


> On 25 Jun 2015, at 22:03, Remi Bergsma  wrote:
> 
> Good point Daan, I like it!
> 
> 2015-06-25 16:49 GMT+02:00 Daan Hoogland :
> 
>> I still don't think travis is reliable enough to give a definite 'no'.
>> Two LGTMs is fine and a good argument if travis is red on why this is
>> not a problem for this case.
>> 
>> On Thu, Jun 25, 2015 at 4:47 PM, Rafael Fonseca 
>> wrote:
>>> Couldn't make it either :'(
>>> 
>>> I think it's a very sound idea in principle, but afraid waiting for two
>>> LGTM might slow things down even further... up to the majority vote i
>> guess
>>> it's a good principle either way :)
>>> 
>>> On Thu, Jun 25, 2015 at 4:41 PM, Wido den Hollander 
>> wrote:
>>> 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 
 
 On 06/25/2015 04:38 PM, Sebastien Goasguen wrote:
> Folks,
> 
> A few of us are in Amsterdam at DevOps days. We are chatting about
> release management procedure. Remi is working on a set of
> principles that he will put on the wiki to start a [DISCUSS].
> 
 
 Bummer I couldn't make it :(
 
> However to get started on the right track. I would like to propose
> the following easy step:
> 
> Starting Monday June 29th (next monday):
> 
> - Only commit through PR will land on master (after a minimum of 2
> LGTM and green Travis results) - Direct commit will be reverted -
> Any committer can merge the PR.
> 
> Goal being to start having a new practice -everything through PR
> for everyone- which is an easy way to gate our own commits building
> up to a PR.
> 
 
 I'd say this is a good idea :-)
 
> There is no tooling involved, just human agreement.
> 
> cheers,
> 
> -Sebastien
> 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1
 
 iQIcBAEBAgAGBQJVjBMAAAoJEAGbWC3bPspCRYkP/jGuB3qelhlwNKY0UJZVs43T
 wh3+8TKO2OTuchR4TLqJDLpWcpaHYamxukDDwNyI2+7hpZuNNnT6t4KhA5CpSITj
 BVa8M9nBJAKXjPcnSPNCE8RYA6BPfwnywupwA294rnNcclDurzdHd6WssE0VCH0g
 XDM8vuA1tKx55B5TTQSNwDNdlai6aaB/xTQRoFXQWEUwwkyDZF16kvYvglhycVKn
 hpg/tpl4VEGCA3G5ddX3fFGDYYUFYoAYO62zpLaq9xUQN2iVny3LO9LhznfXqUc2
 XUaksY9hW/8HgaeipbbbWekRZ3J/XCc9/fchFna41WlJOxju49Do5nVTtV3UdBVh
 BVBW7NTmnlX3Bs9zyFyp21SIvbQMRDLTolHx0GH9rPhU34l9ww/10MEBPNP0wS7K
 Xg/0TpsAviUijqKjxNbXMG+bTaPMrUtDHuoJMWUbGf+KVHVlUdNvshaURlL8SAFW
 CIRWhj5Ww+rRyIrpXjC7zXv/qg7aTPD1e02nV7XfoldyDRe72QUmwa7umwZkjvQ6
 r9Fxu9S0fySbakAWxYVGjQbCpK+xGCY0ndzH/eYNnf8SX2MGIEKapbJ0kkTWvTu7
 aQvV/Y9hLAGMNlYCPiAK4eBFgNc7wdG/D+ZZ6t8Oxmb5O9WMlBCddvvX4mn5UlIo
 gbjGNJ/+Swk3z4potjpD
 =SkOY
 -END PGP SIGNATURE-
 
>> 
>> 
>> 
>> --
>> Daan
>> 



[GitHub] cloudstack pull request: As an operator I want to be able to chang...

2015-06-26 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:

https://github.com/apache/cloudstack/pull/527#issuecomment-115569008
  
Hi @bhaisaab 

Unfortunately I forgot to create the issue before the commits, otherwise it 
wouldn't be a problem now.

Since I added the issue number in the last commit, I hope it won't cause 
pain during 4.6 release. In any case, I will double the attention before the 
PRs and will also look closer to the 4.6 release and help with any thing the 
pops up under my name.

Cheers,
Wilder 


---
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: ACS 4.5.1 mgmt DB HA - not working - invalid load balancing strategy

2015-06-26 Thread raja sekhar
Andrija,

file is missing in that path.

Follow the steps to enable the database high availability in cloudstack.

1)   Go to the path:

*“/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/”*

Find the *“cloud-plugin-database-mysqlha-4.3.1.jar”  *file.

2)   Create the path:

*“/usr/share/cloudstack-mysql-ha/lib/”*

Copy the above file to this path.

3)   Edit the file *“/etc/cloudstack/management/catalina.properties”*

check the *“common.loader” *line looks like:

*“common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar,/usr/share/java/mysql-connector-java.jar,/usr/share/cloudstack-mysql-ha/lib/*.jar”*

4)   Edit the file *“/etc/cloudstack/management/db.properties”*

*db.ha.enabled=true*

*db.cloud.slaves=*

*db.usage.slaves=*

5)   Restart the management server.

*“Service cloudstack-management restart”*



*Regards,*

*Rajasekhar.*

On Thu, Jun 11, 2015 at 8:52 PM, Andrija Panic 
wrote:

> HI Marcus, yes I'm familiar with that, that was my guess, based on some
> other ML thread :(
>
> Thx for confirmation...
>
> On 11 June 2015 at 17:03, Marcus  wrote:
>
> > When I build CloudStack RPMs on 4.5 branch I get mysql ha RPMs. Looking
> at
> > the specfile:
> >
> > %if "%{_ossnoss}" == "noredist"
> >
> > %package mysql-ha
> >
> > Summary: Apache CloudStack Balancing Strategy for MySQL
> >
> > Requires: mysql-connector-java
> >
> > Requires: %{_tomcatversion}
> >
> > Group: System Environmnet/Libraries
> >
> > %description mysql-ha
> >
> > Apache CloudStack Balancing Strategy for MySQL
> >
> >
> > %endif
> >
> >
> > Looks like you need to "./package.sh -p noredist" when packaging. Not
> sure
> > what the equivalent is for .deb packaging.  That means you also have to
> be
> > set up with the non-oss dependencies. If you're not familiar with that
> let
> > us know.
> >
> > On Thu, Jun 11, 2015 at 7:06 AM, Andrija Panic 
> > wrote:
> >
> > > Actually, on another ACS installation, there is file:
> > >
> > >
> >
> /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-database-mysqlha-4.3.2.jar
> > > (acs 4.3.2 :) )
> > >
> > > But on this 4.5.1 there is no such file.
> > >
> > > Is it possible that we didnt compile 4.5.1 in appropriate way ?
> > >
> > > Thanks,
> > > Andrija
> > >
> > > On 11 June 2015 at 15:14, Andrija Panic 
> wrote:
> > >
> > > > Hi,
> > > >
> > > > I'm trying the DB HA setup, by chaning 3 lines in db.properties file
> > > > (enable HA, define slaves for cloud, define slaves for usage DB)
> > > >
> > > > After restart, mgmt server doesn start with folowing error, as it
> seems
> > > > invalid load balancing strategy variable...
> > > >
> > > > Any clues on this ?
> > > >
> > > > mysql setup is galera 3 node cluster, 1st node being used as master
> in
> > > > db.properties, and only second node being used as slave (galera2
> node)
> > > > I confirmed I can telnet, login etc... also mysql login from mgmt to
> > > these
> > > > master/slaves works of course...
> > > >
> > > >
> > > >
> > > > 2015-06-11 14:25:03,149 INFO  [c.c.u.d.T.Transaction] (main:null) Is
> > Data
> > > > Base High Availiability enabled? Ans : true
> > > > 2015-06-11 14:25:03,191 INFO  [c.c.u.d.T.Transaction] (main:null) The
> > > > slaves configured for Cloud Data base is/are : 10.20.10.6
> > > > 2015-06-11 14:25:03,269 ERROR [c.c.u.d.Merovingian2] (main:null)
> Unable
> > > to
> > > > get a new db connection
> > > > java.sql.SQLException: Invalid load balancing strategy
> > > > 'com.cloud.utils.db.StaticStrategy'.
> > > > at
> > com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)
> > > > at
> > com.mysql.jdbc.SQLError.createSQLException(SQLError.java:924)
> > > > at com.mysql.jdbc.Util.loadExtensions(Util.java:602)
> > > > at
> > > >
> > >
> >
> com.mysql.jdbc.LoadBalancingConnectionProxy.(LoadBalancingConnectionProxy.java:285)
> > > > at
> > > >
> > >
> >
> com.mysql.jdbc.FailoverConnectionProxy.(FailoverConnectionProxy.java:67)
> > > > at
> > > >
> > >
> >
> com.mysql.jdbc.NonRegisteringDriver.connectFailover(NonRegisteringDriver.java:430)
> > > > at
> > > >
> > >
> >
> com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:343)
> > > > at
> java.sql.DriverManager.getConnection(DriverManager.java:571)
> > > > at
> java.sql.DriverManager.getConnection(DriverManager.java:215)
> > > > at
> > > >
> > >
> >
> org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:75)
> > > > at
> > > >
> > >
> >
> org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
> > > > at
> > > >
> > >
> >
> org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1188)
> > > > at
> > > >
> > >
> >
> org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
> > > > at
> > > 

Re: [PROPOSAL] Commit to master through PR only

2015-06-26 Thread Erik Weber
On Thu, Jun 25, 2015 at 4:38 PM, Sebastien Goasguen 
wrote:

> Folks,
>
> A few of us are in Amsterdam at DevOps days. We are chatting about release
> management procedure.
> Remi is working on a set of principles that he will put on the wiki to
> start a [DISCUSS].
>
> However to get started on the right track. I would like to propose the
> following easy step:
>
> Starting Monday June 29th (next monday):
>
> - Only commit through PR will land on master (after a minimum of 2 LGTM
> and green Travis results)
> - Direct commit will be reverted
> - Any committer can merge the PR.
>
> Goal being to start having a new practice -everything through PR for
> everyone- which is an easy way to gate our own commits building up to a PR.
>
> There is no tooling involved, just human agreement.
>
>
If I were to add anything, it would be that all bug fixes should reference
a Jira issue, and that new features / major improvements should have a FS
(+ Jira ticket).

Trivial fixes (typos etc), docs, regarding travis/ci etc. is fine without
Jira tickets imho.

-- 
Erik


[GitHub] cloudstack pull request: CLOUDSTACK-8582: Skipping unsuitable test...

2015-06-26 Thread gauravaradhye
GitHub user gauravaradhye opened a pull request:

https://github.com/apache/cloudstack/pull/532

CLOUDSTACK-8582: Skipping unsuitable test cases for simulator

Modifying tags for test cases which shouldn't be run on simulator (Test 
cases requiring download of templates/ISOs and creation of templates from 
snapshots)

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

$ git pull https://github.com/gauravaradhye/cloudstack 8582

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

https://github.com/apache/cloudstack/pull/532.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 #532


commit d39ddb18ff2f780e95db4978400d964329364b0c
Author: Gaurav Aradhye 
Date:   2015-06-26T08:09:07Z

CLOUDSTACK-8582: Skipping unsuitable test cases for simulator




---
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 pull request: CLOUDSTACK-8582: Skipping unsuitable test...

2015-06-26 Thread sanju1010
Github user sanju1010 commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/532#discussion_r8448
  
--- Diff: test/integration/component/test_ps_domain_limits.py ---
@@ -194,7 +194,7 @@ def setupAccounts(self):
 return [FAIL, e, None]
 return [PASS, None, users]
 
-@attr(tags=["advanced", "selfservice"])
+@attr(tags=["advanced", "selfservice"], required_hardware="false")
--- End diff --

Is this test needs to be run on simulator?


---
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 pull request: CLOUDSTACK-8582: Skipping unsuitable test...

2015-06-26 Thread gauravaradhye
Github user gauravaradhye commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/532#discussion_r8559
  
--- Diff: test/integration/component/test_ps_domain_limits.py ---
@@ -194,7 +194,7 @@ def setupAccounts(self):
 return [FAIL, e, None]
 return [PASS, None, users]
 
-@attr(tags=["advanced", "selfservice"])
+@attr(tags=["advanced", "selfservice"], required_hardware="false")
--- End diff --

Yes it can run, it only concerns primary storage counts.


---
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 pull request: As an operator I want to be able to chang...

2015-06-26 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:

https://github.com/apache/cloudstack/pull/527#issuecomment-115596376
  
XenServer 6.2 test report:

Test advanced zone virtual router ... === TestName: 
test_advZoneVirtualRouter | Status : SUCCESS ===
ok
Test Deploy Virtual Machine ... === TestName: test_deploy_vm | Status : 
SUCCESS ===
ok
Test Multiple Deploy Virtual Machine ... === TestName: 
test_deploy_vm_multiple | Status : SUCCESS ===
ok
Test Stop Virtual Machine ... === TestName: test_01_stop_vm | Status : 
SUCCESS ===
ok
Test Start Virtual Machine ... === TestName: test_02_start_vm | Status : 
SUCCESS ===
ok
Test Reboot Virtual Machine ... === TestName: test_03_reboot_vm | Status : 
SUCCESS ===
ok
Test destroy Virtual Machine ... === TestName: test_06_destroy_vm | Status 
: SUCCESS ===
ok
Test recover Virtual Machine ... === TestName: test_07_restore_vm | Status 
: SUCCESS ===
ok
Test migrate VM ... === TestName: test_08_migrate_vm | Status : SUCCESS ===
ok
Test destroy(expunge) Virtual Machine ... === TestName: test_09_expunge_vm 
| Status : SUCCESS ===
ok
Test router internal advanced zone ... === TestName: 
test_02_router_internal_adv | Status : SUCCESS ===
ok
Test restart network ... === TestName: test_03_restart_network_cleanup | 
Status : SUCCESS ===
ok
Test router basic setup ... === TestName: test_05_router_basic | Status : 
SUCCESS ===
ok
Test router advanced setup ... === TestName: test_06_router_advanced | 
Status : SUCCESS ===
ok
Test stop router ... === TestName: test_07_stop_router | Status : SUCCESS 
===
ok
Test start router ... === TestName: test_08_start_router | Status : SUCCESS 
===
ok
Test reboot router ... === TestName: test_09_reboot_router | Status : 
SUCCESS ===
ok
Test to create service offering ... === TestName: 
test_01_create_service_offering | Status : SUCCESS ===
ok
Test to update existing service offering ... === TestName: 
test_02_edit_service_offering | Status : SUCCESS ===
ok
Test to delete service offering ... === TestName: 
test_03_delete_service_offering | Status : SUCCESS ===
ok
Test VPN in VPC ... === TestName: test_vpc_remote_access_vpn | Status : 
SUCCESS ===
ok
Test VPN in VPC ... === TestName: test_vpc_site2site_vpn | Status : SUCCESS 
===
ok

--
Ran 22 tests in 2634.005s

OK
/tmp//MarvinLogs/test_vpc_vpn_YESELF/results.txt (END)

* Updating single XenServer host:

update hostpassword hostid=2ffa8219-08cb-4014-bcb6-49f58ca0c9b6 
username=root password=admin

2015-06-26 05:12:36,470 DEBUG [c.c.s.ManagementServerImpl] 
(2135942710@qtp-1568127297-46:ctx-e783efbc ctx-0852e7de ctx-9829cd2e) Changing 
password for host name = xen1
2015-06-26 05:12:36,499 DEBUG [c.c.a.t.Request] 
(2135942710@qtp-1568127297-46:ctx-e783efbc ctx-0852e7de ctx-9829cd2e) Seq 
2-8034984685182386389: Sending  { Cmd , MgmtId: 3232241213, via: 2(xen1), Ver: 
v1, Flags: 100011, [{"com.cloud.agent.api.UpdateHostPasswordCommand":{"
wait":0}}] }

* Updating XenServer cluster:

update hostpassword username=root password=admin 
clusterid=63b8ff8c-4d0c-4911-aad4-6c30a3257a29

2015-06-26 05:14:47,596 DEBUG [c.c.s.ManagementServerImpl] 
(2135942710@qtp-1568127297-46:ctx-5144239f ctx-36c6878b ctx-d371bef2) Changing 
password for host name = xen1
2015-06-26 05:14:47,599 DEBUG [c.c.s.ManagementServerImpl] 
(2135942710@qtp-1568127297-46:ctx-5144239f ctx-36c6878b ctx-d371bef2) Changing 
password for host name = xen2
2015-06-26 05:14:47,614 DEBUG [c.c.a.t.Request] 
(2135942710@qtp-1568127297-46:ctx-5144239f ctx-36c6878b ctx-d371bef2) Seq 
2-8034984685182386394: Sending  { Cmd , MgmtId: 3232241213, via: 2(xen1), Ver: 
v1, Flags: 100011, 
[{"com.cloud.agent.api.UpdateHostPasswordCommand":{"wait":0}}] }
2015-06-26 05:14:47,614 DEBUG [c.c.a.t.Request] 
(2135942710@qtp-1568127297-46:ctx-5144239f ctx-36c6878b ctx-d371bef2) Seq 
2-8034984685182386394: Executing:  { Cmd , MgmtId: 3232241213, via: 2(xen1), 
Ver: v1, Flags: 100011, 
[{"com.cloud.agent.api.UpdateHostPasswordCommand":{"wait":0}}] }

I will now test the KVM host


---
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 pull request: CLOUDSTACK-8582: Skipping unsuitable test...

2015-06-26 Thread sanju1010
Github user sanju1010 commented on the pull request:

https://github.com/apache/cloudstack/pull/532#issuecomment-115609404
  
LGTM


---
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: Upgrading 4.3.1 to 4.3.2 including system templates - quick help please

2015-06-26 Thread France
Anyone?


On 24 Jun 2015, at 15:07, France  wrote:

> Hi all,
> 
> we got CS 4.3.1 which we will upgrade to 4.3.2 this weekend, using RPMs from 
> shapeblue (http://packages.shapeblue.com/cloudstack/main/centos/4.3/).
> 
> Following the instructions at:
> http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.3.2/rnotes.html#upgrade-from-4-3-1-to-4-3-2
> 
> First problem I notice, that there is no link provided for vhd-utils from the 
> last step of the upgrade.
> Where can we get the right vhd-utils as required?
> 
> Also no step in upgrade docs is mentioning of the system-vm template upgrade.
> I see Shapeblue provides a link to ?updated? templates: 
> http://packages.shapeblue.com/systemvmtemplate/4.3/ 
> But i failed to find instructions how to update them. Are they updated when 
> updating base RPMs? I doubt it.
> Please direct us, to the correct instructions for updating templates.
> 
> Thank you for your help/responses.
> Regards,
> France.



[GitHub] cloudstack pull request: 4.4.4 to 4.5.2 upgrade

2015-06-26 Thread DaanHoogland
Github user DaanHoogland closed the pull request at:

https://github.com/apache/cloudstack/pull/528


---
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.
---


DR service for CloudStack

2015-06-26 Thread mvs babu
Hello,


I would like to use DR service for CloudSrtack. Found below useful video.


https://www.youtube.com/watch?v=2YEXC3WNL0s


Where can I get the status of this project and the source code?


And can any one suggest how to achieve DR solution in CloudSrtack.


Thank you,

Suneel Mallela.






Sent from Windows Mail

Re: DR service for CloudStack

2015-06-26 Thread Daan Hoogland
Suneel, Alena had written this for cloudplatform, citrix' product
based on cloudstack. I don't think it has been contributed back.

On Fri, Jun 26, 2015 at 8:25 AM, mvs babu  wrote:
> Hello,
>
>
> I would like to use DR service for CloudSrtack. Found below useful video.
>
>
> https://www.youtube.com/watch?v=2YEXC3WNL0s
>
>
> Where can I get the status of this project and the source code?
>
>
> And can any one suggest how to achieve DR solution in CloudSrtack.
>
>
> Thank you,
>
> Suneel Mallela.
>
>
>
>
>
>
> Sent from Windows Mail



-- 
Daan


Re: Which 4.3.2 CS build to use? Shapeblue's version or build from official repos?

2015-06-26 Thread France
Tnx for response Rajani, it is greatly appreciated.

You are correct, I do not know how i missed out, 4.3.2 in official repos. 
Probably due to too much work. :-)

However your response in regards of which to choose, does not really help me. I 
have decided none the less, to use additionally patched build from Shapeblue.
Unless someone warns me about potential problems with their patches, we will 
stick to my decision for this weekends upgrade.

Regards,
F.

On 25 Jun 2015, at 06:01, Rajani Karuturi  wrote:

> you can use anything as long as it works for you.
> AFAIK, packages on apt-get.eu are created from the point where RC is voted
> and they do have 4.3.2 in the link you mentioned above.
> 
> ~Rajani
> 
> On Wed, Jun 24, 2015 at 6:19 PM, France  wrote:
> 
>> Hi all,
>> 
>> we will upgrade CS 4.3.1 (from http://cloudstack.apt-get.eu/rhel/4.3/) to
>> 4.3.2 this weekend.
>> 
>> In official repos: http://cloudstack.apt-get.eu/rhel/4.3/ there is no
>> 4.3.2.
>> There is some build in Shapeblue’s repo:
>> http://packages.shapeblue.com/cloudstack/upstream/centos/4.3/
>> and they also provide additionally pached build via:
>> http://packages.shapeblue.com/cloudstack/main/centos/4.3/
>> 
>> Is there any reason not to choose their patched version and change the yum
>> repository?
>> 
>> Tnx for info.
>> Regards,
>> F.
>> 
>> 



Re: Upgrading 4.3.1 to 4.3.2 including system templates - quick help please

2015-06-26 Thread France
OK, I was able to find instructions for upgrading templates:
http://www.shapeblue.com/cloudstack-and-the-ghost-vulnerabilitystack/
it even has a nice script, which we will try this weekend.

Also for vhd-utils link, I have found vhd-utils at:
http://download.cloud.com.s3.amazonaws.com/tools/vhd-util

If these are not correct for CS 4.3.* and XS 6.0.2*, someone please let us know.
Hopefully this mail will help others upgrade, if they see it.

Regards,
F.

On 26 Jun 2015, at 11:40, France  wrote:

> Anyone?
> 
> 
> On 24 Jun 2015, at 15:07, France  wrote:
> 
>> Hi all,
>> 
>> we got CS 4.3.1 which we will upgrade to 4.3.2 this weekend, using RPMs from 
>> shapeblue (http://packages.shapeblue.com/cloudstack/main/centos/4.3/).
>> 
>> Following the instructions at:
>> http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.3.2/rnotes.html#upgrade-from-4-3-1-to-4-3-2
>> 
>> First problem I notice, that there is no link provided for vhd-utils from 
>> the last step of the upgrade.
>> Where can we get the right vhd-utils as required?
>> 
>> Also no step in upgrade docs is mentioning of the system-vm template upgrade.
>> I see Shapeblue provides a link to ?updated? templates: 
>> http://packages.shapeblue.com/systemvmtemplate/4.3/ 
>> But i failed to find instructions how to update them. Are they updated when 
>> updating base RPMs? I doubt it.
>> Please direct us, to the correct instructions for updating templates.
>> 
>> Thank you for your help/responses.
>> Regards,
>> France.
> 



Re: Upgrading 4.3.1 to 4.3.2 including system templates - quick help please

2015-06-26 Thread Andrija Panic
I also used this approach - worked for me.

It would be nice if we could put this somewhere in the official docs in ACS
repo...

On 26 June 2015 at 12:35, France  wrote:

> OK, I was able to find instructions for upgrading templates:
> http://www.shapeblue.com/cloudstack-and-the-ghost-vulnerabilitystack/
> it even has a nice script, which we will try this weekend.
>
> Also for vhd-utils link, I have found vhd-utils at:
> http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
>
> If these are not correct for CS 4.3.* and XS 6.0.2*, someone please let us
> know.
> Hopefully this mail will help others upgrade, if they see it.
>
> Regards,
> F.
>
> On 26 Jun 2015, at 11:40, France  wrote:
>
> > Anyone?
> >
> >
> > On 24 Jun 2015, at 15:07, France  wrote:
> >
> >> Hi all,
> >>
> >> we got CS 4.3.1 which we will upgrade to 4.3.2 this weekend, using RPMs
> from shapeblue (http://packages.shapeblue.com/cloudstack/main/centos/4.3/
> ).
> >>
> >> Following the instructions at:
> >>
> http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.3.2/rnotes.html#upgrade-from-4-3-1-to-4-3-2
> >>
> >> First problem I notice, that there is no link provided for vhd-utils
> from the last step of the upgrade.
> >> Where can we get the right vhd-utils as required?
> >>
> >> Also no step in upgrade docs is mentioning of the system-vm template
> upgrade.
> >> I see Shapeblue provides a link to ?updated? templates:
> http://packages.shapeblue.com/systemvmtemplate/4.3/
> >> But i failed to find instructions how to update them. Are they updated
> when updating base RPMs? I doubt it.
> >> Please direct us, to the correct instructions for updating templates.
> >>
> >> Thank you for your help/responses.
> >> Regards,
> >> France.
> >
>
>


-- 

Andrija Panić


Re: ACS 4.5.1 mgmt DB HA - not working - invalid load balancing strategy

2015-06-26 Thread Andrija Panic
Thx Raja for detailed steps - I have a problem of NOT compiling ACS
with non-oss
stuff - so I'm missing this JAR file completely :)

But other than that, yes, this is fine.

Thanks again!

On 26 June 2015 at 10:12, raja sekhar  wrote:

> Andrija,
>
> file is missing in that path.
>
> Follow the steps to enable the database high availability in cloudstack.
>
> 1)   Go to the path:
>
> *“/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/”*
>
> Find the *“cloud-plugin-database-mysqlha-4.3.1.jar”  *file.
>
> 2)   Create the path:
>
> *“/usr/share/cloudstack-mysql-ha/lib/”*
>
> Copy the above file to this path.
>
> 3)   Edit the file *“/etc/cloudstack/management/catalina.properties”*
>
> check the *“common.loader” *line looks like:
>
>
> *“common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar,/usr/share/java/mysql-connector-java.jar,/usr/share/cloudstack-mysql-ha/lib/*.jar”*
>
> 4)   Edit the file *“/etc/cloudstack/management/db.properties”*
>
> *db.ha.enabled=true*
>
> *db.cloud.slaves=*
>
> *db.usage.slaves=*
>
> 5)   Restart the management server.
>
> *“Service cloudstack-management restart”*
>
>
>
> *Regards,*
>
> *Rajasekhar.*
>
> On Thu, Jun 11, 2015 at 8:52 PM, Andrija Panic 
> wrote:
>
> > HI Marcus, yes I'm familiar with that, that was my guess, based on some
> > other ML thread :(
> >
> > Thx for confirmation...
> >
> > On 11 June 2015 at 17:03, Marcus  wrote:
> >
> > > When I build CloudStack RPMs on 4.5 branch I get mysql ha RPMs. Looking
> > at
> > > the specfile:
> > >
> > > %if "%{_ossnoss}" == "noredist"
> > >
> > > %package mysql-ha
> > >
> > > Summary: Apache CloudStack Balancing Strategy for MySQL
> > >
> > > Requires: mysql-connector-java
> > >
> > > Requires: %{_tomcatversion}
> > >
> > > Group: System Environmnet/Libraries
> > >
> > > %description mysql-ha
> > >
> > > Apache CloudStack Balancing Strategy for MySQL
> > >
> > >
> > > %endif
> > >
> > >
> > > Looks like you need to "./package.sh -p noredist" when packaging. Not
> > sure
> > > what the equivalent is for .deb packaging.  That means you also have to
> > be
> > > set up with the non-oss dependencies. If you're not familiar with that
> > let
> > > us know.
> > >
> > > On Thu, Jun 11, 2015 at 7:06 AM, Andrija Panic <
> andrija.pa...@gmail.com>
> > > wrote:
> > >
> > > > Actually, on another ACS installation, there is file:
> > > >
> > > >
> > >
> >
> /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-database-mysqlha-4.3.2.jar
> > > > (acs 4.3.2 :) )
> > > >
> > > > But on this 4.5.1 there is no such file.
> > > >
> > > > Is it possible that we didnt compile 4.5.1 in appropriate way ?
> > > >
> > > > Thanks,
> > > > Andrija
> > > >
> > > > On 11 June 2015 at 15:14, Andrija Panic 
> > wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > I'm trying the DB HA setup, by chaning 3 lines in db.properties
> file
> > > > > (enable HA, define slaves for cloud, define slaves for usage DB)
> > > > >
> > > > > After restart, mgmt server doesn start with folowing error, as it
> > seems
> > > > > invalid load balancing strategy variable...
> > > > >
> > > > > Any clues on this ?
> > > > >
> > > > > mysql setup is galera 3 node cluster, 1st node being used as master
> > in
> > > > > db.properties, and only second node being used as slave (galera2
> > node)
> > > > > I confirmed I can telnet, login etc... also mysql login from mgmt
> to
> > > > these
> > > > > master/slaves works of course...
> > > > >
> > > > >
> > > > >
> > > > > 2015-06-11 14:25:03,149 INFO  [c.c.u.d.T.Transaction] (main:null)
> Is
> > > Data
> > > > > Base High Availiability enabled? Ans : true
> > > > > 2015-06-11 14:25:03,191 INFO  [c.c.u.d.T.Transaction] (main:null)
> The
> > > > > slaves configured for Cloud Data base is/are : 10.20.10.6
> > > > > 2015-06-11 14:25:03,269 ERROR [c.c.u.d.Merovingian2] (main:null)
> > Unable
> > > > to
> > > > > get a new db connection
> > > > > java.sql.SQLException: Invalid load balancing strategy
> > > > > 'com.cloud.utils.db.StaticStrategy'.
> > > > > at
> > > com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)
> > > > > at
> > > com.mysql.jdbc.SQLError.createSQLException(SQLError.java:924)
> > > > > at com.mysql.jdbc.Util.loadExtensions(Util.java:602)
> > > > > at
> > > > >
> > > >
> > >
> >
> com.mysql.jdbc.LoadBalancingConnectionProxy.(LoadBalancingConnectionProxy.java:285)
> > > > > at
> > > > >
> > > >
> > >
> >
> com.mysql.jdbc.FailoverConnectionProxy.(FailoverConnectionProxy.java:67)
> > > > > at
> > > > >
> > > >
> > >
> >
> com.mysql.jdbc.NonRegisteringDriver.connectFailover(NonRegisteringDriver.java:430)
> > > > > at
> > > > >
> > > >
> > >
> >
> com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:343)
> > > > > at
> > java.sql.DriverManager.getConnection(DriverManager.java:571)
> > > > > at
> > java.sql.DriverManager.getConnect

Disabling the quick search (/ character) in the web console before I go crazy

2015-06-26 Thread Nux!
Hi,

Anyone knows a quick way to disable the "quick find" "feature" of the web 
console?
Trying to debug linux/bsd instances drives me absolutely crazy, every time I 
try to "cd /blah" the "quick find" thing appears and steals focus.
http://img.nux.ro/4qK-Selection_061.png

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Upgrading 4.3.1 to 4.3.2 including system templates - quick help please

2015-06-26 Thread Andrija Panic
http://packages.shapeblue.com/tools/ghost-systemvm-upgrader.py is a
shapeblue's stuff, if they are fine - then no problem :)

But I see inside the script, it's hardcoded to 4.3 and 4.4 vesions, and it
loads templates from shapeblue's repos only

So again we might go back to the story (not sure what was decided there) of
hosting stuff on apt-get.eu or shapeblue, or both etc...

Would be nice to have some general decision arround this...and then, yes,
make/update documentation...

On 26 June 2015 at 12:52, Erik Weber  wrote:

> Edit it and send a piller request :-)
>
> Erik
>
> Den fredag 26. juni 2015 skrev Andrija Panic 
> følgende:
>
> > I also used this approach - worked for me.
> >
> > It would be nice if we could put this somewhere in the official docs in
> ACS
> > repo...
> >
> > On 26 June 2015 at 12:35, France >
> > wrote:
> >
> > > OK, I was able to find instructions for upgrading templates:
> > > http://www.shapeblue.com/cloudstack-and-the-ghost-vulnerabilitystack/
> > > it even has a nice script, which we will try this weekend.
> > >
> > > Also for vhd-utils link, I have found vhd-utils at:
> > > http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
> > >
> > > If these are not correct for CS 4.3.* and XS 6.0.2*, someone please let
> > us
> > > know.
> > > Hopefully this mail will help others upgrade, if they see it.
> > >
> > > Regards,
> > > F.
> > >
> > > On 26 Jun 2015, at 11:40, France >
> > wrote:
> > >
> > > > Anyone?
> > > >
> > > >
> > > > On 24 Jun 2015, at 15:07, France  >
> > wrote:
> > > >
> > > >> Hi all,
> > > >>
> > > >> we got CS 4.3.1 which we will upgrade to 4.3.2 this weekend, using
> > RPMs
> > > from shapeblue (
> > http://packages.shapeblue.com/cloudstack/main/centos/4.3/
> > > ).
> > > >>
> > > >> Following the instructions at:
> > > >>
> > >
> >
> http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.3.2/rnotes.html#upgrade-from-4-3-1-to-4-3-2
> > > >>
> > > >> First problem I notice, that there is no link provided for vhd-utils
> > > from the last step of the upgrade.
> > > >> Where can we get the right vhd-utils as required?
> > > >>
> > > >> Also no step in upgrade docs is mentioning of the system-vm template
> > > upgrade.
> > > >> I see Shapeblue provides a link to ?updated? templates:
> > > http://packages.shapeblue.com/systemvmtemplate/4.3/
> > > >> But i failed to find instructions how to update them. Are they
> updated
> > > when updating base RPMs? I doubt it.
> > > >> Please direct us, to the correct instructions for updating
> templates.
> > > >>
> > > >> Thank you for your help/responses.
> > > >> Regards,
> > > >> France.
> > > >
> > >
> > >
> >
> >
> > --
> >
> > Andrija Panić
> >
>



-- 

Andrija Panić


Re: Disabling the quick search (/ character) in the web console before I go crazy

2015-06-26 Thread Andrija Panic
not helping maybe - but I see this only with firefox - if you use Chrome -
no problem here...

On 26 June 2015 at 12:56, Nux!  wrote:

> Hi,
>
> Anyone knows a quick way to disable the "quick find" "feature" of the web
> console?
> Trying to debug linux/bsd instances drives me absolutely crazy, every time
> I try to "cd /blah" the "quick find" thing appears and steals focus.
> http://img.nux.ro/4qK-Selection_061.png
>
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>



-- 

Andrija Panić


Re: Disabling the quick search (/ character) in the web console before I go crazy

2015-06-26 Thread Anshul Gangwar
If you are comfortable in using firefox extension than you can use keyconfig 
extension mentioned on page http://forums.mozillazine.org/viewtopic.php?t=72994 
to disable the "/" keyboard shortcut for firefox. Just assign "/" keyboard 
shortcut to do nothing.

Regards,
Anshul

On 26-Jun-2015, at 4:26 pm, Nux! mailto:n...@li.nux.ro>> wrote:

Hi,

Anyone knows a quick way to disable the "quick find" "feature" of the web 
console?
Trying to debug linux/bsd instances drives me absolutely crazy, every time I 
try to "cd /blah" the "quick find" thing appears and steals focus.
http://img.nux.ro/4qK-Selection_061.png

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro



Re: [PROPOSAL] Commit to master through PR only

2015-06-26 Thread Funs Kessen
Hi Seb,

Love the idea, let’s do it!

Cheers,

Funs

> On 26 Jun 2015, at 10:14, Erik Weber  wrote:
> 
> On Thu, Jun 25, 2015 at 4:38 PM, Sebastien Goasguen 
> wrote:
> 
>> Folks,
>> 
>> A few of us are in Amsterdam at DevOps days. We are chatting about release
>> management procedure.
>> Remi is working on a set of principles that he will put on the wiki to
>> start a [DISCUSS].
>> 
>> However to get started on the right track. I would like to propose the
>> following easy step:
>> 
>> Starting Monday June 29th (next monday):
>> 
>> - Only commit through PR will land on master (after a minimum of 2 LGTM
>> and green Travis results)
>> - Direct commit will be reverted
>> - Any committer can merge the PR.
>> 
>> Goal being to start having a new practice -everything through PR for
>> everyone- which is an easy way to gate our own commits building up to a PR.
>> 
>> There is no tooling involved, just human agreement.
>> 
>> 
> If I were to add anything, it would be that all bug fixes should reference
> a Jira issue, and that new features / major improvements should have a FS
> (+ Jira ticket).
> 
> Trivial fixes (typos etc), docs, regarding travis/ci etc. is fine without
> Jira tickets imho.
> 
> -- 
> Erik

— 
=Funs



Re: Disabling the quick search (/ character) in the web console before I go crazy

2015-06-26 Thread Rajani Karuturi
firefox preferences->advanced, unchecking "search for text when I start
typing" worked for me.

~Rajani

On Fri, Jun 26, 2015 at 4:26 PM, Nux!  wrote:

> Hi,
>
> Anyone knows a quick way to disable the "quick find" "feature" of the web
> console?
> Trying to debug linux/bsd instances drives me absolutely crazy, every time
> I try to "cd /blah" the "quick find" thing appears and steals focus.
> http://img.nux.ro/4qK-Selection_061.png
>
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>


Re: Which 4.3.2 CS build to use? Shapeblue's version or build from official repos?

2015-06-26 Thread Rajani Karuturi
I havent used any of them. So, I could not recommend anyone.

Building from source code [1] is the best way. As you would be in sync with
community in terms of releases and issues. Taking a precompiled version
doesnt guarantee if its the release that is voted by this community and
makes it difficult to report an issue or get a fix for it from the
community.

Thats my personal opinion and I understand that many prefer rpms/debs.


[1] https://cloudstack.apache.org/downloads.html

~Rajani

On Fri, Jun 26, 2015 at 3:46 PM, France  wrote:

> Tnx for response Rajani, it is greatly appreciated.
>
> You are correct, I do not know how i missed out, 4.3.2 in official repos.
> Probably due to too much work. :-)
>
> However your response in regards of which to choose, does not really help
> me. I have decided none the less, to use additionally patched build from
> Shapeblue.
> Unless someone warns me about potential problems with their patches, we
> will stick to my decision for this weekends upgrade.
>
> Regards,
> F.
>
> On 25 Jun 2015, at 06:01, Rajani Karuturi  wrote:
>
> > you can use anything as long as it works for you.
> > AFAIK, packages on apt-get.eu are created from the point where RC is
> voted
> > and they do have 4.3.2 in the link you mentioned above.
> >
> > ~Rajani
> >
> > On Wed, Jun 24, 2015 at 6:19 PM, France  wrote:
> >
> >> Hi all,
> >>
> >> we will upgrade CS 4.3.1 (from http://cloudstack.apt-get.eu/rhel/4.3/)
> to
> >> 4.3.2 this weekend.
> >>
> >> In official repos: http://cloudstack.apt-get.eu/rhel/4.3/ there is no
> >> 4.3.2.
> >> There is some build in Shapeblue’s repo:
> >> http://packages.shapeblue.com/cloudstack/upstream/centos/4.3/
> >> and they also provide additionally pached build via:
> >> http://packages.shapeblue.com/cloudstack/main/centos/4.3/
> >>
> >> Is there any reason not to choose their patched version and change the
> yum
> >> repository?
> >>
> >> Tnx for info.
> >> Regards,
> >> F.
> >>
> >>
>
>


[PROPOSAL] Quota management service for cloudstack

2015-06-26 Thread Abhinandan Prateek
Team,

   Would like to enhance usage server to provide quota management service to 
cloudstack.
This will provide better control on resource usage; and a common denomination 
to measure resource usage.
This will be an optional service that can be enabled or disabled as required by 
the operator.

The detailed discussion is in functional specs here [2]. The corresponding jira 
ticket is [1].

Please vote so that a decision to include it or not can be taken.

[1] https://issues.apache.org/jira/browse/CLOUDSTACK-8592
[2] https://cwiki.apache.org/confluence/display/CLOUDSTACK/Quota+Service+-+FS


Regards,
-abhi
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge - rapid IaaS deployment framework
CloudStack Consulting
CloudStack Software 
Engineering
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

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 SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: [PROPOSAL] Commit to master through PR only

2015-06-26 Thread Rene Moser
Hi

On 25.06.2015 16:38, Sebastien Goasguen wrote:
> - Only commit through PR will land on master (after a minimum of 2 LGTM and 
> green Travis results)
> - Direct commit will be reverted
> - Any committer can merge the PR.

That's the way I used to work. That's fine! :)

One technical benefit is that the master should always be "stable" and
"release ready" because PR will be builded and tested before merge.

Yours
René



Re: Upgrading 4.3.1 to 4.3.2 including system templates - quick help please

2015-06-26 Thread France
Seems like this q. is related.
Andria, which CS build would/do you use? Which would you personally recommend?
I will go with 3.2.2 + patches from shapeblue.

Official build: http://cloudstack.apt-get.eu/rhel/4.3/
There also build in Shapeblue’s repo based on 4.3.2 : 
http://packages.shapeblue.com/cloudstack/upstream/centos/4.3/
And they also provide additionally pached build via: 
http://packages.shapeblue.com/cloudstack/main/centos/4.3/

Regards,
F.

On 26 Jun 2015, at 13:01, Andrija Panic  wrote:

> http://packages.shapeblue.com/tools/ghost-systemvm-upgrader.py is a
> shapeblue's stuff, if they are fine - then no problem :)
> 
> But I see inside the script, it's hardcoded to 4.3 and 4.4 vesions, and it
> loads templates from shapeblue's repos only
> 
> So again we might go back to the story (not sure what was decided there) of
> hosting stuff on apt-get.eu or shapeblue, or both etc...
> 
> Would be nice to have some general decision arround this...and then, yes,
> make/update documentation...
> 
> On 26 June 2015 at 12:52, Erik Weber  wrote:
> 
>> Edit it and send a piller request :-)
>> 
>> Erik
>> 
>> Den fredag 26. juni 2015 skrev Andrija Panic 
>> følgende:
>> 
>>> I also used this approach - worked for me.
>>> 
>>> It would be nice if we could put this somewhere in the official docs in
>> ACS
>>> repo...
>>> 
>>> On 26 June 2015 at 12:35, France >
>>> wrote:
>>> 
 OK, I was able to find instructions for upgrading templates:
 http://www.shapeblue.com/cloudstack-and-the-ghost-vulnerabilitystack/
 it even has a nice script, which we will try this weekend.
 
 Also for vhd-utils link, I have found vhd-utils at:
 http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
 
 If these are not correct for CS 4.3.* and XS 6.0.2*, someone please let
>>> us
 know.
 Hopefully this mail will help others upgrade, if they see it.
 
 Regards,
 F.
 
 On 26 Jun 2015, at 11:40, France >
>>> wrote:
 
> Anyone?
> 
> 
> On 24 Jun 2015, at 15:07, France > >
>>> wrote:
> 
>> Hi all,
>> 
>> we got CS 4.3.1 which we will upgrade to 4.3.2 this weekend, using
>>> RPMs
 from shapeblue (
>>> http://packages.shapeblue.com/cloudstack/main/centos/4.3/
 ).
>> 
>> Following the instructions at:
>> 
 
>>> 
>> http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.3.2/rnotes.html#upgrade-from-4-3-1-to-4-3-2
>> 
>> First problem I notice, that there is no link provided for vhd-utils
 from the last step of the upgrade.
>> Where can we get the right vhd-utils as required?
>> 
>> Also no step in upgrade docs is mentioning of the system-vm template
 upgrade.
>> I see Shapeblue provides a link to ?updated? templates:
 http://packages.shapeblue.com/systemvmtemplate/4.3/
>> But i failed to find instructions how to update them. Are they
>> updated
 when updating base RPMs? I doubt it.
>> Please direct us, to the correct instructions for updating
>> templates.
>> 
>> Thank you for your help/responses.
>> Regards,
>> France.
> 
 
 
>>> 
>>> 
>>> --
>>> 
>>> Andrija Panić
>>> 
>> 
> 
> 
> 
> -- 
> 
> Andrija Panić



{ANNOUNCE] Apache CloudSack 4.4.4 released

2015-06-26 Thread Daan Hoogland

CloudStack v4.4.4 is a minor release with several fixes and backports.

A complete overview of all new enhancements can be found in the project 
release notes at
http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.4.4/ 



CloudStack v4.4.4 is available immediately as a free download from
http://cloudstack.apache.org/downloads.html 
. Apache CloudStack

software is released under the Apache License v2.0.

please meetup with us at

CloudStack Days Seattle 2015 , 20th August 2015,
http://events.linuxfoundation.org/events/cloudstack-seattle 



and

CloudStack Collaboration Conference 2015 in Dublin, 8th and 9th of
October 2015, http://cloudstackcollab.org


kind regards,

--
Daan Hoogland



Re: Disabling the quick search (/ character) in the web console before I go crazy

2015-06-26 Thread Nux!
OMG, I did not realise this is actually a Firefox issue, thanks!

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Rajani Karuturi" 
> To: dev@cloudstack.apache.org
> Sent: Friday, 26 June, 2015 12:18:05
> Subject: Re: Disabling the quick search (/ character) in the web console 
> before I go crazy

> firefox preferences->advanced, unchecking "search for text when I start
> typing" worked for me.
> 
> ~Rajani
> 
> On Fri, Jun 26, 2015 at 4:26 PM, Nux!  wrote:
> 
>> Hi,
>>
>> Anyone knows a quick way to disable the "quick find" "feature" of the web
>> console?
>> Trying to debug linux/bsd instances drives me absolutely crazy, every time
>> I try to "cd /blah" the "quick find" thing appears and steals focus.
>> http://img.nux.ro/4qK-Selection_061.png
>>
>> Lucian
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro


Re: Disabling the quick search (/ character) in the web console before I go crazy

2015-06-26 Thread Daan Hoogland
:) one for the faq page?

On Fri, Jun 26, 2015 at 2:07 PM, Nux!  wrote:
> OMG, I did not realise this is actually a Firefox issue, thanks!
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> - Original Message -
>> From: "Rajani Karuturi" 
>> To: dev@cloudstack.apache.org
>> Sent: Friday, 26 June, 2015 12:18:05
>> Subject: Re: Disabling the quick search (/ character) in the web console 
>> before I go crazy
>
>> firefox preferences->advanced, unchecking "search for text when I start
>> typing" worked for me.
>>
>> ~Rajani
>>
>> On Fri, Jun 26, 2015 at 4:26 PM, Nux!  wrote:
>>
>>> Hi,
>>>
>>> Anyone knows a quick way to disable the "quick find" "feature" of the web
>>> console?
>>> Trying to debug linux/bsd instances drives me absolutely crazy, every time
>>> I try to "cd /blah" the "quick find" thing appears and steals focus.
>>> http://img.nux.ro/4qK-Selection_061.png
>>>
>>> Lucian
>>>
>>> --
>>> Sent from the Delta quadrant using Borg technology!
>>>
>>> Nux!
>>> www.nux.ro



-- 
Daan


Re: Travis-ci build timeout error.

2015-06-26 Thread Rafael Fonseca
Hi Jayapal,

Travis has been failing for several reasons, that's why i made the fixes
that are currently on master. Make sure you merge that into whatever branch
you're testing if it's over a week old, that will make it a lot less prone
to failure.
These changes should also be backported to other branches still in use such
as 4.4 and 4.5 imo.

Rafael

On Fri, Jun 26, 2015 at 7:41 AM, Jayapal Reddy Uradi <
jayapalreddy.ur...@citrix.com> wrote:

> Hi,
>
> Travis-ci builds are timeout on branch.
> Below are the errors from travis-ci log
>
>
> Installing some python packages:
> /home/travis/build.sh: line 108:  2307 Terminated
> travis_jigger $! $timeout $cmd
> install
> 885.98s$ ./tools/travis/install.sh
> [debug] execute contextualize
> [debug] execute contextualize
> [debug] execute contextualize
> [debug] execute contextualize
> [debug] execute contextualize
> [debug] execute contextualize
> [debug] execute contextualize
> [debug] execute contextualize
> [debug] execute contextualize
> [debug] execute contextualize
> [debug] execute contextualize
> [debug] execute contextualize
> [debug] execute contextualize
> [debug] execute contextualize
> [debug] execute contextualize
> [debug] execute contextualize
> [debug] execute contextualize
> [debug] execute contextualize
> [debug] execute contextualize
> [debug] execute contextualize
> Jun 19, 2015 11:43:03 AM net.sourceforge.pmd.PMD removeBrokenRules
> WARNING: Removed misconfigured rule: LoosePackageCoupling  cause: No
> packages or classes specified
> Jun 19, 2015 11:43:04 AM net.sourceforge.pmd.PMD removeBrokenRules
> WARNING: Removed misconfigured rule: LoosePackageCoupling  cause: No
> packages or classes specified
> Jun 19, 2015 11:43:04 AM net.sourceforge.pmd.PMD removeBrokenRules
> WARNING: Removed misconfigured rule: LoosePackageCoupling  cause: No
> packages or classes specified
> Jun 19, 2015 11:43:04 AM net.sourceforge.pmd.PMD removeBrokenRules
> WARNING: Removed misconfigured rule: LoosePackageCoupling  cause: No
> packages or classes specified
> Jun 19, 2015 11:43:04 AM net.sourceforge.pmd.PMD removeBrokenRules
> WARNING: Removed misconfigured rule: LoosePackageCoupling  cause: No
> packages or classes specified
> Jun 19, 2015 11:43:05 AM net.sourceforge.pmd.PMD removeBrokenRules
> WARNING: Removed misconfigured rule: LoosePackageCoupling  cause: No
> packages or classes specified
> Jun 19, 2015 11:43:05 AM net.sourceforge.pmd.PMD removeBrokenRules
> WARNING: Removed misconfigured rule: LoosePackageCoupling  cause: No
> packages or classes specified
> Jun 19, 2015 11:43:05 AM net.sourceforge.pmd.PMD removeBrokenRules
> WARNING: Removed misconfigured rule: LoosePackageCoupling  cause: No
> packages or classes specified
> Jun 19, 2015 11:43:05 AM net.sourceforge.pmd.PMD removeBrokenRules
> WARNING: Removed misconfigured rule: LoosePackageCoupling  cause: No
> packages or classes specified
> Jun 19, 2015 11:43:05 AM net.sourceforge.pmd.PMD removeBrokenRules
> WARNING: Removed misconfigured rule: LoosePackageCoupling  cause: No
> packages or classes specified
> Jun 19, 2015 11:43:05 AM net.sourceforge.pmd.PMD removeBrokenRules
> WARNING: Removed misconfigured rule: LoosePackageCoupling  cause: No
> packages or classes specified
> Jun 19, 2015 11:43:06 AM net.sourceforge.pmd.PMD removeBrokenRules
> WARNING: Removed misconfigured rule: LoosePackageCoupling  cause: No
> packages or classes specified
> Jun 19, 2015 11:43:06 AM net.sourceforge.pmd.PMD removeBrokenRules
> WARNING: Removed misconfigured rule: LoosePackageCoupling  cause: No
> packages or classes specified
> Jun 19, 2015 11:43:06 AM net.sourceforge.pmd.PMD removeBrokenRules
> WARNING: Removed misconfigured rule: LoosePackageCoupling  cause: No
> packages or classes specified
> Jun 19, 2015 11:43:06 AM net.sourceforge.pmd.PMD removeBrokenRules
> WARNING: Removed misconfigured rule: LoosePackageCoupling  cause: No
> packages or classes specified
> Jun 19, 2015 11:43:07 AM net.sourceforge.pmd.PMD removeBrokenRules
> WARNING: Removed misconfigured rule: LoosePackageCoupling  cause: No
> packages or classes specified
> Jun 19, 2015 11:43:07 AM net.sourceforge.pmd.PMD removeBrokenRules
> WARNING: Removed misconfigured rule: LoosePackageCoupling  cause: No
> packages or classes specified
> Jun 19, 2015 11:43:07 AM net.sourceforge.pmd.PMD removeBrokenRules
> WARNING: Removed misconfigured rule: LoosePackageCoupling  cause: No
> packages or classes specified
> Jun 19, 2015 11:43:07 AM net.sourceforge.pmd.PMD removeBrokenRules
> WARNING: Removed misconfigured rule: LoosePackageCoupling  cause: No
> packages or classes specified
> Jun 19, 2015 11:43:07 AM net.sourceforge.pmd.PMD removeBrokenRules
> WARNING: Removed misconfigured rule: LoosePackageCoupling  cause: No
> packages or classes specified
> Jun 19, 2015 11:43:08 AM net.sourceforge.pmd.PMD removeBrokenRules
> WARNING: Removed misconfigured rule: LoosePackageCoupling  cause: No
> packages or classes specified
> Jun 19, 2015 11:43:08 AM net.sourc

[GitHub] cloudstack pull request: findbugs: serializable fields

2015-06-26 Thread DaanHoogland
GitHub user DaanHoogland opened a pull request:

https://github.com/apache/cloudstack/pull/533

findbugs: serializable fields



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

$ git pull https://github.com/DaanHoogland/cloudstack findbugs-SE

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

https://github.com/apache/cloudstack/pull/533.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 #533


commit 7cb397fdf1a06beb90158f725f4ee64c9ca47153
Author: Daan Hoogland 
Date:   2015-06-26T12:33:06Z

findbugs: serializable fields




---
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: [PROPOSAL] Commit to master through PR only

2015-06-26 Thread Rafael Fonseca
I agree with Daan also, but there's a conflict here..

Initial suggestion:

( Green_Travis && 2LGTM)

Daan suggested:

( Red_Travis && 2LGTM)

Which would make for:

( Green_Travis && 2LGTM) || ( Red_Travis && 2LGTM)

Or apply boolean logic to remove redundant parameters:

(2LGTM)

This would completely remove whatever travis says from the equation... if
we do have some trust on when travis says go... it should be:

( Green_Travis && 1LGTM) || ( Red_Travis && 2LGTM)

Or if we really want the extra overhead:

( Green_Travis && 2LGTM) || ( Red_Travis && 3LGTM)



On Fri, Jun 26, 2015 at 10:10 AM, Wilder Rodrigues <
wrodrig...@schubergphilis.com> wrote:

> Clean and simple, Sebastien. I like that. :)
>
> Concerning Travis, I’m with Daan and Remi: in case of a red Travis run, a
> good analysis on the results is needed before saying no.
>
> Let’s make ACS more awesome! ;)
>
> Cheers,
> Wilder
>
>
> > On 25 Jun 2015, at 22:03, Remi Bergsma  wrote:
> >
> > Good point Daan, I like it!
> >
> > 2015-06-25 16:49 GMT+02:00 Daan Hoogland :
> >
> >> I still don't think travis is reliable enough to give a definite 'no'.
> >> Two LGTMs is fine and a good argument if travis is red on why this is
> >> not a problem for this case.
> >>
> >> On Thu, Jun 25, 2015 at 4:47 PM, Rafael Fonseca 
> >> wrote:
> >>> Couldn't make it either :'(
> >>>
> >>> I think it's a very sound idea in principle, but afraid waiting for two
> >>> LGTM might slow things down even further... up to the majority vote i
> >> guess
> >>> it's a good principle either way :)
> >>>
> >>> On Thu, Jun 25, 2015 at 4:41 PM, Wido den Hollander 
> >> wrote:
> >>>
>  -BEGIN PGP SIGNED MESSAGE-
>  Hash: SHA1
> 
> 
> 
>  On 06/25/2015 04:38 PM, Sebastien Goasguen wrote:
> > Folks,
> >
> > A few of us are in Amsterdam at DevOps days. We are chatting about
> > release management procedure. Remi is working on a set of
> > principles that he will put on the wiki to start a [DISCUSS].
> >
> 
>  Bummer I couldn't make it :(
> 
> > However to get started on the right track. I would like to propose
> > the following easy step:
> >
> > Starting Monday June 29th (next monday):
> >
> > - Only commit through PR will land on master (after a minimum of 2
> > LGTM and green Travis results) - Direct commit will be reverted -
> > Any committer can merge the PR.
> >
> > Goal being to start having a new practice -everything through PR
> > for everyone- which is an easy way to gate our own commits building
> > up to a PR.
> >
> 
>  I'd say this is a good idea :-)
> 
> > There is no tooling involved, just human agreement.
> >
> > cheers,
> >
> > -Sebastien
> >
>  -BEGIN PGP SIGNATURE-
>  Version: GnuPG v1
> 
>  iQIcBAEBAgAGBQJVjBMAAAoJEAGbWC3bPspCRYkP/jGuB3qelhlwNKY0UJZVs43T
>  wh3+8TKO2OTuchR4TLqJDLpWcpaHYamxukDDwNyI2+7hpZuNNnT6t4KhA5CpSITj
>  BVa8M9nBJAKXjPcnSPNCE8RYA6BPfwnywupwA294rnNcclDurzdHd6WssE0VCH0g
>  XDM8vuA1tKx55B5TTQSNwDNdlai6aaB/xTQRoFXQWEUwwkyDZF16kvYvglhycVKn
>  hpg/tpl4VEGCA3G5ddX3fFGDYYUFYoAYO62zpLaq9xUQN2iVny3LO9LhznfXqUc2
>  XUaksY9hW/8HgaeipbbbWekRZ3J/XCc9/fchFna41WlJOxju49Do5nVTtV3UdBVh
>  BVBW7NTmnlX3Bs9zyFyp21SIvbQMRDLTolHx0GH9rPhU34l9ww/10MEBPNP0wS7K
>  Xg/0TpsAviUijqKjxNbXMG+bTaPMrUtDHuoJMWUbGf+KVHVlUdNvshaURlL8SAFW
>  CIRWhj5Ww+rRyIrpXjC7zXv/qg7aTPD1e02nV7XfoldyDRe72QUmwa7umwZkjvQ6
>  r9Fxu9S0fySbakAWxYVGjQbCpK+xGCY0ndzH/eYNnf8SX2MGIEKapbJ0kkTWvTu7
>  aQvV/Y9hLAGMNlYCPiAK4eBFgNc7wdG/D+ZZ6t8Oxmb5O9WMlBCddvvX4mn5UlIo
>  gbjGNJ/+Swk3z4potjpD
>  =SkOY
>  -END PGP SIGNATURE-
> 
> >>
> >>
> >>
> >> --
> >> Daan
> >>
>
>


Re: DR service for CloudStack

2015-06-26 Thread mvs babu
Hello Daan, Thank you for your information.


Is there any other sources to achieve DR solution for CloudStack?




Thank you,

Suneel Mallela






From: Daan Hoogland
Sent: ‎Friday‎, ‎June‎ ‎26‎, ‎2015 ‎3‎:‎25‎ ‎PM
To: cloudusersusers
Cc: dev@cloudstack.apache.org





Suneel, Alena had written this for cloudplatform, citrix' product
based on cloudstack. I don't think it has been contributed back.

On Fri, Jun 26, 2015 at 8:25 AM, mvs babu  wrote:
> Hello,
>
>
> I would like to use DR service for CloudSrtack. Found below useful video.
>
>
> https://www.youtube.com/watch?v=2YEXC3WNL0s
>
>
> Where can I get the status of this project and the source code?
>
>
> And can any one suggest how to achieve DR solution in CloudSrtack.
>
>
> Thank you,
>
> Suneel Mallela.
>
>
>
>
>
>
> Sent from Windows Mail



-- 
Daan

[GitHub] cloudstack-docs-rn pull request: Update with 4.4.4 notes

2015-06-26 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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: [PROPOSAL] Commit to master through PR only

2015-06-26 Thread Daan Hoogland
I said that red travis is requiring extra explanation by the LGTMers
to justify overrinding travis as an alternative to green travis. Not
that red travis is fine.

your logic is too boolean, not fuzzy enough

On Fri, Jun 26, 2015 at 2:42 PM, Rafael Fonseca  wrote:
> I agree with Daan also, but there's a conflict here..
>
> Initial suggestion:
>
> ( Green_Travis && 2LGTM)
>
> Daan suggested:
>
> ( Red_Travis && 2LGTM)
>
> Which would make for:
>
> ( Green_Travis && 2LGTM) || ( Red_Travis && 2LGTM)
>
> Or apply boolean logic to remove redundant parameters:
>
> (2LGTM)
>
> This would completely remove whatever travis says from the equation... if
> we do have some trust on when travis says go... it should be:
>
> ( Green_Travis && 1LGTM) || ( Red_Travis && 2LGTM)
>
> Or if we really want the extra overhead:
>
> ( Green_Travis && 2LGTM) || ( Red_Travis && 3LGTM)
>
>
>
> On Fri, Jun 26, 2015 at 10:10 AM, Wilder Rodrigues <
> wrodrig...@schubergphilis.com> wrote:
>
>> Clean and simple, Sebastien. I like that. :)
>>
>> Concerning Travis, I’m with Daan and Remi: in case of a red Travis run, a
>> good analysis on the results is needed before saying no.
>>
>> Let’s make ACS more awesome! ;)
>>
>> Cheers,
>> Wilder
>>
>>
>> > On 25 Jun 2015, at 22:03, Remi Bergsma  wrote:
>> >
>> > Good point Daan, I like it!
>> >
>> > 2015-06-25 16:49 GMT+02:00 Daan Hoogland :
>> >
>> >> I still don't think travis is reliable enough to give a definite 'no'.
>> >> Two LGTMs is fine and a good argument if travis is red on why this is
>> >> not a problem for this case.
>> >>
>> >> On Thu, Jun 25, 2015 at 4:47 PM, Rafael Fonseca 
>> >> wrote:
>> >>> Couldn't make it either :'(
>> >>>
>> >>> I think it's a very sound idea in principle, but afraid waiting for two
>> >>> LGTM might slow things down even further... up to the majority vote i
>> >> guess
>> >>> it's a good principle either way :)
>> >>>
>> >>> On Thu, Jun 25, 2015 at 4:41 PM, Wido den Hollander 
>> >> wrote:
>> >>>
>>  -BEGIN PGP SIGNED MESSAGE-
>>  Hash: SHA1
>> 
>> 
>> 
>>  On 06/25/2015 04:38 PM, Sebastien Goasguen wrote:
>> > Folks,
>> >
>> > A few of us are in Amsterdam at DevOps days. We are chatting about
>> > release management procedure. Remi is working on a set of
>> > principles that he will put on the wiki to start a [DISCUSS].
>> >
>> 
>>  Bummer I couldn't make it :(
>> 
>> > However to get started on the right track. I would like to propose
>> > the following easy step:
>> >
>> > Starting Monday June 29th (next monday):
>> >
>> > - Only commit through PR will land on master (after a minimum of 2
>> > LGTM and green Travis results) - Direct commit will be reverted -
>> > Any committer can merge the PR.
>> >
>> > Goal being to start having a new practice -everything through PR
>> > for everyone- which is an easy way to gate our own commits building
>> > up to a PR.
>> >
>> 
>>  I'd say this is a good idea :-)
>> 
>> > There is no tooling involved, just human agreement.
>> >
>> > cheers,
>> >
>> > -Sebastien
>> >
>>  -BEGIN PGP SIGNATURE-
>>  Version: GnuPG v1
>> 
>>  iQIcBAEBAgAGBQJVjBMAAAoJEAGbWC3bPspCRYkP/jGuB3qelhlwNKY0UJZVs43T
>>  wh3+8TKO2OTuchR4TLqJDLpWcpaHYamxukDDwNyI2+7hpZuNNnT6t4KhA5CpSITj
>>  BVa8M9nBJAKXjPcnSPNCE8RYA6BPfwnywupwA294rnNcclDurzdHd6WssE0VCH0g
>>  XDM8vuA1tKx55B5TTQSNwDNdlai6aaB/xTQRoFXQWEUwwkyDZF16kvYvglhycVKn
>>  hpg/tpl4VEGCA3G5ddX3fFGDYYUFYoAYO62zpLaq9xUQN2iVny3LO9LhznfXqUc2
>>  XUaksY9hW/8HgaeipbbbWekRZ3J/XCc9/fchFna41WlJOxju49Do5nVTtV3UdBVh
>>  BVBW7NTmnlX3Bs9zyFyp21SIvbQMRDLTolHx0GH9rPhU34l9ww/10MEBPNP0wS7K
>>  Xg/0TpsAviUijqKjxNbXMG+bTaPMrUtDHuoJMWUbGf+KVHVlUdNvshaURlL8SAFW
>>  CIRWhj5Ww+rRyIrpXjC7zXv/qg7aTPD1e02nV7XfoldyDRe72QUmwa7umwZkjvQ6
>>  r9Fxu9S0fySbakAWxYVGjQbCpK+xGCY0ndzH/eYNnf8SX2MGIEKapbJ0kkTWvTu7
>>  aQvV/Y9hLAGMNlYCPiAK4eBFgNc7wdG/D+ZZ6t8Oxmb5O9WMlBCddvvX4mn5UlIo
>>  gbjGNJ/+Swk3z4potjpD
>>  =SkOY
>>  -END PGP SIGNATURE-
>> 
>> >>
>> >>
>> >>
>> >> --
>> >> Daan
>> >>
>>
>>



-- 
Daan


[GitHub] cloudstack pull request: findbugs: serializable fields

2015-06-26 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/cloudstack/pull/533


---
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: [PROPOSAL] Commit to master through PR only

2015-06-26 Thread Rafael Fonseca
I did not mean to imply that you were saying red travis was fine :)
Just that it was requiring same number of people to look at it as the green
travis, of course no one should put in a LGTM on a failed travis without
looking at what the travis output was :)

Even the fuzzy stuff can be booleanized, perhaps i did over-simplify it
hehe.. full function would be:

( ( Green_Travis && 2LGTM) || ( Red_Travis_false_positive &&
2LGTM_Extended) && (!Red_Travis_real_problem_in_code) )

Just skipped the obvious last part for readability.
My point is that Green travis should also count as a vote, hence:

( Green_Travis && 1LGTM) || ( Red_Travis_false_positive && 2LGTM_Extended)

Or if we really want the extra overhead:

( Green_Travis && 2LGTM) || ( Red_Travis_false_positive && 3LGTM_Extended)


On Fri, Jun 26, 2015 at 2:46 PM, Daan Hoogland 
wrote:

> I said that red travis is requiring extra explanation by the LGTMers
> to justify overrinding travis as an alternative to green travis. Not
> that red travis is fine.
>
> your logic is too boolean, not fuzzy enough
>
> On Fri, Jun 26, 2015 at 2:42 PM, Rafael Fonseca 
> wrote:
> > I agree with Daan also, but there's a conflict here..
> >
> > Initial suggestion:
> >
> > ( Green_Travis && 2LGTM)
> >
> > Daan suggested:
> >
> > ( Red_Travis && 2LGTM)
> >
> > Which would make for:
> >
> > ( Green_Travis && 2LGTM) || ( Red_Travis && 2LGTM)
> >
> > Or apply boolean logic to remove redundant parameters:
> >
> > (2LGTM)
> >
> > This would completely remove whatever travis says from the equation... if
> > we do have some trust on when travis says go... it should be:
> >
> > ( Green_Travis && 1LGTM) || ( Red_Travis && 2LGTM)
> >
> > Or if we really want the extra overhead:
> >
> > ( Green_Travis && 2LGTM) || ( Red_Travis && 3LGTM)
> >
> >
> >
> > On Fri, Jun 26, 2015 at 10:10 AM, Wilder Rodrigues <
> > wrodrig...@schubergphilis.com> wrote:
> >
> >> Clean and simple, Sebastien. I like that. :)
> >>
> >> Concerning Travis, I’m with Daan and Remi: in case of a red Travis run,
> a
> >> good analysis on the results is needed before saying no.
> >>
> >> Let’s make ACS more awesome! ;)
> >>
> >> Cheers,
> >> Wilder
> >>
> >>
> >> > On 25 Jun 2015, at 22:03, Remi Bergsma  wrote:
> >> >
> >> > Good point Daan, I like it!
> >> >
> >> > 2015-06-25 16:49 GMT+02:00 Daan Hoogland :
> >> >
> >> >> I still don't think travis is reliable enough to give a definite
> 'no'.
> >> >> Two LGTMs is fine and a good argument if travis is red on why this is
> >> >> not a problem for this case.
> >> >>
> >> >> On Thu, Jun 25, 2015 at 4:47 PM, Rafael Fonseca <
> rsafons...@gmail.com>
> >> >> wrote:
> >> >>> Couldn't make it either :'(
> >> >>>
> >> >>> I think it's a very sound idea in principle, but afraid waiting for
> two
> >> >>> LGTM might slow things down even further... up to the majority vote
> i
> >> >> guess
> >> >>> it's a good principle either way :)
> >> >>>
> >> >>> On Thu, Jun 25, 2015 at 4:41 PM, Wido den Hollander  >
> >> >> wrote:
> >> >>>
> >>  -BEGIN PGP SIGNED MESSAGE-
> >>  Hash: SHA1
> >> 
> >> 
> >> 
> >>  On 06/25/2015 04:38 PM, Sebastien Goasguen wrote:
> >> > Folks,
> >> >
> >> > A few of us are in Amsterdam at DevOps days. We are chatting about
> >> > release management procedure. Remi is working on a set of
> >> > principles that he will put on the wiki to start a [DISCUSS].
> >> >
> >> 
> >>  Bummer I couldn't make it :(
> >> 
> >> > However to get started on the right track. I would like to propose
> >> > the following easy step:
> >> >
> >> > Starting Monday June 29th (next monday):
> >> >
> >> > - Only commit through PR will land on master (after a minimum of 2
> >> > LGTM and green Travis results) - Direct commit will be reverted -
> >> > Any committer can merge the PR.
> >> >
> >> > Goal being to start having a new practice -everything through PR
> >> > for everyone- which is an easy way to gate our own commits
> building
> >> > up to a PR.
> >> >
> >> 
> >>  I'd say this is a good idea :-)
> >> 
> >> > There is no tooling involved, just human agreement.
> >> >
> >> > cheers,
> >> >
> >> > -Sebastien
> >> >
> >>  -BEGIN PGP SIGNATURE-
> >>  Version: GnuPG v1
> >> 
> >>  iQIcBAEBAgAGBQJVjBMAAAoJEAGbWC3bPspCRYkP/jGuB3qelhlwNKY0UJZVs43T
> >>  wh3+8TKO2OTuchR4TLqJDLpWcpaHYamxukDDwNyI2+7hpZuNNnT6t4KhA5CpSITj
> >>  BVa8M9nBJAKXjPcnSPNCE8RYA6BPfwnywupwA294rnNcclDurzdHd6WssE0VCH0g
> >>  XDM8vuA1tKx55B5TTQSNwDNdlai6aaB/xTQRoFXQWEUwwkyDZF16kvYvglhycVKn
> >>  hpg/tpl4VEGCA3G5ddX3fFGDYYUFYoAYO62zpLaq9xUQN2iVny3LO9LhznfXqUc2
> >>  XUaksY9hW/8HgaeipbbbWekRZ3J/XCc9/fchFna41WlJOxju49Do5nVTtV3UdBVh
> >>  BVBW7NTmnlX3Bs9zyFyp21SIvbQMRDLTolHx0GH9rPhU34l9ww/10MEBPNP0wS7K
> >>  Xg/0TpsAviUijqKjxNbXMG+bTaPMrUtDHuoJMWUbGf+KVHVlUdNvshaURlL8SAFW
> >>  CIRWhj5Ww+rRyIrpXjC7zXv/qg7aTPD1e02nV7Xf

Re: [PROPOSAL] Commit to master through PR only

2015-06-26 Thread Daan Hoogland
On Fri, Jun 26, 2015 at 3:13 PM, Rafael Fonseca  wrote:
> Or if we really want the extra overhead:
>
> ( Green_Travis && 2LGTM) || ( Red_Travis_false_positive && 3LGTM_Extended)


or

( Green_Travis && 2LGTM) || ( Red_Travis_false_positive &&
2LGTM_Extended && justification in writing)

that was the idea expressed
-- 
Daan


Re: [PROPOSAL] Commit to master through PR only

2015-06-26 Thread Rafael Fonseca
That's what the _Extended suffix i added means :)

On Fri, Jun 26, 2015 at 3:15 PM, Daan Hoogland 
wrote:

> On Fri, Jun 26, 2015 at 3:13 PM, Rafael Fonseca 
> wrote:
> > Or if we really want the extra overhead:
> >
> > ( Green_Travis && 2LGTM) || ( Red_Travis_false_positive &&
> 3LGTM_Extended)
>
>
> or
>
> ( Green_Travis && 2LGTM) || ( Red_Travis_false_positive &&
> 2LGTM_Extended && justification in writing)
>
> that was the idea expressed
> --
> Daan
>


Re: [DISCUSS] 4.5.2 bugfix sprint

2015-06-26 Thread Tomasz Zięba
Template Issue in 4.5.1
-
http://comments.gmane.org/gmane.comp.apache.cloudstack.user/18735
After manual creating systemVM using actual code from git everything is OK.

Fail to create load-balancing service on VPC
--
https://issues.apache.org/jira/browse/CLOUDSTACK-8231


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



2015-06-25 21:35 GMT+02:00 Rohit Yadav :

> Hi all,
>
> Now that 4.4.4 has passed, I would like to start a 4.5.2 release effort
> soon. Please share any blockers, critical issues and other problems you may
> have discovered with 4.5.1 that we should try to fix in ACS 4.5.2.
>
> Thanks.
>
> Regards,
> Rohit Yadav
> Software Architect, ShapeBlue
> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
> Blog: bhaisaab.org | Twitter: @_bhaisaab
>
>
>
> Find out more about ShapeBlue and our range of CloudStack related services
>
> IaaS Cloud Design & Build<
> http://shapeblue.com/iaas-cloud-design-and-build//>
> CSForge – rapid IaaS deployment framework
> CloudStack Consulting
> CloudStack Software Engineering<
> http://shapeblue.com/cloudstack-software-engineering/>
> CloudStack Infrastructure Support<
> http://shapeblue.com/cloudstack-infrastructure-support/>
> CloudStack Bootcamp Training Courses<
> http://shapeblue.com/cloudstack-training/>
>
> 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 SA Pty Ltd is
> a company registered by The Republic of South Africa and is traded under
> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>


[GitHub] cloudstack pull request: findbugs Boolean return null in getter no...

2015-06-26 Thread DaanHoogland
GitHub user DaanHoogland opened a pull request:

https://github.com/apache/cloudstack/pull/534

findbugs Boolean return null in getter not in is-query

I'm not sure about this quick fix but am opening a PR as placeholder for 
discussion.


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

$ git pull https://github.com/DaanHoogland/cloudstack findbugs-NP

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

https://github.com/apache/cloudstack/pull/534.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 #534


commit bf48ff9927f8f017efce19caa77df6a827572d54
Author: Daan Hoogland 
Date:   2015-06-26T13:29:25Z

findbugs Boolean return null in getter not in is-query




---
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.
---


Build failed in Jenkins: simulator-singlerun #1319

2015-06-26 Thread jenkins
See 

--
Started by upstream project "build-master-simulator" build number 2136
originally caused by:
 Started by an SCM change
 Started by upstream project "build-master" build number 2433
 originally caused by:
  Started by an SCM change
 Started by an SCM change
 Started by an SCM change
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on simulator in workspace 

 > /usr/bin/git rev-parse --is-inside-work-tree # timeout=400
Fetching changes from the remote Git repository
 > /usr/bin/git config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/cloudstack.git # timeout=400
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/cloudstack.git
 > /usr/bin/git --version # timeout=400
 > /usr/bin/git fetch --tags --progress 
 > https://git-wip-us.apache.org/repos/asf/cloudstack.git 
 > +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from 
https://git-wip-us.apache.org/repos/asf/cloudstack.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:735)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:983)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1016)
at hudson.scm.SCM.checkout(SCM.java:484)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1258)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528)
at hudson.model.Run.execute(Run.java:1759)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)
Caused by: hudson.plugins.git.GitException: Command "/usr/bin/git fetch --tags 
--progress https://git-wip-us.apache.org/repos/asf/cloudstack.git 
+refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: error:  while accessing 
https://git-wip-us.apache.org/repos/asf/cloudstack.git/info/refs

fatal: HTTP request failed

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1591)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1379)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:86)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:324)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
at hudson.remoting.UserRequest.perform(UserRequest.java:121)
at hudson.remoting.UserRequest.perform(UserRequest.java:49)
at hudson.remoting.Request$2.run(Request.java:324)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
at ..remote call to simulator(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
at hudson.remoting.Channel.call(Channel.java:752)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145)
at sun.reflect.GeneratedMethodAccessor375.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:131)
at sun.proxy.$Proxy46.execute(Unknown Source)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:733)
... 11 more
ERROR: Error fetching remote repo 'origin'
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing JUnit
[xUnit] [INFO] - [JUnit] - No test report file(s) were found with the pattern 
'xunit.xml' relative to 
' for the testing 
framework 'JUnit'.  Did you enter a pattern relative to the correct directory?  
Did you generate the result report(s) for 'JUnit'?
[xUnit] [ERROR] - No test reports found for the metric 'JUnit' with the 

[GitHub] cloudstack pull request: findbugs equals(obj) implementations go a...

2015-06-26 Thread DaanHoogland
GitHub user DaanHoogland opened a pull request:

https://github.com/apache/cloudstack/pull/535

findbugs equals(obj) implementations go against the contract

  these are removed from the call into separate calls
This might very well spectacularly fail in integration tests. really 
looking forward to see that;)

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

$ git pull https://github.com/DaanHoogland/cloudstack findbugs-EQ

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

https://github.com/apache/cloudstack/pull/535.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 #535


commit 57b0b785aa55fd9685c9f25f697a58e202bdd48e
Author: Daan Hoogland 
Date:   2015-06-26T14:06:17Z

findbugs equals(obj) implementations go against the contract
  these are removed from the call into separate calls




---
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: Upgrading 4.3.1 to 4.3.2 including system templates - quick help please

2015-06-26 Thread Andrija Panic
I think I use regular upstream repo for ACS RPMs (4.3.2) - but the
ghost-patched template from shapeblue... (4.3.2).

best

On 26 June 2015 at 13:42, France  wrote:

> Seems like this q. is related.
> Andria, which CS build would/do you use? Which would you personally
> recommend?
> I will go with 3.2.2 + patches from shapeblue.
>
> Official build: http://cloudstack.apt-get.eu/rhel/4.3/
> There also build in Shapeblue’s repo based on 4.3.2 :
> http://packages.shapeblue.com/cloudstack/upstream/centos/4.3/
> And they also provide additionally pached build via:
> http://packages.shapeblue.com/cloudstack/main/centos/4.3/
>
> Regards,
> F.
>
> On 26 Jun 2015, at 13:01, Andrija Panic  wrote:
>
> > http://packages.shapeblue.com/tools/ghost-systemvm-upgrader.py is a
> > shapeblue's stuff, if they are fine - then no problem :)
> >
> > But I see inside the script, it's hardcoded to 4.3 and 4.4 vesions, and
> it
> > loads templates from shapeblue's repos only
> >
> > So again we might go back to the story (not sure what was decided there)
> of
> > hosting stuff on apt-get.eu or shapeblue, or both etc...
> >
> > Would be nice to have some general decision arround this...and then, yes,
> > make/update documentation...
> >
> > On 26 June 2015 at 12:52, Erik Weber  wrote:
> >
> >> Edit it and send a piller request :-)
> >>
> >> Erik
> >>
> >> Den fredag 26. juni 2015 skrev Andrija Panic 
> >> følgende:
> >>
> >>> I also used this approach - worked for me.
> >>>
> >>> It would be nice if we could put this somewhere in the official docs in
> >> ACS
> >>> repo...
> >>>
> >>> On 26 June 2015 at 12:35, France >
> >>> wrote:
> >>>
>  OK, I was able to find instructions for upgrading templates:
>  http://www.shapeblue.com/cloudstack-and-the-ghost-vulnerabilitystack/
>  it even has a nice script, which we will try this weekend.
> 
>  Also for vhd-utils link, I have found vhd-utils at:
>  http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
> 
>  If these are not correct for CS 4.3.* and XS 6.0.2*, someone please
> let
> >>> us
>  know.
>  Hopefully this mail will help others upgrade, if they see it.
> 
>  Regards,
>  F.
> 
>  On 26 Jun 2015, at 11:40, France >
> >>> wrote:
> 
> > Anyone?
> >
> >
> > On 24 Jun 2015, at 15:07, France  >> >
> >>> wrote:
> >
> >> Hi all,
> >>
> >> we got CS 4.3.1 which we will upgrade to 4.3.2 this weekend, using
> >>> RPMs
>  from shapeblue (
> >>> http://packages.shapeblue.com/cloudstack/main/centos/4.3/
>  ).
> >>
> >> Following the instructions at:
> >>
> 
> >>>
> >>
> http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.3.2/rnotes.html#upgrade-from-4-3-1-to-4-3-2
> >>
> >> First problem I notice, that there is no link provided for vhd-utils
>  from the last step of the upgrade.
> >> Where can we get the right vhd-utils as required?
> >>
> >> Also no step in upgrade docs is mentioning of the system-vm template
>  upgrade.
> >> I see Shapeblue provides a link to ?updated? templates:
>  http://packages.shapeblue.com/systemvmtemplate/4.3/
> >> But i failed to find instructions how to update them. Are they
> >> updated
>  when updating base RPMs? I doubt it.
> >> Please direct us, to the correct instructions for updating
> >> templates.
> >>
> >> Thank you for your help/responses.
> >> Regards,
> >> France.
> >
> 
> 
> >>>
> >>>
> >>> --
> >>>
> >>> Andrija Panić
> >>>
> >>
> >
> >
> >
> > --
> >
> > Andrija Panić
>
>


-- 

Andrija Panić


Re: Disabling the quick search (/ character) in the web console before I go crazy

2015-06-26 Thread Andrija Panic
this doesnt work me :(

On 26 June 2015 at 13:18, Rajani Karuturi  wrote:

> firefox preferences->advanced, unchecking "search for text when I start
> typing" worked for me.
>
> ~Rajani
>
> On Fri, Jun 26, 2015 at 4:26 PM, Nux!  wrote:
>
> > Hi,
> >
> > Anyone knows a quick way to disable the "quick find" "feature" of the web
> > console?
> > Trying to debug linux/bsd instances drives me absolutely crazy, every
> time
> > I try to "cd /blah" the "quick find" thing appears and steals focus.
> > http://img.nux.ro/4qK-Selection_061.png
> >
> > Lucian
> >
> > --
> > Sent from the Delta quadrant using Borg technology!
> >
> > Nux!
> > www.nux.ro
> >
>



-- 

Andrija Panić


Re: [PROPOSAL] Quota management service for cloudstack

2015-06-26 Thread Marco Sinhoreli
+1

It¹s great to control resources per department in private cloud approach.

Best regards,

Marco Sinhoreli
Consultant Manager

Phone: +55 21 2586 6390 | Fax: +55 21 2586 6002 | Mobile: +55 21 99159
4713 | Mobile: +55 21 98276 3636
Praia de Botafogo 501, bloco 1 - sala 101, Botafogo, Rio de Janeiro, RJ -
Brazil - CEP 22250-040
marco.sinhor...@shapeblue.com | www.shapeblue.com
 | Twitter:@shapeBlue



On 26/06/15 08:32, "Abhinandan Prateek" 
wrote:

>Team,
>
>   Would like to enhance usage server to provide quota management service
>to cloudstack.
>This will provide better control on resource usage; and a common
>denomination to measure resource usage.
>This will be an optional service that can be enabled or disabled as
>required by the operator.
>
>The detailed discussion is in functional specs here [2]. The
>corresponding jira ticket is [1].
>
>Please vote so that a decision to include it or not can be taken.
>
>[1] https://issues.apache.org/jira/browse/CLOUDSTACK-8592
>[2]
>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Quota+Service+-+FS
>
>
>Regards,
>-abhi
>Find out more about ShapeBlue and our range of CloudStack related services
>
>IaaS Cloud Design &
>Build
>CSForge - rapid IaaS deployment framework
>CloudStack Consulting
>CloudStack Software
>Engineering
>CloudStack Infrastructure
>Support
>CloudStack Bootcamp Training
>Courses
>
>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 SA Pty Ltd is a company registered by The Republic of
>South Africa and is traded under license from Shape Blue Ltd. ShapeBlue
>is a registered trademark.

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Software 
Engineering
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

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 SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


test failure question

2015-06-26 Thread Daan Hoogland
H,

In a new environment I cannot get marvin tests to run:

2015-06-26 11:36:54,022 - DEBUG - Parsing Test data successful
2015-06-26 11:36:54,023 - DEBUG - Payload: {'account': 'admin',
'command': 'listUsers', 'response': 'json'}
2015-06-26 11:36:54,023 - DEBUG - Sending GET Cmd : listUsers===
2015-06-26 11:36:54,087 - DEBUG - Response : [{username : u'admin',
account : u'admin', domainid :
u'6891906c-19e5-11e5-a53a-5254001daa60', firstname : u'Admin', created
: u'2015-06-23T12:21:19-0400', lastname : u'User', apikey :
u'kjjGt2xnauAxcxx0xCXYq1ltEhtqetVQb42W0YylZDMAohjZZ6xPhihsyUHQdhBKO7Q4AsU-ejF32IWWnljl-g',
domain : u'ROOT', id : u'6892187f-19e5-11e5-a53a-5254001daa60',
secretkey : 
u'2mYsMA-bqMkuhXhS7qM-YPlK_Jgd4BhUEh67p87pgw4XdBE1Wuh9vNPI--ryFBVciSgcvJzOe2f9cyRO57RBGQ',
iscallerchilddomain : False, state : u'enabled', accounttype : 1,
email : u'ad...@mailprovider.com', isdefault : True, accountid :
u'6891c9f6-19e5-11e5-a53a-5254001daa60'}]
2015-06-26 11:36:54,088 - DEBUG -  Test Client Creation Successful 
2015-06-26 11:36:54,094 - CRITICAL - EXCEPTION: Failure:: ['Traceback
(most recent call last):\n', '  File
"/usr/lib/python2.7/site-packages/nose/case.py", line 132, in run\n
self.beforeTest(result)\n', '  File
"/usr/lib/python2.7/site-packages/nose/case.py", line 74, in
beforeTest\nbeforeTest(self.test)\n', '  File
"/usr/lib/python2.7/site-packages/nose/proxy.py", line 117, in
beforeTest\nself.plugins.beforeTest(self.test)\n', '  File
"/usr/lib/python2.7/site-packages/nose/plugins/manager.py", line 99,
in __call__\nreturn self.call(*arg, **kw)\n', '  File
"/usr/lib/python2.7/site-packages/nose/plugins/manager.py", line 167,
in simple\nresult = meth(*arg, **kw)\n', '  File
"/usr/lib/python2.7/site-packages/Marvin-4.6.0_SNAPSHOT-py2.7.egg/marvin/marvinPlugin.py",
line 172, in beforeTest\njoin([self.__identifier,
self.__testName])\n', 'TypeError: sequence item 0: expected string,
NoneType found\n']

Can anyone see in this output If I forgot to configure something?

cl is
nosetests --with-marvin
--marvin-config=/data/shared/marvin/mct-zone1-xen1.cfg -s -a
tags=advanced,required_hardware=false smoke/test_vm_life_cycle.py
but other tests have failed in the same way.

content of mct-zone1-xen1.cfg is

{
"zones": [
{
"name": "MCCT-SHARED-1",
"guestcidraddress": "10.1.1.0/24",
"dns1": "8.8.8.8",
"physical_networks": [
{
"broadcastdomainrange": "Zone",
"vlan": "100-200",
"name": "mcct-pnet",
"traffictypes": [
{
"typ": "Guest"
},
{
"typ": "Management"
},
{
"typ": "Public"
}
],
"providers": [
{
"broadcastdomainrange": "ZONE",
"name": "VirtualRouter"
},
{
"broadcastdomainrange": "ZONE",
"name": "VpcVirtualRouter"
},
{
"broadcastdomainrange": "ZONE",
"name": "InternalLbVm"
}
],
"isolationmethods": [
 "VLAN"
]
}
],
"ipranges": [
{
"startip": "192.168.23.2",
"endip": "192.168.23.20",
"netmask": "255.255.255.0",
"vlan": "50",
"gateway": "192.168.23.1"
}
],
"networktype": "Advanced",
"pods": [
{
"endip": "192.168.22.150",
"name": "MCCT-POD",
"startip": "192.168.22.130",
"netmask": "255.255.255.0",
"clusters": [
],
"clusters": [
{
"clustername": "MCCT-XEN-1",
"hypervisor": "XenServer",
"hosts": [
{
"username": "root",
"url": "http://192.168.22.11";,
"password": "password"
}
],
"clustertype": "CloudManaged",
"primaryStorages": [
{
"url":
"nfs://192.168.22.1:/data/storage/primary/MCCT-XEN-1",

Re: test failure question

2015-06-26 Thread Rafael Fonseca
Hi Daan, from the output it's exactly the same issue that is causing some
of the test suites to not run on some of the travis runs, and that
prevented me to fix the fact that tests are considered success when they
throw exceptions as we discussed. If you figure it out in the mean while
let me know the cause so i can automate the fix for the travis workers and
have all tests correctly resort failure when an exception is thrown.
 On Jun 26, 2015 5:48 PM, "Daan Hoogland"  wrote:

> H,
>
> In a new environment I cannot get marvin tests to run:
>
> 2015-06-26 11:36:54,022 - DEBUG - Parsing Test data successful
> 2015-06-26 11:36:54,023 - DEBUG - Payload: {'account': 'admin',
> 'command': 'listUsers', 'response': 'json'}
> 2015-06-26 11:36:54,023 - DEBUG - Sending GET Cmd :
> listUsers===
> 2015-06-26 11:36:54,087 - DEBUG - Response : [{username : u'admin',
> account : u'admin', domainid :
> u'6891906c-19e5-11e5-a53a-5254001daa60', firstname : u'Admin', created
> : u'2015-06-23T12:21:19-0400', lastname : u'User', apikey :
>
> u'kjjGt2xnauAxcxx0xCXYq1ltEhtqetVQb42W0YylZDMAohjZZ6xPhihsyUHQdhBKO7Q4AsU-ejF32IWWnljl-g',
> domain : u'ROOT', id : u'6892187f-19e5-11e5-a53a-5254001daa60',
> secretkey :
> u'2mYsMA-bqMkuhXhS7qM-YPlK_Jgd4BhUEh67p87pgw4XdBE1Wuh9vNPI--ryFBVciSgcvJzOe2f9cyRO57RBGQ',
> iscallerchilddomain : False, state : u'enabled', accounttype : 1,
> email : u'ad...@mailprovider.com', isdefault : True, accountid :
> u'6891c9f6-19e5-11e5-a53a-5254001daa60'}]
> 2015-06-26 11:36:54,088 - DEBUG -  Test Client Creation Successful 
> 2015-06-26 11:36:54,094 - CRITICAL - EXCEPTION: Failure:: ['Traceback
> (most recent call last):\n', '  File
> "/usr/lib/python2.7/site-packages/nose/case.py", line 132, in run\n
> self.beforeTest(result)\n', '  File
> "/usr/lib/python2.7/site-packages/nose/case.py", line 74, in
> beforeTest\nbeforeTest(self.test)\n', '  File
> "/usr/lib/python2.7/site-packages/nose/proxy.py", line 117, in
> beforeTest\nself.plugins.beforeTest(self.test)\n', '  File
> "/usr/lib/python2.7/site-packages/nose/plugins/manager.py", line 99,
> in __call__\nreturn self.call(*arg, **kw)\n', '  File
> "/usr/lib/python2.7/site-packages/nose/plugins/manager.py", line 167,
> in simple\nresult = meth(*arg, **kw)\n', '  File
>
> "/usr/lib/python2.7/site-packages/Marvin-4.6.0_SNAPSHOT-py2.7.egg/marvin/marvinPlugin.py",
> line 172, in beforeTest\njoin([self.__identifier,
> self.__testName])\n', 'TypeError: sequence item 0: expected string,
> NoneType found\n']
>
> Can anyone see in this output If I forgot to configure something?
>
> cl is
> nosetests --with-marvin
> --marvin-config=/data/shared/marvin/mct-zone1-xen1.cfg -s -a
> tags=advanced,required_hardware=false smoke/test_vm_life_cycle.py
> but other tests have failed in the same way.
>
> content of mct-zone1-xen1.cfg is
>
> {
> "zones": [
> {
> "name": "MCCT-SHARED-1",
> "guestcidraddress": "10.1.1.0/24",
> "dns1": "8.8.8.8",
> "physical_networks": [
> {
> "broadcastdomainrange": "Zone",
> "vlan": "100-200",
> "name": "mcct-pnet",
> "traffictypes": [
> {
> "typ": "Guest"
> },
> {
> "typ": "Management"
> },
> {
> "typ": "Public"
> }
> ],
> "providers": [
> {
> "broadcastdomainrange": "ZONE",
> "name": "VirtualRouter"
> },
> {
> "broadcastdomainrange": "ZONE",
> "name": "VpcVirtualRouter"
> },
> {
> "broadcastdomainrange": "ZONE",
> "name": "InternalLbVm"
> }
> ],
> "isolationmethods": [
>  "VLAN"
> ]
> }
> ],
> "ipranges": [
> {
> "startip": "192.168.23.2",
> "endip": "192.168.23.20",
> "netmask": "255.255.255.0",
> "vlan": "50",
> "gateway": "192.168.23.1"
> }
> ],
> "networktype": "Advanced",
> "pods": [
> {
> "endip": "192.168.22.150",
> "name": "MCCT-POD",
> "startip": "192.168.22.130",
> "netmask": "255.255.255.0",
> "clusters": [
> ],
> "clusters": [
>  

[GitHub] cloudstack pull request: CLOUDSTACK-8566: Filter sensitive details...

2015-06-26 Thread bhaisaab
GitHub user bhaisaab opened a pull request:

https://github.com/apache/cloudstack/pull/536

CLOUDSTACK-8566: Filter sensitive details from listHosts API

Removes any username and password host details from the listHosts API 
response
before it's wired back to a client.

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

$ git pull https://github.com/apache/cloudstack CLOUDSTACK-8566

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

https://github.com/apache/cloudstack/pull/536.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 #536


commit 49d1f54f98ecf995beae928284f67df56a30f176
Author: Rohit Yadav 
Date:   2015-06-26T16:42:00Z

CLOUDSTACK-8566: Filter sensitive details from listHosts API

Removes any username and password host details from the listHosts API 
response
before it's wired back to a client.

Signed-off-by: Rohit Yadav 




---
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 pull request: CLOUDSTACK-8566: Filter sensitive details...

2015-06-26 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/536#issuecomment-115751581
  
I'm not sure where the host details are getting consumed as there are many 
APIs using the HostResponse class, so the safest fix was to filter out 
sensitive details from the host response in list hosts API. cc @jburwell 
@wilderrodrigues and others for review


---
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: [PROPOSAL] Commit to master through PR only

2015-06-26 Thread David Nalley
On Thu, Jun 25, 2015 at 10:38 AM, Sebastien Goasguen  wrote:
> Folks,
>
> A few of us are in Amsterdam at DevOps days. We are chatting about release 
> management procedure.
> Remi is working on a set of principles that he will put on the wiki to start 
> a [DISCUSS].
>
> However to get started on the right track. I would like to propose the 
> following easy step:
>
> Starting Monday June 29th (next monday):
>
> - Only commit through PR will land on master (after a minimum of 2 LGTM and 
> green Travis results)
> - Direct commit will be reverted
> - Any committer can merge the PR.
>
> Goal being to start having a new practice -everything through PR for 
> everyone- which is an easy way to gate our own commits building up to a PR.
>
> There is no tooling involved, just human agreement.
>
> cheers,
>
> -Sebastien

In general, +1
I think we should set a time, say a month or two out, to review how
well it has worked, and what we need to tweak to make things better. I
think we should be explicit with this so that we can say 'On $date'
we'll start a thread to talk about what has and hasn't worked and how
we can improve this.

--David


Re: [PROPOSAL] Commit to master through PR only

2015-06-26 Thread Daan Hoogland
date := 2015-09-30 ???

On Fri, Jun 26, 2015 at 9:54 PM, David Nalley  wrote:
> On Thu, Jun 25, 2015 at 10:38 AM, Sebastien Goasguen  wrote:
>> Folks,
>>
>> A few of us are in Amsterdam at DevOps days. We are chatting about release 
>> management procedure.
>> Remi is working on a set of principles that he will put on the wiki to start 
>> a [DISCUSS].
>>
>> However to get started on the right track. I would like to propose the 
>> following easy step:
>>
>> Starting Monday June 29th (next monday):
>>
>> - Only commit through PR will land on master (after a minimum of 2 LGTM and 
>> green Travis results)
>> - Direct commit will be reverted
>> - Any committer can merge the PR.
>>
>> Goal being to start having a new practice -everything through PR for 
>> everyone- which is an easy way to gate our own commits building up to a PR.
>>
>> There is no tooling involved, just human agreement.
>>
>> cheers,
>>
>> -Sebastien
>
> In general, +1
> I think we should set a time, say a month or two out, to review how
> well it has worked, and what we need to tweak to make things better. I
> think we should be explicit with this so that we can say 'On $date'
> we'll start a thread to talk about what has and hasn't worked and how
> we can improve this.
>
> --David



-- 
Daan


[GitHub] cloudstack pull request: CLOUDSTACK-8566: Filter sensitive details...

2015-06-26 Thread jburwell
Github user jburwell commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/536#discussion_r33399534
  
--- Diff: 
api/src/org/apache/cloudstack/api/command/admin/host/ListHostsCmd.java ---
@@ -203,9 +201,22 @@ public void execute() {
 hostResponse.setObjectName("host");
 hostResponses.add(hostResponse);
 }
-
 response.setResponses(hostResponses, result.second());
 }
+// Remove sensitive details from host response
+List hostResponsesList = response.getResponses();
+for (HostResponse hostResponse: hostResponsesList) {
+Map hostDetails = hostResponse.getDetails();
+if (hostDetails == null) continue;
+if (hostDetails.containsKey("username")) {
+hostDetails.remove("username");
+}
+if (hostDetails.containsKey("password")) {
+hostDetails.remove("password");
+}
+hostResponse.setDetails(hostDetails);
--- End diff --

Why not perform this filtering on a defensive copy of the map in 
HostResponse.setDetails()?  I am also concerned about directly manipulating the 
details map in this method as it changes the view for any other objects holding 
references to it.


---
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 pull request: CLOUDSTACK-8566: Filter sensitive details...

2015-06-26 Thread serverchief
Github user serverchief commented on the pull request:

https://github.com/apache/cloudstack/pull/536#issuecomment-115915514
  
Hi Rohit,

Both username and passwords are needed, and we don't want to remove them 
and we would like to know what they are, however, it would be great if we can 
obfuscate the password leaving only first 2 characters visible and making it X 
chars long.

For example, if password is "MySuperPass", perhaps the output would be 
"My**"

We don't want to expose the actual passwords length, so if we can fill it 
with extra "*" that would help. I'm not certain what restrictions are there, 
perhaps 32 chars maybe enough.

Thoughts?


---
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 pull request: findbugs equals(obj) implementations go a...

2015-06-26 Thread jburwell
Github user jburwell commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/535#discussion_r33406307
  
--- Diff: 
framework/config/src/org/apache/cloudstack/framework/config/ConfigKey.java ---
@@ -122,6 +122,13 @@ public boolean equals(Object obj) {
 if (obj instanceof ConfigKey) {
 ConfigKey that = (ConfigKey)obj;
 return this._name.equals(that._name);
+}
+return false;
+}
+
+public boolean isSameKeyAs(Object obj) {
+if(this.equals(obj)) {
+return true;
 } else if (obj instanceof String) {
--- End diff --

``this.getClass().equals(obj.getClass())`` is preferred over ``instanceof`` 
because ``instanceof`` only verifies that the two objects are the compatible 
types, not that the classes themselves are loaded from a common class loader.  
If two objects have the same type but their underlying classes are loaded from 
different class loaders, casting the objects will fail.  Given that web 
containers play games with class loaders and often load the same jar multiple 
times, unexpected behavior and runtime exceptions (e.g. apparent duplicate Map 
entries, ClassCastExceptions, etc) occurs.


---
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.
---