Error reading package list on ephemeral environemt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Initially saw those errors "Stale file handle" with bug 1621065. Now, we're seeing them again which results in a number of failed deployments. Those are mainly with Trusty but I was obviously able to recreate the error with the Xenial while assisted by the preseeds.
What's strange is I was able to deploy Trusty one system that was freshly commissioned but was still being onboarded. However, upon trying to recommission the failing servers, they failed commissioning (powered off after PXE commissioning before timing out while powered off).
The error from cloud-init-output:
Hit http://
Fetched 2083 kB in 3s (596 kB/s)
Reading package lists...
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch copy:/var/
W: Failed to fetch copy:/var/
W: Failed to fetch copy:/var/
W: Failed to fetch copy:/var/
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
Package xfsprogs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package lvm2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package python-oauthlib is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'lvm2' has no installation candidate
E: Package 'xfsprogs' has no installation candidate
E: Package 'python-oauthlib' has no installation candidate
Unexpected error while running command.
Command: ['eatmydata', 'apt-get', '--quiet', '--assume-yes', '--option=
Exit code: 100
Reason: -
Stdout: ''
Stderr: ''
2016-09-08 03:09:55,575 - util.py[WARNING]: Failed running /var/lib/
2016-09-08 03:09:55,575 - cc_scripts_
2016-09-08 03:09:55,576 - util.py[WARNING]: Running scripts-user (<module 'cloudinit.
Cloud-init v. 0.7.5 finished at Thu, 08 Sep 2016 03:09:55 +0000. Datasource DataSourceMAAS [http://
ubuntu@
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii maas 2.0.0+bzr5189-
ii maas-cli 2.0.0+bzr5189-
un maas-cluster-
ii maas-common 2.0.0+bzr5189-
ii maas-dhcp 2.0.0+bzr5189-
ii maas-dns 2.0.0+bzr5189-
ii maas-proxy 2.0.0+bzr5189-
ii maas-rack-
ii maas-region-api 2.0.0+bzr5189-
ii maas-region-
un maas-region-
un python-django-maas <none> <none> (no description available)
un python-maas-client <none> <none> (no description available)
un python-
ii python3-django-maas 2.0.0+bzr5189-
ii python3-maas-client 2.0.0+bzr5189-
ii python3-
Hi Larry,
To me this seems like broken archives:
Package lvm2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package python-oauthlib is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'lvm2' has no installation candidate
E: Package 'xfsprogs' has no installation candidate
E: Package 'python-oauthlib' has no installation candidate
Or maybe curtin/cloud-init trying to isntall something they shouldn't ? If you are saing that you are deploying Trusty and you see the issues above, then this is not curtin/cloud-init provided that it is python2 and those packages should be available in the archive.
Also, have you seen at maas-proxy ? Is it running ? You can try restarting maas-proxy or even cleaning up its cache and restarting and see if that makes a difference ?