[GitHub] cloudstack issue #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-02-07 Thread wido
Github user wido commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
@swill: Yes we should! I think that was an oversight. Can you send a PR for 
this against 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.
---


[GitHub] cloudstack issue #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-02-03 Thread swill
Github user swill commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
Maybe we should be defaulting this file to Java 8 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 issue #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-02-03 Thread swill
Github user swill commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
I found the issue.  `jenv` was not setting the `JAVA_HOME` correctly, so 
the following logic in `/etc/cloudstack/management/classpath.conf` was getting 
hit.
```
if ([ -z "$JAVA_HOME" ] || [ ! -d "$JAVA_HOME" ]) && [ -d 
/usr/lib/jvm/jre-1.7.0 ]; then
 export JAVA_HOME=/usr/lib/jvm/jre-1.7.0
fi
```

I modified this section to be the following and everything is working now.
```
if ([ -z "$JAVA_HOME" ] || [ ! -d "$JAVA_HOME" ]) && [ -d 
/usr/lib/jvm/jre-1.8.0 ]; then
 export JAVA_HOME=/usr/lib/jvm/jre-1.8.0
fi
```


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-02-03 Thread swill
Github user swill commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
@rhtyd I built the Java 8 version on a CentOS6 slave and I am trying to 
install it on a CentOS 6.8 host and I am getting a similar issue.

The details are here:  
https://lists.apache.org/thread.html/d771df6a4ff07638362ab1343af69d6ab5d35a6cb4a9925b3077aa55@%3Cdev.cloudstack.apache.org%3E

This seems to be related to this PR.  I have not been able to get a Java 8 
version of ACS to work yet.


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-18 Thread swill
Github user swill commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
Wow, these builds are getting complicated now.  I will see if I can get 
Java8 installed on my CentOS6 Jenkins slaves so I can get my existing build 
pipelines working again.  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 issue #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-18 Thread rhtyd
Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
@swill build el7 (centos7) packages on centos7, and el6 (centos6) packages 
on centos6. You may use my docker images, this is what Trillian/blueorangutan 
uses for building (PR) packages: https://hub.docker.com/u/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 issue #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-18 Thread swill
Github user swill commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
Any suggestions to resolve this?  I have built from master using JDK8 and 
have setup my `cloudstack.repo` to point to my build.  I have been doing this 
successfully for the past month.

My management server is on CentOS6.8.

When I run: `sudo yum -y install cloudstack-management cloudstack-usage`

It fails with:
```
Error: Package: cloudstack-management-4.10.0.0-SNAPSHOT.el7.centos.x86_64 
(cloudstack)
   Requires: iptables-services
Error: Package: cloudstack-common-4.10.0.0-SNAPSHOT.el7.centos.x86_64 
(cloudstack)
   Requires: python(abi) = 2.7
   Installed: python-2.6.6-66.el6_8.x86_64 (@updates)
   python(abi) = 2.6
   Available: python-2.6.6-64.el6.x86_64 (base)
   python(abi) = 2.6
   Available: python34-3.4.5-1.el6.i686 (epel)
   python(abi) = 3.4
```


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


[GitHub] cloudstack issue #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-18 Thread rhtyd
Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
@syed yes, if the systemvmtemplates were built from master after this PR 
was merged. There is no secret sauce in the systemvmtemplate that I've uploaded 
on packages.shapeblue.com S3 bucket. Checkout the readme file at 
tools/appliance, that's more updated than any wiki page.


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-18 Thread syed
Github user syed commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
I got the master working now with the systemvm template 
http://packages.shapeblue.com.s3-eu-west-1.amazonaws.com/systemvmtemplate/4.10/systemvm64template-4.10-xen.vhd.bz2

@rhtyd would the systemvm template from http://jenkins.buildacloud.org/ 
also work? Also, we need to update the wiki 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudStack 
with the newer URLs. I would prefer it be jenkins.buildacloud.org. 


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-14 Thread rhtyd
Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
@serg38 I've been maintaining the non-oss libs here: 
https://github.com/rhtyd/cloudstack-nonoss
You can get the latest v12.1 library that is Java8 compatible from above, 
it also includes the install-non-oss.sh script, you can simply clone the repo 
and run it before building/packaging (in Jenkins too), in fact Travis jobs 
actually do that: 
https://github.com/apache/cloudstack/blob/master/tools/travis/install.sh#L28


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-14 Thread serg38
Github user serg38 commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
We need to change one more setting for noredist build to work with updated 
iControl version
in  install-non-oss.sh   
mvn install:install-file -Dfile=cloud-iControl.jar      
-DgroupId=com.cloud.com.f5     -DartifactId=icontrol        -Dversion=1.0 
  -Dpackaging=jar
to
mvn install:install-file -Dfile=cloud-iControl.jar      
-DgroupId=com.cloud.com.f5     -DartifactId=icontrol        
-Dversion=12.1   -Dpackaging=jar





---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-14 Thread wido
Github user wido commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
We will have to review building the .DEB packages as well. I made a start 
by building in Docker and building for 14.04 and 16.04 with the systemd 
differences between them.

