Comment 4 for bug 1520610

Revision history for this message
Alexander Nagovitsyn (gluk12189) wrote :

I am trying to reproduce on 2 controllers- 1 compute cluster on 429 iso 8.0.

node 1 and node 2 - controllers.

NODE-1:
root@node-1:~# initctl list | grep heat-engine
heat-engine stop/waiting
root@node-1:~# ps ax | grep heat-engine
 4828 ? S 0:06 /usr/bin/python /usr/bin/heat-engine --config-file=/etc/heat/heat.conf
 5444 ? S 0:00 /usr/bin/python /usr/bin/heat-engine --config-file=/etc/heat/heat.conf
 5445 ? S 0:00 /usr/bin/python /usr/bin/heat-engine --config-file=/etc/heat/heat.conf

NODE-2:
root@node-2:~/test/mos-integration-tests/mos_tests/heat# initctl list | grep heat-engine
heat-engine start/running, process 21535
root@node-2:~/test/mos-integration-tests/mos_tests/heat# ps ax | grep heat-engine
22090 ? Rs 0:00 /usr/bin/python /usr/bin/heat-engine --config-file=/etc/heat/heat.conf --log-file=/var/log/heat/heat-engine.log
22102 pts/27 S+ 0:00 grep --color=auto heat-engine

####
Stop heat engine on NODE-1 only:

Node-1:
root@node-1:~# crm resource stop clone_p_heat-engine

root@node-1:~# ps ax | grep heat-engine
 7248 pts/27 S+ 0:00 grep --color=auto heat-engine
root@node-1:~# initctl list | grep heat-engine
heat-engine stop/waiting

Heat-endine was stopped on node 1.

Node-2:
root@node-2:~/test/mos-integration-tests/mos_tests/heat# initctl list | grep heat-engine
heat-engine start/running, process 29938
root@node-2:~/test/mos-integration-tests/mos_tests/heat# ps ax | grep heat-engine
30213 ? Rs 0:00 /usr/bin/python /usr/bin/heat-engine --config-file=/etc/heat/heat.conf --log-file=/var/log/heat/heat-engine.log

Heat engine is working on node 2!

Start heat engine again. Enshure that he running

Than stop heat engine on NODE-2 only:

root@node-2:~/test/mos-integration-tests/mos_tests/heat# crm resource stop clone_p_heat-engine

root@node-2:~/test/mos-integration-tests/mos_tests/heat# initctl list | grep heat-engine
heat-engine start/running, process 6412
root@node-2:~/test/mos-integration-tests/mos_tests/heat# ps ax | grep heat-engine
 7329 ? Rs 0:00 /usr/bin/python /usr/bin/heat-engine --config-file=/etc/heat/heat.conf --log-file=/var/log/heat/heat-engine.log
Heat endine isn't stopped on node-2!

Node-1:
root@node-1:~# ps ax | grep heat-engine
16682 pts/27 S+ 0:00 grep --color=auto heat-engine
root@node-1:~# initctl list | grep heat-engine
heat-engine stop/waiting

Heat engine working on NODE-2 and stpped on NODE-1

Stop heat-engine using service:

root@node-2:~/test/mos-integration-tests/mos_tests/heat# service heat-engine stop
heat-engine stop/waiting
root@node-2:~/test/mos-integration-tests/mos_tests/heat# ps ax | grep heat-engine
 7838 pts/27 S+ 0:00 grep --color=auto heat-engine
root@node-2:~/test/mos-integration-tests/mos_tests/heat# initctl list | grep heat-engine
heat-engine stop/waiting

The servise is stopped.

Start heat-engine using crm on node-1
Try stopped service using service stop:
root@node-1:~# service heat-engine stop
stop: Unknown instance:

root@node-1:~# ps ax | grep heat-engine
15754 ? S 0:08 /usr/bin/python /usr/bin/heat-engine --config-file=/etc/heat/heat.conf
15891 ? S 0:01 /usr/bin/python /usr/bin/heat-engine --config-file=/etc/heat/heat.conf
15892 ? S 0:01 /usr/bin/python /usr/bin/heat-engine --config-file=/etc/heat/heat.conf

Heat-engine is working on node-1

As a conclusion, I think that heat-engine on NODE-2 using service instread pcs / crm