Redmine integration issues - Mylyn is very slow - Klaros Test Management - Forum - Klaros Test Management
Redmine integration issues - Mylyn is very slow
Luis Fg Furtado, modified 11 Years ago.
Redmine integration issues - Mylyn is very slow
Youngling Posts: 2 Join Date: 1/9/14 Recent Posts
Enviroment:
Klaros Community Edition 4.0.0 - Build 2106 (2013-11-21 15:59:31)
Redmine 2.4.2.stable
Ruby version 1.8.7-p358 (2012-02-08) [x86_64-linux]
Rails version 3.2.16
My Redmine have more than 40K issues and more than 300 projects.
First of all, I already fix mylyn 'queries_controller.rb' to fix 'is_public' => 'visibility'
1. Mylyn too slow and unstable
When I added new integration to Redmine using Redmine's Admin user the Ruby process just killed the server.
I left the Ruby process running form more than 10 minutes and It didn't decreased cpu load. Mylyn simply cannot process the call "MylynConnector::UsersController#all as XML".
To work around this problem I created a user that see few projects with very few issues reported.
With this new Redmine's user Mylyn returned and Klaros showed a positive return. Then I decided to test create new issue using Klaros's interface.
My custom fields, users, trackers, everything appears ok.
2. Can´t submit new issue
When I click to save the new issue I got "Unable to save the issue: Unexpected status code - 404"
Looking on Redmine's log I found:
Can Klaro work with a big Redmine database?
We are trying Klaros community to feel if it can supply our needs.
Unfortunately it's just impossible to use for while.
Klaros Community Edition 4.0.0 - Build 2106 (2013-11-21 15:59:31)
Redmine 2.4.2.stable
Ruby version 1.8.7-p358 (2012-02-08) [x86_64-linux]
Rails version 3.2.16
My Redmine have more than 40K issues and more than 300 projects.
First of all, I already fix mylyn 'queries_controller.rb' to fix 'is_public' => 'visibility'
1. Mylyn too slow and unstable
When I added new integration to Redmine using Redmine's Admin user the Ruby process just killed the server.
I left the Ruby process running form more than 10 minutes and It didn't decreased cpu load. Mylyn simply cannot process the call "MylynConnector::UsersController#all as XML".
To work around this problem I created a user that see few projects with very few issues reported.
With this new Redmine's user Mylyn returned and Klaros showed a positive return. Then I decided to test create new issue using Klaros's interface.
My custom fields, users, trackers, everything appears ok.
2. Can´t submit new issue
When I click to save the new issue I got "Unable to save the issue: Unexpected status code - 404"
Looking on Redmine's log I found:
Started GET "/mylyn/token" for 10.33.120.223 at Thu Jan 09 21:19:13 +0000 2014 | |
Processing by MylynConnector::InformationController#token as TEXT | |
Current user: testeluis (id=242) | |
Completed 200 OK in 7.5ms (Views: 0.1ms | ActiveRecord: 4.8ms) | |
Started POST "/issues.xml" for 10.33.120.223 at Thu Jan 09 21:19:13 +0000 2014 | |
Processing by IssuesController#create as XML | |
Current user: testeluis (id=242) | |
Filter chain halted as :find_project rendered or redirected | |
Completed 404 Not Found in 7.6ms (ActiveRecord: 4.1ms) | |
Started GET "/mylyn/token" for 10.33.120.223 at Thu Jan 09 21:19:13 +0000 2014 | |
Processing by MylynConnector::InformationController#token as TEXT | |
Current user: testeluis (id=242) | |
Completed 200 OK in 3.0ms (Views: 0.1ms | ActiveRecord: 0.4ms) | |
Started POST "/issues.xml" for 10.33.120.223 at Thu Jan 09 21:19:13 +0000 2014 | |
Processing by IssuesController#create as XML | |
Current user: testeluis (id=242) | |
Filter chain halted as :find_project rendered or redirected | |
Completed 404 Not Found in 5.2ms (ActiveRecord: 2.1ms) |
Can Klaro work with a big Redmine database?
We are trying Klaros community to feel if it can supply our needs.
Unfortunately it's just impossible to use for while.
Torsten Stolpmann, modified 11 Years ago.
RE: Redmine integration issues - Mylyn is very slow
Jedi Council Member Posts: 764 Join Date: 2/12/09 Recent Posts
Welcome Luis,
first let me add that we are in no way connected to the development (or lack of) of Redmine itself or the Redmine mylyn connector but are simply using the latter as an integration interface.
The Redmine mylyn connector definitely needs an active maintainer to reflect the changes introduced in Redmine 2.4.
This will not only affect us but also users of the Eclipse Mylyn Plugin connecting to their Redmine instances so I hope that this gets remedied soon.
Regarding your questions:
I never noticed anything like this before. I suspect that the number of projects is the culprit here.
Just to make sure - did you check that the project in question is accessible for the user?
Are you able to link issues?
Our integration test instances host up to 5656 issues each - albeit in a single project. I never noticed any slowdown because of this.
It works fine with Redmine 2.3. For later versions you will have to wait for an updated Redmine mylyn connector.
Hope this helps,
Torsten
first let me add that we are in no way connected to the development (or lack of) of Redmine itself or the Redmine mylyn connector but are simply using the latter as an integration interface.
The Redmine mylyn connector definitely needs an active maintainer to reflect the changes introduced in Redmine 2.4.
This will not only affect us but also users of the Eclipse Mylyn Plugin connecting to their Redmine instances so I hope that this gets remedied soon.
Regarding your questions:
1. Mylyn too slow and unstable
I never noticed anything like this before. I suspect that the number of projects is the culprit here.
2. Can´t submit new issue
Just to make sure - did you check that the project in question is accessible for the user?
Are you able to link issues?
Can Klaro work with a big Redmine database?
Our integration test instances host up to 5656 issues each - albeit in a single project. I never noticed any slowdown because of this.
Unfortunately it's just impossible to use for while.
It works fine with Redmine 2.3. For later versions you will have to wait for an updated Redmine mylyn connector.
Hope this helps,
Torsten
Luis Fg Furtado, modified 11 Years ago.
RE: Redmine integration issues - Mylyn is very slow
Youngling Posts: 2 Join Date: 1/9/14 Recent Posts
Hi Torsten,
Thank you very much for the answer.
I made more tests but can't figure out what is exact the problem.
I will wait for some update in Redmine mylyn connector.
Is in roadmap to develop other way to integrate Klaros and Redmine? Maybe using Redmine REST API.
Thank you
Luis Furtado
Thank you very much for the answer.
I made more tests but can't figure out what is exact the problem.
I will wait for some update in Redmine mylyn connector.
Is in roadmap to develop other way to integrate Klaros and Redmine? Maybe using Redmine REST API.
Thank you
Luis Furtado
Torsten Stolpmann, modified 11 Years ago.
RE: Redmine integration issues - Mylyn is very slow
Jedi Council Member Posts: 764 Join Date: 2/12/09 Recent Posts
Hi Luis,
well according to https://github.com/danmunn/redmine_mylyn_connector/pull/21 the suggested fix should be enough to get this working.
Do you have any additional plugins installed that may have an influence here? If you have logs of your problem I would like to have a look.
There are currently no plans on implementing an alternative redmine connector.
Regards,
Torsten
well according to https://github.com/danmunn/redmine_mylyn_connector/pull/21 the suggested fix should be enough to get this working.
Do you have any additional plugins installed that may have an influence here? If you have logs of your problem I would like to have a look.
There are currently no plans on implementing an alternative redmine connector.
Regards,
Torsten
Torsten Stolpmann, modified 10 Years ago.
RE: Redmine integration issues - Mylyn is very slow
Jedi Council Member Posts: 764 Join Date: 2/12/09 Recent Posts
Hi Luis,
we just verified that Redmine support for versions later than 2.4 is now again possible as the Mylyn Connector plugin has been updated accordingly.
Regarding you performance issue please have a look at this connector issue which might show a path to a possible solution.
Regards,
Torsten
we just verified that Redmine support for versions later than 2.4 is now again possible as the Mylyn Connector plugin has been updated accordingly.
Regarding you performance issue please have a look at this connector issue which might show a path to a possible solution.
Regards,
Torsten
Torsten Stolpmann, modified 1 Year ago.
RE: Redmine integration issues - Mylyn is very slow
Jedi Council Member Posts: 764 Join Date: 2/12/09 Recent Posts
Quick reminder: As of Klaros version 4.12 the native Redmine API is used and the installation of a Redmine plugin is no longer required.