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: Show an error when invalid format #45023
Conversation
Fixes: https://tracker.ceph.com/issues/54198 Signed-off-by: Redouane Kachach <rkachach@redhat.com>
3b93c62
to
d2fa22f
Compare
| @@ -115,6 +117,8 @@ def to_yaml_n(objs: list) -> list: | |||
| if many: | |||
| return yaml.dump_all(to_yaml(copy), default_flow_style=False) | |||
| return yaml.dump(to_yaml(copy), default_flow_style=False) | |||
| elif format == Format.xml or format == Format.xml_pretty: | |||
| raise OrchestratorError(f"format '{format.name}' is not implemented.") | |||
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.
| raise OrchestratorError(f"format '{format.name}' is not implemented.") | |
| raise OrchestratorError(f"format '{format.name}' is not implemented for 'ceph orch' commands.") |
NIT, technically this format is implemented in other areas of ceph. It's ceph orch commands specifically that we mean here.
|
Most failures tracked by https://tracker.ceph.com/issues/54304 Also a couple pre-test failures running apt-get commands and one instance where one of the osds created in a startup task never came up. 20+ tests ran the same startup task in the same run successfully so thinking it's just a one off. |
backport of: ceph#45023 Signed-off-by: Redouane Kachach <rkachach@redhat.com>
Fixes: https://tracker.ceph.com/issues/54198
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 tox