Package Reporter should pick up and report errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Landscape Client |
Medium
|
Thomas Herve |
Bug Description
Reported by customer...
The package-reporter was erroring, but everything appeared to be up-to-date in Landscape, we should report errors back to Landscape.
# dell OMSA
deb http://
2011-03-10 10:21:43,960 WARNING [MainThread]
'/usr/lib/
'dell - sara' signed with unknown key
error: Download of Release failed for channel 'sarge - contrib': File
not found
)
2011-03-10 10:21:43,987 INFO [MainThread] Received 0 package hash =>
id translations, 2 hashes are unknown.
2011-03-10 10:21:48,337 ERROR [MainThread] None
Traceback (most recent call last):
File "/usr/lib/
line 317, in _runCallbacks
self.result = callback(
File "/usr/lib/
line 69, in <lambda>
result.
File
"/usr/lib/
line 107, in handle_tasks
return self._handle_
File
"/usr/lib/
line 121, in _handle_next_task
result = self.handle_
File "/usr/lib/
line 212, in handle_task
return self._handle_
File "/usr/lib/
line 239, in _handle_package_ids
result = self._handle_
File "/usr/lib/
line 282, in _handle_
skeleton = self._facade.
File "/usr/lib/
line 140, in get_package_
return build_skeleton(pkg, with_info)
File "/usr/lib/
line 89, in build_skeleton
skeleton.
File "/usr/lib/
line 71, in getInstalledSize
return long(size)*1024
ValueError: invalid literal for long() with base 10: '221M'
Related branches
- Björn Tillenius (community): Approve on 2011-05-02
- Free Ekanayaka (community): Approve on 2011-05-02
-
Diff: 128 lines (+55/-9)3 files modifiedlandscape/message_schemas.py (+11/-7)
landscape/package/reporter.py (+18/-1)
landscape/package/tests/test_reporter.py (+26/-1)
Changed in landscape-client: | |
importance: | Undecided → Medium |
milestone: | none → 11.04 |
Changed in landscape-client: | |
milestone: | 11.04 → 11.05 |
Changed in landscape-client: | |
assignee: | nobody → Thomas Herve (therve) |
Changed in landscape-client: | |
status: | New → In Progress |
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
Hello Kevin, or anyone else affected,
Accepted landscape-client into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https:/
tags: | added: verification-needed |
Andreas Hasenack (ahasenack) wrote : | #3 |
Verified working in lucid with landscape-
root@ls1-
landscape-client:
Installed: 11.07.1.
Candidate: 11.07.1.
Version table:
*** 11.07.1.
500 http://
100 /var/lib/
11.
500 http://
1.
500 http://
Corrupted sources.list to trigger an error:
==> /var/log/
2011-07-27 23:39:51,790 WARNING [MainThread] '/usr/lib/
)
Error was reported to landscape (see screenshot).
tags: |
added: verification-done removed: verification-needed |
Martin Pitt (pitti) wrote : | #4 |
Hello Kevin, or anyone else affected,
Accepted landscape-client into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https:/
tags: | removed: verification-done |
tags: | added: verification-needed |
Martin Pitt (pitti) wrote : | #5 |
Hello Kevin, or anyone else affected,
Accepted landscape-client into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https:/
Andreas Hasenack (ahasenack) wrote : | #6 |
Introduced an error in sources.list and verified that it was reported back to the landscape server when using the proposed Maverick and Natty packages.
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |
Verified with new client package builds, and the server already has some errors in the new table.