Bug 1024669
Summary: | Application of download cartridge with "_" in "Cartridge-Vendor" fails to scale up, but it succeeds to be created. | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Online | Reporter: | Qiushui Zhang <qiuzhang> | ||||
Component: | Pod | Assignee: | Abhishek Gupta <abhgupta> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 2.x | CC: | xtian | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-01-30 00:49:39 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: | |||||||
Attachments: |
|
Description
Qiushui Zhang
2013-10-30 08:24:44 UTC
Broker should support same regex as Node for cartridge names See manifest.rb#VALID_CARTRIDGE_NAME_PATTERN and manifest.rb#VALID_VENDOR_NAME_PATTERN Fixed with --> https://github.com/openshift/origin-server/pull/4054 The cartridge vendor name is OK, and the scale up process is now successful. Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/faf099feb2038cf8d1d2f0f49a87d6a17d35d812 Fix for bug 1024669 Tested on devenv_3971. The problem talked in this defect is fixed. The application of download cartridge with "_" in "Cartridge-Vendor" can be scaled up. For the bug 892899: [openshift@dhcp-10-143 tmp]$ curl -k -H "Accept: application/xml" --user qiuzhang:redhat $addr/kkk/events -d event="ab_d" <?xml version="1.0" encoding="UTF-8"?> <response> <status>unprocessable_entity</status> <type nil="true"></type> <data> <datum nil="true"></datum> </data> <messages> <message> <severity>error</severity> <text>Event can only contain lowercase a-z and '-' characters</text> <exit-code>126</exit-code> <field>event</field> <index nil="true"></index> </message> </messages> <version>1.6</version> <api-version>1.6</api-version> <supported-api-versions> <supported-api-version>1.0</supported-api-version> <supported-api-version>1.1</supported-api-version> <supported-api-version>1.2</supported-api-version> <supported-api-version>1.3</supported-api-version> <supported-api-version>1.4</supported-api-version> <supported-api-version>1.5</supported-api-version> <supported-api-version>1.6</supported-api-version> </supported-api-versions> </response> [openshift@dhcp-10-143 tmp]$ curl -k -H "Accept: application/xml" --user qiuzhang:redhat https://ec2-50-19-158-133.compute-1.amazonaws.com/broker/rest/domain/qiuzhang/applications -d name=app_name -d cartridge=php-5.3 -d scale=true -X POST <?xml version="1.0" encoding="UTF-8"?> <response> <status>unprocessable_entity</status> <type nil="true"></type> <data> <datum nil="true"></datum> </data> <messages> <message> <severity>error</severity> <text>Invalid application name. Name must only contain alphanumeric characters.</text> <exit-code>105</exit-code> <field>name</field> <index nil="true"></index> </message> </messages> <version>1.6</version> <api-version>1.6</api-version> <supported-api-versions> <supported-api-version>1.0</supported-api-version> <supported-api-version>1.1</supported-api-version> <supported-api-version>1.2</supported-api-version> <supported-api-version>1.3</supported-api-version> <supported-api-version>1.4</supported-api-version> <supported-api-version>1.5</supported-api-version> <supported-api-version>1.6</supported-api-version> </supported-api-versions> </response> Mark the bug as verified. |