vmware-archive / kops

Kubernetes Operations (kops) - Production Grade K8s Installation, Upgrades, and Management
Apache License 2.0
3 stars 3 forks source link

Package installation failure messages in nodeup logs #45

Open prashima opened 7 years ago

prashima commented 7 years ago

I see the following error messages in nodeup logs very frequently. Though I am yet to see a master or node configuration failure because of these errors, it seems like worth investigating and understanding.

Apr 11 17:44:25 master-vmw-zone nodeup[1779]: W0411 17:44:25.719106 1779 executor.go:109] error running task "package/python-apt" (8759h58m11s remaining to succeed): error installing package "python-ap Apr 11 17:44:25 master-vmw-zone nodeup[1779]: Building dependency tree... Apr 11 17:44:25 master-vmw-zone nodeup[1779]: Reading state information... Apr 11 17:44:25 master-vmw-zone nodeup[1779]: Package python-apt is not available, but is referred to by another package. Apr 11 17:44:25 master-vmw-zone nodeup[1779]: This may mean that the package is missing, has been obsoleted, or Apr 11 17:44:25 master-vmw-zone nodeup[1779]: is only available from another source Apr 11 17:44:25 master-vmw-zone nodeup[1779]: However the following packages replace it: Apr 11 17:44:25 master-vmw-zone nodeup[1779]: python3-apt python-apt-common Apr 11 17:44:25 master-vmw-zone nodeup[1779]: E: Package 'python-apt' has no installation candidate Apr 11 17:44:25 master-vmw-zone nodeup[1779]: W0411 17:44:25.720136 1779 executor.go:109] error running task "Package/ebtables" (8759h58m11s remaining to succeed): error installing package "ebtables": Apr 11 17:44:25 master-vmw-zone nodeup[1779]: Building dependency tree... Apr 11 17:44:25 master-vmw-zone nodeup[1779]: Reading state information... Apr 11 17:44:25 master-vmw-zone nodeup[1779]: E: Unable to locate package ebtables Apr 11 17:44:25 master-vmw-zone nodeup[1779]: W0411 17:44:25.720671 1779 executor.go:109] error running task "package/nfs-common" (8759h58m11s remaining to succeed): error installing package "nfs-commo Apr 11 17:44:25 master-vmw-zone nodeup[1779]: Building dependency tree... Apr 11 17:44:25 master-vmw-zone nodeup[1779]: Reading state information... Apr 11 17:44:25 master-vmw-zone nodeup[1779]: Package nfs-common is not available, but is referred to by another package. Apr 11 17:44:25 master-vmw-zone nodeup[1779]: This may mean that the package is missing, has been obsoleted, or Apr 11 17:44:25 master-vmw-zone nodeup[1779]: is only available from another source Apr 11 17:44:25 master-vmw-zone nodeup[1779]: E: Package 'nfs-common' has no installation candidate Apr 11 17:44:25 master-vmw-zone nodeup[1779]: W0411 17:44:25.721352 1779 executor.go:109] error running task "package/socat" (8759h58m11s remaining to succeed): error installing package "socat": exit s Apr 11 17:44:25 master-vmw-zone nodeup[1779]: Building dependency tree... Apr 11 17:44:25 master-vmw-zone nodeup[1779]: Reading state information... Apr 11 17:44:25 master-vmw-zone nodeup[1779]: E: Unable to locate package socat Apr 11 17:44:25 master-vmw-zone nodeup[1779]: W0411 17:44:25.721891 1779 executor.go:109] error running task "Package/bridge-utils" (8759h58m11s remaining to succeed): error installing package "bridge- Apr 11 17:44:25 master-vmw-zone nodeup[1779]: Building dependency tree... Apr 11 17:44:25 master-vmw-zone nodeup[1779]: Reading state information... Apr 11 17:44:25 master-vmw-zone nodeup[1779]: Package bridge-utils is not available, but is referred to by another package. Apr 11 17:44:25 master-vmw-zone nodeup[1779]: This may mean that the package is missing, has been obsoleted, or Apr 11 17:44:25 master-vmw-zone nodeup[1779]: is only available from another source Apr 11 17:44:25 master-vmw-zone nodeup[1779]: E: Package 'bridge-utils' has no installation candidate Apr 11 17:44:25 master-vmw-zone nodeup[1779]: W0411 17:44:25.722761 1779 executor.go:109] error running task "Package/libltdl7" (8759h58m11s remaining to succeed): error installing package "libltdl7": Apr 11 17:44:25 master-vmw-zone nodeup[1779]: Building dependency tree... Apr 11 17:44:25 master-vmw-zone nodeup[1779]: Reading state information... Apr 11 17:44:25 master-vmw-zone nodeup[1779]: Package libltdl7 is not available, but is referred to by another package. Apr 11 17:44:25 master-vmw-zone nodeup[1779]: This may mean that the package is missing, has been obsoleted, or Apr 11 17:44:25 master-vmw-zone nodeup[1779]: is only available from another source Apr 11 17:44:25 master-vmw-zone nodeup[1779]: E: Package 'libltdl7' has no installation candidate Apr 11 17:44:25 master-vmw-zone nodeup[1779]: I0411 17:44:25.722782 1779 executor.go:124] No progress made, sleeping before retrying 6 failed task(s)

prashima commented 7 years ago

Raised priority, as this one is causing whole cluster deployment to slow down. One possible fix is to preinstall the problematic packages.

Still some investigation would be helpful to figure out the root cause of the problem.

prashima commented 7 years ago

@luomiao and I discussed and adding to M1 for better deployment experience.

pdhamdhere commented 7 years ago

@casualjim Can you please reassign as appropriate?

fabulous-gopher commented 7 years ago

This issue was moved to kubernetes/kops#2742