Bug 1416175
| Summary: | Remove the NTP server configuration from gdeploy | ||
|---|---|---|---|
| Product: | [oVirt] cockpit-ovirt | Reporter: | SATHEESARAN <sasundar> |
| Component: | Gdeploy | Assignee: | Ramesh N <rnachimu> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | SATHEESARAN <sasundar> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | --- | CC: | bugs, knarra, rnachimu, sabose |
| Target Milestone: | ovirt-4.1.1 | Flags: | rule-engine:
ovirt-4.1+
rule-engine: planning_ack+ rnachimu: devel_ack+ knarra: testing_ack+ |
| Target Release: | 0.10.7-0.0.10 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | cockpit-ovirt-0.10.7-0.0.13 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-04-21 09:38:52 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Gluster | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1277939 | ||
|
Description
SATHEESARAN
2017-01-24 18:54:02 UTC
if custom_NTP_server:
[shell1]
action=execute
command=sed -i 's/^\(server .*iburst\)/#\1/' /etc/ntp.conf
[update-file1]
action=add
dest=/etc/ntp.conf
line=server <custom_NTP_server> iburst
else:
do nothing
But irrespective of above conditional loop, NTP service needs to be started and should be persisted across reboots. So, the following sections should be present:
[service1]
action=enable
service=ntpd
[service2]
action=restart
service=ntpd
NTP server configuration will be removed from gdeploy template. Currently user has to manually edit the configuration to change NTP server. Also user can make use of the NTP server feature available in cockpit to change the ntp server configurations. RFE https://bugzilla.redhat.com/show_bug.cgi?id=1417351 will introduce this feature in cockpit wizard. Tested with ovirt-cockpit-dashboard-0.10.7-0.0.13 Hardcoded NTP server is now removed from generated gdeploy config file |