Bug 1389670 - Should give error info telling user can not create PV
Summary: Should give error info telling user can not create PV
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Jessica Forrester
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-28 07:53 UTC by Yadan Pei
Modified: 2017-03-08 18:43 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-12 14:38:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0066 0 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.4 RPM Release Advisory 2017-01-18 17:23:26 UTC

Description Yadan Pei 2016-10-28 07:53:46 UTC
Description of problem:
When create PV through Import YAML/JSON option, it didn't give any error info
However when create quota, limits through Import YAML/JSON option, it gives reasonable error message "Failed to process the resource.User "<user>" cannot create resourcequotas/limitranges in project "<project>"

Version-Release number of selected component (if applicable):
v3.4.0.16

How reproducible:
Always

Steps to Reproduce:
1.Download test file
# wget https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/persistent-volumes/nfs/auto/pv.json
2.Add to project -> Import YAML/JSON -> Upload pv.json through Browse or Copy/Paste pv.json content
3.Hit on Create

Actual results:
3.403 (Forbidden) code returned, but didn't give any error on web console telling user could not create pv in current project

Expected results:
3.Should give error info like:
Failed to process the resource.
User "<user>" cannot create persistentvolume in project "<project>"

Additional info:

Comment 1 Jessica Forrester 2016-10-28 14:21:05 UTC
@jhadvig assigning this to you since its the import yaml page

Comment 2 Troy Dawson 2016-11-02 18:00:35 UTC
This has been merged into ose and is in OSE v3.4.0.19 or newer.

Comment 4 Yadan Pei 2016-11-03 02:37:07 UTC
Checked against v3.4.0.19+346a31d

When create PV on web console, it will give error info at the bottom:
Unable to create the persistent volume '<pv_name>'.User "<user>" cannot create persistentvolumes in project "<project>"

Move to VERIFIED


Note You need to log in before you can comment on or make changes to this bug.