I however really don't have the time right now to dig into this and 
configure Jenkins to get it working properly.


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-13 Thread rhtyd
Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
@swill I use these docker images for building packages, they have jenv and 
everything else setup: https://hub.docker.com/u/bhaisaab

Don't use jenv's initialization in .bashrc or .profile, but do that in your 
Jenkins script:

export PATH="$HOME/.jenv/bin:$PATH"
eval "$(jenv init -)"
java -version
mvn -version

For using my CentOS6 image, you'll need to export this:
# Enable maven on bash
export 
PATH=/opt/rh/maven30/root/usr/bin:/opt/rh/rh-java-common/root/usr/bin:$PATH



---
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: [GitHub] cloudstack issue #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-13 Thread Will Stevens
I have that on my dev environment, but not on my jenkins slaves...  It
works great in dev once you figure out how to get the JAVA_HOME to get set
correctly.

I had to create a file: ~./mavenrc
With the following in it to get everything working.

JAVA_HOME=$(/usr/libexec/java_home -v $(jenv version-name))

*Will STEVENS*
Lead Developer



On Fri, Jan 13, 2017 at 5:19 PM, rhtyd  wrote:

> Github user rhtyd commented on the issue:
>
> https://github.com/apache/cloudstack/pull/1888
>
> @swill yes, please install both jdk7 and jdk8, and setup `jenv`
> http://www.jenv.be
>
>
> ---
> 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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-13 Thread rhtyd
Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
@swill yes, please install both jdk7 and jdk8, and setup `jenv` 
http://www.jenv.be


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-13 Thread swill
Github user swill commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
BTW, something that is worth noting is that even if you use a new system vm 
template, but the box that the vm template was built on is running Java 7, you 
will get the same error that @syed just reported.  I forgot to update my 
Jenkins slave to use Java 8 and I was able to reproduce the problem that @syed 
experienced with new builds of the system vm template.  Maybe we should try to 
put a check or something if you try to build the system vm template with the 
wrong version.  I am sure people will run into this because almost everyone 
will be using Java 7 in their Jenkins for previous ACS builds and I am sure 
others will forget to make the change to use Java 8 for those builds.  

Building the ACS RPMs will fail if you don't have Java 8 installed, but the 
system VM build will succeed even though the resulting template will not be 
functional...


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-13 Thread swill
Github user swill commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
@syed if you have not built the system vm templates yet, here are a couple 
built from master today for XenServer and KVM.

**XenServer**
Name: systemvm-xenserver-4.10.0
Description: systemvm-xenserver-4.10.0
URL: 
http://objects-east.cloud.ca/v1/29a3d8ee6d4048b7b20d3ca820146a35/systemvm/build-systemvm64-PR_42/systemvm64template-master-4.10.0-xen.vhd.bz2
Zone: Choose the zone where this hypervisor is used
Hypervisor: XenServer
Format: VHD
OS Type: Debian GNU/Linux 7.x (64-bit)
Extractable: no
Password Enabled: no
Public: no
Featured: no
Routing: no

**KVM**
Name: systemvm-kvm-4.10.0
Description: systemvm-kvm-4.10.0
URL: 
http://objects-east.cloud.ca/v1/29a3d8ee6d4048b7b20d3ca820146a35/systemvm/build-systemvm64-PR_42/systemvm64template-master-4.10.0-kvm.qcow2.bz2
Zone: Choose the zone where this hypervisor is used
Hypervisor: KVM
Format: QCOW2
OS Type: Debian GNU/Linux 7.x (64-bit)
Extractable: no
Password Enabled: no
Public: no
Featured: no
Routing: no


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-13 Thread swill
Github user swill commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
This is supposed to do it @syed: 
https://github.com/apache/cloudstack/pull/1888/files#diff-e8e4d31bb5d860c8e7ada3120f758ee9R98

You built a new system VM template or used a new one provided by one of the 
mirrors?  You have to change the global config to make the new template the 
default and restart ACS in order for it to be used by default.

Here are the global configs for the different hypervisors:
router.template.hyperv
router.template.kvm
router.template.lxc
router.template.ovm3
router.template.vmware
router.template.xenserver

Let us know...


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-13 Thread milamberspace
Github user milamberspace commented on the issue:

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

Yes you need a new systemvm with Java 8 too.

See: http://markmail.org/thread/lj7simcdfynti2ml

