mirror of https://github.com/apache/cloudstack.git
packaging: install tzdata-java on centos7/centos8 (#7768)
When install cloudstack on latest rocky8 server with java-11-openjdk-11.0.20.0.8-2.el8.x86_64, management server cannot be started due to error ``` Caused by: java.lang.Error: java.io.FileNotFoundException: /usr/lib/jvm/java-11-openjdk-11.0.20.0.8-2.el8.x86_64/lib/tzdb.dat (No such file or directory) ``` It is because the package `tzdata-java` is not automatically installed. (It was installed with java-11-openjdk-11.0.18.0.10-2.el8_7.x86_64, but not with latest java-11-openjdk-11.0.20.0.8-2.el8.x86_64)
This commit is contained in:
parent
f9b7bcfd10
commit
3f2449f3d8
|
|
@ -61,6 +61,7 @@ intelligent IaaS cloud implementation.
|
|||
%package management
|
||||
Summary: CloudStack management server UI
|
||||
Requires: java-11-openjdk
|
||||
Requires: tzdata-java
|
||||
Requires: python
|
||||
Requires: python3
|
||||
Requires: bash
|
||||
|
|
@ -107,6 +108,7 @@ The Apache CloudStack files shared between agent and management server
|
|||
Summary: CloudStack Agent for KVM hypervisors
|
||||
Requires: openssh-clients
|
||||
Requires: java-11-openjdk
|
||||
Requires: tzdata-java
|
||||
Requires: %{name}-common = %{_ver}
|
||||
Requires: libvirt
|
||||
Requires: bridge-utils
|
||||
|
|
@ -142,6 +144,7 @@ The CloudStack baremetal agent
|
|||
%package usage
|
||||
Summary: CloudStack Usage calculation server
|
||||
Requires: java-11-openjdk
|
||||
Requires: tzdata-java
|
||||
Group: System Environment/Libraries
|
||||
%description usage
|
||||
The CloudStack usage calculation service
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ intelligent IaaS cloud implementation.
|
|||
%package management
|
||||
Summary: CloudStack management server UI
|
||||
Requires: java-11-openjdk
|
||||
Requires: tzdata-java
|
||||
Requires: python3
|
||||
Requires: bash
|
||||
Requires: gawk
|
||||
|
|
@ -98,6 +99,7 @@ The Apache CloudStack files shared between agent and management server
|
|||
Summary: CloudStack Agent for KVM hypervisors
|
||||
Requires: (openssh-clients or openssh)
|
||||
Requires: java-11-openjdk
|
||||
Requires: tzdata-java
|
||||
Requires: %{name}-common = %{_ver}
|
||||
Requires: libvirt
|
||||
Requires: ebtables
|
||||
|
|
@ -134,6 +136,7 @@ The CloudStack baremetal agent
|
|||
%package usage
|
||||
Summary: CloudStack Usage calculation server
|
||||
Requires: java-11-openjdk
|
||||
Requires: tzdata-java
|
||||
Group: System Environment/Libraries
|
||||
%description usage
|
||||
The CloudStack usage calculation service
|
||||
|
|
|
|||
Loading…
Reference in New Issue