New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mgr/cephadm: Adding image tag and date to cephadm startup messages #45598
Conversation
d67424c
to
97fbab6
Compare
|
jenkins test make check |
This issue is caused by an old version of runc (1.0.0). I have already commented this with David but he has not updated the OS version of the tests node yet. |
|
2 failures: 1 caused by https://tracker.ceph.com/issues/49287 |
|
2 Failures
To summarize, run was passing. Will start tracking this type of lvm batch failure to see if it happens on the same hosts (which would imply a possible hardware issue) in https://tracker.ceph.com/issues/55319 |
src/cephadm/cephadm
Outdated
| if image and not image.isspace(): | ||
| (digest, tag, created_date) = image.lstrip().split('|') | ||
| if digest and not digest.endswith('@'): | ||
| logger.info(f"Using ceph image with tag '{tag}' created on {created_date}\n{digest}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe the container image id would be more useful than then the creation time?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the PR to add the image_id plus other important enhancements.
|
1 infra failure reimaging machines |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks OK to me, although I do find the unit test a tad confusing. I have no strong opinion about including the creation time.
97fbab6
to
5d91887
Compare
c036603
to
f4c021d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this functionally works. Mostly just comments on tests, code comments, etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor things mostly but I am concerned with the change to the eq behavior. Also, minor but the fixes in the 2nd patch should probably be squashed into the 1st patch. Otherwise the patch history will be a bit messy.
bd8786a
to
5d6ef23
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes: https://tracker.ceph.com/issues/55008 Fixes: https://tracker.ceph.com/issues/54373 Signed-off-by: Redouane Kachach <rkachach@redhat.com>
5d6ef23
to
92ecb58
Compare
…podman Signed-off-by: Redouane Kachach <rkachach@redhat.com>
|
jenkins test make check |
This PR has two goals:
The first point will help to fix the version mismatch issues reported in several trackers (specially after upgrade scenarios). Meanwhile the second point is an improvement of the current info shown to the user.
Previously when cephadm is launched we print something like:
With the changes now it shows:
Basically we add the fields id '666bbfa87e8d', tag 'v15.2.5' and created on 2020-09-16 14:15:15 +0000 UTC
show both tag and creation date this way it's easier to know which image cephadm is using.
Fixes: https://tracker.ceph.com/issues/55008
Fixes: https://tracker.ceph.com/issues/54373
Fixes: https://tracker.ceph.com/issues/54475
Signed-off-by: Redouane Kachach rkachach@redhat.com
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windows