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

Add SES6->7 Upgrade Helpers #1852

Closed tserong closed 3 years ago

tserong commented 3 years ago

This adds:

This PR supersedes #1840 which only included the upgrade.ceph_salt_config piece. I've fixed the "time_init: disabled" thing @Martin-Weiss mentioned. I've left the bootstrap_minion in place, because when I last tested this, it seemed ceph-salt still required it (even though it should be optional now) - possibly I did something wrong with my setup, so need to re-test that part.


Checklist:

swiftgist commented 3 years ago

Aside from the two small issues above, it works for me. It told me to upgrade to SLE15SP2 and ran successfully once I did the above.

jschmid1 commented 3 years ago

@susebot run teuthology

susebot commented 3 years ago

Commit 2a41bd29e0e4ed019be654530dfd8fd550335793 is OK for suite deepsea:tier2. Check tests results in the Jenkins job: https://storage-ci.suse.de/job/pr-deepsea/478/

jschmid1 commented 3 years ago

@susebot run teuthology

susebot commented 3 years ago

Commit 2378cdaf61b9b93cf782f0d4d3a25d2c7da32f91 is NOT OK for suite deepsea:tier2. Check tests results in the Jenkins job: https://storage-ci.suse.de/job/pr-deepsea/479/

jschmid1 commented 3 years ago

@susebot run teuthology

smithfarm commented 3 years ago

There was only one failure - in functional-3nodes. Here is the immediate cause:

2020-10-06T08:21:56.867 INFO:teuthology.orchestra.run.target-ses-088.stdout:[49/59] Executing state ceph.osd.restart...
2020-10-06T08:21:57.627 INFO:teuthology.orchestra.run.target-ses-088.stdout:         |_  target-ses-065.ecp.suse.de: restart osd 0(systemctl restart ceph-osd@0.service) ok
2020-10-06T08:21:57.688 INFO:teuthology.orchestra.run.target-ses-088.stdout:         |_  target-ses-065.ecp.suse.de: wait on processes after processing osd.0(cephprocesses.wait) ok
2020-10-06T08:21:57.842 INFO:teuthology.orchestra.run.target-ses-088.stdout:         |_  target-ses-065.ecp.suse.de: restart osd 3(systemctl restart ceph-osd@3.service) ok
2020-10-06T08:21:57.893 INFO:teuthology.orchestra.run.target-ses-088.stdout:         |_  target-ses-065.ecp.suse.de: wait on processes after processing osd.3(cephprocesses.wait) ok
2020-10-06T08:21:58.038 INFO:teuthology.orchestra.run.target-ses-088.stdout:         |_  target-ses-065.ecp.suse.de: restart osd 6(systemctl restart ceph-osd@6.service) ok
2020-10-06T08:21:58.102 INFO:teuthology.orchestra.run.target-ses-088.stdout:         |_  target-ses-065.ecp.suse.de: wait on processes after processing osd.6(cephprocesses.wait) ok
2020-10-06T08:21:58.261 INFO:teuthology.orchestra.run.target-ses-088.stdout:         |_  target-ses-065.ecp.suse.de: restart osd 9(systemctl restart ceph-osd@9.service) ok
2020-10-06T08:21:58.311 INFO:teuthology.orchestra.run.target-ses-088.stdout:         |_  target-ses-065.ecp.suse.de: wait on processes after processing osd.9(cephprocesses.wait) fail
2020-10-06T08:21:58.335 INFO:teuthology.orchestra.run.target-ses-088.stdout:         target-ses-065.ecp.suse.de... fail
2020-10-06T08:21:58.376 INFO:teuthology.orchestra.run.target-ses-088.stdout:Finished stage ceph.stage.3: succeeded=48/59 failed=1/59
2020-10-06T08:21:58.377 INFO:teuthology.orchestra.run.target-ses-088.stdout:
2020-10-06T08:21:58.378 INFO:teuthology.orchestra.run.target-ses-088.stdout:Failures summary:
2020-10-06T08:21:58.379 INFO:teuthology.orchestra.run.target-ses-088.stdout:ceph.osd.restart (/srv/salt/ceph/osd/restart):
2020-10-06T08:21:58.380 INFO:teuthology.orchestra.run.target-ses-088.stdout:  target-ses-065.ecp.suse.de:
2020-10-06T08:21:58.381 INFO:teuthology.orchestra.run.target-ses-088.stdout:    wait on processes after processing osd.9: Module function cephprocesses.wait threw an exception. Exception: psutil.NoSuchProcess process no longer exists (pid=20793)
2020-10-06T08:22:00.320 DEBUG:teuthology.orchestra.run:got remote process result: 1
jschmid1 commented 3 years ago

sounds like a hick-up to me. retriggered the tests

susebot commented 3 years ago

Commit 2378cdaf61b9b93cf782f0d4d3a25d2c7da32f91 is OK for suite deepsea:tier2. Check tests results in the Jenkins job: https://storage-ci.suse.de/job/pr-deepsea/480/