deployment fails with ntp_check.pp but should have been caught by network verification
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Triaged
|
Medium
|
Fuel Sustaining | ||
Mitaka |
Won't Fix
|
Medium
|
Fuel Python (Deprecated) | ||
Newton |
Triaged
|
Medium
|
Fuel Sustaining |
Bug Description
Problem:
We do not validate the upstream NTP settings until after we have applied them to the environment at the end of a deployment. If the upstream NTP servers are unavailable post-network configuration then the controllers will not have a proper NTP configuration which may lead to clustering issues. We should validate the upstream NTP servers as part of the network verification phase much like we do with the configured repositories
How to test:
If the deployed environment does not have internet connectivity, leave the default public NTP servers configured and run a deployment.
Expected result:
Network verification should validate NTP server accessibility as part of the network checks. This should throw a warning so that the end use can update the NTP servers with locally accessible systems
Actual results:
At the very last phases of deployment it fails with the following error:
Deployment has failed. Method granular_deploy. Failed to execute hook 'puppet' Puppet run failed. Check puppet logs for details
---
priority: 200
fail_on_error: true
type: puppet
uids:
- '1'
parameters:
puppet_modules: "/etc/puppet/
puppet_manifest: "/etc/puppet/
timeout: 600
cwd: "/"
.
Inspect Astute logs for the details
Astute logs shows the following:
http://
NTP nodes are pingable from both the fuel master and slaves.
Implementation is on VisualBox.
Version information:
[root@fuel ~]# fuel --fuel-version
DEPRECATION WARNING: /etc/fuel/
api: '1.0'
astute_sha: 1ea8017fe888941
auth_required: true
build_id: 2015-06-19_13-02-31
build_number: '525'
feature_groups:
- mirantis
fuel-library_sha: 2e7a08ad9792c70
fuel-ostf_sha: 8fefcf7c4649370
fuelmain_sha: a3998372183468f
nailgun_sha: dbd54158812033d
openstack_version: 2014.2.2-6.1
production: docker
python-
release: '6.1'
release_versions:
2014.2.2-6.1:
VERSION:
api: '1.0'
astute_sha: 1ea8017fe888941
build_id: 2015-06-19_13-02-31
build_number: '525'
feature_
- mirantis
fuel-
fuel-
fuelmain_sha: a3998372183468f
nailgun_sha: dbd54158812033d
openstack
production: docker
python-
release: '6.1'
Changed in fuel: | |
milestone: | none → 7.0 |
status: | New → Confirmed |
importance: | Undecided → High |
summary: |
- deployment fails with ntp_check.pp + deployment fails with ntp_check.pp but should have been caught by + network verification |
description: | updated |
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Fuel Python Team (fuel-python) |
status: | Incomplete → Confirmed |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Maciej Kwiek (maciej-iai) |
status: | Confirmed → In Progress |
Changed in fuel: | |
status: | In Progress → Confirmed |
tags: | added: qa-agree-8.0 |
Changed in fuel: | |
milestone: | 7.0-updates → 8.0 |
no longer affects: | fuel/8.0.x |
tags: | added: area-python |
Perhaps having working ping to NTP is not enough. Please make sure ntpdate X.pool.ntp.org works on your servers.