Red Hat Bugzilla – Bug 841527
Get error after added several cartridges at the same time.
Last modified: 2015-05-14 22:00:49 EDT
Description of problem:
During my testing, I tried to add three cartridges(cron-1.4,metric-0.1,mysql-5.1) at the same time. And they are all said created successfully with right get_started pages almost at the same time.
But when I checked cartridges added to the app, I found only cron-1.4 and metric-0.1 are there ,while mysql is not in the installed cartridges list.
Then I tried to add mysql again , but encountered error message which said that "Embedded mysql-5.1 already attached to drupal"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Create a app.
2.Open three add cartridge page respectively with cartridge cron-1.4,metric-0.1,mysql-5.1
3.Click the "add cartridge" button in the three page at the same time.
Though the three cartridge get started page can show correctly, the installed cartridge list of the app does not contain all the three cartridge.
The three cartridge should be added well, and displayed in the installed cartridge list of the app correctly.
Can't repro - need more info.
Created attachment 618843 [details]
Embed cartridges list.
Created attachment 618844 [details]
Error when add metrics.
I have tested this issue on devenv_2252. when I add cartridges "MongoDB 2.2""metrics 0.1 ""phpMyAdmin 3.4 "and "cron" at the same time, they all returned a page with successful embed message. But when I go to the application overview page, I only saw "MongoDB 2.2""phpMyAdmin 3.4 "and "cron" in the embed cartridge list(as the attachment #1 [details] shown). Then I tried to add "metrics 0.1" for another time, but just got a error message as the attachment #2 [details] shown.
So I will reopen this bug.
Some sort of race condition in the broker?
Yes... Should be fixed with the model refactor.
Duping on existing similar known race condition also waiting on the model refactor.
*** This bug has been marked as a duplicate of bug 855307 ***