mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-7316: Usage Server is not getting started when we install it on management server. This is happening when encryption is enabled. For usage server it is not able to get key file in the classpath.
This commit is contained in:
parent
23c7c73989
commit
51e0488e5c
@ -556,6 +556,12 @@ if [ -f "%{_sysconfdir}/%{name}/management/db.properties" ]; then
|
|||||||
/sbin/chkconfig --level 345 cloudstack-usage on > /dev/null 2>&1 || true
|
/sbin/chkconfig --level 345 cloudstack-usage on > /dev/null 2>&1 || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -f "%{_sysconfdir}/%{name}/management/key" ]; then
|
||||||
|
echo Replacing key with management server key
|
||||||
|
rm -f %{_sysconfdir}/%{name}/usage/key
|
||||||
|
ln -s %{_sysconfdir}/%{name}/management/key %{_sysconfdir}/%{name}/usage/key
|
||||||
|
fi
|
||||||
|
|
||||||
#%post awsapi
|
#%post awsapi
|
||||||
#if [ -d "%{_datadir}/%{name}-management" ] ; then
|
#if [ -d "%{_datadir}/%{name}-management" ] ; then
|
||||||
# ln -s %{_datadir}/%{name}-bridge/webapps %{_datadir}/%{name}-management/webapps7080
|
# ln -s %{_datadir}/%{name}-bridge/webapps %{_datadir}/%{name}-management/webapps7080
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user