Bug 1026168 - Some cartridges are shown in more than one entries
Summary: Some cartridges are shown in more than one entries
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Paul Morie
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-04 05:55 UTC by Qiushui Zhang
Modified: 2015-05-14 23:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-30 00:49:43 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Qiushui Zhang 2013-11-04 05:55:38 UTC
Description of problem:
For some cartridges, there are more than one entries:
jbosseap-6.0        JBoss Enterprise Application Platform 6.0   web
jbosseap-6 (*)      JBoss Enterprise Application Platform 6.1.0 web

jenkins-1           Jenkins Server                              web
jenkins-1.4         Jenkins Server 1.4                          web

jenkins-client-1    Jenkins Client                              addon
jenkins-client-1.4  Jenkins Client 1.4                          addon

phpmyadmin-3.4      phpMyAdmin 3.4                              addon
phpmyadmin-3        phpMyAdmin 3.4                              addon
phpmyadmin-4        phpMyAdmin 4.0                              addon

switchyard-0.6      SwitchYard 0.6                              addon
switchyard-0        SwitchYard 0.8.0                            addon

Version-Release number of selected component (if applicable):
STG(devenv-stage_549)

How reproducible:
always

Steps to Reproduce:
1. Do "rhc cartridge list"
2.
3.

Actual results:
Some cartridges have more than one entries.

Expected results:
Only the shorter one should be seen.

Additional info:
1. This bug does not happen on devenv_3984.
2. Current cartridge list on STG:
[openshift@dhcp-10-143 tmp]$ rhc cartridge list
jbossas-7           JBoss Application Server 7                  web
jbosseap-6.0        JBoss Enterprise Application Platform 6.0   web
jbosseap-6 (*)      JBoss Enterprise Application Platform 6.1.0 web
jenkins-1           Jenkins Server                              web
jenkins-1.4         Jenkins Server 1.4                          web
nodejs-0.10         Node.js 0.10                                web
nodejs-0.6          Node.js 0.6                                 web
perl-5.10           Perl 5.10                                   web
php-5.3             PHP 5.3                                     web
python-2.6          Python 2.6                                  web
python-2.7          Python 2.7                                  web
python-3.3          Python 3.3                                  web
ruby-1.8            Ruby 1.8                                    web
ruby-1.9            Ruby 1.9                                    web
jbossews-1.0        Tomcat 6 (JBoss EWS 1.0)                    web
jbossews-2.0        Tomcat 7 (JBoss EWS 2.0)                    web
zend-5.6            Zend Server 5.6                             web
diy-0.1             Do-It-Yourself 0.1                          web
10gen-mms-agent-0.1 10gen Mongo Monitoring Service Agent        addon
cron-1.4            Cron 1.4                                    addon
jenkins-client-1    Jenkins Client                              addon
jenkins-client-1.4  Jenkins Client 1.4                          addon
mongodb-2.2         MongoDB 2.2                                 addon
mysql-5.1           MySQL 5.1                                   addon
metrics-0.1         OpenShift Metrics 0.1                       addon
phpmyadmin-3.4      phpMyAdmin 3.4                              addon
phpmyadmin-3        phpMyAdmin 3.4                              addon
phpmyadmin-4        phpMyAdmin 4.0                              addon
postgresql-8.4      PostgreSQL 8.4                              addon
postgresql-9.2      PostgreSQL 9.2                              addon
rockmongo-1.1       RockMongo 1.1                               addon
switchyard-0.6      SwitchYard 0.6                              addon
switchyard-0        SwitchYard 0.8.0                            addon
haproxy-1.4         Web Load Balancer                           addon
Note: Web cartridges can only be added to new applications.
(*) denotes a cartridge with additional usage costs.

Comment 1 Dan McPherson 2013-11-04 18:13:44 UTC
I believe what is happening here is:

- A change was made to show all installed cartridges including cartridges not installed via rpm
- We haven't been cleaning up the old cartridges from stage/prod


The fix should be:

Add something to the release ticket to clean up old carts.

Comment 2 Paul Morie 2013-11-04 23:00:02 UTC
Should be fixed in STG now.

Comment 3 Qiushui Zhang 2013-11-05 02:42:03 UTC
On current STG (devenv_stage_552), 
[openshift@dhcp-10-143 tmp]$ rhc cartridge list
jbossas-7           JBoss Application Server 7                  web
jbosseap-6 (*)      JBoss Enterprise Application Platform 6.1.0 web
jenkins-1           Jenkins Server                              web
nodejs-0.10         Node.js 0.10                                web
nodejs-0.6          Node.js 0.6                                 web
perl-5.10           Perl 5.10                                   web
php-5.3             PHP 5.3                                     web
python-2.6          Python 2.6                                  web
python-2.7          Python 2.7                                  web
python-3.3          Python 3.3                                  web
ruby-1.8            Ruby 1.8                                    web
ruby-1.9            Ruby 1.9                                    web
jbossews-1.0        Tomcat 6 (JBoss EWS 1.0)                    web
jbossews-2.0        Tomcat 7 (JBoss EWS 2.0)                    web
zend-5.6            Zend Server 5.6                             web
diy-0.1             Do-It-Yourself 0.1                          web
10gen-mms-agent-0.1 10gen Mongo Monitoring Service Agent        addon
cron-1.4            Cron 1.4                                    addon
jenkins-client-1    Jenkins Client                              addon
mongodb-2.2         MongoDB 2.2                                 addon
mysql-5.1           MySQL 5.1                                   addon
metrics-0.1         OpenShift Metrics 0.1                       addon
phpmyadmin-4        phpMyAdmin 4.0                              addon
postgresql-8.4      PostgreSQL 8.4                              addon
postgresql-9.2      PostgreSQL 9.2                              addon
rockmongo-1.1       RockMongo 1.1                               addon
switchyard-0        SwitchYard 0.8.0                            addon
haproxy-1.4         Web Load Balancer                           addon

Note: Web cartridges can only be added to new applications.

(*) denotes a cartridge with additional usage costs.

Mark the bug as verified.


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