Bug 1441587
Summary: | ntp.conf is overwritten by os-apply-config | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Yurii Prokulevych <yprokule> |
Component: | openstack-tripleo-common | Assignee: | Lukas Bezdicka <lbezdick> |
Status: | CLOSED ERRATA | QA Contact: | Yurii Prokulevych <yprokule> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 11.0 (Ocata) | CC: | aschultz, augol, ccollett, cylopez, david.costakos, emacchi, jjoyce, jmelvin, lbezdick, mandreou, mburns, mcornea, mschuppe, nalmond, rhel-osp-director-maint, sathlang, slinaber, vumrao |
Target Milestone: | z3 | Keywords: | TestOnly, Triaged, ZStream |
Target Release: | 11.0 (Ocata) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-tripleo-common-6.1.0-2.el7ost | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-10-31 17:37:35 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1442025, 1442027, 1442031 | ||
Bug Blocks: |
Description
Yurii Prokulevych
2017-04-12 09:33:35 UTC
Remove /usr/libexec/os-apply-config/templates/etc/ntp.conf Another file that has to be removed /usr/libexec/os-refresh-config/configure.d/40-truncate-nova-config changed in commit http://git.openstack.org/cgit/openstack/tripleo-puppet-elements/commit/?id=85f4604298e3618fafabb5af3152166f9a7ab6a2 but never provided by any rpm. Point to stable/ocata, not yet merged there. Another workaround where re-deploy isn't required is: [root@osp11-compute000 ~]# grep server /etc/ntp.conf # Local users may interrogate the ntp server more closely. # Remote NTP server(s) to synchronize with. server 127.127.1.0 # local clock address [root@osp11-compute000 ~]# echo 'include ::tripleo::profile::base::time::ntp' |puppet apply exception: connect failed Notice: hiera(): Cannot load backend module_data: cannot load such file -- hiera/backend/module_data_backend Warning: Undefined variable 'deploy_config_name'; (file & line not available) Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Bool. There is further documentation for validate_legacy function in the README. at ["unknown", 1]:["/etc/puppet/modules/tripleo/manifests/profile/base/time/ntp.pp", 29] (at /etc/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation') Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Absolute_Path. There is further documentation for validate_legacy function in the README. at ["unknown", 1]:["/etc/puppet/modules/tripleo/manifests/profile/base/time/ntp.pp", 29] (at /etc/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation') Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::String. There is further documentation for validate_legacy function in the README. at ["unknown", 1]:["/etc/puppet/modules/tripleo/manifests/profile/base/time/ntp.pp", 29] (at /etc/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation') Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Array. There is further documentation for validate_legacy function in the README. at ["unknown", 1]:["/etc/puppet/modules/tripleo/manifests/profile/base/time/ntp.pp", 29] (at /etc/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation') Warning: This method is deprecated, please use the stdlib validate_legacy function, with Pattern[]. There is further documentation for validate_legacy function in the README. at ["unknown", 1]:["/etc/puppet/modules/tripleo/manifests/profile/base/time/ntp.pp", 29] (at /etc/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation') Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Numeric. There is further documentation for validate_legacy function in the README. at ["unknown", 1]:["/etc/puppet/modules/tripleo/manifests/profile/base/time/ntp.pp", 29] (at /etc/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation') Notice: Compiled catalog for osp11-compute000.flusche.co in environment production in 0.73 seconds Notice: /Stage[main]/Ntp::Config/File[/etc/ntp.conf]/content: content changed '{md5}c07b9a377faea45b96b7d3bf8976004b' to '{md5}80b50defbb2abdcd9b16675667468ca1' Notice: /Stage[main]/Ntp::Config/File[/etc/ntp.conf]/seluser: seluser changed 'unconfined_u' to 'system_u' Notice: /Stage[main]/Ntp::Config/File[/etc/ntp.conf]/seltype: seltype changed 'etc_t' to 'net_conf_t' Notice: /Stage[main]/Ntp::Service/Service[ntp]: Triggered 'refresh' from 1 events Notice: Applied catalog in 0.93 seconds [root@osp11-compute000 ~]# grep server /etc/ntp.conf # Set up servers for ntpd with next options: # server - IP address or DNS name of upstream NTP server # prefer - select preferrable server server 192.168.0.10 server 2001:470:b92e::10 This appears to have already gone out already but should be verified. According to our records, this should be resolved by openstack-tripleo-common-6.1.0-2.el7ost. This build is available now. Verified with: openstack-tripleo-common-6.1.0-3.el7ost.noarch ; rhosp-director-images-ipa-11.0-20170830.1.el7ost.noarch rhosp-director-images-11.0-20170830.1.el7ost.noarch openstack-tripleo-heat-templates-6.2.0-3.el7ost.noarch Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:3098 |