Bug 1241392
| Summary: | Failed to create app using source code since failed to create deploymentconfig | |||
|---|---|---|---|---|
| Product: | OKD | Reporter: | Wei Sun <wsun> | |
| Component: | Management Console | Assignee: | Samuel Padgett <spadgett> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Wei Sun <wsun> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 3.x | CC: | libra-bugs, mmccomas, wjiang | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1245032 (view as bug list) | Environment: | ||
| Last Closed: | 2015-09-08 20:13:24 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1245032 | |||
|
Description
Wei Sun
2015-07-09 07:15:31 UTC
Management console doesn't check if the port.name exceed the limitation. https://github.com/openshift/origin/blob/master/assets/app/scripts/services/applicationGenerator.js#L58 And `oc new-app` will guarantee the port.name is a valid IANA_SVC_NAME. https://github.com/openshift/origin/blob/master/pkg/generate/app/app.go#L343 So should the Management console do the same things like oc to generate a valid name? There appears to be a problem with build configs as well: Cannot create BuildConfig nodejs-example. BuildConfig "nodejs-example" is invalid: spec.output.to.kind: required value Checked this bug in devenv_fedora_2024,now could create the application successfully using source code on web console. After the bug is moved to ON_QA,we will verify it. Verified this bug in devenv-fedora_2032. Now the application could be created successfully. |