_landscape-internal-facade.list local repository empty

Bug #956590 reported by Andreas Hasenack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Client
Fix Released
High
Björn Tillenius

Bug Description

precise, landscape-client-11.11~bzr519-0ubuntu0~precise1

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://staging.landscape.canonical.com/account/landscape-devel/activity/135311

The client logs, however, show that a local repository that was added by the client is empty:

# tail /var/log/landscape/manager.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/landscape/apt-update' exited with status 100 (W: Failed to fetch file:/var/lib/landscape/client/package/binaries/./Packages File not found

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/landscape/apt-update' exited with status 100 (W: Failed to fetch file:/var/lib/landscape/client/package/binaries/./Packages File not found

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/sources.list.d/_landscape-internal-facade.list
deb file:///var/lib/landscape/client/package/binaries ./

And it is empty:

root@ls3-precise:~# ls -la /var/lib/landscape/client/package/binaries
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#=\xf2\xcf0\xfe):~[\xc5E\x18\xabZJ\xacZ\t')
2012-03-15 23:52:05,610 WARNING [MainThread] Package data not yet synchronized with server ('\xcf#=\xf2\xcf0\xfe):~[\xc5E\x18\xabZJ\xacZ\t')
2012-03-15 23:53:17,487 WARNING [MainThread] Package data not yet synchronized with server ('\xcf#=\xf2\xcf0\xfe):~[\xc5E\x18\xabZJ\xacZ\t')
2012-03-15 23:54:29,265 WARNING [MainThread] Package data not yet synchronized with server ('\xcf#=\xf2\xcf0\xfe):~[\xc5E\x18\xabZJ\xacZ\t')
2012-03-15 23:55:38,515 WARNING [MainThread] Package data not yet synchronized with server ('\xcf#=\xf2\xcf0\xfe):~[\xc5E\x18\xabZJ\xacZ\t')
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://security.ubuntu.com precise-security InRelease
Ign http://us.archive.ubuntu.com precise InRelease
(...)
Hit http://us.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-backports/universe Translation-en
W: Failed to fetch file:/var/lib/landscape/client/package/binaries/./Packages File not found

E: Some index files failed to download. They have been ignored, or old ones used instead.
root@ls3-precise:~#

Related branches

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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.