[Murano] Package uploaded if it size more than package_size_limit with Glare enabled

Bug #1590474 reported by Mykola Stolyarenko on 2016-06-08
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Status tracked in 10.0.x
10.0.x
Medium
MOS Murano

Bug Description

Detailed bug description:
Package uploaded if it size more than limit. Glare enabled

Expected results:
Package more than size limit shouldn't uploaded

Actual result:
Package uploaded if it size more than limit. Glare enabled

Steps to reproduce:
1 Set in murano.conf package_size_limit=2 On controller node /etc/murano/murano.conf
2 Log into OpenStack Horizon dashboard as admin user.
3 Navigate to Murano > Manage > Package Definitions.
4 Upload package with size=1.99MB
5 Check that package would be uploaded successfully
6 Upload package with size=2.00MB
7 Check that package would be uploaded successfullypackage_size_limit
8 Upload package with size=2.01MB
9 Check that package wouldn’t be uploaded and we get correct failure message

Reproducibility:
Always

Description of the environment:
ENVIRONMENT: MOS 9.0 ISO 443

summary: [Murano] Package uploaded if it size more than package_size_limit with
- Glare
+ Glare enabled
description: updated
Alexander Tivelkov (ativelkov) wrote :

Does not look like a bug for me: this is an expected behaviour when Glare is in use. The limit on the size of the package was needed because in non-glare environments packages were stored in SQL database as blobs.
Now when they are part of Glare there is neither a possibility nor a real need to restrict their size.

Changed in mos:
status: New → Invalid
Alexander Tivelkov (ativelkov) wrote :

The package-size option has to be deprecated as part of 10.0

Also adding a release-note tag for 9.0 to reflect in release notes the fact that "package_size_limit" parameter is ignored

tags: added: release-notes
tags: added: release-notes-done
removed: release-notes
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers