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:
@jhadvig assigning this to you since its the import yaml page
This has been merged into ose and is in OSE v3.4.0.19 or newer.
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