My Oracle Support Banner

Mammoth Expansion Fails at PrepareBaseImage with "/files/etc/resolv.conf/nameserver" Error Due to Empty /etc/resolv.conf on Expanded Nodes (Doc ID 2502356.1)

Last updated on JULY 20, 2024

Applies to:

Big Data Appliance Integrated Software - Version 4.5.0 and later
Linux x86-64

Symptoms

Mammoth cluster expansion fails at the Step 4, PrepareBaseImage, with:

INFO: Also check the log file in /opt/oracle/BDAMammoth/bdaconfig/tmp/pagent-<HOSTNAMEx>-<timestamp>.log
ERROR: Puppet agent run on node <HOSTNAMEx> had errors. List of errors follows

Checking the puppet agent log: pagent-<HOSTNAMEx>-<timestamp>.log shows errors like:

<timestamp> <HOSTNAME1> puppet-master[10108]: (//<HOSTNAMEx>.<DOMAIN>//Stage[main]/Miscsetup::Mount_dirs/Augeas[resolv]) Could not evaluate: Error sending command 'insert' with params ["nameserver", "before", "/files/etc/resolv.conf/nameserver[1]"]/Error sending command 'insert' with params ["nameserver", "before", "/files/etc/resolv.conf/nameserver[1]"]

Checking the output from:

shows that the /etc/resolv.conf files on the newly expanded hosts are empty.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.