[GitHub] cloudstack pull request: CLOUDSTACK-8759 - Destroying VPC router r...

2015-09-08 Thread koushik-das
Github user koushik-das commented on the pull request:

https://github.com/apache/cloudstack/pull/773#issuecomment-138493272
  
Looks like this has broken regular isolated network. VR is not going to 
'up' state as SSH is failing on the link local ip. The order of the interfaces 
on VR has changed and as a result the public IP is getting configured for ssh 
as below.

tcp0  0 10.147.30.243:3922  0.0.0.0:*   LISTEN 



---
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: UI Change (Adding a message while configu...

2015-09-08 Thread nitin-maharana
Github user nitin-maharana closed the pull request at:

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


---
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-8727: API call listVirtualMach...

2015-09-08 Thread kansal
Github user kansal commented on the pull request:

https://github.com/apache/cloudstack/pull/685#issuecomment-138492797
  
@DaanHoogland @kishankavala Have made some changes to test cases. Please 
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.
---


[GitHub] cloudstack pull request: debian: Updated dependencies for Packages

2015-09-08 Thread resmo
Github user resmo commented on the pull request:

https://github.com/apache/cloudstack/pull/783#issuecomment-138463931
  
IMHO we need some more changes here, and it might be more clear and easier 
to handle if we would make a package per ubuntu release and debian release, 
beginning from ubuntu 12.04.x and debian 7.x

Some problems I have identified.
* tomcat6.conf in 
https://github.com/apache/cloudstack/blob/master/debian/cloudstack-management.install#L28
* jvm hardcoded 
https://github.com/apache/cloudstack/blob/master/packaging/debian/init/cloud-management#L68
* tomcat6.conf in 
https://github.com/apache/cloudstack/blob/master/packaging/debian/init/cloud-management#L38
* TOMCAT6_USER=tomcat6 in 
https://github.com/apache/cloudstack/blob/master/packaging/debian/init/cloud-management#L64


---
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: debian: Updated dependencies for Packages

2015-09-08 Thread resmo
Github user resmo commented on the pull request:

https://github.com/apache/cloudstack/pull/783#issuecomment-138466873
  
It depends, openjdk-8 would not work with current init script in my opinion.


---
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: sysctl: don't modify /etc/sysctl.conf

2015-09-08 Thread wido
Github user wido commented on the pull request:

https://github.com/apache/cloudstack/pull/776#issuecomment-138476262
  
@vincentbernat Agreed, if we want a persistent file we should fix it in the 
packaging and not in the Python code.

Code should never create files in a dynamic way like this.


---
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: build-master-jdk18 #335

2015-09-08 Thread jenkins
See 

Changes:

[wido] debian: Updated dependencies for Packages

--
[...truncated 396 lines...]
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.223 sec - in 
com.cloud.utils.log.CglibThrowableRendererTest
Running com.cloud.utils.UuidUtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.057 sec - in 
com.cloud.utils.UuidUtilsTest
Running com.cloud.utils.crypto.RSAHelperTest
2015-09-08 09:06:55,103 INFO  [utils.crypt.RSAHelper] (main:) [ignored]error 
during public key encryption: Unsupported format
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.851 sec - in 
com.cloud.utils.crypto.RSAHelperTest
Running com.cloud.utils.crypto.EncryptionSecretKeyCheckerTest
2015-09-08 09:06:55,213 DEBUG [utils.crypt.EncryptionSecretKeyChecker] (main:) 
Encryption Type: null
2015-09-08 09:06:55,213 DEBUG [utils.crypt.EncryptionSecretKeyChecker] (main:) 
Encryption Type: file
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.038 sec - in 
com.cloud.utils.crypto.EncryptionSecretKeyCheckerTest
Running com.cloud.utils.PropertiesUtilsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec - in 
com.cloud.utils.PropertiesUtilsTest
Running com.cloud.utils.exception.ExceptionUtilTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
com.cloud.utils.exception.ExceptionUtilTest
Running com.cloud.utils.encoding.UrlEncoderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec - in 
com.cloud.utils.encoding.UrlEncoderTest
Running com.cloud.utils.UriUtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec - in 
com.cloud.utils.UriUtilsTest
Running com.cloud.utils.HttpUtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.061 sec - in 
com.cloud.utils.HttpUtilsTest
Running com.cloud.utils.backoff.impl.ConstantTimeBackoffTest
2015-09-08 09:06:55,481 INFO  [backoff.impl.ConstantTimeBackoff] (Thread-1:) 
Thread Thread-1 interrupted while waiting for retry
2015-09-08 09:06:55,586 DEBUG [backoff.impl.ConstantTimeBackoffTest] (main:) 
thread started
2015-09-08 09:06:55,586 DEBUG [backoff.impl.ConstantTimeBackoffTest] 
(Thread-2:) before
2015-09-08 09:06:55,688 DEBUG [backoff.impl.ConstantTimeBackoffTest] (main:) 
testing wakeup
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.326 sec - in 
com.cloud.utils.backoff.impl.ConstantTimeBackoffTest
Running com.cloud.utils.ProcessUtilTest
2015-09-08 09:06:55,691 INFO  [backoff.impl.ConstantTimeBackoff] (Thread-2:) 
Thread Thread-2 interrupted while waiting for retry
2015-09-08 09:06:55,691 DEBUG [backoff.impl.ConstantTimeBackoffTest] 
(Thread-2:) after
2015-09-08 09:06:55,715 DEBUG [cloud.utils.ProcessUtil] (main:) 
environment.properties could not be opened
2015-09-08 09:06:55,758 DEBUG [cloud.utils.ProcessUtil] (main:) 
environment.properties could not be opened
2015-09-08 09:06:55,758 DEBUG [cloud.utils.ProcessUtil] (main:) Executing: bash 
-c ps -p 123456 
2015-09-08 09:06:55,887 DEBUG [cloud.utils.ProcessUtil] (main:) Exit value is 1
2015-09-08 09:06:55,887 DEBUG [cloud.utils.ProcessUtil] (main:)   PID TTY   
   TIME CMD
2015-09-08 09:06:55,889 DEBUG [cloud.utils.ProcessUtil] (main:) Executing: bash 
-c echo $PPID 
2015-09-08 09:06:55,891 DEBUG [cloud.utils.ProcessUtil] (main:) Execution is 
successful.
2015-09-08 09:06:55,898 DEBUG [cloud.utils.ProcessUtil] (main:) 
environment.properties could not be opened
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.216 sec - in 
com.cloud.utils.ProcessUtilTest
Running com.cloud.utils.PasswordGeneratorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec - in 
com.cloud.utils.PasswordGeneratorTest
Running com.cloud.utils.rest.HttpUriRequestBuilderTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.038 sec - in 
com.cloud.utils.rest.HttpUriRequestBuilderTest
Running com.cloud.utils.rest.HttpStatusCodeHelperTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in 
com.cloud.utils.rest.HttpStatusCodeHelperTest
Running com.cloud.utils.rest.RESTServiceConnectorTest
2015-09-08 09:06:56,194 DEBUG [utils.rest.RESTServiceConnector] (main:) 
Executing retrieve object on /somepath
2015-09-08 09:06:56,195 DEBUG [utils.rest.BasicRestClient] (main:) Executig GET 
request on https://localhost:443/somepath
2015-09-08 09:06:56,205 DEBUG [utils.rest.RESTServiceConnector] (main:) 
Executed request: GET /somepath HTTP/1.1 status was HTTP/1.1 200 OK
2015-09-08 09:06:56,206 DEBUG [utils.rest.RESTServiceConnector] (main:) 
Response entity: [{somethig_not_type : "WrongType"}]
2015-09-08 09:06:56,235 DEBUG [utils.rest.BasicRestClient] (main:) Closing HTTP 
connection
2015-09-08 09:06:56,249 DEBUG [utils.rest.RESTServiceConnector] (main:) 
Executing create object on /somepath

[GitHub] cloudstack pull request: UI Change (Adding a message while configu...

2015-09-08 Thread nitin-maharana
GitHub user nitin-maharana opened a pull request:

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

UI Change (Adding a message while configuring firewall rules)

Changes made in network.js file.

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

$ git pull https://github.com/nitin-maharana/cloudstack CloudStack-Nitin1

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

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


commit 046d4798fdb1b0d514f1eee15a4711ca8faca86d
Author: Nitin Kumar Maharana 
Date:   2015-09-04T11:28:51Z

CLOUDSTACK-8805: Domains become inactive automatically.
Handled the '%' case by replacing that with a literal character rather than 
a wildcard character.

commit acb665a4dacb71fb8b6faecc734559ad8e922016
Author: Nitin Kumar Maharana 
Date:   2015-09-08T09:02:06Z

CLOUDSTACK-8821: Provide appropriate message in the UI when configuring the 
Firewall rules.




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


CCP-4.5.0: Adding additional interfaces are not accepting on VMs if the VM has vm snapshots

2015-09-08 Thread anil lakineni
Hi All,

We are facing issues when adding additional interfaces on VMs if VM has vm
snapshots. Issue is VM not accepting to add additional interface due to VM
snapshots.

Error is: *Add netowrk to VM Action failed - Service Exception : NIC cannot
be added to VM with VM Snapshots*

I believe that this is not a correct behaviour of CloudPlatform, because we
are able to add additional interfaces on VMs with VM snapshots in remaining
versions of Cloud Stack.

Is it a bug on CCP 4.5.0?? Please let me know if I have to change/modify
any values at CCP
I will be Waiting for your valuable inputs. Thanks in advance.

Using CitrixCloudPlatform 4.5.0 and XenServer 6.2 hosts

Regards,
Anil.


[GitHub] cloudstack pull request: debian: Updated dependencies for Packages

2015-09-08 Thread wido
Github user wido commented on the pull request:

https://github.com/apache/cloudstack/pull/783#issuecomment-138465225
  
@resmo Fair enough. These changes are just some small fixes. A new PR with 
those fixes is fine with me, but I think we can merge this one?


---
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: sysctl: don't modify /etc/sysctl.conf

2015-09-08 Thread wido
Github user wido commented on the pull request:

https://github.com/apache/cloudstack/pull/776#issuecomment-138465073
  
We have to LGTMs. Are we merging this?


---
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-8690:Added remote access vpn a...

2015-09-08 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:

https://github.com/apache/cloudstack/pull/772#issuecomment-138483590
  
Hi @jayapalu @remibergsma @miguelaferreira @DaanHoogland 

I executed the tests mentioned about. Results below:

VPN remote access user limit tests ... === TestName: test_01_VPN_user_limit 
| Status : SUCCESS ===
ok
Test create VPN when L2TP port in use ... === TestName: 
test_02_use_vpn_port | Status : SUCCESS ===
ok
Test create NAT rule when VPN when L2TP enabled ... === TestName: 
test_03_enable_vpn_use_port | Status : SUCCESS ===
ok
Test add new users to existing VPN ... === TestName: test_04_add_new_users 
| Status : SUCCESS ===
ok
Test add duplicate user to existing VPN ... === TestName: 
test_05_add_duplicate_user | Status : SUCCESS ===
ok
Test as global admin, add a new VPN user to an existing VPN entry ... === 
TestName: test_06_add_VPN_user_global_admin | Status : SUCCESS ===
ok
Test as domain admin, add a new VPN user to an existing VPN entry ... === 
TestName: test_07_add_VPN_user_domain_admin | Status : SUCCESS ===
ok

--
Ran 7 tests in 2483.901s

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

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 2 tests in 1560.555s

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


I also had a look at the tests code in order to see if they are covering 
real cases. For the test user, it doesn't really check connection availability. 
It's more about the users, as the name suggested.

Concerning the VPC VPN, it tests quite a lot. It creates a VPC and adds 1 
VM to it, then it creates a VPN on the source nat IP and adds 1 VPN user to it. 
It doesn't test connection though. That would have to be done manually or we 
have to write a Python VPN client connection inside the test code.

In respect to the test_vpc_site2site_vpn test, it creates 2 VPCs, 2 
networks, 2 VMs and 2 VPNs - on each source nat ip address. The cool thing is 
that the test connects the VPCs to each other, so testing the VPN connection in 
this case.

Would that cover your changes, @jayapalu ?

What do you think, @remibergsma @miguelaferreira @DaanHoogland ?

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


[GitHub] cloudstack pull request: CLOUDSTACK-8799 fixed the defalut routes

2015-09-08 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:

https://github.com/apache/cloudstack/pull/784#issuecomment-138450694
  
Hi @bvbharatk 

couple of questions regarding your changes:

1. There was also an issue with VPC VRs, which was reported/fixed here -> 
https://issues.apache.org/jira/browse/CLOUDSTACK-8685. Have you seen this 
issue? Does your change affects the VPC VR (single/redundant)?
2. How did you test it? Could you please share the results of your test 
reports?

I would expect at least the following tests to be executed:

* component/test_vpc_routers.py
* component/test_routers.py
* component/test_vpc_redundant.py
* smoke/test_vm_life_cycle.py

Thanks in advance.

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


[GitHub] cloudstack pull request: sysctl: don't modify /etc/sysctl.conf

2015-09-08 Thread resmo
Github user resmo commented on the pull request:

https://github.com/apache/cloudstack/pull/776#issuecomment-138465486
  
I prefer a persistent config (you know where to search for it) and not a 
dynamic one with hard coded values. If these would be dynamic, then it is clear 
to use the .py. but they are not so why not write them down?


---
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-8799 fixed the defalut routes

2015-09-08 Thread wido
Github user wido commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/784#discussion_r38897976
  
--- Diff: systemvm/patches/debian/config/opt/cloud/bin/cs/CsRedundant.py ---
@@ -261,20 +261,9 @@ def set_master(self):
 
 self.set_lock()
 logging.debug("Setting router to master")
-ads = [o for o in self.address.get_ips() if o.is_public()]
-dev = ''
-for o in ads:
-if dev == o.get_device():
-continue
-cmd2 = "ip link set %s up" % o.get_device()
-if CsDevice(o.get_device(), self.config).waitfordevice():
-CsHelper.execute(cmd2)
-dev = o.get_device()
-logging.info("Bringing public interface %s up" %
- o.get_device())
-else:
-logging.error(
-"Device %s was not ready could not bring it up" % 
o.get_device())
+self.address.process()
+logging.info("added default rotue")
--- End diff --

There is a typo here. Could you fix that?

Also, the logging could be more verbose. To what is the default route 
pointing? We should log that as well.


---
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: debian: Updated dependencies for Packages

2015-09-08 Thread milamberspace
Github user milamberspace commented on the pull request:

https://github.com/apache/cloudstack/pull/783#issuecomment-138449931
  
Check on packages.ubuntu.com for the requirements of version/packages. All 
is good for 12.04/14.04/14.10/15.04.
LGTM
(Perhaps remove the tomcat6: exists only on 12.04, but tomcat7 already 
exists for the ubuntu version)


---
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: debian: Updated dependencies for Packages

2015-09-08 Thread wido
Github user wido commented on the pull request:

https://github.com/apache/cloudstack/pull/783#issuecomment-138475391
  
@resmo Yes, we need to fix that further. It works now on Ubuntu 12.04 and 
14.04, but for the LTS coming in 16.04 we need to have this fixed.


---
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-8690:Added remote access vpn a...

2015-09-08 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:

https://github.com/apache/cloudstack/pull/772#issuecomment-138453360
  
Hi @jayapalu 

I will run the test_vpn_users and test_vpc_vpn tests. Will be back to you 
later.

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


[GitHub] cloudstack pull request: sysctl: don't modify /etc/sysctl.conf

2015-09-08 Thread vincentbernat
Github user vincentbernat commented on the pull request:

https://github.com/apache/cloudstack/pull/776#issuecomment-138473948
  
@resmo the only problem with shipping a `/etc/sysctl.d/cloudstack.conf` is 
that this is more a packaging issue. It has to be handled for all 
distributions. And what about people installing from source? This doesn't seem 
an easy problem.


---
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-8690:Added remote access vpn a...

2015-09-08 Thread jayapalu
Github user jayapalu commented on the pull request:

https://github.com/apache/cloudstack/pull/772#issuecomment-138492302
  
@wilderrodrigues  You can try remote access vpn connection in isolated 
network VR.


---
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-8690:Added remote access vpn a...

2015-09-08 Thread jayapalu
Github user jayapalu commented on the pull request:

https://github.com/apache/cloudstack/pull/772#issuecomment-138491884
  
@wilderrodrigues Configuring  remote access vpn and vpn users is success in 
test cases that covers the code changes. Regarding the remote access vpn 
connection test,. it is not automated. So try manually connecting if it is 
success please give 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: [Blocker/Critical] VR related Issues

2015-09-08 Thread Koushik Das
I am also seeing this issue 
https://issues.apache.org/jira/browse/CLOUDSTACK-8823. This is a blocker for 
regular isolated network as VR is not coming to 'up' state due to ssh failure.



-Original Message-
From: Bharat Kumar [mailto:bharat.ku...@citrix.com] 
Sent: Thursday, 3 September 2015 15:44
To: dev@cloudstack.apache.org
Subject: Re: [Blocker/Critical] VR related Issues

Hi,

found few more issues related to rvr in isolated networks.
There seems to be a problem with the keepalived config and setting up of 
default routes when rvr changes states.

created bugs for these issues.
CLOUDSTACK-8798
CLOUDSTACK-8799

Thanks,
Bharat.

On 12-Aug-2015, at 10:52 am, Bharat Kumar 
> wrote:

Hi,

looks like  there is  one more issue. Conntrackd fails to start in case of rvr 
enabled isolated networks.
created a bug to track this. 
https://issues.apache.org/jira/browse/CLOUDSTACK-8725

Thanks,
Bharat.

On 11-Aug-2015, at 3:03 pm, Kishan Kavala 
> wrote:

Below VR related issues currently open. Most of these issues did not exist in 
4.5.x and are related to VR refactor (persistent VR).

Blocker
https://issues.apache.org/jira/browse/CLOUDSTACK-8690 - Remote Access VPN not 
working

Critical
https://issues.apache.org/jira/browse/CLOUDSTACK-8688 - Default policy for 
INPUT and FORWARD chain is ACCEPT in VR filter table (Wilder is working on this)
https://issues.apache.org/jira/browse/CLOUDSTACK-8681 - CS does not honor the 
default deny egress policy in isolated network
https://issues.apache.org/jira/browse/CLOUDSTACK-8710 - site2site vpn iptables 
rules are not configured on VR
https://issues.apache.org/jira/browse/CLOUDSTACK-8685 - Default route is not 
configured on VPC VR
https://issues.apache.org/jira/browse/CLOUDSTACK-8694  - Monitor service cron 
job not visible







[GitHub] cloudstack pull request: CLOUDSTACK-8690:Added remote access vpn a...

2015-09-08 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:

https://github.com/apache/cloudstack/pull/772#issuecomment-138505642
  
Hi @jayapalu 

The change LGTM regarding the tests I have executed, which covers almost 
the whole thing. If you tested it manually, that's fine by me.

I can help writing a test to cover it, but won't have time to do so in the 
coming weeks. I would say go on with the merge as soon as you get a 2nd LGTM.

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


[GitHub] cloudstack pull request: CLOUDSTACK-8688 - default policies for IN...

2015-09-08 Thread bhaisaab
Github user bhaisaab commented on the pull request:

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


[GitHub] cloudstack pull request: CLOUDSTACK-8800 : Improved the listVirtua...

2015-09-08 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/780#issuecomment-138524943
  
LGTM (though not tested in an environment), anyone wants to review @wido 
@remibergsma @wilderrodrigues ?


---
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-4.5-singlerun #272

2015-09-08 Thread jenkins
See 

--
Started by upstream project "build-4.5-simulator" build number 326
originally caused by:
 Started by upstream project "build-4.5" build number 524
 originally caused by:
  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 
resolved pattern 'xunit.xml'. Configuration error?.
[xUnit] [INFO] - Failing BUILD.
[xUnit] [INFO] 

Request for review: Quota feature PR

2015-09-08 Thread Rohit Yadav
Hi all,

Please help review the PR:
https://github.com/apache/cloudstack/pull/768

The Travis build is having timeout issues on the PR, though all tests are 
passing when the test groups are swapped (see PR for details). Thanks.

Regards,
Rohit Yadav
Software Architect, ShapeBlue


[cid:9DD97B41-04C5-45F0-92A7-951F3E962F7A]


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


[GitHub] cloudstack pull request: CLOUDSTACK-8759 - Destroying VPC router r...

2015-09-08 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:

https://github.com/apache/cloudstack/pull/773#issuecomment-138523786
  
Hi @koushik-das ,

I will have a look into this.

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


[GitHub] cloudstack pull request: Cloudstack 8816 entityuuid missing in som...

2015-09-08 Thread bhaisaab
Github user bhaisaab commented on the pull request:

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


[GitHub] cloudstack pull request: CLOUDSTACK-8799 fixed the defalut routes

2015-09-08 Thread bhaisaab
Github user bhaisaab commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/784#discussion_r38914728
  
--- Diff: systemvm/patches/debian/config/opt/cloud/bin/cs/CsAddress.py ---
@@ -95,9 +95,17 @@ def get_control_if(self):
 return ip
 return None
 
+def check_if_link_up(self,dev):
+cmd="ip link show dev %s | tr '\n' ' ' | cut -d ' ' -f 9"%dev
--- End diff --

can we use a better string processing here, instead of using hardcoded 
cut/trim limits?


---
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-8800 : Improved the listVirtua...

2015-09-08 Thread karuturi
Github user karuturi commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/780#discussion_r38916972
  
--- Diff: 
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
 ---
@@ -2981,11 +2985,16 @@ public VmStatsEntry getVmStat(final Connect conn, 
final String vmName) throws Li
 try {
 dm = getDomain(conn, vmName);
 final DomainInfo info = dm.getInfo();
+final MemoryStatistic[] mems = dm.memoryStats(2);
--- End diff --

What does 2 mean? Can you use a constant and probably add a comment?


---
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: Quota

2015-09-08 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/768#issuecomment-138522610
  
@wido we needed a specific implementation to set quota alerts so we've the 
quota specific alert manager for that; if you look at the codebase we have 4 
difference alert/email classes for sending email/alerts; two in server 
(AlertManagerImpl, ProjectManagerImpl) and two in usage (UsageAlertManagerImpl, 
QuotaAlertManagerImpl); I think we can refactor the redundant code as a utils 
in the utils package which is something we can do


---
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: sysctl: don't modify /etc/sysctl.conf

2015-09-08 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/776#issuecomment-138525668
  
@wido @vincentbernat agree


---
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-8800 : Improved the listVirtua...

2015-09-08 Thread karuturi
Github user karuturi commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/780#discussion_r38917202
  
--- Diff: 
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
 ---
@@ -4663,7 +4663,7 @@ private VirtualMachineGuestOsIdentifier 
translateGuestOsIdentifier(String cpuArc
 String instanceNameCustomField = "value[" + key + "]";
 
 ObjectContent[] ocs =
-hyperHost.getVmPropertiesOnHyperHost(new String[] {"name", 
"summary.config.numCpu", "summary.quickStats.overallCpuUsage", 
instanceNameCustomField});
+hyperHost.getVmPropertiesOnHyperHost(new String[] {"name", 
"summary.config.numCpu", 
"summary.quickStats.overallCpuUsage","summary.quickStats.guestMemoryUsage","resourceConfig.memoryAllocation.limit","config.hardware.memoryMB",
 instanceNameCustomField});
--- End diff --

Can you make them constants and reuse the constants in L4685?


---
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-8821: UI Change

2015-09-08 Thread nitin-maharana
GitHub user nitin-maharana opened a pull request:

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

CLOUDSTACK-8821: UI Change

It provides appropriate message in the UI when configuring the firewall 
rules in Network page.
If the default egress policy is allow, then it says to block traffic. If 
the default egress policy is deny, then it says to allow traffic.

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

$ git pull https://github.com/nitin-maharana/cloudstack CloudStack-Nitin2

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

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


commit 9dee193fdfd1e247ae5197c33df3f0715f77eb71
Author: Nitin Kumar Maharana 
Date:   2015-09-08T10:05:25Z

CLOUDSTACK-8821: Provide appropriate message in the UI when configuring the 
Firewall rules.




---
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-8821: UI Change

2015-09-08 Thread milamberspace
Github user milamberspace commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/786#discussion_r38911089
  
--- Diff: ui/scripts/network.js ---
@@ -1612,6 +1613,36 @@
 });
 }
 });
