[GitHub] cloudstack pull request #2025: [4.10-blocker] Fix error in restart network i...

2017-04-11 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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 issue #2025: [4.10-blocker] Fix error in restart network in 4.10....

2017-04-11 Thread karuturi
Github user karuturi commented on the issue:

https://github.com/apache/cloudstack/pull/2025
  
merging


---
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: MySQL 5.7 and SQL Mode

2017-04-11 Thread Koushik Das
Hi Wido,

Check initDataSource() in TransactionLegacy.java. The connection properties are 
read from db.properties.

-Koushik

On 11/04/17, 10:27 PM, "Wido den Hollander"  wrote:


> Op 11 april 2017 om 10:51 schreef Rohit Yadav :
> 
> 
> Hi Wido,
> 
> 
> You're right, MySQL 5.7 has by default strict(er) sql mode enabled. To 
make CloudStack work with MySQL 5.7, changing the sql mode makes MySQL 5.7 
behave like 5.6 with which the mgmt server/usage server should work.
> 

Yes, but a client can do this as well. It doesn't have to be server wide.

Do you know where the MySQL client is initiated by CloudStack? A few lines 
of code there should/might be enough.

Wido

> 
> Regards.
> 
> 
> From: Wido den Hollander 
> Sent: 10 April 2017 20:30:55
> To: dev@cloudstack.apache.org
> Subject: MySQL 5.7 and SQL Mode
> 
> Hi,
> 
> While testing with Ubuntu 16.04 and CloudStack 4.10 (from master) I've 
ran into this error on the management server:
> 
> com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Expression #1 
of SELECT list is not in GROUP BY clause and contains nonaggregated column 
'cloud.i.id' which is not functionally dependent on columns in GROUP BY clause; 
this is incompatible with sql_mode=only_full_group_by
> at sun.reflect.GeneratedConstructorAccessor50.newInstance(Unknown 
Source)
> at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
> at com.mysql.jdbc.Util.getInstance(Util.java:387)
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:939)
> at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3878)
> at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3814)
> 
> I was able to fix this to add this to my my.cnf:
> 
> [mysqld]
> sql_mode = 
"STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
> 
> Should we maybe set the SQL Mode as a connection parameter when 
connecting to the DB? This prevents users from having to set this manually in 
their MySQL configuration.
> 
> Did somebody else run into this with MySQL 5.7?
> 
> Thank you,
> 
> Wido
> 
> rohit.ya...@shapeblue.com 
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>   
>  
>





DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the 
property of Accelerite, a Persistent Systems business. It is intended only for 
the use of the individual or entity to which it is addressed. If you are not 
the intended recipient, you are not authorized to read, retain, copy, print, 
distribute or use this message. If you have received this communication in 
error, please notify the sender and delete all copies of this message. 
Accelerite, a Persistent Systems business does not accept any liability for 
virus infected mails.


Re: [VOTE] Apache Cloudstack should join the gitbox experiment.

2017-04-11 Thread Rajani Karuturi
+1

~ Rajani

http://cloudplatform.accelerite.com/

On April 10, 2017 at 9:52 PM, Daan Hoogland
(daan.hoogl...@gmail.com) wrote:

In the Apache foundation an experiment has been going on to host
mirrors of Apache project on github with more write access then
just
to the mirror-bot. For those projects committers can merge on
github
and put labels on PRs.

I move to have the project added to the gitbox experiment
please cast your votes

+1 CloudStack should be added to the gitbox experiment
+-0 I don't care
-1 CloudStack shouldn't be added to the gitbox experiment and
give your reasons

thanks,
--
Daan

[GitHub] cloudstack issue #1908: CLOUDSTACK-9317: Fixed disable static nat on leaving...

2017-04-11 Thread jayapalu
Github user jayapalu commented on the issue:

https://github.com/apache/cloudstack/pull/1908
  
Jenkins got timed out. I am force pushing again to trigger jenkins.


---
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 issue #2033: [master/4.10+] CLOUDSTACK-9462: Support for Ubuntu 1...

2017-04-11 Thread karuturi
Github user karuturi commented on the issue:

https://github.com/apache/cloudstack/pull/2033
  
@rhtyd Can you add "This closes #1950" to the description of this PR?
can you force push to make jenkins happy? 

@ustcweizhou can you review please?



---
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 #2022: [dvswitch blocker] CLOUDSTACK-9591: Fix syste...

2017-04-11 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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 issue #1879: CLOUDSTACK-9719: [VMware] VR loses DHCP settings and...

2017-04-11 Thread karuturi
Github user karuturi commented on the issue:

https://github.com/apache/cloudstack/pull/1879
  
@rhtyd at this stage, I am not looking at more PRs/features for 4.10. I 
need help on fixing the blockers for releasing 4.10 


---
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 issue #2022: [dvswitch blocker] CLOUDSTACK-9591: Fix systemvmtemp...

2017-04-11 Thread karuturi
Github user karuturi commented on the issue:

https://github.com/apache/cloudstack/pull/2022
  
ok. merging


---
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: Re: [4.10] VPN disconnected while network changes taken

2017-04-11 Thread Will Stevens
Thanks, I will have a look.

*Will STEVENS*
Lead Developer



On Tue, Apr 11, 2017 at 8:58 PM, Haijiao <18602198...@163.com> wrote:

