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] Use a delimited CLI output parser instead of JSON #17097

Merged
merged 5 commits into from Aug 21, 2017

Conversation

alfredodeza
Copy link
Contributor

@alfredodeza alfredodeza commented Aug 18, 2017

Older versions of LVM do not support JSON output. This PR uses LVM's flags to customize the output so that we can parse it providing the same functionality. Specifically the --reportformat flag does not work on Xenial

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1478599

Alfredo Deza added 4 commits August 18, 2017 17:05
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Signed-off-by: Alfredo Deza <adeza@redhat.com>
@alfredodeza
Copy link
Contributor Author

jenkins test ceph-volume tox

@alfredodeza
Copy link
Contributor Author

jenkins test ceph-volume centos7-create

@alfredodeza
Copy link
Contributor Author

jenkins test ceph-volume xenial-create

1 similar comment
@alfredodeza
Copy link
Contributor Author

jenkins test ceph-volume xenial-create

Signed-off-by: Alfredo Deza <adeza@redhat.com>
@alfredodeza
Copy link
Contributor Author

jenkins test ceph-volume xenial-create

@alfredodeza
Copy link
Contributor Author

@ktdreyer there is a small change to Debian packaging I had to add that was preventing ceph-volume-systemd (the executable) from being added to the deb package. Xenial tests caught these, which are now passing

Copy link
Member

@ktdreyer ktdreyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants