"get_attribute" to multi-instance node template returns HTTP 500

Description

When get_attribute is invoked and the target node template has more than one instance, it is an error condition. A message is sent to the REST logs:

However, this error message doesn't get to the dispatcher at all. The Management Workers log shows something like this:

Making it VERY cumbersome to track.

This error shouldn't actually return HTTP 500, ever.

Steps to Reproduce

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

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

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

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

Why Propose Close?

None

Assignee

Łukasz Maksymczuk

Reporter

Isaac Shabtay

Labels

None

Severity

Medium

Target Version

4.5

Premium Only

no

Found In Version

4.1

QA Owner

Lital Hamami

Bug Type

legacy bug

Customer Encountered

Yes

Customer Name

None

Release Notes

yes

Priority

None

Sprint

None

Priority

Unprioritized
Configure