_landscape-internal-facade.list local repository empty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
High
|
Björn Tillenius |
Bug Description
precise, landscape-
In staging, landscape-devel account, I have a package profile that applies to computers with the "check" tag.
I registered a new computer, ls3-precise, with this tag. Soon enough an activity was created to install that profile:
https:/
The client logs, however, show that a local repository that was added by the client is empty:
# tail /var/log/
2012-03-16 00:02:45,896 INFO [MainThread] Got notification of impending exchange. Notifying all plugins.
2012-03-16 00:04:03,684 WARNING [MainThread] Package changer output:
2012-03-16 00:03:48,313 WARNING [MainThread] '/usr/lib/
E: Some index files failed to download. They have been ignored, or old ones used instead.
)
The package reporter also started to complain:
2012-03-15 23:57:23,541 INFO [MainThread] Queuing message with changes in known packages: 3 installed, 0 available, 0 available upgrades, 0 locked, 0 not installed, 0 not available, 0 not available upgrades, 0 not locked.
2012-03-15 23:57:32,512 INFO [MainThread] Received 26 package hash => id translations, 0 hashes are unknown.
2012-03-15 23:57:45,580 INFO [MainThread] Queuing message with changes in known packages: 1 installed, 26 available, 0 available upgrades, 0 locked, 0 not installed, 0 not available, 0 not available upgrades, 0 not locked.
2012-03-16 00:03:48,313 WARNING [MainThread] '/usr/lib/
E: Some index files failed to download. They have been ignored, or old ones used instead.
)
2012-03-16 00:04:02,765 INFO [MainThread] Queuing message with changes in known packages: 83 installed, 0 available, 0 available upgrades, 0 locked, 0 not installed, 6 not available, 0 not available upgrades, 0 not locked.
The repository is this:
root@ls3-precise:~# cat /etc/apt/
deb file://
And it is empty:
root@ls3-precise:~# ls -la /var/lib/
total 8
drwxr-xr-x 2 landscape root 4096 Mar 16 00:01 .
drwxr-xr-x 5 landscape root 4096 Mar 16 00:04 ..
root@ls3-precise:~#
There were also hash warnings in the package changer logs:
2012-03-15 23:50:15,252 WARNING [MainThread] The package-reporter hasn't run yet, exiting.
2012-03-15 23:50:58,353 WARNING [MainThread] Package data not yet synchronized with server ('\xcf#
2012-03-15 23:52:05,610 WARNING [MainThread] Package data not yet synchronized with server ('\xcf#
2012-03-15 23:53:17,487 WARNING [MainThread] Package data not yet synchronized with server ('\xcf#
2012-03-15 23:54:29,265 WARNING [MainThread] Package data not yet synchronized with server ('\xcf#
2012-03-15 23:55:38,515 WARNING [MainThread] Package data not yet synchronized with server ('\xcf#
2012-03-15 23:57:03,992 INFO [MainThread] Queuing response with change package results to exchange urgently.
2012-03-16 00:03:46,321 INFO [MainThread] Queuing response with change package results to exchange urgently.
That machine is now triggering the "having issues reporting packages" alert. And apt-get update is failing:
root@ls3-precise:~# apt-get update
Ign file: ./ InRelease
Ign file: ./ Release.gpg
Ign file: ./ Release
Err file: ./ Packages
File not found
Ign file: ./ Translation-en_US
Ign file: ./ Translation-en
Ign http://
Ign http://
(...)
Hit http://
Hit http://
W: Failed to fetch file:/var/
E: Some index files failed to download. They have been ignored, or old ones used instead.
root@ls3-precise:~#
Related branches
- Chad Smith: Approve
- Jerry Seutter (community): Approve
-
Diff: 262 lines (+124/-7)4 files modifiedlandscape/package/changer.py (+12/-3)
landscape/package/facade.py (+24/-3)
landscape/package/tests/test_changer.py (+45/-0)
landscape/package/tests/test_facade.py (+43/-1)
description: | updated |
description: | updated |
tags: | added: points-1 squad-gamma |
Changed in landscape-client: | |
status: | New → In Progress |
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |