Horizon "ceph storage pools" edit with invalid setting accepted

Bug #1837665 reported by Peng Peng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Won't Fix
Low
Unassigned

Bug Description

Brief Description
-----------------
On Horizon of storage system,
login as admin user select
Platform - System Configuration 'Ceph Storage Pools',
edit "ceph storage pools" by "edit pool quotas"
input invalid data like
1. total quotas less than total available
2. total quotas great than total available

Both setting were acceped, and modification successfully

Severity
--------
Minor

Steps to Reproduce
------------------
login as admin user select
Platform - System Configuration 'Ceph Storage Pools',
edit "ceph storage pools" by "edit pool quotas"
input invalid data like
step 1. total quotas less than total available
Step 2. total quotas great than total available

TC-name:

Expected Behavior
------------------
invalid input should not accepted

Actual Behavior
----------------
invalid setting acepted.

Reproducibility
---------------
Reproducible

System Configuration
--------------------
Multi-node system

Lab-name: WCP_7-12

Branch/Pull Time/Commit
-----------------------
stx master as of 20190721T233000Z

Last Pass
---------

Timestamp/Logs
--------------
After step 1:

[sysadmin@controller-0 ~(keystone_admin)]$ system storage-backend-show e3982079-f3b8-4304-a81c-2cee8353820f
+----------------------+--------------------------------------+
| Property | Value |
+----------------------+--------------------------------------+
| backend | ceph |
| name | ceph-store |
| state | configured |
| task | None |
| services | None |
| capabilities | min_replication: 1 |
| | replication: 2 |
| object_gateway | False |
| ceph_total_space_gib | 222 |
| object_pool_gib | 6 |
| cinder_pool_gib | 2 |
| kube_pool_gib | 3 |
| glance_pool_gib | 4 |
| ephemeral_pool_gib | 5 |
| tier_name | storage |
| tier_uuid | e339e6e3-caf1-4a0e-9ad8-7ae9dbb7f6b6 |
| created_at | 2019-07-23T14:31:58.993192+00:00 |
| updated_at | 2019-07-23T15:35:41.637082+00:00 |
+----------------------+--------------------------------------+

After step 2:
[sysadmin@controller-0 ~(keystone_admin)]$ system storage-backend-show e3982079-f3b8-4304-a81c-2cee8353820f
+----------------------+--------------------------------------+
| Property | Value |
+----------------------+--------------------------------------+
| backend | ceph |
| name | ceph-store |
| state | configured |
| task | None |
| services | None |
| capabilities | min_replication: 1 |
| | replication: 2 |
| object_gateway | False |
| ceph_total_space_gib | 222 |
| object_pool_gib | 600 |
| cinder_pool_gib | 20 |
| kube_pool_gib | 30 |
| glance_pool_gib | 40 |
| ephemeral_pool_gib | 50 |
| tier_name | storage |
| tier_uuid | e339e6e3-caf1-4a0e-9ad8-7ae9dbb7f6b6 |
| created_at | 2019-07-23T14:31:58.993192+00:00 |
| updated_at | 2019-07-23T15:35:41.637082+00:00 |
+----------------------+--------------------------------------+

controller-0:~$ cat /etc/build.info
###
### StarlingX
### Built from master
###

OS="centos"
SW_VERSION="19.01"
BUILD_TARGET="Host Installer"
BUILD_TYPE="Formal"
BUILD_ID="20190721T233000Z"

JOB="STX_build_master_master"
<email address hidden>"
BUILD_NUMBER="188"
BUILD_HOST="starlingx_mirror"
BUILD_DATE="2019-07-21 23:30:00 +0000"
controller-0:~$ source /etc/platform/openrc
[sysadmin@controller-0 ~(keystone_admin)]$ fm alarm-list

[sysadmin@controller-0
[sysadmin@controller-0 ~(keystone_admin)]$ date
Tue Jul 23 20:50:33 UTC 2019
[sysadmin@controller-0 ~(keystone_admin)]$

Test Activity
-------------
Sanity
Feature Testing
Regression Testing
Developer Testing
Evaluation
Other - Please specify

Revision history for this message
Peng Peng (ppeng) wrote :
Revision history for this message
Peng Peng (ppeng) wrote :
Revision history for this message
Peng Peng (ppeng) wrote :
Revision history for this message
Peng Peng (ppeng) wrote :
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Low priority / not gating -- this is a request for additional semantic checks

Changed in starlingx:
importance: Undecided → Low
status: New → Triaged
tags: added: stx.gui
tags: added: stx.helpwanted
Yang Liu (yliu12)
tags: added: stx.retestneeded
Revision history for this message
Ramaswamy Subramanian (rsubrama) wrote :

No progress on this bug for more than 2 years. Candidate for closure.

If there is no update, this issue is targeted to be closed as 'Won't Fix' in 2 weeks.

Revision history for this message
Ramaswamy Subramanian (rsubrama) wrote :

Changing the status to 'Won't Fix' as there is no activity.

Changed in starlingx:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.