Bug 1273185 - [RFE] oadm new-project needs to take template arguments
[RFE] oadm new-project needs to take template arguments
Status: NEW
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE (Show other bugs)
3.1.0
Unspecified Unspecified
unspecified Severity low
: ---
: ---
Assigned To: Michal Fojtik
Johnny Liu
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-10-19 17:14 EDT by Erik M Jacobs
Modified: 2017-03-23 15:25 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
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)
default project template with quota/limit (2.35 KB, text/plain)
2015-10-19 17:15 EDT, Erik M Jacobs
no flags Details

  None (edit)
Description Erik M Jacobs 2015-10-19 17:14:38 EDT
Steps to reproduce:

1. create a project template to use as default
2. configure master to use project template as default
3. create project using "oadm new-project"

Default project template is ignored... or, at least, quota and limits sections are ignored.

Template for reference attached.

atomic-openshift-3.0.2.901-0.git.61.568adb6.el7aos.x86_64
atomic-openshift-clients-3.0.2.901-0.git.61.568adb6.el7aos.x86_64
atomic-openshift-master-3.0.2.901-0.git.61.568adb6.el7aos.x86_64
atomic-openshift-node-3.0.2.901-0.git.61.568adb6.el7aos.x86_64
atomic-openshift-sdn-ovs-3.0.2.901-0.git.61.568adb6.el7aos.x86_64
tuned-profiles-atomic-openshift-node-3.0.2.901-0.git.61.568adb6.el7aos.x86_64
Comment 2 Erik M Jacobs 2015-10-19 17:15 EDT
Created attachment 1084539 [details]
default project template with quota/limit
Comment 3 Erik M Jacobs 2015-10-19 17:24:01 EDT
So the suggestion here is that this behavior exists because "oadm new-project" doesn't involve a projectRequest -- and the defined "default" is for projectRequests.

However, this is an unexpected user experience. "oadm new-project" should probably inherit the default template, or allow to specify a template explicitly. Having to use "oc process" to create a default-looking project for a user seems strange and cumbersome.

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