Skip to content

Commit c09bbd3

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 3937a7b commit c09bbd3

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
@@ -129,7 +130,6 @@ Provides: cloud-agent
129130
Obsoletes: cloud-agent < 4.1.0
130131
Obsoletes: cloud-agent-libs < 4.1.0
131132
Obsoletes: cloud-test < 4.1.0
132-
Obsoletes: cloud-daemonize < 4.1.0
133133
Group: System Environment/Libraries
134134
%description agent
135135
The CloudStack agent for KVM hypervisors
@@ -415,13 +415,11 @@ if [ -f $oldserverxml ] || [ -L $oldserverxml ]; then
415415
if stat -c %N $oldserverxml| grep -q server-ssl ; then
416416
if [ -f $serverxml ] || [ -L $serverxml ]; then rm -f $serverxml; fi
417417
ln -s %{_sysconfdir}/%{name}/management/server-ssl.xml $serverxml
418-
echo Please verify the server.xml in saved folder, and make the required changes manually , saved folder available at
419-
echo %{_sysconfdir}/%{name}/management
418+
echo Please verify the server.xml in saved folder, and make the required changes manually , saved folder available at $oldserverxml
420419
else
421420
if [ -f $serverxml ] || [ -L $serverxml ]; then rm -f $serverxml; fi
422421
ln -s %{_sysconfdir}/%{name}/management/server-nonssl.xml $serverxml
423-
echo Please verify the server.xml in saved folder, and make the required changes manually , saved folder available at
424-
echo %{_sysconfdir}/%{name}/management
422+
echo Please verify the server.xml in saved folder, and make the required changes manually , saved folder available at $oldserverxml
425423

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

0 commit comments

Comments
 (0)