profile
viewpoint

Ask questionsError response from daemon: chown /etc/resolv.conf: operation not permitted

RKE version: v0.1.11

Docker version: (docker version,docker info preferred) 17.03.2-ce

Operating system and kernel: (cat /etc/os-release, uname -r preferred) CentOS 7.5

Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO) Private Cloud (OpenStack)

cluster.yml file:

nodes:
  - address: [Our private DNS name]
    user: [Our private user]
    role: [controlplane,worker,etcd]

services:
  etcd:
    snapshot: true
    creation: 6h
    retention: 24h

Steps to Reproduce: rke up --config ./rancher-cluster.yml

Results: [workerPlane] Failed to bring up Worker Plane: Failed to start [kubelet] container on host [Our private DNS name]: Error response from daemon: chown /etc/resolv.conf: operation not permitted

rancher/rke

Answer questions webdeb

Ok, I could fix it by removing the immutable (i) attribute sudo chattr -i resolv.conf

useful!

Related questions

"Failed to reconcile etcd plane" when updating RKE binary hot 3
Failed to get /health for host - remote error: tls: bad certificate hot 2
Failed to rotate expired certificates on an RKE cluster: unable to reach api server to fetch CA hot 2
Pods can't reach networks outside of node hot 1
rke 0.1.17 Can't initiate NewClient: protocol not available hot 1
Calico node failed to start after upgrading the cluster hot 1
Job rke-network-plugin-deploy-job never completes (virtualbox) hot 1
rke up --local fails to deploy successfully hot 1
Job rke-network-plugin-deploy-job never completes (virtualbox) hot 1
go panic on intial rke up hot 1
Unable to update cluster "crypto/rsa: verification error" hot 1
Calico node failed to start after upgrading the cluster hot 1
pods in "CrashLoopBackOff" status after restoring from backup hot 1
[SOLVED] Failed to apply the ServiceAccount needed for job execution: Post https://10.102.X.X:6443/apis/rbac.authorization.k8s.io/v1/clusterrolebindings: Forbidden hot 1
Failed to get /health for host - remote error: tls: bad certificate hot 1
Github User Rank List