Hide Forgot
Description of problem: I started a scheduled sync for a repo. The defined sync plan is to start the sync on daily at 5:30 PM IST. As per pulp logs sync initiated at its correct time. ----- 2011-10-17 17:30:01,401 3524:140224499803904: pulp.server.api.repo_sync:INFO: repo_sync:244 Sync invoked for repo <sghai_org-aeolus-aeolus_x86_64> 2011-10-17 17:30:01,467 3524:140224499803904: pulp.server.api.repo_sync:INFO: repo_sync:258 Sync of sghai_org-aeolus-aeolus_x86_64 starting, skip_dict = {} 2011-10-17 17:30:01,476 3524:140224499803904: pulp.server.api.synchronizers:INFO: synchronizers:540 cacert = <None>, cert = <None> 2011-10-17 17:30:01,476 3524:140224499803904: pulp.server.api.synchronizers:INFO: synchronizers:588 Fetching repo to </var/lib/pulp//repos/sghai_org/Locker/aeolus/aeolus_x86_64> with verify_options <{'checksum': True, 'size': True}> 2011-10-17 17:30:43,921 3524:140224499803904: pulp.server.api.synchronizers:INFO: synchronizers:608 Running createrepo, this may take a few minutes to complete. ----- However Katello UI is showing the sync status as 'queued'. and this remains in queued state. See the attachement1. I checked from katello-cli, CLI showing the state as 'waiting'. katello> repo status --name=aeolus_x86_64 --product=aeolus --org=sghai_org -------------------------------------------------------------------------------- Repository Status -------------------------------------------------------------------------------- Id: sghai_org-aeolus-aeolus_x86_64 Name: aeolus_x86_64 Package Count: 226 Last Sync: 2011/10/17 17:31:24 Sync State: Waiting Progress: 0% done (0 of 0 packages downloaded) Version-Release number of selected component (if applicable): [root@dhcp201-158 ~]# rpm -qa | grep katello katello-cli-0.1.10-1.git.712.be6830e.fc15.noarch katello-0.1.93-1.git.0.6934d37.fc15.noarch katello-all-0.1.93-1.git.0.6934d37.fc15.noarch katello-configure-0.1.6-1.git.5.76ba627.fc15.noarch katello-repos-0.1.3-1.git.0.db2bd1d.fc15.noarch [root@dhcp201-158 ~]# rpm -qa | grep pulp pulp-common-0.0.237-5.fc15.noarch pulp-0.0.237-5.fc15.noarch m2crypto-0.21.1.pulp-5.fc15.x86_64 How reproducible: always Steps to Reproduce: 1. Define a sync plan ( daily sync at specified time) 2. Applied this sync plan to product 3. Now check the sync status when sync initiated at specified scheduled time Actual results: Sync staus remains in 'Queued' state Expected results: Sync should run and status should be automatically changed from queued ==> running ==> finish Additional info:
Created attachment 528529 [details] sync status set as 'queued'
mass move to CFSE product.
can you retest this one. i was not seeing queued state, rather ui was showing sync progress as zero. when the sync kicked in, the status bar jumped quickly since the gap between the check and the sync complete occured. then subsequent checks on the status shows as finished. my guess is this was fixed since october.
Yes, I retested this again on new katello build. And now I'm not getting the sync status as 'queued' however UI is showing a empty progress bar. This needs to be fixed. I'll file another bug for this issue. Moving this to verified.