Create snapshot fails for manager with more than 1000 tenants

Description

Create snapshot fails for manager with more than 1000 tenants.

Prerequisites:
Cloudify premium CLI edition installed version 4.3
Cloudify manager v4.3 from image

Steps to Reproduce

1. Create 1000 different tenants on the manager, so with the default one it will have 1001 tenants.
2. Create snapshot.

Expected result:
The snapshot was created successfully.

Actually result:
The create snapshot fails with error "400: Response size (1001) bigger than max allowed (1000), please use pagination."

Why Propose Close?

None

Activity

Show:
Pavel Brodsky
February 14, 2018, 12:01 PM

I'm assuming this might break on resources other than the tenant. And not only that - wherever we're using list without pagination (which is almost everywhere), things might break. For example, the usage collector will surely break on a system like this, authentication will break if there are more than 1000 users/groups, etc. This is a critical bug, IMO.

Fixed

Assignee

Inbal Amrani

Reporter

Inbal Amrani

Labels

Severity

High

Target Version

4.4

Premium Only

yes

Found In Version

4.3

QA Owner

Lital Hamami

Bug Type

regression bug

Customer Encountered

None

Customer Name

None

Release Notes

yes

Priority

None

Epic Link

Sprint

None

Fix versions

Priority

Unprioritized
Configure