Bug #22986
closed
- Assignee set to Vasu Kulkarni
- Priority changed from Normal to High
- Status changed from New to In Progress
- Status changed from In Progress to 7
CentOS doesn't allow the overwrite of resolve.conf, I guess some network manager changes, I need to check with David Galloway on that, but for Ubuntu its fine.
- Assignee changed from Vasu Kulkarni to David Galloway
- Assignee changed from David Galloway to Vasu Kulkarni
2018-03-02T03:03:30.596 INFO:teuthology.orchestra.run.ovh052.stderr:cp: cannot create regular file ‘/etc/resolv.conf’: Permission denied
[dgalloway@ovh009 ~]$ lsattr /etc/resolv.conf
----i----------- /etc/resolv.conf
[root@ovh009 ~]# cat /etc/resolv.conf
# Immutable copy of resolv.conf for Sepia use only
search front.sepia.ceph.com
domain front.sepia.ceph.com
nameserver 8.8.8.8
We made /etc/resolv.conf immutable on OVH nodes because of all the DNS failures their Openstack instances have when using their own nameservers. Making it was immutable is hacky but easiest instead of fighting with all the daemons that try to update it (cloud-init, NetworkManager, etc.)
You could have the test sudo chattr -i /etc/resolv.conf
before copying the resolv.tmp file into place.
Thanks David, that helps.
- Related to Bug #23454: rgw/s3atests failure: fs contract testBlockReadZeroByteFile/testSeekZeroByteFile/testOpenReadZeroByteFile added
- Related to Bug #23531: s3a/2.8.0 fs.contract failure Seek/Rename/ComplexDirActions/RecursiveRootListing/EmptyRootDirNonRecursive added
- Status changed from 7 to Resolved
- Related to deleted (Bug #23531: s3a/2.8.0 fs.contract failure Seek/Rename/ComplexDirActions/RecursiveRootListing/EmptyRootDirNonRecursive)
Also available in: Atom
PDF