You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "satoru nakaya (JIRA)" <ji...@apache.org> on 2015/04/25 12:19:38 UTC

[jira] [Updated] (CLOUDSTACK-8402) Adding the KVM host to management server is failing (java8)

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-8402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

satoru nakaya updated CLOUDSTACK-8402:
--------------------------------------
    Description: 
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]:



  was:
# 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]:




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