On Mon, Jun 17, 2024 at 12:18 AM Satoru Takeuchi <satoru.takeuchi@gmail.com> wrote:
2024年6月14日(金) 23:24 Anthony D'Atri <aad@dreamsnake.net>:
Usually. There is a high bar for changing command structure or output. Newer versions are more likely to *add* commands and options than to change or remove them.
That said, probably some things now won't take a --cluster argument since vanity names are deprecated, similarly with filestore.
One exception that still pisses me off is when the mon time skew was factored out of ceph -s into a separate command
Thank you for your answer. I understood. Your comment matches what I had inferred from reviewing changelogs so far.
Hi Satoru, For rbd in particular, we try to be as compatible as possible -- we have actually rejected some improvements to structured output (--format json or --format xml) in the past to stay compatible. As long as you stick to structured output instead of parsing human-readable output, I would expect the same shell script to work for quite for a number of releases, but it's not really tested. Thanks, Ilya