Skip to content

Commit 12f36b8

Browse files
rayeesnfrank
authored andcommitted
CLOUDSTACK-4370 - Upgrade failing due to depenency with cloudstack-agent, changed remove dependency from cloud-agent to cloud-common
1 parent 6f7fdac commit 12f36b8

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

‎packaging/centos63/cloud.spec‎

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ Obsoletes: cloud-deps < 4.1.0
104104
Obsoletes: cloud-python < 4.1.0
105105
Obsoletes: cloud-setup < 4.1.0
106106
Obsoletes: cloud-cli < 4.1.0
107+
Obsoletes: cloud-daemonize < 4.1.0
107108
Group: System Environment/Libraries
108109
%description common
109110
The Apache CloudStack files shared between agent and management server
@@ -128,7 +129,6 @@ Provides: cloud-agent
128129
Obsoletes: cloud-agent < 4.1.0
129130
Obsoletes: cloud-agent-libs < 4.1.0
130131
Obsoletes: cloud-test < 4.1.0
131-
Obsoletes: cloud-daemonize < 4.1.0
132132
Group: System Environment/Libraries
133133
%description agent
134134
The CloudStack agent for KVM hypervisors
@@ -414,13 +414,11 @@ if [ -f $oldserverxml ] || [ -L $oldserverxml ]; then
414414
if stat -c %N $oldserverxml| grep -q server-ssl ; then
415415
if [ -f $serverxml ] || [ -L $serverxml ]; then rm -f $serverxml; fi
416416
ln -s %{_sysconfdir}/%{name}/management/server-ssl.xml $serverxml
417-
echo Please verify the server.xml in saved folder, and make the required changes manually , saved folder available at
418-
echo %{_sysconfdir}/%{name}/management
417+
echo Please verify the server.xml in saved folder, and make the required changes manually , saved folder available at $oldserverxml
419418
else
420419
if [ -f $serverxml ] || [ -L $serverxml ]; then rm -f $serverxml; fi
421420
ln -s %{_sysconfdir}/%{name}/management/server-nonssl.xml $serverxml
422-
echo Please verify the server.xml in saved folder, and make the required changes manually , saved folder available at
423-
echo %{_sysconfdir}/%{name}/management
421+
echo Please verify the server.xml in saved folder, and make the required changes manually , saved folder available at $oldserverxml
424422

425423
fi
426424
else
@@ -434,13 +432,11 @@ if [ -f $oldtomcatconf ] || [ -L $oldtomcatconf ] ; then
434432
if stat -c %N $oldtomcatconf| grep -q tomcat6-ssl ; then
435433
if [ -f $tomcatconf ] || [ -L $tomcatconf ]; then rm -f $tomcatconf; fi
436434
ln -s %{_sysconfdir}/%{name}/management/tomcat6-ssl.conf $tomcatconf
437-
echo Please verify the tomcat6.conf in saved folder, and make the required changes manually , saved folder available at
438-
echo %{_sysconfdir}/%{name}/management
435+
echo Please verify the tomcat6.conf in saved folder, and make the required changes manually , saved folder available at $oldtomcatconf
439436
else
440437
if [ -f $tomcatconf ] || [ -L $tomcatconf ]; then rm -f $tomcatconf; fi
441438
ln -s %{_sysconfdir}/%{name}/management/tomcat6-nonssl.conf $tomcatconf
442-
echo Please verify the tomcat6.conf in saved folder, and make the required changes manually , saved folder available at
443-
echo %{_sysconfdir}/%{name}/management
439+
echo Please verify the tomcat6.conf in saved folder, and make the required changes manually , saved folder available at $oldtomcatconf
444440
fi
445441
else
446442
echo "Unable to determine ssl settings for tomcat.conf, please run cloudstack-setup-management manually"

0 commit comments

Comments
 (0)