packstack Ocata --allinone error:
I receive this error when running allinone on a fresh minimal install CentOS Linux release 7.3.1611 (Core) I'm following this doc step-by-step: https://www.rdoproject.org/install/quickstart/ (https://www.rdoproject.org/install/qu...) The error occurs after step 3: "packstack --allinone"
* "Error: Failed to apply catalog" *
tail -f /var/tmp/packstack/20170407-160121-81CAUG/openstack-setup.log
PuppetError: Error appeared during Puppet run: 10.101.23.50_controller.pp Error: /usr/sbin/ntpdate 10.101.23.30 returned 1 instead of one of [0] You will find full trace in log /var/tmp/packstack/20170407-160121-81CAUG/manifests/10.101.23.50_controller.pp.log
2017-04-07 17:09:08::INFO::shell::94::root:: [10.101.23.50] Executing script: rm -rf /var/tmp/packstack/832b7dfb937b46c5b24c337850e0cc6f
tail /var/tmp/packstack/20170407-160121-81CAUG/manifests/10.101.23.50_controller.pp.log
Error: Failed to apply catalog: Command: 'openstack ["flavor", "list", "--quiet", "--format", "csv", ["--long", "--all"]]' has been running for more than 40 seconds (tried 4, for a total of 170 seconds)
Could you give more logs ?
tail -100 /var/tmp/packstack/20170407-160121-81CAUG/manifests/10.101.23.50_controller.pp.log
Hi Rajesh. Thank you. I don't believeI can attach many lines here. I grepped for "fail".
Notice: /Stage[main]/Packstack::Chrony/Service[
I think it's NTP related. That was the first thing to fail.
Great, Glad that you found the issue !!
I reran after fixing DATE/TIME and have new errors.
... Discovering ip protocol version [ DONE ] ... Installing time synchronization via NTP [ DONE ] ... 10.101.23.50_controller.pp: [ ERROR ] Applying Puppet manifests [ ERROR ]
ERROR : Error appeared during Puppet run: 10.101.23.50_controller.pp Error: /usr/sbin/ntpdate 10.101.23.30 returned 1 instead of one of [0] Do I need to setup NTP server locally prior prior to running? I thought packstack did that.
Another iteration. tail /var/log/messages
I would check if NTPD is already running, In that case you can edit the answer file and leave "CONFIG_NTP_SERVERS" to be blank. If not, please check if CONFIG_NTP_SERVERS has the right pools of ntp servers.
For nova scheduler issue, what is the output of "systemctl status openstack-nova-scheduler". Also, does the scheduler logs has any error messages ?
Thanks. ntpd is not running. there is no "CONFIG_NTP_SERVERS" block in my answer file.