(you can build your own systemvm, see:
https://github.com/apache/cloudstack/blob/master/tools/appliance/README.md )


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-13 Thread syed
Github user syed commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
@rhtyd I tried building the latest master I have problems getting the SSVM 
and the console proxy up. I get the following error 

```
4 localgw=172.31.0.1 private.network.device=eth1 internaldns1=8.8.8.8 
dns1=8.8.8.8 nfsVersion=null
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
com/cloud/agent/AgentShell : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at 
sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
```

The management server is running Java 8 but it looks like the systemvms are 
still running java 7. How can I upgrade the java version 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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-12 Thread rhtyd
Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
Thanks everyone, since we've no outstanding issues or objections and all 
regression tests across xen/vmware/kvm pass -- I'll proceed with merge 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 issue #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-12 Thread blueorangutan
Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
Trillian test result (tid-780)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 36526 seconds
Marvin logs: 
https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1888-t780-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: 
/marvin/tests/smoke/test_routers_network_ops.py
Intermitten failure detected: /marvin/tests/smoke/test_volumes.py
Test completed. 47 look ok, 2 have error(s)


Test | Result | Time (s) | Test File
--- | --- | --- | ---
test_04_rvpc_privategw_static_routes | `Failure` | 308.92 | 
test_privategw_acl.py
test_01_create_volume | `Error` | 279.75 | test_volumes.py
test_01_vpc_site2site_vpn | Success | 164.76 | test_vpc_vpn.py
test_01_vpc_remote_access_vpn | Success | 80.92 | test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpn | Success | 239.55 | test_vpc_vpn.py
test_02_VPC_default_routes | Success | 436.51 | test_vpc_router_nics.py
test_01_VPC_nics_after_destroy | Success | 862.15 | test_vpc_router_nics.py
test_05_rvpc_multi_tiers | Success | 511.06 | test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics | Success | 1406.25 | 
test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers | 
Success | 616.92 | test_vpc_redundant.py
test_02_redundant_VPC_default_routes | Success | 737.57 | 
test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL | Success | 1320.38 | 
test_vpc_redundant.py
test_09_delete_detached_volume | Success | 151.16 | test_volumes.py
test_08_resize_volume | Success | 161.08 | test_volumes.py
test_07_resize_fail | Success | 156.06 | test_volumes.py
test_06_download_detached_volume | Success | 150.99 | test_volumes.py
test_05_detach_volume | Success | 240.99 | test_volumes.py
test_04_delete_attached_volume | Success | 145.85 | test_volumes.py
test_03_download_attached_volume | Success | 155.99 | test_volumes.py
test_02_attach_volume | Success | 179.78 | test_volumes.py
test_deploy_vm_multiple | Success | 337.28 | test_vm_life_cycle.py
test_deploy_vm | Success | 0.02 | test_vm_life_cycle.py
test_advZoneVirtualRouter | Success | 0.02 | test_vm_life_cycle.py
test_10_attachAndDetach_iso | Success | 26.48 | test_vm_life_cycle.py
test_09_expunge_vm | Success | 125.19 | test_vm_life_cycle.py
test_08_migrate_vm | Success | 35.62 | test_vm_life_cycle.py
test_07_restore_vm | Success | 0.09 | test_vm_life_cycle.py
test_06_destroy_vm | Success | 130.64 | test_vm_life_cycle.py
test_03_reboot_vm | Success | 125.66 | test_vm_life_cycle.py
test_02_start_vm | Success | 10.12 | test_vm_life_cycle.py
test_01_stop_vm | Success | 125.65 | test_vm_life_cycle.py
test_CreateTemplateWithDuplicateName | Success | 90.59 | test_templates.py
test_08_list_system_templates | Success | 0.02 | test_templates.py
test_07_list_public_templates | Success | 0.03 | test_templates.py
test_05_template_permissions | Success | 0.04 | test_templates.py
test_04_extract_template | Success | 5.10 | test_templates.py
test_03_delete_template | Success | 5.08 | test_templates.py
test_02_edit_template | Success | 90.10 | test_templates.py
test_01_create_template | Success | 45.34 | test_templates.py
test_10_destroy_cpvm | Success | 131.24 | test_ssvm.py
test_09_destroy_ssvm | Success | 163.33 | test_ssvm.py
test_08_reboot_cpvm | Success | 131.50 | test_ssvm.py
test_07_reboot_ssvm | Success | 133.05 | test_ssvm.py
test_06_stop_cpvm | Success | 131.62 | test_ssvm.py
test_05_stop_ssvm | Success | 133.19 | test_ssvm.py
test_04_cpvm_internals | Success | 1.18 | test_ssvm.py
test_03_ssvm_internals | Success | 2.93 | test_ssvm.py
test_02_list_cpvm_vm | Success | 0.09 | test_ssvm.py
test_01_list_sec_storage_vm | Success | 0.09 | test_ssvm.py
test_01_snapshot_root_disk | Success | 10.91 | test_snapshots.py
test_04_change_offering_small | Success | 209.26 | test_service_offerings.py
test_03_delete_service_offering | Success | 0.03 | test_service_offerings.py
test_02_edit_service_offering | Success | 0.04 | test_service_offerings.py
test_01_create_service_offering | Success | 0.07 | test_service_offerings.py
test_02_sys_template_ready | Success | 0.09 | test_secondary_storage.py
test_01_sys_vm_start | Success | 0.12 | test_secondary_storage.py
test_09_reboot_router | Success | 35.23 | test_routers.py
test_08_start_router | Success | 30.25 | test_routers.py
test_07_stop_router | Success | 10.12 | test_routers.py
test_06_router_advanced | Success | 0.04 | test_routers.py
test_05_router_basic | Success | 0.03 | test_routers.py
test_04_restart_network_wo_cleanup | 

[GitHub] cloudstack issue #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-11 Thread blueorangutan
Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been 
kicked to run smoke tests


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

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

https://github.com/apache/cloudstack/pull/1888
  
@blueorangutan test


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-11 Thread blueorangutan
Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
Trillian test result (tid-779)
Environment: vmware-55u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 42810 seconds
Marvin logs: 
https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1888-t779-vmware-55u3.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: 
/marvin/tests/smoke/test_routers_network_ops.py
Intermitten failure detected: /marvin/tests/smoke/test_routers.py
Intermitten failure detected: /marvin/tests/smoke/test_ssvm.py
Test completed. 48 look ok, 1 have error(s)


Test | Result | Time (s) | Test File
--- | --- | --- | ---
test_04_rvpc_privategw_static_routes | `Failure` | 212.50 | 
test_privategw_acl.py
test_03_vpc_privategw_restart_vpc_cleanup | `Failure` | 349.56 | 
test_privategw_acl.py
test_02_vpc_privategw_static_routes | `Failure` | 207.38 | 
test_privategw_acl.py
test_03_vpc_privategw_restart_vpc_cleanup | `Error` | 359.82 | 
test_privategw_acl.py
test_01_vpc_site2site_vpn | Success | 371.81 | test_vpc_vpn.py
test_01_vpc_remote_access_vpn | Success | 171.87 | test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpn | Success | 588.01 | test_vpc_vpn.py
test_02_VPC_default_routes | Success | 476.92 | test_vpc_router_nics.py
test_01_VPC_nics_after_destroy | Success | 761.82 | test_vpc_router_nics.py
test_05_rvpc_multi_tiers | Success | 673.22 | test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics | Success | 1559.94 | 
test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers | 
Success | 745.25 | test_vpc_redundant.py
test_02_redundant_VPC_default_routes | Success | 675.58 | 
test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL | Success | 1380.72 | 
test_vpc_redundant.py
test_09_delete_detached_volume | Success | 36.05 | test_volumes.py
test_06_download_detached_volume | Success | 55.55 | test_volumes.py
test_05_detach_volume | Success | 110.35 | test_volumes.py
test_04_delete_attached_volume | Success | 20.26 | test_volumes.py
test_03_download_attached_volume | Success | 20.70 | test_volumes.py
test_02_attach_volume | Success | 58.75 | test_volumes.py
test_01_create_volume | Success | 513.45 | test_volumes.py
test_03_delete_vm_snapshots | Success | 275.25 | test_vm_snapshots.py
test_02_revert_vm_snapshots | Success | 227.22 | test_vm_snapshots.py
test_01_test_vm_volume_snapshot | Success | 176.48 | test_vm_snapshots.py
test_01_create_vm_snapshots | Success | 161.66 | test_vm_snapshots.py
test_deploy_vm_multiple | Success | 262.79 | test_vm_life_cycle.py
test_deploy_vm | Success | 0.04 | test_vm_life_cycle.py
test_advZoneVirtualRouter | Success | 0.03 | test_vm_life_cycle.py
test_10_attachAndDetach_iso | Success | 26.82 | test_vm_life_cycle.py
test_09_expunge_vm | Success | 185.26 | test_vm_life_cycle.py
test_08_migrate_vm | Success | 81.19 | test_vm_life_cycle.py
test_07_restore_vm | Success | 0.27 | test_vm_life_cycle.py
test_06_destroy_vm | Success | 10.15 | test_vm_life_cycle.py
test_03_reboot_vm | Success | 5.14 | test_vm_life_cycle.py
test_02_start_vm | Success | 20.23 | test_vm_life_cycle.py
test_01_stop_vm | Success | 10.15 | test_vm_life_cycle.py
test_CreateTemplateWithDuplicateName | Success | 272.10 | test_templates.py
test_08_list_system_templates | Success | 0.03 | test_templates.py
test_07_list_public_templates | Success | 0.04 | test_templates.py
test_05_template_permissions | Success | 0.06 | test_templates.py
test_04_extract_template | Success | 15.24 | test_templates.py
test_03_delete_template | Success | 5.13 | test_templates.py
test_02_edit_template | Success | 90.17 | test_templates.py
test_01_create_template | Success | 121.07 | test_templates.py
test_10_destroy_cpvm | Success | 267.03 | test_ssvm.py
test_09_destroy_ssvm | Success | 269.29 | test_ssvm.py
test_08_reboot_cpvm | Success | 156.69 | test_ssvm.py
test_07_reboot_ssvm | Success | 188.55 | test_ssvm.py
test_06_stop_cpvm | Success | 176.85 | test_ssvm.py
test_05_stop_ssvm | Success | 178.85 | test_ssvm.py
test_04_cpvm_internals | Success | 1.13 | test_ssvm.py
test_03_ssvm_internals | Success | 2.92 | test_ssvm.py
test_02_list_cpvm_vm | Success | 0.14 | test_ssvm.py
test_01_list_sec_storage_vm | Success | 0.14 | test_ssvm.py
test_01_snapshot_root_disk | Success | 21.20 | test_snapshots.py
test_04_change_offering_small | Success | 127.00 | test_service_offerings.py
test_03_delete_service_offering | Success | 0.05 | test_service_offerings.py
test_02_edit_service_offering | Success | 0.33 | test_service_offerings.py
test_01_create_service_offering | Success | 0.11 | 

[GitHub] cloudstack issue #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-11 Thread milamberspace
Github user milamberspace commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
Thanks for the docs update.

I've tested the PR with my test topology on Ubuntu 14.04 + Openjdk PPA. 
With the new systemvm (generated from the PR too)
Installation works, Simple deployment works (ssvm, cpvm, RV)

LGTM.

Note : the docker build command with Ubuntu 14.04 don't works if the 
Openjdk8/PPA is not installed before.


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

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

https://github.com/apache/cloudstack/pull/1888
  
@blueorangutan test centos7 vmware-55u3


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-11 Thread blueorangutan
Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + vmware-55u3) has been 
kicked to run smoke tests


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-11 Thread blueorangutan
Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-457


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

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

