db & broker node installation should require patch to be installed

Description

As we moved to the new arch patchify need to be able to deliver patches also to db & broker nodes.
but it fails because the patch rpm is not installed there.
looking at https://github.com/cloudify-cosmo/cloudify-manager-install/blob/098f2a937257be52e0dcbd9410d2120da2b7d820/cfy_manager/components/service_components.py#L18 it looks as simple as adding "patch" to the 'database_service' and the 'queue_service' lists.
However it is not clear how the system will behave in all-in-one (whether the rpm installation will fail or ignore when trying to install same package several times

Steps to Reproduce

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

Steps to reproduce:
------------------
1.
2.
3.

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

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

Why Propose Close?

None

Activity

Show:
Barak Azulay
January 19, 2020, 11:17 AM

although this is not a blocker for 5.0.5 , please provide the answer for the question about the behavior in all-in-one and than we’ll decide howto proceed

Michael Glokhman
January 19, 2020, 12:45 PM
Edited

what happens is that in AIO installation, patch would be validated 3 times, and when it tries to install the 2nd and 3rd time it simply logs DEBUG - Package patch is already installed and then continues normally.

So it seems to work correctly, it’s just an efficiency issue

geokala
January 20, 2020, 10:30 AM

Sounds good to me.

Assignee

Michael Glokhman

Reporter

Barak Azulay

Labels

None

Severity

Medium

Target Version

5.0.5

Premium Only

no

Found In Version

5.0

QA Owner

None

Bug Type

regression bug

Customer Encountered

No

Customer Name

None

Release Notes

yes

Priority

None

Priority

Blocker
Configure