Bug 707468
Summary: | ValueError: while checking sync status after rhui upgrade | ||
---|---|---|---|
Product: | Red Hat Update Infrastructure for Cloud Providers | Reporter: | Sachin Ghai <sghai> |
Component: | Tools | Assignee: | Jason Connor <jconnor> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | wes hayutin <whayutin> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.0 | CC: | mmccune, tsanders |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-05-31 12:54:47 UTC | Type: | --- |
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: | 711223 |
Description
Sachin Ghai
2011-05-25 07:44:41 UTC
Jason - Can you provide any input? Take a look at the last traceback, it's bombing trying to format last_sync. Here's the body of the RHUI format_date method. It's checking for None, so it's not the case that last_sync isn't set. def format_date(date_str): if date_str is None: return 'Never' else: datetime_obj = dateutils.parse_iso8601_datetime(date_str) return datetime_obj.strftime('%m-%d-%Y %H:%M') Getting following logs very frequently; Its reproducible with following steps: 1. Restart the pulp-server (service pulp-server restart) 2. then login using rhui-manager, once you login with rhui-manager; check the pulp.logs. 2011-05-26 20:06:38,466 [WARNING][Dummy-2] __init__() @ scheduler.py:124 - IntervalScheduler created with start time more than one interval in the past: 2011-05-26 15:49:28+05:30, 1:00:00 2011-05-26 20:06:38,503 [ERROR][Dummy-2] set_synchronizer() @ repo_sync_task.py:32 - __name__ = pulp.server.api.repo_sync_task 2011-05-26 20:06:38,504 [WARNING][Dummy-2] schedule() @ task.py:289 - Task 907e36c5-87a5-11e0-96c1-525400ff61a5: RepoApi._sync(rhel-server-6-updates-6Server-x86_64, synchronizer=<pulp.server.api.repo_sync.YumSynchronizer object at 0x7f16c85ecd90>) missed 5 scheduled runs 2011-05-26 20:06:38,506 [WARNING][Dummy-2] __init__() @ scheduler.py:124 - IntervalScheduler created with start time more than one interval in the past: 2011-05-26 18:46:24+05:30, 1:00:00 2011-05-26 20:06:38,506 [ERROR][Dummy-2] set_synchronizer() @ repo_sync_task.py:32 - __name__ = pulp.server.api.repo_sync_task added to rhui-20 tracker Bulk moving a bunch of sync related bugs to ON_QA to test with version 2.0.32. The following "ValueError" is not reproducble with new build ( pulp 0.197 and rh-rhui-tools 2.0.33). I checked sync status couple of times are verifed the pulp.log. None of these errors are reproducible. >>ValueError: need more than 1 value to unpack >>2011-05-26 20:06:38,506 [ERROR][Dummy-2] set_synchronizer() @ repo_sync_task.py:32 - __name__ = pulp.server.api.repo_sync_task So moving this verified state. moving to release pending closing out, product released |