Bug 849950 - Cartridges like MongoDB will become the fist cartridge on the application details page sometimes.
Summary: Cartridges like MongoDB will become the fist cartridge on the application det...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Website
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Clayton Coleman
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-21 10:01 UTC by Yujie Zhang
Modified: 2015-05-15 01:13 UTC (History)
3 users (show)

Fixed In Version: devenv_2147
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-17 21:29:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot1 (94.08 KB, image/png)
2012-08-21 10:01 UTC, Yujie Zhang
no flags Details
screenshot2 (132.43 KB, image/png)
2012-09-06 05:43 UTC, Yujie Zhang
no flags Details
Diy screen shot (131.56 KB, image/png)
2012-09-10 09:21 UTC, Yujie Zhang
no flags Details
Diy screenshot2 (125.55 KB, image/png)
2012-09-11 11:33 UTC, Yujie Zhang
no flags Details
zend.png (80.23 KB, image/png)
2012-09-13 10:14 UTC, Wei Sun
no flags Details
diy.png (90.32 KB, image/png)
2012-09-13 10:15 UTC, Wei Sun
no flags Details
php app (144.67 KB, image/png)
2012-09-14 03:47 UTC, Yujie Zhang
no flags Details

Description Yujie Zhang 2012-08-21 10:01:28 UTC
Created attachment 605902 [details]
screenshot1

Description of problem:

I created a zend application and embeded mongoDB and returned to the app details page, found that MongoDB became the fist app cartridge on details page, the first cartridge should be application type on details page. The issue always happens on zend application, and randomly happens on other applications. 

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

INT

How reproducible:randomly


Steps to Reproduce:
1.Go to openshift website and login
2.Create a zend application and embed mongodb  
3.Check the application details page
  
Actual results:

MongoDB became the first cartridge on application details page.Details see in attachment please.

Expected results:

The first cartridge on details page should always be application type.

Additional info:

Comment 1 Clayton Coleman 2012-08-21 13:33:40 UTC
Zend is missing the correct categories in its manifest.  Compare manifest from ruby to manifest to Zend.

Categories:
  - cartridge
  - web_framework

It's also missing license, website, and Cart-Data (assuming there is some).

Comment 2 Lili Nader 2012-08-21 20:03:22 UTC
https://github.com/openshift/li/pull/287

Comment 3 Lili Nader 2012-08-22 17:15:19 UTC
lowering severity since zend is not getting released this sprint

Comment 4 Lili Nader 2012-08-22 22:54:44 UTC
As of build devenv_2054 the manifest.yml is showing the correct categories but the UI is still showing zend-5.6 as the second cartridge and also not showing the Description in the app_types page.

Name: zend-5.6
Display-Name: zend server v5.6.0 (noarch)
Description: "Web Application Server for Business-Critical PHP Applications"
Version: 5.6
License: "Commercial"
License-Url: http://static.zend.com/topics/Zend-License-EULA-2010-09-2.pdf
Vendor:  Zend
Categories:
  - cartridge
  - web_framework
Website: http://www.zend.com

Comment 5 Yujie Zhang 2012-09-06 05:42:18 UTC
(In reply to comment #4)
Tested this issue on devenv_2119 and fork_ami_opensource_console_77, besides zend, it also exists on other applications now, like cakephp, so change the severity so you can take a look at this issue as soon as possible.Details see in attachment.

Comment 6 Yujie Zhang 2012-09-06 05:43:27 UTC
Created attachment 610174 [details]
screenshot2

Comment 7 Xiaoli Tian 2012-09-07 11:31:43 UTC
Remove FutureFeature keyword for this sprint to bring it to your attention, if it's still FutureFeature, feel free to add it back.

Thanks

Comment 8 Clayton Coleman 2012-09-07 18:04:16 UTC
There were bugs in cartridge tag reading in the site.  Looking at backporting.

Comment 9 Clayton Coleman 2012-09-07 19:27:25 UTC
https://github.com/openshift/li/pull/353

Comment 10 Yujie Zhang 2012-09-10 09:17:15 UTC
Tested this issue on devenv_2040, still has this issue when creating diy application, could you please check this issue again?

Comment 11 Yujie Zhang 2012-09-10 09:21:57 UTC
Created attachment 611363 [details]
Diy screen shot

Comment 12 Clayton Coleman 2012-09-10 18:59:41 UTC
https://github.com/openshift/crankcase/pull/466

DIY was "web-framework" instead of "web_framework"

Comment 13 Yujie Zhang 2012-09-11 07:17:46 UTC
(In reply to comment #12)
Will wait for devenv_2147 to test this issue.

Comment 14 Xiaoli Tian 2012-09-11 07:37:25 UTC
devenv_2147 is ready for testing

Comment 15 Yujie Zhang 2012-09-11 11:32:57 UTC
(In reply to comment #9)
Tested this issue on devenv_2149, still has this issue when creating diy application, so assign it back.

Comment 16 Yujie Zhang 2012-09-11 11:33:46 UTC
Created attachment 611735 [details]
Diy screenshot2

Comment 17 John Poelstra 2012-09-11 17:13:18 UTC
expect to complete today

Comment 18 Clayton Coleman 2012-09-11 17:41:49 UTC
Bug in crankcase was hiding deeper bug.

https://github.com/openshift/li/pull/359

Comment 19 Yujie Zhang 2012-09-12 07:41:02 UTC
(In reply to comment #18)
Tested this on INT and devenv_2156 today, this issue also exists after enabling jenkins for applications.

Comment 20 Wei Sun 2012-09-13 10:14:40 UTC
Created attachment 612400 [details]
zend.png

verified on INT(devenv_2168)

Comment 21 Wei Sun 2012-09-13 10:15:25 UTC
Created attachment 612401 [details]
diy.png

Comment 22 Yujie Zhang 2012-09-14 03:46:13 UTC
(In reply to comment #18)
hi Clayton, I tested this issue on stage today, it appeared on php application, seems this issue will randomly happen on different cartridge, so I will change it to a randomly bug and lower the severity in case it block stage.

Comment 23 Yujie Zhang 2012-09-14 03:47:22 UTC
Created attachment 612712 [details]
php app

Comment 24 Clayton Coleman 2012-09-14 17:11:07 UTC
https://github.com/openshift/crankcase/pull/490

Comment 25 Yujie Zhang 2012-09-17 06:19:49 UTC
Tested this issue on devenv-stage_237, tried on all the cartridges, did not meet this issue again, so verify this bug.


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