https://github.com/apache/cloudstack/pull/1888
  
@milamberspace @terbolous I've added the information for Ubuntu users on 
release notes for 4.10 (preview) now:

http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.10/upgrade/upgrade-4.9.html#java-8-jre-on-ubuntu

http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.10/upgrade/upgrade_notes.html#java-8-jre-on-ubuntu

I think with this we don't have any blockers, I'll merge this PR with a 
final round of testing now. Thanks everyone.


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

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

https://github.com/apache/cloudstack/pull/1888
  
@blueorangutan package


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-11 Thread blueorangutan
Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you 
posted as I make progress.


---
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: [GitHub] cloudstack issue #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-10 Thread Erik Weber
@milamberspace I don't agree. Ubuntu 14.04 isn't EOL for another two years,
rhel6 even longer.

But users should be given proper directions as to how they can update Java.

And we need to fix systemd/Ubuntu 16.04 support


Erik


tir. 10. jan. 2017 kl. 08.24 skrev milamberspace :

> Github user milamberspace commented on the issue:
>
>
>
> https://github.com/apache/cloudstack/pull/1888
>
>
>
> I'm not agree with this PR because it's break the support of Ubuntu
> 14.04 with the default JRE (java7) provide by Ubuntu and the support of
> Ubuntu 16.04 (java8) the is currently partial for the cloudstack-management.
>
> If you don't know that you need to install a Java 8 via a PPA or
> manually, you cannot run CS 4.10 on Ubuntu 14.04...
>
> I would not block the PR, but I think at least the installation guide
> must be update to mention theses points for Ubuntu 14 (need a PPA or manual
> installation of Java8) and 16 (no support for management)
>
>
>
> (Or remove the Ubuntu support entirely?)
>
>
>
>
>
> ---
>
> 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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-10 Thread blueorangutan
Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-456


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-10 Thread blueorangutan
Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you 
posted as I make progress.


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-10 Thread rhtyd
Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
@blueorangutan package


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-10 Thread rhtyd
Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
JFYI, these are the docker images Trillian uses to build packages for 
CloudStack, they have all the dependencies and jenv (http://www.jenv.be/) 
installed to automatically switch between java7 or java8 on master or any other 
branches:
https://hub.docker.com/r/bhaisaab/centos7-cloudstack-slave/
https://hub.docker.com/r/bhaisaab/centos6-cloudstack-slave/
https://hub.docker.com/r/bhaisaab/ubuntu-cloudstack-slave/


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-09 Thread rhtyd
Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
@milamberspace thanks, we can document this in the upgrade notes for Ubuntu 
14.04 users to use the widely known/used PPA.


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-09 Thread milamberspace
Github user milamberspace commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
I'm not agree with this PR because it's break the support of Ubuntu 14.04 
with the default JRE (java7) provide by Ubuntu and the support of Ubuntu 16.04 
(java8) the is currently partial for the cloudstack-management.
If you don't know that you need to install a Java 8 via a PPA or manually, 
you cannot run CS 4.10 on Ubuntu 14.04...
I would not block the PR, but I think at least the installation guide must 
be update to mention theses points for Ubuntu 14 (need a PPA or manual 
installation of Java8) and 16 (no support for management)

(Or remove the Ubuntu support entirely?)


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-09 Thread rhtyd
Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
We've enough LGTMs and test results on this PR. I'll keep this PR open till 
end of the week to receive any other feedback, suggestions and test results. 
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 issue #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-09 Thread rhtyd
Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
With `cs.jdk.version` set to 1.8 for both as source and target versions, 
generated jars can only be run against JRE1.8. Forward compatibility is not 
supported (build with 1.8, run on 1.7), we can force the maven compiler plugin 
to target for 1.7 while set source to 1.8, but I read that it may not work 
sometimes and I would like to avoid that given 1.7 has EOL-ed.

Without having package/version dependencies fixated on jdk/jre1.8, 
sysadmins will only find out when the agents/usage server or mgmt server fails 
to start with an error message such as `Unsupported major.minor version 52.0`


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-06 Thread jburwell
Github user jburwell commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
@rhtyd most Java-based systems do not specific a particular JDK/JRE as a 
dependency in their packages in order to allow administrators to pick the 
implementation they prefer (e.g. OpenJDK, Sun JDK, IBM JDK, etc).  Should we 
consider removing those dependencies from ours packages for the same reason?

Also, Travis supports testing [multiple Java 
versions](https://blog.travis-ci.com/support_for_multiple_jdks/).  If we are 
not discontinuing support for 1.7, we should have Travis both 1.7 and 1.8.


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-06 Thread rhtyd
Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
@milamberspace yes Debian7 official main and backport repos don't have 
openjdk8 yet, even the jessie main repos don't have openjdk8 pkg yet, only 
jessie-backports has it. For this reason, I used zulu-8... I think zulu-8 can 
even be used by Ubuntu users as well, they are certified openjdk8 builds from 
Azul, see http://www.azul.com/downloads/zulu

The blockers for running mgmt server on Ubuntu16.04 are systemd and 
tomcat8/9 related support, if we can solve the issue or moving away from Tomcat 
to embedded-Jetty (like we've in developer mode) -- we can simplify packages 
for a lot of the distributions.


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-06 Thread milamberspace
Github user milamberspace commented on the issue:

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

@rhtyd the PPA openjdk can be used probably (even if it's an unsupported 
packages without warranty), but we need to document this on installation manual 
(as a requirement to installation CS on Ubuntu 14.04...

Other question about Zulu on Debian 7: not supported too?



---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-05 Thread mike-tutkowski
Github user mike-tutkowski commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
I walked through the diffs and they LGTM. I did not actually run the code, 
however, because I'm in the middle of another CloudStack project and I don't 
have the resources available at the time being.


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-05 Thread wido
Github user wido commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
Looks good now @rhtyd 

LGTM for the code


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-05 Thread wido
Github user wido commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
Overall the changes look good to me. But can you explain why for example 
you changed the dhcp package name? It doesn't seem related to Java 8.

 All in favor of this switch, just checking why it's in 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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-05 Thread rhtyd
Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
Thanks @wido I've reverted and updated the PR now, you can refresh to see 
the updated changes.


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-05 Thread wido
Github user wido commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
@rhtyd Understood, no problem, just trying to keep the changes in this PR 
clean. All changes should be Java 8 related.


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-05 Thread rhtyd
Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
Thanks @wido I'll rever that line, though the dhcp-3 is a virtual package 
that actually install isc-dhcp-client, see 
https://packages.debian.org/wheezy/dhcp3-client


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-05 Thread rhtyd
Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
All, for transparency this comment has the build log of the new 
systemvmtemplate attached:

[systemvm-buildlog.txt](https://github.com/apache/cloudstack/files/687704/systemvm-buildlog.txt)

The systemvmtemplates for 4.10 (Debian7 based with openjdk-8/zulu-8): 
http://packages.shapeblue.com/systemvmtemplate/custom/4.10-jre8

Notes for above systemvmtemplate:
- Newer openssl/openssh-server updates, along with other security updates
- OpenJDK-8 (zulu-8 distribution as wheezy don't have jre-8 packages yet)
- Bigger /var/log partition
- No major change wrt any other package such as apache2, openswan 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.
---


Re: [GitHub] cloudstack issue #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-05 Thread Sergey Levitskiy
Code review LGTM


[GitHub] cloudstack issue #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-05 Thread karuturi
Github user karuturi commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
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 issue #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-05 Thread blueorangutan
Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
Trillian test result (tid-770)
Environment: xenserver-65sp1 (x2), Advanced Networking with Mgmt server 6
Total time taken: 45108 seconds
Marvin logs: 
https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1888-t770-xenserver-65sp1.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: 
/marvin/tests/smoke/test_routers_network_ops.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Test completed. 47 look ok, 2 have error(s)


Test | Result | Time (s) | Test File
--- | --- | --- | ---
test_05_rvpc_multi_tiers | `Failure` | 524.67 | test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics | `Failure` | 1346.28 | 
test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL | `Failure` | 580.45 
| test_vpc_redundant.py
test_04_rvpc_privategw_static_routes | `Failure` | 739.70 | 
test_privategw_acl.py
test_01_vpc_site2site_vpn | Success | 301.98 | test_vpc_vpn.py
test_01_vpc_remote_access_vpn | Success | 166.76 | test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpn | Success | 549.39 | test_vpc_vpn.py
test_02_VPC_default_routes | Success | 400.91 | test_vpc_router_nics.py
test_01_VPC_nics_after_destroy | Success | 689.38 | test_vpc_router_nics.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers | 
Success | 870.51 | test_vpc_redundant.py
test_02_redundant_VPC_default_routes | Success | 1093.42 | 
test_vpc_redundant.py
test_09_delete_detached_volume | Success | 15.72 | test_volumes.py
test_08_resize_volume | Success | 96.00 | test_volumes.py
test_07_resize_fail | Success | 101.19 | test_volumes.py
test_06_download_detached_volume | Success | 30.43 | test_volumes.py
test_05_detach_volume | Success | 100.32 | test_volumes.py
test_04_delete_attached_volume | Success | 10.23 | test_volumes.py
test_03_download_attached_volume | Success | 15.33 | test_volumes.py
test_02_attach_volume | Success | 10.75 | test_volumes.py
test_01_create_volume | Success | 392.41 | test_volumes.py
test_03_delete_vm_snapshots | Success | 280.27 | test_vm_snapshots.py
test_02_revert_vm_snapshots | Success | 224.50 | test_vm_snapshots.py
test_01_create_vm_snapshots | Success | 100.85 | test_vm_snapshots.py
test_deploy_vm_multiple | Success | 313.33 | test_vm_life_cycle.py
test_deploy_vm | Success | 0.03 | test_vm_life_cycle.py
test_advZoneVirtualRouter | Success | 0.02 | test_vm_life_cycle.py
test_10_attachAndDetach_iso | Success | 26.85 | test_vm_life_cycle.py
test_09_expunge_vm | Success | 125.16 | test_vm_life_cycle.py
test_08_migrate_vm | Success | 136.59 | test_vm_life_cycle.py
test_07_restore_vm | Success | 0.09 | test_vm_life_cycle.py
test_06_destroy_vm | Success | 5.12 | test_vm_life_cycle.py
test_03_reboot_vm | Success | 10.18 | test_vm_life_cycle.py
test_02_start_vm | Success | 20.25 | test_vm_life_cycle.py
test_01_stop_vm | Success | 30.35 | test_vm_life_cycle.py
test_CreateTemplateWithDuplicateName | Success | 131.12 | test_templates.py
test_08_list_system_templates | Success | 0.03 | test_templates.py
test_07_list_public_templates | Success | 0.04 | test_templates.py
test_05_template_permissions | Success | 0.06 | test_templates.py
test_04_extract_template | Success | 5.21 | test_templates.py
test_03_delete_template | Success | 5.13 | test_templates.py
test_02_edit_template | Success | 90.11 | test_templates.py
test_01_create_template | Success | 80.73 | test_templates.py
test_10_destroy_cpvm | Success | 226.98 | test_ssvm.py
test_09_destroy_ssvm | Success | 203.97 | test_ssvm.py
test_08_reboot_cpvm | Success | 141.54 | test_ssvm.py
test_07_reboot_ssvm | Success | 154.11 | test_ssvm.py
test_06_stop_cpvm | Success | 166.74 | test_ssvm.py
test_05_stop_ssvm | Success | 174.41 | test_ssvm.py
test_04_cpvm_internals | Success | 1.14 | test_ssvm.py
test_03_ssvm_internals | Success | 3.55 | test_ssvm.py
test_02_list_cpvm_vm | Success | 0.12 | test_ssvm.py
test_01_list_sec_storage_vm | Success | 0.13 | test_ssvm.py
test_01_snapshot_root_disk | Success | 21.67 | test_snapshots.py
test_04_change_offering_small | Success | 129.16 | test_service_offerings.py
test_03_delete_service_offering | Success | 0.04 | test_service_offerings.py
test_02_edit_service_offering | Success | 0.18 | test_service_offerings.py
test_01_create_service_offering | Success | 0.12 | test_service_offerings.py
test_02_sys_template_ready | Success | 0.12 | test_secondary_storage.py
test_01_sys_vm_start | Success | 0.18 | test_secondary_storage.py
test_01_scale_vm | Success | 5.19 | 

[GitHub] cloudstack issue #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-05 Thread abhinandanprateek
Github user abhinandanprateek commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
lgtm on code review @rhtyd 


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

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

https://github.com/apache/cloudstack/pull/1888
  
This one is open for review, pinging for review -- @swill @karuturi 
@abhinandanprateek @murali-reddy @PaulAngus @nvazquez @serg38 @milamberspace 
@wido @syed @mike-tutkowski and others

High level major changes:
- Switches to openjdk 8 for building CloudStack.
- Switches to openjdk-8-jre for running mgmt server, usage server, agents. 
Test results are based on CentOS6, CentOS7 against Xen, VMware and KVM.
- A new systemvmtemplate with openjdk-8 (zulu-8 distribution of openjdk 
from Azul as Debian7 repos don't have openjdk-8-jre) needs to be used. A 
compatible 4.6.0 systemvmtemplate was built and tested, that only replaces 
openjdk-7 JRE with openjdk-8 JRE and was found to be compatible with ACS 
4.6.0+. If StrongSwan PR is merged, we'll need to create and use a new 
systemvmtemplate with 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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-04 Thread blueorangutan
Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
Trillian test result (tid-769)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 36934 seconds
Marvin logs: 
https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1888-t769-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: 
/marvin/tests/smoke/test_routers_network_ops.py
Intermitten failure detected: /marvin/tests/smoke/test_volumes.py
Test completed. 47 look ok, 2 have error(s)


Test | Result | Time (s) | Test File
--- | --- | --- | ---
test_04_rvpc_privategw_static_routes | `Failure` | 386.09 | 
test_privategw_acl.py
test_01_create_volume | `Error` | 280.13 | test_volumes.py
test_01_vpc_site2site_vpn | Success | 155.66 | test_vpc_vpn.py
test_01_vpc_remote_access_vpn | Success | 56.12 | test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpn | Success | 235.50 | test_vpc_vpn.py
test_02_VPC_default_routes | Success | 473.30 | test_vpc_router_nics.py
test_01_VPC_nics_after_destroy | Success | 801.66 | test_vpc_router_nics.py
test_05_rvpc_multi_tiers | Success | 517.02 | test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics | Success | 1405.62 | 
test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers | 
Success | 548.75 | test_vpc_redundant.py
test_02_redundant_VPC_default_routes | Success | 764.47 | 
test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL | Success | 1284.16 | 
test_vpc_redundant.py
test_09_delete_detached_volume | Success | 156.59 | test_volumes.py
test_08_resize_volume | Success | 151.43 | test_volumes.py
test_07_resize_fail | Success | 161.64 | test_volumes.py
test_06_download_detached_volume | Success | 156.29 | test_volumes.py
test_05_detach_volume | Success | 236.20 | test_volumes.py
test_04_delete_attached_volume | Success | 151.57 | test_volumes.py
test_03_download_attached_volume | Success | 156.35 | test_volumes.py
test_02_attach_volume | Success | 184.64 | test_volumes.py
test_deploy_vm_multiple | Success | 363.94 | test_vm_life_cycle.py
test_deploy_vm | Success | 0.03 | test_vm_life_cycle.py
test_advZoneVirtualRouter | Success | 0.02 | test_vm_life_cycle.py
test_10_attachAndDetach_iso | Success | 26.80 | test_vm_life_cycle.py
test_09_expunge_vm | Success | 125.21 | test_vm_life_cycle.py
test_08_migrate_vm | Success | 41.00 | test_vm_life_cycle.py
test_07_restore_vm | Success | 0.17 | test_vm_life_cycle.py
test_06_destroy_vm | Success | 125.84 | test_vm_life_cycle.py
test_03_reboot_vm | Success | 125.86 | test_vm_life_cycle.py
test_02_start_vm | Success | 10.18 | test_vm_life_cycle.py
test_01_stop_vm | Success | 125.82 | test_vm_life_cycle.py
test_CreateTemplateWithDuplicateName | Success | 70.69 | test_templates.py
test_08_list_system_templates | Success | 0.03 | test_templates.py
test_07_list_public_templates | Success | 0.04 | test_templates.py
test_05_template_permissions | Success | 0.06 | test_templates.py
test_04_extract_template | Success | 5.23 | test_templates.py
test_03_delete_template | Success | 5.11 | test_templates.py
test_02_edit_template | Success | 90.14 | test_templates.py
test_01_create_template | Success | 40.55 | test_templates.py
test_10_destroy_cpvm | Success | 161.44 | test_ssvm.py
test_09_destroy_ssvm | Success | 163.76 | test_ssvm.py
test_08_reboot_cpvm | Success | 101.25 | test_ssvm.py
test_07_reboot_ssvm | Success | 103.15 | test_ssvm.py
test_06_stop_cpvm | Success | 131.50 | test_ssvm.py
test_05_stop_ssvm | Success | 133.24 | test_ssvm.py
test_04_cpvm_internals | Success | 1.00 | test_ssvm.py
test_03_ssvm_internals | Success | 3.40 | test_ssvm.py
test_02_list_cpvm_vm | Success | 0.13 | test_ssvm.py
test_01_list_sec_storage_vm | Success | 0.13 | test_ssvm.py
test_01_snapshot_root_disk | Success | 16.25 | test_snapshots.py
test_04_change_offering_small | Success | 210.13 | test_service_offerings.py
test_03_delete_service_offering | Success | 0.04 | test_service_offerings.py
test_02_edit_service_offering | Success | 0.09 | test_service_offerings.py
test_01_create_service_offering | Success | 0.12 | test_service_offerings.py
test_02_sys_template_ready | Success | 0.13 | test_secondary_storage.py
test_01_sys_vm_start | Success | 0.18 | test_secondary_storage.py
test_09_reboot_router | Success | 35.33 | test_routers.py
test_08_start_router | Success | 35.37 | test_routers.py
test_07_stop_router | Success | 10.17 | test_routers.py
test_06_router_advanced | Success | 0.06 | test_routers.py
test_05_router_basic | Success | 0.04 | test_routers.py
test_04_restart_network_wo_cleanup | 

[GitHub] cloudstack issue #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-04 Thread blueorangutan
Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-448


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

2017-01-04 Thread blueorangutan
Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you 
posted as I make progress.


---
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 #1888: CLOUDSTACK-9710: Switch to JRE1.8

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

https://github.com/apache/cloudstack/pull/1888
  
@blueorangutan package


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