You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Attila Doroszlai <ad...@hortonworks.com> on 2016/12/06 15:39:00 UTC
Review Request 54424: AMBARI-19107 False warning about NTP not
running on SUSE12
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54424/
-----------------------------------------------------------
Review request for Ambari, Alejandro Fernandez, Masahiro Tanaka, Sebastian Toader, and Sid Wagle.
Bugs: AMBARI-19107
https://issues.apache.org/jira/browse/AMBARI-19107
Repository: ambari
Description
-------
1. Allow "chronyd" on RedHat6, too
2. Allow both "ntpd" and "ntp" on SUSE
3. Allow "chrony" in addition to "ntp" on Ubuntu/Debian
Diffs
-----
ambari-agent/src/main/python/ambari_agent/HostInfo.py 338daac
Diff: https://reviews.apache.org/r/54424/diff/
Testing
-------
Manual testing on CentOS 6, Debian 7, SUSE 11, SUSE 12, Ubuntu 14.
### CentOS 6
```
# service ntpd status
ntpd (pid 5076) is running...
# service chronyd status
chronyd (pid 5182) is running...
# service ntp status
ntp: unrecognized service
# service chrony status
chrony: unrecognized service
```
### Debian 7
```
# service ntp status
[ ok ] NTP server is running.
# service chrony status
Usage: /etc/init.d/chrony {start|stop|restart|force-reload}
# service ntpd status
ntpd: unrecognized service
# service chronyd status
chronyd: unrecognized service
```
(Note that `service chrony status` is not a valid command on Debian 7, but it's valid on Debian 8.)
### SUSE 11
```
# service ntp status
Checking for network time protocol daemon (NTPD): running
# service ntpd status
service: no such service ntpd
# zypper search chrony
No packages found.
```
### SUSE 12
```
# service ntpd status
ntpd.service - NTP Server Daemon
# service ntp status
service: no such service ntp
# zypper search chrony
No packages found.
```
### Ubuntu 14.04
```
# service ntp status
* NTP server is running
# service chrony status
* chronyd is running
# service ntpd status
ntpd: unrecognized service
# service chronyd status
chronyd: unrecognized service
```
Thanks,
Attila Doroszlai
Re: Review Request 54424: AMBARI-19107 False warning about NTP not
running on SUSE12
Posted by Sid Wagle <sw...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54424/#review158193
-----------------------------------------------------------
Ship it!
Ship It!
- Sid Wagle
On Dec. 6, 2016, 3:38 p.m., Attila Doroszlai wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54424/
> -----------------------------------------------------------
>
> (Updated Dec. 6, 2016, 3:38 p.m.)
>
>
> Review request for Ambari, Alejandro Fernandez, Masahiro Tanaka, Sebastian Toader, and Sid Wagle.
>
>
> Bugs: AMBARI-19107
> https://issues.apache.org/jira/browse/AMBARI-19107
>
>
> Repository: ambari
>
>
> Description
> -------
>
> 1. Allow "chronyd" on RedHat6, too
> 2. Allow both "ntpd" and "ntp" on SUSE
> 3. Allow "chrony" in addition to "ntp" on Ubuntu/Debian
>
>
> Diffs
> -----
>
> ambari-agent/src/main/python/ambari_agent/HostInfo.py 338daac
>
> Diff: https://reviews.apache.org/r/54424/diff/
>
>
> Testing
> -------
>
> Manual testing on CentOS 6, Debian 7, SUSE 11, SUSE 12, Ubuntu 14.
>
> ### CentOS 6
>
> ```
> # service ntpd status
> ntpd (pid 5076) is running...
> # service chronyd status
> chronyd (pid 5182) is running...
>
> # service ntp status
> ntp: unrecognized service
> # service chrony status
> chrony: unrecognized service
> ```
>
> ### Debian 7
>
> ```
> # service ntp status
> [ ok ] NTP server is running.
> # service chrony status
> Usage: /etc/init.d/chrony {start|stop|restart|force-reload}
>
> # service ntpd status
> ntpd: unrecognized service
> # service chronyd status
> chronyd: unrecognized service
> ```
>
> (Note that `service chrony status` is not a valid command on Debian 7, but it's valid on Debian 8.)
>
>
> ### SUSE 11
>
> ```
> # service ntp status
> Checking for network time protocol daemon (NTPD): running
>
> # service ntpd status
> service: no such service ntpd
> # zypper search chrony
> No packages found.
> ```
>
> ### SUSE 12
>
> ```
> # service ntpd status
> ntpd.service - NTP Server Daemon
>
> # service ntp status
> service: no such service ntp
> # zypper search chrony
> No packages found.
> ```
>
> ### Ubuntu 14.04
>
> ```
> # service ntp status
> * NTP server is running
> # service chrony status
> * chronyd is running
>
> # service ntpd status
> ntpd: unrecognized service
> # service chronyd status
> chronyd: unrecognized service
> ```
>
>
> Thanks,
>
> Attila Doroszlai
>
>