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

Cloudify should not store any file at /tmp

Description

Currently Cloudify uses /tmp to store files, some of them are deployment temporary files, some are pid and logs.
Both RHEL and CentOS have services that clean /tmp on a regular basis, which might lead, in case it is not configured correctly, to the deletion of Cloudify files and making the manager unusable.
We should avoid using the /tmp and save files in a location that is part of Cloudify home.
The list of files and folders is:
cloudify-logging-*
cloudify-lock-*
cloudify-monitoring-*
hsperfdata_logstash
hsperfdata_riemann
hsperfdata_*
rabbitmq.pid
composer
task-cloudify*
riemann.log

Steps to Reproduce

Environment:
OS (CLI), HA cluster, cloud provider
------------------------------------

Steps to reproduce:
------------------
1. Install a manager
2. Delete the content of /tmp
3. Try to run an install or uninstall on this manager.

Expected result:
---------------

Actual result:
-------------

Why Propose Close?

None

Status

Assignee

Isaac Shabtay

Reporter

Jonathan Abramsohn

Labels

Severity

Medium

Target Version

4.5

Premium Only

no

Found In Version

4.3

QA Owner

None

Bug Type

legacy bug

Customer Encountered

Yes

Customer Name

c478

Release Notes

yes

Priority

None

Sprint

None

Priority

Unprioritized