SUSE / DeepSea

A collection of Salt files for deploying, managing and automating Ceph.
GNU General Public License v3.0
161 stars 75 forks source link

[SES5] ceph.time: work around buggy "service.running" #1823

Closed smithfarm closed 4 years ago

smithfarm commented 4 years ago

Fixes: https://github.com/SUSE/DeepSea/issues/1822 Signed-off-by: Nathan Cutler ncutler@suse.com


Checklist:

smithfarm commented 4 years ago

This can be tested by running the following command with and without the patches in https://github.com/SUSE/sesdev/pull/108

sesdev create ses5 ses5_test
jschmid1 commented 4 years ago

@susebot run teuthology

susebot commented 4 years ago

Commit d22232629d7d55387b7d6eaee7a510eced848d34 is NOT OK for suite deepsea:tier2. Check tests results in the Jenkins job: http://storage-ci.suse.de/job/pr-deepsea/409/

smithfarm commented 4 years ago

The test failures are unrelated to the PR, and actually I don't think teuthology exercises this code at all...

The test failures are caused by bad repos:

2020-02-18T07:48:35.400 INFO:teuthology.orchestra.run.target192168000069.stdout:Package 'salt' is not available in your repositories. Cannot reinstall, upgrade, or downgrade.
2020-02-18T07:48:35.400 INFO:teuthology.orchestra.run.target192168000069.stdout:Package 'salt-api' is not available in your repositories. Cannot reinstall, upgrade, or downgrade.
2020-02-18T07:48:35.400 INFO:teuthology.orchestra.run.target192168000069.stdout:Package 'salt-master' is not available in your repositories. Cannot reinstall, upgrade, or downgrade.
2020-02-18T07:48:35.400 INFO:teuthology.orchestra.run.target192168000069.stdout:Package 'salt-minion' is not available in your repositories. Cannot reinstall, upgrade, or downgrade.
jschmid1 commented 4 years ago

The test failures are unrelated to the PR, and actually I don't think teuthology exercises this code at all...

It should exercise it during the initial deployment, huh?

Anyways, you seem to have tested that locally with success.. merging..

smithfarm commented 4 years ago

It should exercise it during the initial deployment, huh?

I don't think so - if it did, Stage 3 would surely fail.

In teuthology, each node has a running NTPD syncing to external time servers and time_init is not set in the pillar.