Ask Your Question
0

Could not find data item CONFIG_NTP_SERVER_DEF in any Hiera data file and no default supplied

asked 2017-02-10 10:18:55 -0600

MagnoDeAraujo gravatar image

updated 2017-02-13 11:40:34 -0600

rbowen gravatar image

Hi, I'm trying to install RDO using a packstack data file. However, when I run the command "packstack --answer-file myanswers.txt" I get the following error:

Applying 192.168.123.101_controller.pp
192.168.123.101_controller.pp:                    [ ERROR ]              
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 192.168.123.101_controller.pp
Error: Evaluation Error: Error while evaluating a Function Call, Could not find data item CONFIG_NTP_SERVER_DEF in any Hiera data file and no default supplied at /var/tmp/packstack/28eb69e9c5cc482caf2a22cad111bfc3/modules/packstack/manifests/chrony.pp:3:27 on node control

I was able to identify the defaults.yaml file and see the variable is unconfigured, but it seems there are different versions of this file in different directories, each one of these regarding to a different installation attempt. Could anyone help me out?

TIA

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-02-20 14:56:54 -0600

I got round this problem in your answers.txt file to set a value for

# Comma-separated list of NTP servers. Leave plain if Packstack
# should not install ntpd on instances.
CONFIG_NTP_SERVERS=x.x.x.x
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-02-10 10:18:55 -0600

Seen: 617 times

Last updated: Feb 13 '17