> HI, Will
> It's a Remote Access VPN that losing connection while new network configs
> introduced.
> Thanks !
>
>
>
>
>
>
> 在2017年04月12 02时26分, "Will Stevens"写道:
>
> Is this a Site-to-Site VPN connection or the Remote Access VPN that is
> losing connection when new network configs are introduced?
>
> Thanks,
>
> *Will STEVENS*
> Lead Developer
>
> 
>
> On Sat, Apr 8, 2017 at 12:49 AM, Haijiao <18602198...@163.com> wrote:
>
> >
> >
> > Hi,
> >
> >
> >
> > We built and tested the ACS 4.10 from the latest master (Apr.7, 2017)
> >
> >
> >
> > Our environment is,
> > - ACS: 4.10.0.0-SNAPSHOT
> > - Management Server: Centos7.2 1151
> > - Host: Centos7.2 1151
> > - System VM: systemvm64template-master-4.10.0-kvm.qcow2.bz2
> > - Network: Isolated Network
> > - Network Offering: Offering for Isolated networks with Source Nat
> service
> > enabled
> >
> >
> > We can successfully setup VPN and it works as expected.  However,  once
> we
> > take any network changes below, the VPN connnection will be immediately
> > disconnected.
> >
> >
> > - Update firewall rules (add/change)
> > - Update port fowarding
> > - Update LB
> > - Add one more VPN account
> >
> >
> > Is there some configuration we missed ?  Or it's due to the new VPN
> > component (StrongSWAN) introcuced in 4.10 ?
> >
> >
> > Thanks in advance !
> >
> >
> >
> >
> >
> >
>


Re:Re: [4.10] VPN disconnected while network changes taken

2017-04-11 Thread Haijiao
HI, Will
It's a Remote Access VPN that losing connection while new network configs 
introduced. 
Thanks !






在2017年04月12 02时26分, "Will Stevens"写道:

Is this a Site-to-Site VPN connection or the Remote Access VPN that is
losing connection when new network configs are introduced?

Thanks,

*Will STEVENS*
Lead Developer



On Sat, Apr 8, 2017 at 12:49 AM, Haijiao <18602198...@163.com> wrote:

>
>
> Hi,
>
>
>
> We built and tested the ACS 4.10 from the latest master (Apr.7, 2017)
>
>
>
> Our environment is,
> - ACS: 4.10.0.0-SNAPSHOT
> - Management Server: Centos7.2 1151
> - Host: Centos7.2 1151
> - System VM: systemvm64template-master-4.10.0-kvm.qcow2.bz2
> - Network: Isolated Network
> - Network Offering: Offering for Isolated networks with Source Nat service
> enabled
>
>
> We can successfully setup VPN and it works as expected.  However,  once we
> take any network changes below, the VPN connnection will be immediately
> disconnected.
>
>
> - Update firewall rules (add/change)
> - Update port fowarding
> - Update LB
> - Add one more VPN account
>
>
> Is there some configuration we missed ?  Or it's due to the new VPN
> component (StrongSWAN) introcuced in 4.10 ?
>
>
> Thanks in advance !
>
>
>
>
>
>


[GitHub] cloudstack pull request #2036: [CLOUDSTACK-9858] Retirement of midonet plugi...

2017-04-11 Thread rafaelweingartner
GitHub user rafaelweingartner opened a pull request:

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

[CLOUDSTACK-9858] Retirement of midonet plugin (build disabling)

Recently there have been two threads asking and discussing the 
“midonet” integration with Apache CloudStack (ACS) [1-2].

After quite some discussions, we noticed that despite having some people 
willing to use it, the plugin has never been fully developed by its vendor 
(Midokura). Further, nobody else has put the effort on fully testing and 
finishing its implementation. It seems that the plugin was incorporated into 
our code base without being fully finished. Moreover, I have asked around at 
the Midonet community, and the java client they use has changed quite a bit 
from the one we use.

