Bug 1129488
Summary: | pulp_celerybeat Mongodb Reconnect Support Fails After Three Tries | |||
---|---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Brian Bouterse <bmbouter> | |
Component: | async/tasks | Assignee: | Brian Bouterse <bmbouter> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | medium | |||
Version: | Master | CC: | austin, bmbouter, pthomas, rbarlow, skarmark | |
Target Milestone: | --- | Keywords: | Reopened, Triaged | |
Target Release: | 2.5.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1129768 (view as bug list) | Environment: | ||
Last Closed: | 2014-11-24 21:33:22 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1129768, 1131719 |
Description
Brian Bouterse
2014-08-12 21:30:08 UTC
PR available at: https://github.com/pulp/pulp/pull/1109 Steps to reproduce: 1. Start all the pulp services 2. Perform a sync to ensure everything is running normally 3. Stop mongod 4. Wait a two minutes (or as long as you like) 5. Start mongod 6. Perform a sync to ensure everything is running normally Actually the PR (against the correct branch this time) is here: https://github.com/pulp/pulp/pull/1111 https://github.com/pulp/pulp/pull/1118 PR #1111 was closed and reopened against the new 2.4.1-dev branch. PR 1118 was merged into 2.4.1-dev branch This PR is merged to the 2.4.1-dev branch, but the commits were not included in the 2.4-dev branch or the master branch. Please merge these commits to 2.4-dev and master, and then move this bug back to MODIFIED. I've merged this PR into 2.4-dev and master. I also merged it into pulp-2.4 by mistake, but that will not cause any issues. This was fixed in 2.4.1-0.2.alpha, available in Pulp's testing repository. verified on rhel6.5 & 7 [root@qe-blade-08 module]# rpm -qa pulp-server pulp-server-2.4.1-0.2.alpha.el6.noarch [root@qe-blade-08 module]# [root@qe-blade-13 ~]# rpm -qa pulp-server pulp-server-2.4.1-0.2.alpha.el7.noarch [root@qe-blade-13 ~]# [root@qe-blade-13 ~]# pulp-admin rpm repo create --repo-id zoo --feed https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/ Successfully created repository [zoo] [root@qe-blade-13 ~]# pulp-admin rpm repo sync run --repo-id zoo +----------------------------------------------------------------------+ Synchronizing Repository [zoo] +----------------------------------------------------------------------+ This command may be exited via ctrl+c without affecting the request. Downloading metadata... [|] ... completed Downloading repository content... [==================================================] 100% RPMs: 32/32 items Delta RPMs: 0/0 items ... completed Downloading distribution files... [==================================================] 100% Distributions: 0/0 items ... completed Importing errata... [-] ... completed Importing package groups/categories... [-] ... completed Task Succeeded Initializing repo metadata [-] ... completed Publishing Distribution files [-] ... completed Publishing RPMs [==================================================] 100% 32 of 32 items ... completed Publishing Delta RPMs ... skipped Publishing Errata [==================================================] 100% 4 of 4 items ... completed Publishing Comps file [==================================================] 100% 3 of 3 items ... completed Publishing Metadata. [-] ... completed Closing repo metadata [-] ... completed Generating sqlite files ... skipped Publishing files to web [-] ... completed Writing Listings File [-] ... completed Task Succeeded [root@qe-blade-13 ~]# [root@qe-blade-13 ~]# [root@qe-blade-13 ~]# [root@qe-blade-13 ~]# systemctl stop mongo Failed to issue method call: Unit mongo.service not loaded. [root@qe-blade-13 ~]# systemctl stop mongod [root@qe-blade-13 ~]# systemctl start mongod [root@qe-blade-13 ~]# [root@qe-blade-13 ~]# [root@qe-blade-13 ~]# pulp-admin rpm repo sync run --repo-id zoo +----------------------------------------------------------------------+ Synchronizing Repository [zoo] +----------------------------------------------------------------------+ This command may be exited via ctrl+c without affecting the request. Downloading metadata... [|] ... completed Downloading repository content... [==================================================] 100% RPMs: 0/0 items Delta RPMs: 0/0 items ... completed Downloading distribution files... [==================================================] 100% Distributions: 0/0 items ... completed Importing errata... [-] ... completed Importing package groups/categories... [-] ... completed Task Succeeded Initializing repo metadata [-] ... completed Publishing Distribution files [-] ... completed Publishing RPMs [==================================================] 100% 32 of 32 items ... completed Publishing Delta RPMs ... skipped Publishing Errata [==================================================] 100% 4 of 4 items ... completed Publishing Comps file [==================================================] 100% 3 of 3 items ... completed Publishing Metadata. [-] ... completed Closing repo metadata [-] ... completed Generating sqlite files ... skipped Publishing files to web [-] ... completed Writing Listings File [-] ... completed Task Succeeded [root@qe-blade-13 ~]# This is fixed in Pulp-2.4.1-1. This was regressed in 2.5.0 so I'm reopening this again. Another PR to fix the regression: https://github.com/pulp/pulp/pull/1302 Merged to 2.5-testing -> 2.5-dev -> master verified [root@hp-dl380pgen8-02-vm-2 ~]# rpm -qa pulp-server pulp-server-2.5.0-0.19.rc.el7.noarch [root@hp-dl380pgen8-02-vm-2 ~]# [root@hp-dl380pgen8-02-vm-2 ~]# pulp-admin login -u admin -p admin Successfully logged in. Session certificate will expire at Nov 25 13:38:36 2014 GMT. [root@hp-dl380pgen8-02-vm-2 ~]# pulp-admin rpm repo create --repo-id zoo --feed https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/ Successfully created repository [zoo] [root@hp-dl380pgen8-02-vm-2 ~]# pulp-admin rpm repo sync run --repo-id zoo +----------------------------------------------------------------------+ Synchronizing Repository [zoo] +----------------------------------------------------------------------+ This command may be exited via ctrl+c without affecting the request. Downloading metadata... [\] ... completed Downloading repository content... [==================================================] 100% RPMs: 32/32 items Delta RPMs: 0/0 items ... completed Downloading distribution files... [==================================================] 100% Distributions: 0/0 items ... completed Importing errata... [-] ... completed Importing package groups/categories... [-] ... completed Task Succeeded Initializing repo metadata [-] ... completed Publishing Distribution files [-] ... completed Publishing RPMs [==================================================] 100% 32 of 32 items ... completed Publishing Delta RPMs ... skipped Publishing Errata [==================================================] 100% 4 of 4 items ... completed Publishing Comps file [==================================================] 100% 3 of 3 items ... completed Publishing Metadata. [-] ... completed Closing repo metadata [-] ... completed Generating sqlite files ... skipped Publishing files to web [-] ... completed Writing Listings File [-] ... completed Task Succeeded [root@hp-dl380pgen8-02-vm-2 ~]# systemctl stop mongod [root@hp-dl380pgen8-02-vm-2 ~]# systemctl start mongod[root@hp-dl380pgen8-02-vm-2 ~]# pulp-admin rpm repo sync run --repo-id zoo +----------------------------------------------------------------------+ Synchronizing Repository [zoo] +----------------------------------------------------------------------+ This command may be exited via ctrl+c without affecting the request. Downloading metadata... [\] ... completed Downloading repository content... [==================================================] 100% RPMs: 0/0 items Delta RPMs: 0/0 items ... completed Downloading distribution files... [==================================================] 100% Distributions: 0/0 items ... completed Importing errata... [-] ... completed Importing package groups/categories... [-] ... completed Task Succeeded Copying files [-] ... completed Initializing repo metadata [-] ... completed Publishing Distribution files [-] ... completed Publishing RPMs [-] ... completed Publishing Delta RPMs ... skipped Publishing Errata [==================================================] 100% 4 of 4 items ... completed Publishing Comps file [==================================================] 100% 3 of 3 items ... completed Publishing Metadata. [-] ... completed Closing repo metadata [-] ... completed Generating sqlite files ... skipped Publishing files to web [-] ... completed Writing Listings File [-] ... completed Task Succeeded [root@hp-dl380pgen8-02-vm-2 ~]# |