Page MenuHomePhabricator

puppet failing on tools-k8s-bastion-01 (kubeconfig lock files)
Closed, ResolvedPublic

Description

Error: Could not set 'present' on ensure: No such file or directory @ dir_s_rmdir - /etc/kubernetes/kubeconfig20160528-28433-14aa0u8.lock at 11:/etc/puppet/modules/k8s/manifests/infrastructure_config.pp
Error: Could not set 'present' on ensure: No such file or directory @ dir_s_rmdir - /etc/kubernetes/kubeconfig20160528-28433-14aa0u8.lock at 11:/etc/puppet/modules/k8s/manifests/infrastructure_config.pp
Wrapped exception:
No such file or directory @ dir_s_rmdir - /etc/kubernetes/kubeconfig20160528-28433-14aa0u8.lock
Error: /Stage[main]/K8s::Infrastructure_config/File[/etc/kubernetes/kubeconfig]/ensure: change from absent to present failed: Could not set 'present' on ensure: No such file or directory @ dir_s_rmdir - /etc/kubernetes/kubeconfig20160528-28433-14aa0u8.lock at 11:/etc/puppet/modules/k8s/manifests/infrastructure_config.pp
Notice: /Stage[main]/K8s::Proxy/Base::Service_unit[kube-proxy]/File[/lib/systemd/system/kube-proxy.service]: Dependency File[/etc/kubernetes/kubeconfig] has failures: true
Warning: /Stage[main]/K8s::Proxy/Base::Service_unit[kube-proxy]/File[/lib/systemd/system/kube-proxy.service]: Skipping because of failed dependencies
Notice: /Stage[main]/K8s::Proxy/Base::Service_unit[kube-proxy]/Exec[systemd reload for kube-proxy]: Dependency File[/etc/kubernetes/kubeconfig] has failures: true
Warning: /Stage[main]/K8s::Proxy/Base::Service_unit[kube-proxy]/Exec[systemd reload for kube-proxy]: Skipping because of failed dependencies
Notice: /Stage[main]/K8s::Proxy/Base::Service_unit[kube-proxy]/Service[kube-proxy]: Dependency File[/etc/kubernetes/kubeconfig] has failures: true
Warning: /Stage[main]/K8s::Proxy/Base::Service_unit[kube-proxy]/Service[kube-proxy]: Skipping because of failed dependencies
Notice: Finished catalog run in 22.81 seconds

Event Timeline

Restricted Application added subscribers: Zppix, Aklapper. · View Herald Transcript

Mentioned in SAL [2016-05-29T18:58:26Z] <YuviPanda> deleted tools-k8s-bastion-01 for T136496

I've just deleted it instead, since you can now kubectl stuff from regular bastion.

yuvipanda claimed this task.