[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-8402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14513049#comment-14513049
 ] 

ASF GitHub Bot commented on CLOUDSTACK-8402:
--------------------------------------------

GitHub user giraffeforestg opened a pull request:

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

    fix CLOUDSTACK-8402

    

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

    $ git pull https://github.com/giraffeforestg/cloudstack 
bugfix_CLOUDSTACK-8402

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

    https://github.com/apache/cloudstack/pull/192.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 #192
    
----
commit a5732be186a72db2927634a75815eae242299d2e
Author: Satoru Nakaya <giraffefore...@gmail.com>
Date:   2015-04-26T14:10:06Z

    fix CLOUDSTACK-8402

----


> Adding the KVM host to management server is failing (java8)
> -----------------------------------------------------------
>
>                 Key: CLOUDSTACK-8402
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8402
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: KVM
>    Affects Versions: 4.5.0
>         Environment: Apache CloudStack 4.5.1
> CentOS 6.6 64bit KVM
>            Reporter: satoru nakaya
>
> [root@acs45-kvm02 ~]# cat cloudstack-agent.err
>     :
> 25/04/2015 16:24:00 2964 jsvc.exec error: Cannot load daemon
> 25/04/2015 16:24:00 2963 jsvc.exec error: Service exit with a return value of 
> 3
> Cause of the failure is because java8 is installed.
> cloudstack-agent is in need of java7.
> but, java8 is installed by cloudstack-agent dependency resolution.
> Dependency is broken ?
> [root@acs45-kvm02 ~]# yum install cloudstack-agent --nogpgcheck
> Loaded plugins: fastestmirror, security
> Setting up Install Process
> Determining fastest mirrors
>    :
> --> Finished Dependency Resolution
> Dependencies Resolved
> ============================================================================================================================
>  Package                                Arch              Version             
>                   Repository             Size
> ============================================================================================================================
> Installing:
>  cloudstack-agent                       x86_64            4.5.1-SNAPSHOT.el6  
>                   cloudstack             48 M
> Installing for dependencies:
>  cloudstack-common                      x86_64            4.5.1-SNAPSHOT.el6  
>                   cloudstack            109 M
>  ipset                                  x86_64            6.11-3.el6          
>                   base                   63 k
>  jakarta-commons-daemon                 x86_64            1:1.0.1-8.9.el6     
>                   base                   45 k
>  jakarta-commons-daemon-jsvc            x86_64            1:1.0.1-8.9.el6     
>                   base                   27 k
>  java-1.5.0-gcj                         x86_64            1.5.0.0-29.1.el6    
>                   base                  139 k
>  java-1.8.0-openjdk                     x86_64            
> 1:1.8.0.45-28.b13.el6_6               updates               187 k
>  java-1.8.0-openjdk-headless            x86_64            
> 1:1.8.0.45-28.b13.el6_6               updates                32 M
>  java_cup                               x86_64            1:0.10k-5.el6       
>                   base                  197 k
>  libart_lgpl                            x86_64            2.3.20-5.1.el6      
>                   base                   65 k
>  libgcj                                 x86_64            4.4.7-11.el6        
>                   base                   19 M
>  libmnl                                 x86_64            1.0.2-3.el6         
>                   base                   21 k
>  libvirt-python                         x86_64            0.10.2-46.el6_6.4   
>                   updates               497 k
>  sinjdoc                                x86_64            0.5-9.1.el6         
>                   base                  705 k
> Transaction Summary
> ============================================================================================================================
> Install      14 Package(s)
> Total download size: 209 M
> Installed size: 333 M
> Is this ok [y/N]: N
> workaround
> [root@acs45-kvm02 ~]# yum install java-1.7.0-openjdk
> [root@acs45-kvm02 ~]# yum install cloudstack-agent
> Loaded plugins: fastestmirror, security
> Setting up Install Process
> Determining fastest mirrors
>    :
> --> Finished Dependency Resolution
> Dependencies Resolved
> ============================================================================================================================
>  Package                                  Arch                Version         
>                 Repository               Size
> ============================================================================================================================
> Installing:
>  cloudstack-agent                         x86_64              
> 4.5.1-SNAPSHOT.el6              cloudstack               48 M
> Installing for dependencies:
>  cloudstack-common                        x86_64              
> 4.5.1-SNAPSHOT.el6              cloudstack              109 M
>  ipset                                    x86_64              6.11-3.el6      
>                 base                     63 k
>  jakarta-commons-daemon                   x86_64              1:1.0.1-8.9.el6 
>                 base                     45 k
>  jakarta-commons-daemon-jsvc              x86_64              1:1.0.1-8.9.el6 
>                 base                     27 k
>  java-1.5.0-gcj                           x86_64              
> 1.5.0.0-29.1.el6                base                    139 k
>  java_cup                                 x86_64              1:0.10k-5.el6   
>                 base                    197 k
>  libart_lgpl                              x86_64              2.3.20-5.1.el6  
>                 base                     65 k
>  libgcj                                   x86_64              4.4.7-11.el6    
>                 base                     19 M
>  libmnl                                   x86_64              1.0.2-3.el6     
>                 base                     21 k
>  libvirt-python                           x86_64              
> 0.10.2-46.el6_6.4               updates                 497 k
>  sinjdoc                                  x86_64              0.5-9.1.el6     
>                 base                    705 k
> Transaction Summary
> ============================================================================================================================
> Install      12 Package(s)
> Total download size: 177 M
> Installed size: 231 M
> Is this ok [y/N]:



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to