Skip to content
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

ceph-volume process the abspath of the executable first #20824

Merged
merged 1 commit into from Mar 14, 2018

Conversation

alfredodeza
Copy link
Contributor

So that it can always log the full path to the executable when it is
logging the 'Running command:' line

The tracker ticket is a bit misleading, because the output in ceph-volume would show:

Running command: ln -snf /dev/ceph-08dc79cd-db94-4477-8557-8203ad86fc11/osd-block-6355001f-11ad-4430-aed8-21720d866f6d /var/lib/ceph/osd/ceph-2/block
Running command: chown -R ceph:ceph /dev/dm-2
Running command: chown -R ceph:ceph /var/lib/ceph/osd/ceph-2
Running command: systemctl enable ceph-volume@lvm-2-6355001f-11ad-4430-aed8-21720d866f6d

Giving the false impression the some executables aren't found, but the thing is that the logging of the command might omit the resolving of the absolute path.

Fixes http://tracker.ceph.com/issues/23259

@andrewschoen
Copy link
Contributor

jenkins test ceph-volume all

So that it can always log the full path to the executable when it is
logging the 'Running command:' line

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants