We're updating the issue view to help you get more done. 

cfy_manager remove doesn't stop all processess and doens't remove all services

Description

After cfy_manager remove next resources stay in system:

1 2 3 4 [centos@cm-2 ~]$ systemctl | grep cloudify cloudify-postgresql.service loaded active running PostgreSQL 9.5 database server ● cloudify-riemann.service not-found failed failed cloudify-riemann.service cloudify-syncthing.service loaded active running syncthing

Also next processes still running:

1 2 3 4 5 6 7 8 9 10 11 cfyuser 534 0.2 1.1 52152 43076 ? Ssl 15:13 0:06 /opt/syncthing/syncthing -no-restart postgres 865 0.0 0.4 340324 16256 ? S 15:13 0:00 /usr/pgsql-9.5/bin/postgres -D /var/pgdata postgres 892 0.0 0.0 193148 1540 ? Ss 15:13 0:00 postgres: logger process postgres 893 0.0 0.0 340396 2368 ? Ss 15:13 0:00 postgres: startup process recovering 000000020000000000000005 postgres 901 0.0 0.0 340324 1916 ? Ss 15:13 0:00 postgres: checkpointer process postgres 902 0.0 0.0 340324 2720 ? Ss 15:13 0:00 postgres: writer process postgres 903 0.0 0.0 195268 1764 ? Ss 15:13 0:00 postgres: stats collector process logstash 1017 0.9 5.9 3104324 232568 ? SNl 15:13 0:29 /bin/java -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -Djava.awt.headless=true -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOn rabbitmq 1310 0.0 0.0 11572 336 ? S 15:13 0:00 /usr/lib64/erlang/erts-6.3/bin/epmd -daemon root 1379 0.0 0.0 189740 2444 ? S 15:13 0:00 su rabbitmq -s /bin/sh -c /usr/lib/rabbitmq/bin/rabbitmq-server rabbitmq 1381 0.6 1.8 1244200 70888 ? Ssl 15:13 0:19 /usr/lib64/erlang/erts-6.3/bin/beam.smp -W w -K true -A30 -P 1048576 -- -root /usr/lib64/erlang -progname erl -- -home /var/lib/rabbitmq -- -pa /u

The folder /var/pgdata is here too.

Steps to Reproduce

Environment:
OS (CLI), HA cluster, cloud provider
------------------------------------
centos 7.4
CFY cluster 4.3
Openstack
Steps to reproduce:
------------------
1. cfy_manager remove ---force
2.
3.

Expected result:
---------------
Remove cloudify manager. All processes and services should be deleted

Actual result:
-------------
cloudify-postgresql, cloudify-riemann and cloudify-syncthing shoud be stopped and deleted

Why Propose Close?

None

Status

Assignee

Pavel Brodsky

Reporter

Vladimir Antonovich

Labels

Severity

Low

Target Version

4.4

Premium Only

no

Found In Version

4.3

QA Owner

Uri Wygodny

Bug Type

unknown

Customer Encountered

No

Customer Name

None

Release Notes

yes

Priority

None

Sprint

None

Priority

Unprioritized