xCAT 2.10 20150702 build. Both o rh and sles.
After I start console using confluent. I would like to switch back to conserver to open console for the cn, but get error.
[root@c910f02c01p22 ~]# rpm -qa |grep -i xcat
xCAT-genesis-base-ppc64-2.10-snap201505172314.noarch
xCAT-buildkit-2.10-snap201507022255.noarch
xCAT-test-2.10-snap201507022255.noarch
syslinux-xcat-3.86-2.noarch
grub2-xcat-2.02-0.16.el7.snap201505140423.noarch
perl-xCAT-2.10-snap201507022255.noarch
xCAT-server-2.10-snap201507022255.noarch
xCAT-genesis-scripts-ppc64-2.10-snap201507022255.noarch
xCAT-confluent-2.10-snap201507022255.noarch
ipmitool-xcat-1.8.11-3.ppc64
conserver-xcat-8.1.16-10.ppc64
xCAT-client-2.10-snap201507022255.noarch
xCAT-2.10-snap201507022255.ppc64
[root@c910f02c01p22 ~]# tabdump site |grep -i console
"consoleservice",,,
[root@c910f02c01p22 ~]# rcons c910f02c01p23
Error: consoleservice is set to 'conserver' but confluent is running. Stop confluent, run makeconservercf, and retry...
[root@c910f02c01p22 ~]#
[root@c910f02c01p22 ~]#
[root@c910f02c01p22 ~]# ps -ef |grep -i confluent
root 29685 29356 0 04:45 pts/3 00:00:00 grep -i confluent
[root@c910f02c01p22 ~]# service confluent stop
[root@c910f02c01p22 ~]# [ OK ]
[root@c910f02c01p22 ~]#
[root@c910f02c01p22 ~]# ps -ef |grep -i confluent
root 29695 29356 0 04:46 pts/3 00:00:00 grep -i confluent
[root@c910f02c01p22 ~]# rcons c910f02c01p23
Error: consoleservice is set to 'conserver' but confluent is running. Stop confluent, run makeconservercf, and retry...
Hi Ting Ting, this is a byproduct of Bug #4707. The new code check is dependent on "service confluent status" to return correctly. On your machine, the code is old and the function is not there.
I was going to return this defect but then I decided to add in another check to make sure that confluent is installed before running the test.
Commit: 1176909e54841a4c9ccad2838e959c7e4391d9d8
Ting Ting, I added the new version of the /etc/init.d/confluent onto your test machine but named it .vkhu
[root@c910f02c01p22 init.d]# ls -ltr confluent*
-rwxr-xr-x 1 root root 941 Mar 19 14:49 confluent
-rwxr-xr-x 1 root root 903 Jul 6 10:07 confluent.vkhu
If you want to verify the original defect, please use the .vkhu version