It begs the question if it does not work, why do we advertise such 
integration? [3]. 
Following the component retirement process defined in [4], a vote thread 
was started in [5]. The community decided to retire this Midonet plugin. This 
task represents the first step of the retirement, which is the disabling of the 
plugin in CloudStack`s build process.
 
[1] 
http://cloudstack.markmail.org/thread/qyedle5jb2c34gsc#query:+page:1+mid:xn2zq2v3eim5vl2q+state:results
[2] 
http://cloudstack.markmail.org/message/rewzk4v7dgzpsxkm?q=midonet+order:date-backward=1#query:midonet%20order%3Adate-backward+page:1+mid:i563khxlginf6smg+state:results
[3] http://docs.cloudstack.apache.org/en/latest/networking/midonet.html
[4] 
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=68720798
[5] http://markmail.org/message/qigrtfirwnmct4hr

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

$ git pull https://github.com/rafaelweingartner/cloudstack 
midoneDisablingForRetirement

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

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


commit a3f351c07e73e4a207d10e3d23003c81cb3ab58b
Author: Rafael Weingartner 
Date:   2017-04-11T20:04:10Z

[CLOUDSTACK-9858] Retirement of midonet plugin (build disabling)




---
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: How are router checks scheduled?

2017-04-11 Thread Sean Lair
Found and fixed at least one issue (4.9.2.0), had to update this file: 
"/server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImpl.java"

Because "VpcVirtualNetworkApplianceManagerImpl" extends 
"VirtualNetworkApplianceManagerImpl"

When VpcVirtualNetworkApplianceManagerImpl was created it re-ran 
"VirtualNetworkApplianceManagerImpl.Start".  That rescheduled all of the 
various health and stats checks so everything was now running twice...  Added 
this to the above file:

   @Override
public boolean start() {
return true;
}

@Override
public boolean stop() {
return true;
}


Now when we double-check our work by running this command:

cat /var/log/cloudstack/management/management-server.log | grep "routers to 
update status"

We only see that job (for example) kicking off once every 30-seconds instead 
twice every 30-seconds.  Not sure if this solved the CPU issue yet.  The above 
code coincidently is already in master as part of (PR #866).

The issue with all the VPN alerts was exacerbated by this bug, but not the 
root-cause it looks like.  We have another fix in place for 
"/opt/cloud/bin/checkbatchs2svpn.sh".  When a tenant has a lot of S2S VPN 
connections, not all of the statuses are returned when the S2S VPN checks 
occur.  It seems the SSHExecutor doesn't get the entire output of the script if 
there is any delay during execution.  The Check S2S VPN code assumes 
"disconnected" if a S2S  status isn't included in the response (or in our case, 
occasionally the response is cut off and missing a S2S VPN).  Here is an 
example:

2017-04-11 17:05:40,444 DEBUG [c.c.h.x.r.CitrixResourceBase] 
(DirectAgent-190:ctx-e894af45) (logid:cbbccfaa) Executing command in VR: 
/opt/cloud/bin/router_proxy.sh checkbatchs2svpn.sh 169.254.2.130 67.41.109.167 
65.100.18.183 67.41.109.165 67.41.109.166

2017-04-11 17:05:41,836 DEBUG [c.c.a.t.Request] (DirectAgent-190:ctx-e894af45) 
(logid:cbbccfaa) Seq 51-772085861117329631: Processing:  { Ans: , MgmtId: 
345050927939, via: 51(cloudxen01.dsm1.ippathways.net), Ver: v1, Flags: 110, 
[{"com.cloud.agent.api.CheckS2SVpnConnectionsAnswer":{"ipToConnected":{"65.100.18.183":true,"67.41.109.167":true,"67.41.109.165":true},"ipToDetail":{"65.100.18.183":"ISAKMP
 SA found;IPsec SA found;Site-to-site VPN have 
connected","67.41.109.167":"ISAKMP SA found;IPsec SA found;Site-to-site VPN 
have connected","67.41.109.165":"ISAKMP SA found;IPsec SA found;Site-to-site 
VPN have connected"},"details":"67.41.109.167:0:ISAKMP SA found;IPsec SA 
found;Site-to-site VPN have connected&65.100.18.183:0:ISAKMP SA found;IPsec SA 
found;Site-to-site VPN have connected&67.41.109.165:0:ISAKMP SA found;IPsec SA 
found;Site-to-site VPN have connected&","result":true,"wait":0}}] }

A check was requested for 4x S2S VPNs, but the result only returned 3x S2S VPN 
statuses!!  To fix this we changed "/opt/cloud/bin/checkbatchs2svpn.sh" on the 
vRouter as follows.  So far so good, but we won't know until we run for a while 
longer if that was definitely the issue...

ORIGINALLY:
---
for i in $*
do
info=`/opt/cloud/bin/checks2svpn.sh $i`
ret=$?
echo -n "$i:$ret:$info&"
done

NEW:

for i in $*
do
info=`/opt/cloud/bin/checks2svpn.sh $i`
ret=$?
batchInfo+="$i:$ret:$info&"
done
echo -n $batchInfo


Hopefully that makes sense and helps someone else.  PR #1966 has also been very 
important in our environment.



-Original Message-
From: Simon Weller [mailto:swel...@ena.com] 
Sent: Monday, April 10, 2017 5:26 PM
To: dev@cloudstack.apache.org
Subject: Re: How are router checks scheduled?

We've seen something very similar. By any chance, are you seeing any strange 
cpu load issues that grow over time as well?

Our team has been chasing down an issue that appears to be related to s2s vpn 
checks, where a race condition seems to occur that threads out the cpu over 
time.




From: Sean Lair 
Sent: Monday, April 10, 2017 5:11 PM
To: dev@cloudstack.apache.org
Subject: RE: How are router checks scheduled?

I do have two mgmt servers, but I have one powered off.  The log excerpt is 
from one management server.  This can be checked in the environment by running:

cat /var/log/cloudstack/management/management-server.log | grep "routers to 
update status"

This is happening both in prod and our dev environment.  I've been digging 
through the code and have some ideas and will post back later if successful in 
correcting the issue.

The biggest problem is the race condition between the two simultaneous S2S VPN 
checks.  They step on each other and spam the heck out of us with the email 
alerting.



-Original Message-
From: Simon Weller [mailto:swel...@ena.com]
Sent: Monday, April 10, 2017 5:02 PM
To: dev@cloudstack.apache.org
Subject: RE: How are router checks scheduled?

Do you have 2 management servers?

Simon Weller/615-312-6068

-Original Message-

Re: [4.10] VPN disconnected while network changes taken

2017-04-11 Thread Will Stevens
Is this a Site-to-Site VPN connection or the Remote Access VPN that is
losing connection when new network configs are introduced?

Thanks,

*Will STEVENS*
Lead Developer



On Sat, Apr 8, 2017 at 12:49 AM, Haijiao <18602198...@163.com> wrote:

>
>
> Hi,
>
>
>
> We built and tested the ACS 4.10 from the latest master (Apr.7, 2017)
>
>
>
> Our environment is,
> - ACS: 4.10.0.0-SNAPSHOT
> - Management Server: Centos7.2 1151
> - Host: Centos7.2 1151
> - System VM: systemvm64template-master-4.10.0-kvm.qcow2.bz2
> - Network: Isolated Network
> - Network Offering: Offering for Isolated networks with Source Nat service
> enabled
>
>
> We can successfully setup VPN and it works as expected.  However,  once we
> take any network changes below, the VPN connnection will be immediately
> disconnected.
>
>
> - Update firewall rules (add/change)
> - Update port fowarding
> - Update LB
> - Add one more VPN account
>
>
> Is there some configuration we missed ?  Or it's due to the new VPN
> component (StrongSWAN) introcuced in 4.10 ?
>
>
> Thanks in advance !
>
>
>
>
>
>


Re: MySQL 5.7 and SQL Mode

2017-04-11 Thread Wido den Hollander

> Op 11 april 2017 om 10:51 schreef Rohit Yadav :
> 
> 
> Hi Wido,
> 
> 
> You're right, MySQL 5.7 has by default strict(er) sql mode enabled. To make 
> CloudStack work with MySQL 5.7, changing the sql mode makes MySQL 5.7 behave 
> like 5.6 with which the mgmt server/usage server should work.
> 

Yes, but a client can do this as well. It doesn't have to be server wide.

Do you know where the MySQL client is initiated by CloudStack? A few lines of 
code there should/might be enough.

Wido

> 
> Regards.
> 
> 
> From: Wido den Hollander 
> Sent: 10 April 2017 20:30:55
> To: dev@cloudstack.apache.org
> Subject: MySQL 5.7 and SQL Mode
> 
> Hi,
> 
> While testing with Ubuntu 16.04 and CloudStack 4.10 (from master) I've ran 
> into this error on the management server:
> 
> com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Expression #1 of 
> SELECT list is not in GROUP BY clause and contains nonaggregated column 
> 'cloud.i.id' which is not functionally dependent on columns in GROUP BY 
> clause; this is incompatible with sql_mode=only_full_group_by
> at sun.reflect.GeneratedConstructorAccessor50.newInstance(Unknown 
> Source)
> at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
> at com.mysql.jdbc.Util.getInstance(Util.java:387)
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:939)
> at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3878)
> at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3814)
> 
> I was able to fix this to add this to my my.cnf:
> 
> [mysqld]
> sql_mode = 
> "STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
> 
> Should we maybe set the SQL Mode as a connection parameter when connecting to 
> the DB? This prevents users from having to set this manually in their MySQL 
> configuration.
> 
> Did somebody else run into this with MySQL 5.7?
> 
> Thank you,
> 
> Wido
> 
> rohit.ya...@shapeblue.com 
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>   
>  
>


[GitHub] cloudstack issue #1908: CLOUDSTACK-9317: Fixed disable static nat on leaving...

2017-04-11 Thread ProjectMoon
Github user ProjectMoon commented on the issue:

https://github.com/apache/cloudstack/pull/1908
  
Looks good now. Not sure what's up with Jenkins though.


---
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: [VOTE] Apache Cloudstack should join the gitbox experiment.

2017-04-11 Thread Nux!
+1

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Rohit Yadav" 
> To: "dev" 
> Sent: Tuesday, 11 April, 2017 09:28:49
> Subject: Re: [VOTE] Apache Cloudstack should join the gitbox experiment.

> +1
> 
> 
> From: Daan Hoogland 
> Sent: 10 April 2017 21:52:06
> To: dev
> Subject: [VOTE] Apache Cloudstack should join the gitbox experiment.
> 
> In the Apache foundation an experiment has been going on to host
> mirrors of Apache project on github with more write access then just
> to the mirror-bot. For those projects committers can merge on github
> and put labels on PRs.
> 
> I move to have the project added to the gitbox experiment
> please cast your votes
> 
> +1 CloudStack should be added to the gitbox experiment
> +-0 I don't care
> -1 CloudStack shouldn't be added to the gitbox experiment and give your 
> reasons
> 
> thanks,
> --
> Daan
> 
> rohit.ya...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue


[GitHub] cloudstack issue #1953: CLOUDSTACK-9794: Unable to attach more than 14 devic...

2017-04-11 Thread sureshanaparti
Github user sureshanaparti commented on the issue:

https://github.com/apache/cloudstack/pull/1953
  
Changes in the PR #2019.

Maximum data volumes supported field, in the _hypervisor_capabilities_ 
table, should be the attachable data volumes to the VM. This excludes the ROOT 
disk and CD-ROM. So, the hypervisor has to support max devices = maximum data 
volumes supported + 2 (ROOT and CD-ROM).

0(zero) index is considered in `getDeviceId()` for ROOT disk as the ROOT 
disk attach cmd uses this method. This has to be refactored.


---
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 issue #1721: CLOUDSTACK-9557 Deploy from VMsnapshot fails with ex...

2017-04-11 Thread yvsubhash
Github user yvsubhash commented on the issue:

https://github.com/apache/cloudstack/pull/1721
  
Closing this as change would be added to #1664 


---
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 #1721: CLOUDSTACK-9557 Deploy from VMsnapshot fails ...

2017-04-11 Thread yvsubhash
Github user yvsubhash closed the pull request at:

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


---
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 issue #1664: CLOUDSTACK-8676 Deploy user instance from vm snapsho...

2017-04-11 Thread yvsubhash
Github user yvsubhash commented on the issue:

https://github.com/apache/cloudstack/pull/1664
  
@sateesh-chodapuneedi  Please take care of the code change in the following 
PR as well  as i am closing 
https://github.com/apache/cloudstack/pull/1721

The change is as follows 

  server/src/com/cloud/vm/UserVmManagerImpl.java
 @@ -3242,8 +3242,9 @@ protected UserVm createVirtualMachine(DataCenter 
zone, ServiceOffering serviceOf
  throw new InvalidParameterValueException("Installing from ISO 
requires an ISO that is bootable: " + template.getId());
  }
  
 -// Check templates permissions
 -_accountMgr.checkAccess(owner, AccessType.UseEntry, false, 
template);
 +// Check templates permissions when the create vm is not from 
snapshot
 +if(vmSnapshot == null)
 +_accountMgr.checkAccess(owner, AccessType.UseEntry, false, 
template);
  
  // check if the user data is correct
  validateUserData(userData, httpmethod);



---
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 issue #827: BUG-ID: CLOUDSTACK-8849: Usage job should stop usage ...

2017-04-11 Thread yvsubhash
Github user yvsubhash commented on the issue:

https://github.com/apache/cloudstack/pull/827
  
Closing this PR


---
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 #827: BUG-ID: CLOUDSTACK-8849: Usage job should stop...

2017-04-11 Thread yvsubhash
Github user yvsubhash closed the pull request at:

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


---
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: growing #threads problem

2017-04-11 Thread Daan Hoogland
Nproc == -1 , both soft and hard so unless this is inherited from VMs in nested 
environments this can’t be the problem

Also no strange unexpected exceptions found, only failed connections to hosts 
during startup and environment configuration.

On 11/04/17 12:01, "Koushik Das"  wrote:

Check the MS logs to see if there are OOM exceptions due to threads not 
available. If that’s the case then you may have to adjust nproc limits in 
/etc/security/limits.conf.


On 11/04/17, 1:11 PM, "Daan Hoogland"  wrote:

My next step is to rebase my change to 4.9 and see if that works. But 
that is a stab in the dark I must admit.

On 11/04/17 09:30, "Daan Hoogland"  wrote:

Devs,

While I am creating a runnable tob e scheduled I ran into a 
problem. My scheduledJob nevers gets called and looking at the process the 
number of threads of type “DirectAgent-*” and “DirectAgentCronJob-*” keep 
growing. My job is scanning for templates in the primary storage and references 
to it in the database, so it seems to be unrelated. This is a 4.10 vmware based 
nested environment. Has anyone seen such a behaviour? I am still looking but I 
hope I won’t be reporting a blocker for 4.10 on this….

Any clue is welcome at this point,

daan.hoogl...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 




daan.hoogl...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 






DISCLAIMER
==
This e-mail may contain privileged and confidential information which is 
the property of Accelerite, a Persistent Systems business. It is intended only 
for the use of the individual or entity to which it is addressed. If you are 
not the intended recipient, you are not authorized to read, retain, copy, 
print, distribute or use this message. If you have received this communication 
in error, please notify the sender and delete all copies of this message. 
Accelerite, a Persistent Systems business does not accept any liability for 
virus infected mails.



daan.hoogl...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 



[GitHub] cloudstack issue #1879: CLOUDSTACK-9719: [VMware] VR loses DHCP settings and...

2017-04-11 Thread sureshanaparti
Github user sureshanaparti commented on the issue:

https://github.com/apache/cloudstack/pull/1879
  
@karuturi Can you merge this PR. Current base branch is 4.9. Is that OK or 
Shall I change to master?


---
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: growing #threads problem

2017-04-11 Thread Koushik Das
Check the MS logs to see if there are OOM exceptions due to threads not 
available. If that’s the case then you may have to adjust nproc limits in 
/etc/security/limits.conf.


On 11/04/17, 1:11 PM, "Daan Hoogland"  wrote:

My next step is to rebase my change to 4.9 and see if that works. But that 
is a stab in the dark I must admit.

On 11/04/17 09:30, "Daan Hoogland"  wrote:

Devs,

While I am creating a runnable tob e scheduled I ran into a problem. My 
scheduledJob nevers gets called and looking at the process the number of 
threads of type “DirectAgent-*” and “DirectAgentCronJob-*” keep growing. My job 
is scanning for templates in the primary storage and references to it in the 
database, so it seems to be unrelated. This is a 4.10 vmware based nested 
environment. Has anyone seen such a behaviour? I am still looking but I hope I 
won’t be reporting a blocker for 4.10 on this….

Any clue is welcome at this point,

daan.hoogl...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 




daan.hoogl...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 






DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the 
property of Accelerite, a Persistent Systems business. It is intended only for 
the use of the individual or entity to which it is addressed. If you are not 
the intended recipient, you are not authorized to read, retain, copy, print, 
distribute or use this message. If you have received this communication in 
error, please notify the sender and delete all copies of this message. 
Accelerite, a Persistent Systems business does not accept any liability for 
virus infected mails.


[GitHub] cloudstack issue #1960: [4.11/Future] CLOUDSTACK-9782: Host HA and KVM HA pr...

2017-04-11 Thread koushik-das
Github user koushik-das commented on the issue:

https://github.com/apache/cloudstack/pull/1960
  
@abhinandanprateek Initially I also thought that this is about host HA. But 
after reading the FS I had doubts and asked about the definition of "host HA". 
If you refer to the discussion on dev@, it was mentioned that "host HA" would 
trigger VM HA so that they are started on other hosts. This is the same as 
existing VM HA and I don't think we should refer to it as host HA.

@rhtyd I had replied with some specific questions/comments on the 
discussion thread. I didn't see any responses on those.

Basically I would like to see a clear definition of "host HA". When a host 
is HA'd what all should happen? If the definition provided is nothing but VM HA 
then the question comes why a new framework when the existing framework is 
already there. 


---
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 issue #1879: CLOUDSTACK-9719: [VMware] VR loses DHCP settings and...

2017-04-11 Thread rhtyd
Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1879
  
Thanks @sureshanaparti, since @karuturi is the RM I've avoided merging any 
PRs. @karuturi if you're busy and need a co-pilot I can help review and merge 
some outstanding PRs that have enough LGTMs and regression test results.


---
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 #1908: CLOUDSTACK-9317: Fixed disable static nat on ...

2017-04-11 Thread jayapalu
Github user jayapalu commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1908#discussion_r110854129
  
--- Diff: server/src/com/cloud/network/router/CommandSetupHelper.java ---
@@ -848,13 +849,38 @@ public int compare(final PublicIpAddress o1, final 
PublicIpAddress o2) {
 associatedWithNetworkId = ipAddrList.get(0).getNetworkId();
 }
 
+// for network if the ips does not have any rules, then only 
last ip
+List userIps = 
_ipAddressDao.listByAssociatedNetwork(associatedWithNetworkId, null);
+
+int ipsWithrules = 0;
+int ipsStaticNat = 0;
+for (IPAddressVO ip : userIps) {
+if ( _rulesDao.countRulesByIpIdAndState(ip.getId(), 
FirewallRule.State.Active) > 0 ) {
--- End diff --

Updated


---
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 #1908: CLOUDSTACK-9317: Fixed disable static nat on ...

2017-04-11 Thread jayapalu
Github user jayapalu commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1908#discussion_r110854097
  
--- Diff: setup/db/db/schema-4920to41000.sql ---
@@ -230,5 +230,11 @@ JOIN `cloud`.`vm_snapshots` s ON 
(s.service_offering_id = o.id AND s.vm_id = v.i
 WHERE (o.cpu is null AND o.speed IS NULL AND o.ram_size IS NULL) AND
 (d.name = 'cpuNumber' OR d.name = 'cpuSpeed' OR d.name = 'memory');
 
+<<< 1c48deefe9b534198cad19b5528ce0dcfa8d04a5
 -- CLOUDSTACK-9827: Storage tags stored in multiple places
 DROP VIEW IF EXISTS `cloud`.`storage_tag_view`;
+
+ALTER TABLE `user_ip_address` ADD COLUMN `rule_state` VARCHAR(32) COMMENT 
'static  rule state while removing';
+===
--- End diff --

Corrected


---
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 #1908: CLOUDSTACK-9317: Fixed disable static nat on ...

2017-04-11 Thread jayapalu
Github user jayapalu commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1908#discussion_r110854055
  
--- Diff: setup/db/db/schema-4920to41000.sql ---
@@ -230,5 +230,11 @@ JOIN `cloud`.`vm_snapshots` s ON 
(s.service_offering_id = o.id AND s.vm_id = v.i
 WHERE (o.cpu is null AND o.speed IS NULL AND o.ram_size IS NULL) AND
 (d.name = 'cpuNumber' OR d.name = 'cpuSpeed' OR d.name = 'memory');
 
+<<< 1c48deefe9b534198cad19b5528ce0dcfa8d04a5
--- End diff --

My bad, on multiple times rebase some how I missed it. Corrected now.


---
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 #1908: CLOUDSTACK-9317: Fixed disable static nat on ...

2017-04-11 Thread ProjectMoon
Github user ProjectMoon commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1908#discussion_r110848750
  
--- Diff: setup/db/db/schema-4920to41000.sql ---
@@ -230,5 +230,11 @@ JOIN `cloud`.`vm_snapshots` s ON 
(s.service_offering_id = o.id AND s.vm_id = v.i
 WHERE (o.cpu is null AND o.speed IS NULL AND o.ram_size IS NULL) AND
 (d.name = 'cpuNumber' OR d.name = 'cpuSpeed' OR d.name = 'memory');
 
+<<< 1c48deefe9b534198cad19b5528ce0dcfa8d04a5
 -- CLOUDSTACK-9827: Storage tags stored in multiple places
 DROP VIEW IF EXISTS `cloud`.`storage_tag_view`;
+
+ALTER TABLE `user_ip_address` ADD COLUMN `rule_state` VARCHAR(32) COMMENT 
'static  rule state while removing';
+===
--- End diff --

Conflict line.


---
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 #1908: CLOUDSTACK-9317: Fixed disable static nat on ...

2017-04-11 Thread ProjectMoon
Github user ProjectMoon commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1908#discussion_r110849362
  
--- Diff: server/src/com/cloud/network/router/CommandSetupHelper.java ---
@@ -848,13 +849,38 @@ public int compare(final PublicIpAddress o1, final 
PublicIpAddress o2) {
 associatedWithNetworkId = ipAddrList.get(0).getNetworkId();
 }
 
+// for network if the ips does not have any rules, then only 
last ip
+List userIps = 
_ipAddressDao.listByAssociatedNetwork(associatedWithNetworkId, null);
+
+int ipsWithrules = 0;
+int ipsStaticNat = 0;
+for (IPAddressVO ip : userIps) {
+if ( _rulesDao.countRulesByIpIdAndState(ip.getId(), 
FirewallRule.State.Active) > 0 ) {
--- End diff --

Inconsistent formatting of the parentheses in the `if`. A bit nitpicky, but 
the code has to adhere to format.


---
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 #1908: CLOUDSTACK-9317: Fixed disable static nat on ...

2017-04-11 Thread ProjectMoon
Github user ProjectMoon commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1908#discussion_r110848709
  
--- Diff: setup/db/db/schema-4920to41000.sql ---
@@ -230,5 +230,11 @@ JOIN `cloud`.`vm_snapshots` s ON 
(s.service_offering_id = o.id AND s.vm_id = v.i
 WHERE (o.cpu is null AND o.speed IS NULL AND o.ram_size IS NULL) AND
 (d.name = 'cpuNumber' OR d.name = 'cpuSpeed' OR d.name = 'memory');
 
+<<< 1c48deefe9b534198cad19b5528ce0dcfa8d04a5
--- End diff --

It seems you got a conflict stuck in the file.


---
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: MySQL 5.7 and SQL Mode

2017-04-11 Thread Rohit Yadav
Hi Wido,


You're right, MySQL 5.7 has by default strict(er) sql mode enabled. To make 
CloudStack work with MySQL 5.7, changing the sql mode makes MySQL 5.7 behave 
like 5.6 with which the mgmt server/usage server should work.


Regards.


From: Wido den Hollander 
Sent: 10 April 2017 20:30:55
To: dev@cloudstack.apache.org
Subject: MySQL 5.7 and SQL Mode

Hi,

While testing with Ubuntu 16.04 and CloudStack 4.10 (from master) I've ran into 
this error on the management server:

com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Expression #1 of 
SELECT list is not in GROUP BY clause and contains nonaggregated column 
'cloud.i.id' which is not functionally dependent on columns in GROUP BY clause; 
this is incompatible with sql_mode=only_full_group_by
at sun.reflect.GeneratedConstructorAccessor50.newInstance(Unknown 
Source)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
at com.mysql.jdbc.Util.getInstance(Util.java:387)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:939)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3878)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3814)

I was able to fix this to add this to my my.cnf:

[mysqld]
sql_mode = 
"STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

Should we maybe set the SQL Mode as a connection parameter when connecting to 
the DB? This prevents users from having to set this manually in their MySQL 
configuration.

Did somebody else run into this with MySQL 5.7?

Thank you,

Wido

rohit.ya...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 



Re: [VOTE] Apache Cloudstack should join the gitbox experiment.

2017-04-11 Thread Rohit Yadav
+1


From: Daan Hoogland 
Sent: 10 April 2017 21:52:06
To: dev
Subject: [VOTE] Apache Cloudstack should join the gitbox experiment.

In the Apache foundation an experiment has been going on to host
mirrors of Apache project on github with more write access then just
to the mirror-bot. For those projects committers can merge on github
and put labels on PRs.

I move to have the project added to the gitbox experiment
please cast your votes

+1 CloudStack should be added to the gitbox experiment
+-0 I don't care
-1 CloudStack shouldn't be added to the gitbox experiment and give your reasons

thanks,
--
Daan

rohit.ya...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 



Re: Need help in getting CentOS 7 templates to run on Cloudstack 4.9 and VMWare

2017-04-11 Thread Nux!
Ilya,

Yes, my new images come with $username / password, just like the Centos 5.5 
default template.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "ilya" 
> To: "dev" 
> Sent: Monday, 10 April, 2017 20:58:32
> Subject: Re: Need help in getting CentOS 7 templates to run on Cloudstack 4.9 
> and VMWare

> Nux
> 
> FYI - i had a simalar issue - the password was not set properly (or at
> all). I tracked it down to VR problem on 4.5. with ubuntu images/
> 
> If possible, please enable static username password please if password
> update via cloudstack fails.
> 
> Thanks
> ilya
> 
> 
> On 3/31/17 1:08 PM, Nux! wrote:
>> Hm, ok, so this is a corner case I'll need to cover then.
>> But how did the password/sshkey feature work, if at
>> 
>> --
>> Sent from the Delta quadrant using Borg technology!
>> 
>> Nux!
>> www.nux.ro
>> 
>> - Original Message -
>>> From: "Syed Ahmed" 
>>> To: "dev" 
>>> Sent: Friday, 31 March, 2017 19:10:22
>>> Subject: Re: Need help in getting CentOS 7 templates to run on Cloudstack 
>>> 4.9
>>> and VMWare
>> 
>>> I'm using a shared network so the VR is not the gateway.
>>>
>>> On Fri, Mar 31, 2017 at 12:49 PM, Nux!  wrote:
 Syed,

 I just checked and centos user is added to sudoers, if it was not added to 
 your
 instance, then cloud-init did not complete properly.
 I have seen this in the past when the data source is not reached properly.
 I would double check the cloud-init logs if I were you, make sure eth0 was 
 up
 properly and the VR accessible.

 http://storage1.static.itmages.com/i/17/0331/h_1490978820_8688282_efdf2d86f5.png

 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro

 - Original Message -
> From: "Nux!" 
> To: "dev" 
> Sent: Friday, 31 March, 2017 17:01:43
> Subject: Re: Need help in getting CentOS 7 templates to run on Cloudstack 
> 4.9
> and VMWare

> Thanks, I'll check.
> Cloud-init is supposed to add the user to sudo.
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> - Original Message -
>> From: "Syed Ahmed" 
>> To: "dev" 
>> Sent: Friday, 31 March, 2017 16:54:21
>> Subject: Re: Need help in getting CentOS 7 templates to run on 
>> Cloudstack 4.9
>> and VMWare
>
>> Hi Nux,
>>
>> One of the things that I've seen is that the user centos is not added
>> to the sudoers.
>>
>> On Fri, Mar 31, 2017 at 8:06 AM, Nux!  wrote:
>>> Excellent, let me know if you hit any more issues.
>>>
>>> --
>>> Sent from the Delta quadrant using Borg technology!
>>>
>>> Nux!
>>> www.nux.ro
>>>
>>> - Original Message -
 From: "Syed Ahmed" 
 To: "dev" 
 Sent: Friday, 31 March, 2017 12:58:21
 Subject: Re: Need help in getting CentOS 7 templates to run on 
 Cloudstack 4.9
 and VMWare
>>>
 Hey Nux,

 It worked! Thanks for fixing this. I am able to ping the VM now.

 On Fri, Mar 31, 2017 at 4:17 AM, Nux!  wrote:
> Syed,
>
> I am aware of the renaming issue and avoid it, if you check my 
> kickstart I
> specifically add biosdevname=0 and net.ifnames=0
> http://jenkins.openvm.eu/cloudstack/config/centos/centos7-vmware.cfg
>
> However yesterday Rohit brought to my attention the ova generation 
> script
> inserts a e1000 eth0 which apparently breaks things in certain 
> situations.
> https://github.com/apache/cloudstack/pull/2022#issuecomment-290339928
>
> I corrected the script and built a new image here, please give it a 
> try.
> http://jenkins.openvm.eu/cloudstack/centos/x86_64/centos-7-vmware.ova
>
> If the problem persists, can you go in single user mode and check the
> /proc/cmdline and share it here?
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> - Original Message -
>> From: "Syed Ahmed" 
>> To: "Nux!" 
>> Cc: "dev" 
>> Sent: Thursday, 30 March, 2017 23:54:36
>> Subject: Re: Need help in getting CentOS 7 templates to run on 
>> Cloudstack 4.9
>> and VMWare
>
>> I tried the one you provided however, it still has the same problem
>> 

Re: growing #threads problem

2017-04-11 Thread Daan Hoogland
My next step is to rebase my change to 4.9 and see if that works. But that is a 
stab in the dark I must admit.

On 11/04/17 09:30, "Daan Hoogland"  wrote:

Devs,

While I am creating a runnable tob e scheduled I ran into a problem. My 
scheduledJob nevers gets called and looking at the process the number of 
threads of type “DirectAgent-*” and “DirectAgentCronJob-*” keep growing. My job 
is scanning for templates in the primary storage and references to it in the 
database, so it seems to be unrelated. This is a 4.10 vmware based nested 
environment. Has anyone seen such a behaviour? I am still looking but I hope I 
won’t be reporting a blocker for 4.10 on this….

Any clue is welcome at this point,

daan.hoogl...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 




daan.hoogl...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 



growing #threads problem

2017-04-11 Thread Daan Hoogland
Devs,

While I am creating a runnable tob e scheduled I ran into a problem. My 
scheduledJob nevers gets called and looking at the process the number of 
threads of type “DirectAgent-*” and “DirectAgentCronJob-*” keep growing. My job 
is scanning for templates in the primary storage and references to it in the 
database, so it seems to be unrelated. This is a 4.10 vmware based nested 
environment. Has anyone seen such a behaviour? I am still looking but I hope I 
won’t be reporting a blocker for 4.10 on this….

Any clue is welcome at this point,

daan.hoogl...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 



[GitHub] cloudstack issue #1879: CLOUDSTACK-9719: [VMware] VR loses DHCP settings and...

2017-04-11 Thread sureshanaparti
Github user sureshanaparti commented on the issue:

https://github.com/apache/cloudstack/pull/1879
  
@rhtyd This PR has 2 LGTMs, is targeted to 4.9. Can you merge this PR to 
4.9 or Shall I change the base branch to master?


---
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: [VOTE] Apache Cloudstack should join the gitbox experiment.

2017-04-11 Thread Marc-Aurèle Brothier
+1

On Tue, Apr 11, 2017 at 7:38 AM, Wido den Hollander  wrote:

> +1
>
> > Op 10 april 2017 om 18:22 schreef Daan Hoogland  >:
> >
> >
> > In the Apache foundation an experiment has been going on to host
> > mirrors of Apache project on github with more write access then just
> > to the mirror-bot. For those projects committers can merge on github
> > and put labels on PRs.
> >
> > I move to have the project added to the gitbox experiment
> > please cast your votes
> >
> > +1 CloudStack should be added to the gitbox experiment
> > +-0 I don't care
> > -1 CloudStack shouldn't be added to the gitbox experiment and give your
> reasons
> >
> > thanks,
> > --
> > Daan
>


[GitHub] cloudstack issue #2022: [dvswitch blocker] CLOUDSTACK-9591: Fix systemvmtemp...

2017-04-11 Thread borisstoyanov
Github user borisstoyanov commented on the issue:

https://github.com/apache/cloudstack/pull/2022
  
I don't think BO tests failures are related to this change. I think this is 
ready to merge.
cc: @karuturi 


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