Bug 1006255
Summary: | Wrong possible matched cartridge displayed when creating app. | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Yujie Zhang <yujzhang> |
Component: | oc | Assignee: | Jessica Forrester <jforrest> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 2.x | CC: | jforrest, 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: | 2013-09-19 16:50:33 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: |
Description
Yujie Zhang
2013-09-10 10:23:43 UTC
Fix in https://github.com/openshift/rhc/pull/457 It was matching part of a string in the cartridge's description. The change is to only match on whole words in the cartridge description. This allows for the phpmyadmin cart to show up still when just 'mysql' is used as the search string. Commit pushed to master at https://github.com/openshift/rhc https://github.com/openshift/rhc/commit/fb3f5e7e66c16ad23413c27038a59a5d07bbab0f Bug 1006255 - cartridges should only match description on whole words Tested on devenv_3771, the possible matched cartridge can be displayed correctly now, details as following, so verify this bug, thanks. [root@ip-10-184-16-152 ~]# rhc app create appname tt Short Name Full name ========== ========= 10gen-mms-agent-0.1 10gen Mongo Monitoring Service Agent cron-1.4 Cron 1.4 diy-0.1 Do-It-Yourself 0.1 jbossas-7 JBoss Application Server 7 jbosseap-6 JBoss Enterprise Application Platform 6.1.0 jenkins-client-1 Jenkins Client jenkins-1 Jenkins Server mock-0.1 Mock Cartridge 0.1 mock-0.2 Mock Cartridge 0.2 mock-plugin-0.1 Mock Plugin Cartridge 0.1 mongodb-2.2 MongoDB NoSQL Database 2.2 mysql-5.1 MySQL Database 5.1 nodejs-0.10 Node.js 0.10 nodejs-0.6 Node.js 0.6 metrics-0.1 OpenShift Metrics 0.1 haproxy-1.4 OpenShift Web Balancer perl-5.10 Perl 5.10 php-5.3 PHP 5.3 phpmyadmin-4 phpMyAdmin 4.0 postgresql-8.4 PostgreSQL Database 8.4 postgresql-9.2 PostgreSQL Database 9.2 python-2.6 Python 2.6 python-2.7 Python 2.7 python-3.3 Python 3.3 rockmongo-1.1 RockMongo 1.1 ruby-1.8 Ruby 1.8 ruby-1.9 Ruby 1.9 switchyard-0 SwitchYard 0.8.0 jbossews-1.0 Tomcat 6 (JBoss EWS 1.0) jbossews-2.0 Tomcat 7 (JBoss EWS 2.0) zend-5.6 Zend Server 5.6 There are no cartridges that match 'tt'. [root@ip-10-184-16-152 ~]# rhc app create appname ph -k Short Name Full name ========== ========= php-5.3 PHP 5.3 zend-5.6 Zend Server 5.6 |