Bug 1072345

Summary: leap staging: "Cannot adjust NTP service"
Product: [openSUSE] openSUSE Distribution Reporter: Ludwig Nussel <lnussel>
Component: YaST2Assignee: Stefan Schubert <schubi>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P2 - High CC: igonzalezsosa, jreidinger, lnussel, locilka
Version: Leap 15.0   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: http://openqa.opensuse.org/tests/557090/modules/install_and_reboot/steps/21 https://trello.com/c/5dOiNWi1
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2logs

Description Ludwig Nussel 2017-12-12 09:30:14 UTC
## Observation

openQA test in scenario opensuse-15.0:S:D-Staging-DVD-x86_64-cryptlvm@64bit fails in
[install_and_reboot](http://openqa.opensuse.org/tests/557090/modules/install_and_reboot/steps/21)

YaST shows an error that it "Cannot adjust NTP service". That is a bit terse. The real reason is that chrony is not installed/available so as result it cannot enable chronyd.service. My suggestion would be to
a) make sure chrony is installed before trying to configure it
b) make the error message a bit more specific :)
Comment 1 Ludwig Nussel 2017-12-12 09:31:37 UTC
Created attachment 752539 [details]
y2logs
Comment 2 Lukas Ocilka 2017-12-12 10:20:25 UTC
How comes that chrony is not available? You mean it is on the media
but not selected for installation?
Comment 3 Ludwig Nussel 2017-12-12 10:23:10 UTC
it was not on the media due to bug 1072351. I've added it manually now so the immediate problem will go away. So no blocker for any product, just one of those issues make the system more robust when fixed.
Comment 4 Imobach Gonzalez Sosa 2017-12-12 11:04:00 UTC
FATE#323432 (https://fate.suse.com/323432) contains more information about Chrony support. Do we plan to somehow improve error handling?
Comment 5 Lukas Ocilka 2017-12-12 11:16:20 UTC
According to Josef, when you choose the option to sync with NTP during 
installation, it does NOT select chrony (and did not select ntp in the past)
for installation.

1.) We should definitely require needed packages
2.) We should inform the user better if something fails
3.) We should make sure that error messages are helpful to us too (#2)

Not a P1 though...
Comment 6 Imobach Gonzalez Sosa 2017-12-12 11:42:17 UTC
Ok, I've added this bug to our backlog in order to plan for it.
Comment 7 Imobach Gonzalez Sosa 2017-12-12 11:42:51 UTC
Tracked at https://trello.com/c/5dOiNWi1
Comment 8 Stefan Schubert 2018-04-13 09:50:16 UTC
I have tested these scenarios again with RC2 and have adapted the
error report:
https://github.com/yast/yast-ntp-client/pull/111
Comment 9 Swamp Workflow Management 2018-04-19 13:50:14 UTC
This is an autogenerated message for OBS integration:
This bug (1072345) was mentioned in
https://build.opensuse.org/request/show/598559 15.0 / yast2-ntp-client