+
+if (!isConfigRulesMsgShown) {
+isConfigRulesMsgShown = 
true;
+$.ajax({
+url: 
createURL('listNetworkOfferings'),
+data: {
+id: 
args.context.networks[0].networkofferingid
+},
+dataType: 'json',
+async: true,
+success: 
function(json) {
+var response = 
json.listnetworkofferingsresponse.networkoffering ?
+
json.listnetworkofferingsresponse.networkoffering[0] : null;
+
+if (response != 
null) {
+var 
egressdefaultpolicy;
+
+if 
(response.egressdefaultpolicy == true) {
+
egressdefaultpolicy = 'Block';
+} else {
+
egressdefaultpolicy = 'Allow';
+}
+
+
cloudStack.dialog.notice({
+message: 
_l('Configure the rules to ' + egressdefaultpolicy + ' Traffic.')
--- End diff --

Would be great if you can use a localization key from messages.properties 
(by adding the sentence inside) instead of hard code message to allow the 
localization of the web UI. Thanks


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


[GitHub] cloudstack pull request: Quota

2015-09-08 Thread wido
Github user wido commented on the pull request:

https://github.com/apache/cloudstack/pull/768#issuecomment-138519383
  
What does the Quota SMTP server do? Why can't we use the existing 
mechanisms for mailing?


---
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: Quota

2015-09-08 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/768#issuecomment-138519872
  
@wido not a server, just an email client; it takes in quota email template 
and sends out emails


---
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-8825, CLOUDSTACK-8824 : Fixed ...

2015-09-08 Thread anshul1886
GitHub user anshul1886 opened a pull request:

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

CLOUDSTACK-8825, CLOUDSTACK-8824 : Fixed issues if vm.allocation.algorithm 
is set to firstfitleastconsumed

Fixed following issues if vm.allocation.algorithm is set to 
firstfitleastconsumed

1. VM deployment failure if thre is only ZWPS in setup
2. VM migration is impossible from UI

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

$ git pull https://github.com/anshul1886/cloudstack-1 CLOUDSTACK-8824-8825

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

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


commit aed229de466a0b3834cc8983551cf36fcc53
Author: Anshul Gangwar 
Date:   2015-09-08T11:38:59Z

CLOUDSTACK-8825, CLOUDSTACK-8824 : Fixed following issues if 
vm.allocation.algorithm is set to firstfitleastconsumed
1. VM deployment failure if thre is only ZWPS in setup
2. VM migration is impossible from UI




---
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: Quota

2015-09-08 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:

https://github.com/apache/cloudstack/pull/768#issuecomment-138549740
  
Hey @bhaisaab ,

Is there some documentation on the Wiki page on how to test it and what 
results to expects? Code-wise it's a bit to big to go through a full review, 
but I would like to test it against KVM and XenServer 6.2

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


[GitHub] cloudstack pull request: config: doc: add default value 10 in desc...

2015-09-08 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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: [Blocker/Critical] VR related Issues

2015-09-08 Thread Wilder Rodrigues
Hi guys,

Thanks for reporting those issues.

Concerning the following issues…

* Remote Access VPN
  https://github.com/apache/cloudstack/pull/772
* Default INPUT/Forward policies
  https://github.com/apache/cloudstack/pull/765
* Default route not configured on VPC
  https://github.com/apache/cloudstack/pull/784
* site2site VPN
  https://github.com/apache/cloudstack/pull/772

… we already got PRs to be reviewed/tested, but we are lacking response from 
the community on those. All the PRs above already got 1 LGTM. Could you reserve 
some time to review/test what is categorised as blocker so we can move forward?

I will look into the https://issues.apache.org/jira/browse/CLOUDSTACK-8823 
issue and come back to you.

Cheers,
Wilder


On 08 Sep 2015, at 11:41, Koushik Das 
> wrote:

I am also seeing this issue 
https://issues.apache.org/jira/browse/CLOUDSTACK-8823. This is a blocker for 
regular isolated network as VR is not coming to 'up' state due to ssh failure.



-Original Message-
From: Bharat Kumar [mailto:bharat.ku...@citrix.com]
Sent: Thursday, 3 September 2015 15:44
To: dev@cloudstack.apache.org
Subject: Re: [Blocker/Critical] VR related Issues

Hi,

found few more issues related to rvr in isolated networks.
There seems to be a problem with the keepalived config and setting up of 
default routes when rvr changes states.

created bugs for these issues.
CLOUDSTACK-8798
CLOUDSTACK-8799

Thanks,
Bharat.

On 12-Aug-2015, at 10:52 am, Bharat Kumar 
>
 wrote:

Hi,

looks like  there is  one more issue. Conntrackd fails to start in case of rvr 
enabled isolated networks.
created a bug to track this. 
https://issues.apache.org/jira/browse/CLOUDSTACK-8725

Thanks,
Bharat.

On 11-Aug-2015, at 3:03 pm, Kishan Kavala 
>
 wrote:

Below VR related issues currently open. Most of these issues did not exist in 
4.5.x and are related to VR refactor (persistent VR).

Blocker
https://issues.apache.org/jira/browse/CLOUDSTACK-8690 - Remote Access VPN not 
working

Critical
https://issues.apache.org/jira/browse/CLOUDSTACK-8688 - Default policy for 
INPUT and FORWARD chain is ACCEPT in VR filter table (Wilder is working on this)
https://issues.apache.org/jira/browse/CLOUDSTACK-8681 - CS does not honor the 
default deny egress policy in isolated network
https://issues.apache.org/jira/browse/CLOUDSTACK-8710 - site2site vpn iptables 
rules are not configured on VR
https://issues.apache.org/jira/browse/CLOUDSTACK-8685 - Default route is not 
configured on VPC VR
https://issues.apache.org/jira/browse/CLOUDSTACK-8694  - Monitor service cron 
job not visible








[GitHub] cloudstack pull request: CLOUDSTACK-8688 - default policies for IN...

2015-09-08 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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-8688 - default policies for IN...

2015-09-08 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:

https://github.com/apache/cloudstack/pull/765#issuecomment-138529499
  
Thanks, @bhaisaab !


---
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-8800 : Improved the listVirtua...

2015-09-08 Thread karuturi
Github user karuturi commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/780#discussion_r38917337
  
--- Diff: 
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
 ---
@@ -4751,7 +4760,7 @@ private VirtualMachineGuestOsIdentifier 
translateGuestOsIdentifier(String cpuArc
 }
 }
 }
-vmResponseMap.put(name, new 
VmStatsEntry(Integer.parseInt(maxCpuUsage), networkReadKBs, networkWriteKBs, 
Integer.parseInt(numberCPUs), "vm"));
+vmResponseMap.put(name, new 
VmStatsEntry(Double.parseDouble(memkb)*1000,Double.parseDouble(guestMemusage)*1000,Double.parseDouble(memlimit)*1000,
 Double.parseDouble(maxCpuUsage), networkReadKBs, networkWriteKBs, 
Integer.parseInt(numberCPUs), "vm"));
--- End diff --

Is there a possibility that one of the values is not returned and hence can 
be null? calling parseDouble on a null value will throw NPE


---
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: Usage Job failed

2015-09-08 Thread Somesh Naidu
The time is reported in milliseconds "144117719" - look up on the internet 
for an online converter.

Regards,
Somesh


-Original Message-
From: mvs babu [mailto:mvsbabu0...@outlook.com] 
Sent: Monday, September 07, 2015 3:57 AM
To: us...@cloudstack.apache.org
Cc: dev@cloudstack.apache.org
Subject: Re: Usage Job failed

Hi Somesh,

Thank you for your valuable information. 



The problem was solved without any actions made on database after some idle 
time.


Can you please share that how can we get timestamp from '2-1-228-144117719'.


Thank you,
Suneel Mallela





From: Somesh Naidu
Sent: ‎Saturday‎, ‎September‎ ‎5‎, ‎2015 ‎12‎:‎45‎ ‎AM
To: us...@cloudstack.apache.org
Cc: dev@cloudstack.apache.org





I wrote that article, it was for DB cleanup for 3.x version. I have updated it 
here for latest versions and added more tables - 
http://support.citrix.com/article/CTX200918.

I believe the error suggests that duplicate entries found when parsing records 
in table user_statistics for network usage. '2-1-228-144117719' - this 
translates to account_id 2, zone 1, network_id 228 and date Sep 03 2015 
19:59:59 GMT-0400.

Look at the usage logs for log messages "creating networkHelperEntry..." for 
account id 2 having multiple entries matching the above.

Regards,
Somesh

-Original Message-
From: mvs babu [mailto:mvsbabu0...@outlook.com] 
Sent: Friday, September 04, 2015 12:35 AM
To: us...@cloudstack.apache.org
Cc: dev@cloudstack.apache.org
Subject: Re: Usage Job failed

Thank you Abhinandan, I will try this.






Thank you,
Suneel Mallela





From: Abhinandan Prateek
Sent: ‎Thursday‎, ‎September‎ ‎3‎, ‎2015 ‎9‎:‎42‎ ‎PM
To: us...@cloudstack.apache.org
Cc: dev@cloudstack.apache.org





This support article may help:

http://support.citrix.com/article/CTX139043

> On 03-Sep-2015, at 5:16 pm, mvs babu  wrote:
>
> Hi All,
>
>
>
>
> We are getting usage job failed alert in CloudStack UI and found below error 
> message in usage.log,
>
>
>
>
> "ERROR [usage.dao.UsageVMInstanceDaoImpl] (Usage-Job-1:null) error saving 
> usage_network to cloud_usage db
> java.sql.BatchUpdateException: Duplicate entry '2-1-228-144117719' for 
> key 'PRIMARY'"
>
>
>
>
>
> We are using ACS4.3.1. on top of CentOS6.2.
>
>
>
>
> Please help to solve this issue.
>
>
>
>
> Thank you,
> Suneel Mallela

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.


VirtIO disk latency in Wins2012 - repoted wrong

2015-09-08 Thread Andrija Panic
Hi,

just wondering if anyone experienced bug - virtio or Win2012 reated, not
sure, but I expect drivers bug...

In Task Manage you can see average latency for IOs (I was doing FIO disk
benchmark inside Windows) - this shows 1000 bigger latency than what can
bee seen from Resource Manager (and FIO also confirms numbers from Resource
Manager)

Task manager shows ~2000 ms, while FIO and Resource Manager show correct
2ms value.

http://snag.gy/BsOIx.jpg or also attached here...

[image: Inline images 1]

-- 

Andrija Panić


Re: [Blocker/Critical] VR related Issues

2015-09-08 Thread Wilder Rodrigues
Hi guys,

CLOUDSTACK-8823 is a duplicate of 
https://issues.apache.org/jira/browse/CLOUDSTACK-8814, created 2 days ago.

Cheers,
Wilder


On 08 Sep 2015, at 13:35, Wilder Rodrigues 
> wrote:

Hi guys,

Thanks for reporting those issues.

Concerning the following issues…

* Remote Access VPN
 https://github.com/apache/cloudstack/pull/772
* Default INPUT/Forward policies
 https://github.com/apache/cloudstack/pull/765
* Default route not configured on VPC
 https://github.com/apache/cloudstack/pull/784
* site2site VPN
 https://github.com/apache/cloudstack/pull/772

… we already got PRs to be reviewed/tested, but we are lacking response from 
the community on those. All the PRs above already got 1 LGTM. Could you reserve 
some time to review/test what is categorised as blocker so we can move forward?

I will look into the https://issues.apache.org/jira/browse/CLOUDSTACK-8823 
issue and come back to you.

Cheers,
Wilder


On 08 Sep 2015, at 11:41, Koushik Das 
>
 wrote:

I am also seeing this issue 
https://issues.apache.org/jira/browse/CLOUDSTACK-8823. This is a blocker for 
regular isolated network as VR is not coming to 'up' state due to ssh failure.



-Original Message-
From: Bharat Kumar [mailto:bharat.ku...@citrix.com]
Sent: Thursday, 3 September 2015 15:44
To: 
dev@cloudstack.apache.org
Subject: Re: [Blocker/Critical] VR related Issues

Hi,

found few more issues related to rvr in isolated networks.
There seems to be a problem with the keepalived config and setting up of 
default routes when rvr changes states.

created bugs for these issues.
CLOUDSTACK-8798
CLOUDSTACK-8799

Thanks,
Bharat.

On 12-Aug-2015, at 10:52 am, Bharat Kumar 
>
 wrote:

Hi,

looks like  there is  one more issue. Conntrackd fails to start in case of rvr 
enabled isolated networks.
created a bug to track this. 
https://issues.apache.org/jira/browse/CLOUDSTACK-8725

Thanks,
Bharat.

On 11-Aug-2015, at 3:03 pm, Kishan Kavala 
>
 wrote:

Below VR related issues currently open. Most of these issues did not exist in 
4.5.x and are related to VR refactor (persistent VR).

Blocker
https://issues.apache.org/jira/browse/CLOUDSTACK-8690 - Remote Access VPN not 
working

Critical
https://issues.apache.org/jira/browse/CLOUDSTACK-8688 - Default policy for 
INPUT and FORWARD chain is ACCEPT in VR filter table (Wilder is working on this)
https://issues.apache.org/jira/browse/CLOUDSTACK-8681 - CS does not honor the 
default deny egress policy in isolated network
https://issues.apache.org/jira/browse/CLOUDSTACK-8710 - site2site vpn iptables 
rules are not configured on VR
https://issues.apache.org/jira/browse/CLOUDSTACK-8685 - Default route is not 
configured on VPC VR
https://issues.apache.org/jira/browse/CLOUDSTACK-8694  - Monitor service cron 
job not visible









Re: Heads-up: Serious investigator issue in 4.4

2015-09-08 Thread Pierre-Luc Dion
Hello Remi,

Are you sure the async job issue is not fixed in 4.4.4? Because for us
upgrading to it did solve that problem so far.

Thanks for sharing latest info,

Cheers

PL
On Sep 4, 2015 4:34 PM, "Remi Bergsma"  wrote:

> Hi all,
>
>
> This brought me some serious headaches this week. HA in 4.4.4 (and any
> 4.4.x version would have this) doesn't do investigations properly due to
> the Hyper-V investigator returning false instead of null. So, it confirms
> any VM as down whereas it may be running. Yes, this becomes a mess indeed
> ;-) In 4.5 and master this was already fixed.
>
>
> Links:
>
> https://issues.apache.org/jira/browse/CLOUDSTACK-8811
>
> https://github.com/apache/cloudstack/pull/761
>
>
> Another issue on 4.4 is with the cleaning of async jobs. That fails due to
> a foreign key constraint (also solved in 4.5 already) causing it to block
> other jobs:
>
> https://issues.apache.org/jira/browse/CLOUDSTACK-8810
>
>
> Might write a blog about it once I got some sleep ;-)
>
>
> We're running 4.4 HEAD now.
>
>
> I'd recommend anyone using 4.4.x to either compile packages from the 4.4
> branch (with the fixes included) or, even better, upgrade to 4.5.2.
>
>
> Regards,
>
> Remi
>
> PS: I wasn’t able to do any PR review this week. Too busy fire fighting,
> worked day & night. Hope to return to normal operations next week.
>


[GitHub] cloudstack pull request: CLOUDSTACK-8727: API call listVirtualMach...

2015-09-08 Thread DaanHoogland
Github user DaanHoogland commented on the pull request:

https://github.com/apache/cloudstack/pull/685#issuecomment-138591416
  
ok, LGTM at least we now have success and failure tests and all checks pass.
We can add the more trivial tests for checkForKeyByPublicKey in a later 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: CLOUDSTACK-8814 - Refactoring the configu...

2015-09-08 Thread wilderrodrigues
GitHub user wilderrodrigues opened a pull request:

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

CLOUDSTACK-8814 - Refactoring the configuration of Routers and VPC routers 
nics

Hi there,

I refactored the configureDefaultNics() method in order to split the 
implementations for Routers and VPC Routers.

The following tests were executed:

* test_vm_life_cycle
* test_routers
* test_vpc_router_nics
* test_vpc_routers
* test_vpc_offerings

@remibergsma @bhaisaab @koushik-das @miguelaferreira @DaanHoogland 
@karuturi , could you please have a look/test this PR?

Thanks in advance.

Cheers,
Wilder




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

$ git pull https://github.com/ekholabs/cloudstack 
fix/iso_net-CLOUDSTACK-8814

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

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


commit 5e9e9b84fb1a4ca029c32e5b1c305124bfa4d4af
Author: wilderrodrigues 
Date:   2015-09-08T12:33:25Z

CLOUDSTACK-8814 - Refactoring the configuration of Routers and VPC routers 
nics




---
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-8814 - Refactoring the configu...

2015-09-08 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:

https://github.com/apache/cloudstack/pull/788#issuecomment-138594852
  
Tests results:

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 ... SKIP: At least two hosts should be present in the zone 
for migration
Test destroy(expunge) Virtual Machine ... === TestName: test_09_expunge_vm 
| Status : SUCCESS ===
ok

--
Ran 10 tests in 1331.675s

OK (SKIP=1)
/tmp//MarvinLogs/test_vm_life_cycle_63T0C0/results.txt (END)


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

--
Ran 7 tests in 640.780s

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


Create a vpc with two networks with two vms in each network ... === 
TestName: test_01_VPC_nics_after_destroy | Status : SUCCESS ===
ok

--
Ran 1 test in 1239.170s

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


Test start/stop of router after addition of one guest network ... === 
TestName: test_01_start_stop_router_after_addition_of_one_guest_network | 
Status : SUCCESS ===
ok
Test reboot of router after addition of one guest network ... === TestName: 
test_02_reboot_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test to change service offering of router after addition of one guest 
network ... === TestName: 
test_04_chg_srv_off_router_after_addition_of_one_guest_network | Status : 
SUCCESS ===
ok
Test destroy of router after addition of one guest network ... === 
TestName: test_05_destroy_router_after_addition_of_one_guest_network | Status : 
SUCCESS ===
ok
Test to stop and start router after creation of VPC ... === TestName: 
test_01_stop_start_router_after_creating_vpc | Status : SUCCESS ===
ok
Test to reboot the router after creating a VPC ... === TestName: 
test_02_reboot_router_after_creating_vpc | Status : SUCCESS ===
ok
Tests to change service offering of the Router after ... === TestName: 
test_04_change_service_offerring_vpc | Status : SUCCESS ===
ok
Test to destroy the router after creating a VPC ... === TestName: 
test_05_destroy_router_after_creating_vpc | Status : SUCCESS ===
ok

--
Ran 8 tests in 1841.429s

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


Test deploy virtual machines in VPC networks ... === TestName: 
test_02_deploy_vms_in_vpc_nw | Status : SUCCESS ===
ok

--
Ran 1 test in 298.197s

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


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


GUI Issue Around Filtering

2015-09-08 Thread Mike Tutkowski
Hi,

Can anyone else confirm what I'm seeing here?

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

If you go to Infrastructure, Primary Storage, go into the details of a
primary storage, then go into View Volumes.

I was expecting the volumes to be filtered by primary storage, but they're
not.

Thanks,

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


[GitHub] cloudstack pull request: CLOUDSTACK-8727: API call listVirtualMach...

2015-09-08 Thread karuturi
Github user karuturi commented on the pull request:

https://github.com/apache/cloudstack/pull/685#issuecomment-138771684
  
:+1: 


---
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: Quota

2015-09-08 Thread karuturi
Github user karuturi commented on the pull request:

https://github.com/apache/cloudstack/pull/768#issuecomment-138774846
  
There is a FS here 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Quota+Service+-+FS


---
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: Dynamic Scalable Template issue

2015-09-08 Thread Todd Pigram
Vadium,

After installing XS62ESP1028 via CLI (no reboot on hosts yet) and building an 
Centos65 instance w/o ‘Dynamic Scalable’ option checked, it showed right in 
XenCenter. I installed the new tools from (XS62ESP1028) and still good. I 
created a template from this instance. Deployed said template, and the memory 
is still good in XenCenter.

I tested on a Windows VM and it is the same with the new tools, however, as 
this particular tenant bypasses the virtual router, I have to reboot twice and 
reset networking as the new XenTools reset the networking stack.


Todd Pigram
http://about.me/ToddPigram 
www.linkedin.com/in/toddpigram/ 
@pigram86 on twitter
https://plus.google.com/+ToddPigram86 
Mobile - 216-224-5769

PGP Public Key 
> On Sep 6, 2015, at 4:57 AM, Vadim Kimlaychuk  wrote:
> 
> Todd,
> 
>  Can you try Linux template with same dynamic scale option on the same 
> pool? I wonder if there is a problem with Windows or any guest OS.
> 
> Regards,
> 
> Vadim.
> 
> On 2015-09-05 21:04, Todd Pigram wrote:
> 
>> Vadium
>> That makes sense. I will see if I can replicate the issue in a lab. But 
>> given the holiday weekend, might not be until next week
>> On Saturday, September 5, 2015, Vadim Kimlaychuk  wrote:
>> Todd,
>> I have seeing similar problem with Xen 4.1 (not XenServer). Linux guests 
>> were able to see (and use) entire host resources on any guest VM. That was a 
>> bug of configuration. If you think about what could be different after CS 
>> update - it could be VM registration procedure. Still guest VM should not be 
>> able to see static max. Your XenCenter shows that effective dynamic VM 
>> memory size is 8Gb while maximium is 32Gb. So CS configured VM guest 
>> correctly. This is problem of hypervisor <-> guest VM communitcation. That 
>> is why I asked you to try to register VM manually. I believe you will have 
>> the same result. Than means your server pool of XS62ESP1027 is broken. 3 
>> other pools are not. I see no reason to update to 4.5.1, because I think 
>> this is not the problem of CS, but particularly this XenServer pool + this 
>> type of Windows guest (if other templates with dynamic offer are good).
>> Vadim.
>> On 2015-09-05 14:45, Todd Pigram wrote:
>> Vadim
>> I have 3 other pools (1 XS6.2sp1 and 2x xs65sp1) I have no issue with these.
>> Based on the Design doc, what i was experiencing is by design. Ok I will 
>> turn it off.
>> But now my question is, why on 4.3 I didn't have this issue but after 
>> installing 4.3.0.2 it changed.
>> Was 4.3 broken or is 4.3.0.2? Will upgrading to CCP 4.5.1 will be better?
>> If this is truely by design, I will not be able to use dynamic scalable for 
>> my windows instances
>> On Saturday, September 5, 2015, Vadim Kimlaychuk  wrote:
>> Todd,
>> You may try to create VM at XenServer without CloudStack just using XE tool 
>> (or XenCenter). If your manually created VM with static max <> dynamic max 
>> will be OK, then there is a problem with Cloudstack.
>> Vadim.
>> On 2015-09-04 21:51, Todd Pigram wrote:
>> Latest as of XS62ESP1027. I know XS62ESP1028 comes with new XenTools.
>> On Friday, September 4, 2015, Vadim Kimlaychuk  wrote:
>> I am afraid this issue has nothing to do with Cloudstack. If VM "sees"
>> maximum memory size available instead of effective -- this is problem of
>> hypervisor and/or guest utilities. Do you have guest utilities that come
>> with XenServer version or older in your template?
>> Vadim.
>> On 2015-09-04 19:34, Todd Pigram wrote:
>> Ok. After rebooting the instance still no change after disabling globally. I 
>> modified all my templates to remove 'Dynamic Scalable', then I have to
>> shutdown every instance and unselect 'Dynamic Scalable', then restart for
>> it to be correct.
>> This may need to be looked at closer for a Windows/XenDesktop(XenApp)
>> environment as MS SQL will consume all the RAM windows sees.
>> My other question is why CCP 4.3 (which is certified for Citrix Ready for
>> IaaS for XD) didn't have this issue until I upgraded to 4.3.0.2 in July.
>> This feature was released in 4.2.
>> Thanks for all the help.
>> Todd Pigram
>> http://about.me/ToddPigram  [1] [1] [1] [1 [1]] 
>> > >
>> www.linkedin.com/in/toddpigram/  [2] 
>> [2] [2] [2 [2]] <
>> http://www.linkedin.com/in/toddpigram/ 
>>  [2] [2] [2] [2 [2]]>
>> @pigram86 on twitter
>> https://plus.google.com/+ToddPigram86 
>>  [3] [3] [3] [3 [3]] <
>> https://plus.google.com/+ToddPigram86 
>>  

[GitHub] cloudstack pull request: CLOUDSTACK 8819: Return correct template ...

2015-09-08 Thread borisroman
GitHub user borisroman opened a pull request:

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

CLOUDSTACK 8819: Return correct template virtual size when using S3.

When using S3 the virtual size of the template would equal the actual size.

The script wraps around qemu-img, which can parse the Virtual Size from a 
url. This way when the S3TemplateDownloader finishes it can return a virtual 
size.

When the AWS SDK is updated this can be done in a much cleaner way.

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

$ git pull https://github.com/borisroman/cloudstack CLOUDSTACK-8819

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

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


commit f7efdc1fe4b5ec7019926442fe84ac2b25a55084
Author: Boris Schrijver 
Date:   2015-09-07T22:42:22Z

Added qemu-utils package to systemvm.

commit 70837def4f1f9041c9be1850159c1732f909cd5e
Author: Boris Schrijver 
Date:   2015-09-08T13:16:26Z

Implemented virtual template size for S3 downloader.




---
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-8805: Domains become inactive ...

2015-09-08 Thread nitin-maharana
Github user nitin-maharana commented on the pull request:

https://github.com/apache/cloudstack/pull/775#issuecomment-138648018
  
I tested on 4.5. I used mysql 5.6 client. It is working perfectly fine.

I think the squirrel client doesn't support the replace function or there 
may be some issue with the client side. Can you please specify what kind of 
issue you got when you forcibly deleted the '%' named domain. Is it deleting 
the sibling domains or is there any error in squirrel client?

I tried with your proposed solution and tested, that is also working 
perfectly fine.

Thanks.


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


[GitHub] cloudstack pull request: CLOUDSTACK-8805: Domains become inactive ...

2015-09-08 Thread rafaelweingartner
Github user rafaelweingartner commented on the pull request:

https://github.com/apache/cloudstack/pull/775#issuecomment-138651375
  
If you tested, that is ok to me. I had not had the opportunity to build and 
test the ACS with that code in my environment. I just analyzed the code and 
checked how the SQL was generated, and executed that SQL using Squirrel SQL 
client. Perhaps as you pointed out that the select I tested did not work 
because of SQL client I used.

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


[GitHub] cloudstack pull request: CLOUDSTACK-8690:Added remote access vpn a...

2015-09-08 Thread bvbharatk
Github user bvbharatk commented on the pull request:

https://github.com/apache/cloudstack/pull/772#issuecomment-138793699
  
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: Heads-up: Serious investigator issue in 4.4

2015-09-08 Thread Remi Bergsma
Yes, I'm sure.

Have a look at table async_job_join_map

What foreign keys are there? I deleted fk_async_job_join_map__join_job_id, as 
per 4.5 upgrade script.

Regards, Remi


On 09 Sep 2015, at 01:44, Pierre-Luc Dion 
> wrote:

Hello Remi,

Are you sure the async job issue is not fixed in 4.4.4? Because for us
upgrading to it did solve that problem so far.

Thanks for sharing latest info,

Cheers

PL
On Sep 4, 2015 4:34 PM, "Remi Bergsma" 
> wrote:

Hi all,


This brought me some serious headaches this week. HA in 4.4.4 (and any
4.4.x version would have this) doesn't do investigations properly due to
the Hyper-V investigator returning false instead of null. So, it confirms
any VM as down whereas it may be running. Yes, this becomes a mess indeed
;-) In 4.5 and master this was already fixed.


Links:

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

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


Another issue on 4.4 is with the cleaning of async jobs. That fails due to
a foreign key constraint (also solved in 4.5 already) causing it to block
other jobs:

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


Might write a blog about it once I got some sleep ;-)


We're running 4.4 HEAD now.


I'd recommend anyone using 4.4.x to either compile packages from the 4.4
branch (with the fixes included) or, even better, upgrade to 4.5.2.


Regards,

Remi

PS: I wasn’t able to do any PR review this week. Too busy fire fighting,
worked day & night. Hope to return to normal operations next week.



[GitHub] cloudstack pull request: CLOUDSTACK-8727: API call listVirtualMach...

2015-09-08 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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: Quota

2015-09-08 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/768#issuecomment-138788442
  
@wilderrodrigues testing would require some usage data; and global settings 
(search for quota in the UI) that are similar to usage ones, there is an enable 
setting you set it to true and rest are self-explanatory. In the UI you goto 
ui/plugins/plugins.js and enable the UI plugin and you can browse the quota 
statement, credits etc via the UI. You start by deploying a usage/mgmt server 
with some usage data that is not processed (the quota_calculated column will be 
false or zero), you set a tariff with some effective date (you can set this 
directly in the cloud_usage database's quota_tariff table with some values, the 
quota types are same as usage types) and add some quota credits to an account 
(say admin); the next time usage aggregation thread runs, quota calculation 
thread would run next and basically tell you how much you've consumed, in case 
a threshold is reached like quota is low or exhausted it would send out emails 
and/or lock accounts based on global or account level setti
 ngs etc. 

In summary if someone wants to have a DigitalOcean kind of simple 
credit/quota system, it is doable using this feature/plugin where quota or 
amounts are credited (prepaid) and they reduce over time based on actual cloud 
usage and a tariff. This feature does not support any credit card or payment 
gateway; so admins (globally) or domain admins (for a specific domain) can add 
credits to an account (on the flip side - to deduct, they can also add a 
negative credit).

@abhinandanprateek can you add details on using the plugin on the admin 
docs https://github.com/apache/cloudstack-docs-admin/tree/master/source and/or 
on the FS as well.


---
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: Quota

2015-09-08 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/768#issuecomment-13875
  
Just to add some notes - a low quota threshold might lock a user account; 
but won't stop or destroy an existing or already running resource (such as a 
VM, volumes, ip address etc).


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