Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1389670 - Should give error info telling user can not create PV
Should give error info telling user can not create PV
Status: CLOSED CURRENTRELEASE
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console (Show other bugs)
3.4.0
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Jessica Forrester
Yadan Pei
: Regression
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-10-28 03:53 EDT by Yadan Pei
Modified: 2017-03-08 13 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-12-12 09:38:27 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0066 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.4 RPM Release Advisory 2017-01-18 12:23:26 EST

  None (edit)
Description Yadan Pei 2016-10-28 03:53:46 EDT
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 10:21:05 EDT
@jhadvig assigning this to you since its the import yaml page
Comment 2 Troy Dawson 2016-11-02 14:00:35 EDT
This has been merged into ose and is in OSE v3.4.0.19 or newer.
Comment 4 Yadan Pei 2016-11-02 22:37:07 EDT
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.