)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ea41537a3f5e374a3fbd833e66d98c8c9835b148","unresolved":true,"context_lines":[{"line_number":10,"context_line":"Passing 4 default arguments yields:"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Invalid command: Unexpected argument \u0027default\u0027"},{"line_number":13,"context_line":"orch apply rgw \u003csvc_id\u003e [\u003cplacement\u003e] [--realm \u003cvalue\u003e] [--zonegroup \u003cvalue\u003e] [--zone \u003cvalue\u003e] [--networks \u003cvalue\u003e...] [--port \u003cint\u003e] [--ssl] [--dry-run] [--format {plain|json|json-pretty|yaml|xml-pretty|xml}] [--unmanaged] [--no-overwrite] :  Update the number of RGW instances for the given zone"},{"line_number":14,"context_line":"Error EINVAL: invalid command"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"This fix passes only 2 default arguments for \u003csvc_id\u003e and \u003cplacement\u003e, which"},{"line_number":17,"context_line":"works as expected."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"8325945e_abc65296","line":14,"range":{"start_line":13,"start_character":0,"end_line":14,"end_character":29},"updated":"2025-08-04 19:45:53.000000000","message":"What version of ceph did this error occur with?\n\nI see in Reef and Squid that there\u0027s only one positional argument: svc_id\n\nPlacement has an option \"--placement\u003d\"\n\nhttps://docs.ceph.com/en/squid/cephadm/services/rgw/\nhttps://docs.ceph.com/en/reef/cephadm/services/rgw/","commit_id":"98b16b0e9b846c5baed79b2ce77382e267780839"},{"author":{"_account_id":38153,"name":"Tobias Haslop","display_name":"Tobias Haslop","email":"tobiashaslop+ubuntuone@hotmail.de","username":"tobias-haslop"},"change_message_id":"31fa3e205ca8bc750ea5bdad87614a6f2b610247","unresolved":true,"context_lines":[{"line_number":10,"context_line":"Passing 4 default arguments yields:"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Invalid command: Unexpected argument \u0027default\u0027"},{"line_number":13,"context_line":"orch apply rgw \u003csvc_id\u003e [\u003cplacement\u003e] [--realm \u003cvalue\u003e] [--zonegroup \u003cvalue\u003e] [--zone \u003cvalue\u003e] [--networks \u003cvalue\u003e...] [--port \u003cint\u003e] [--ssl] [--dry-run] [--format {plain|json|json-pretty|yaml|xml-pretty|xml}] [--unmanaged] [--no-overwrite] :  Update the number of RGW instances for the given zone"},{"line_number":14,"context_line":"Error EINVAL: invalid command"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"This fix passes only 2 default arguments for \u003csvc_id\u003e and \u003cplacement\u003e, which"},{"line_number":17,"context_line":"works as expected."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"c7fabb44_993dec37","line":14,"range":{"start_line":13,"start_character":0,"end_line":14,"end_character":29},"in_reply_to":"8325945e_abc65296","updated":"2025-08-17 22:17:40.000000000","message":"Right, I didn\u0027t look into it, because it did not throw an error with only 2 default arguments, but I should have. Reading my explanation in the commit message, I ask myself: If the second default argument already is the placement, there would be no need to additionally pass the --placement\u003d... option afterwards?\n\nThere is this documentation too, but it confuses me even more: https://docs.ceph.com/en/squid/api/mon_command_api/#orch-apply-rgw\nIn the parameter listing the second parameter is placement, not --placement. But in the example command it is --placement\u003dstring.\n\nThe error occurs with latest Reef and Squid and this commit makes ./stack.sh succeed in both cases. It also succeeds with a single default argument instead of two. I have not tested with other Ceph versions.","commit_id":"98b16b0e9b846c5baed79b2ce77382e267780839"},{"author":{"_account_id":30523,"name":"Dincer Celik","email":"hello@dincercelik.com","username":"osmanlicilegi"},"change_message_id":"2a2540177bc3d82a2cace53aec6ce79f19ded0f6","unresolved":true,"context_lines":[{"line_number":10,"context_line":"Passing 4 default arguments yields:"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Invalid command: Unexpected argument \u0027default\u0027"},{"line_number":13,"context_line":"orch apply rgw \u003csvc_id\u003e [\u003cplacement\u003e] [--realm \u003cvalue\u003e] [--zonegroup \u003cvalue\u003e] [--zone \u003cvalue\u003e] [--networks \u003cvalue\u003e...] [--port \u003cint\u003e] [--ssl] [--dry-run] [--format {plain|json|json-pretty|yaml|xml-pretty|xml}] [--unmanaged] [--no-overwrite] :  Update the number of RGW instances for the given zone"},{"line_number":14,"context_line":"Error EINVAL: invalid command"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"This fix passes only 2 default arguments for \u003csvc_id\u003e and \u003cplacement\u003e, which"},{"line_number":17,"context_line":"works as expected."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"29264e3f_36e4f989","line":14,"range":{"start_line":13,"start_character":0,"end_line":14,"end_character":29},"in_reply_to":"8325945e_abc65296","updated":"2025-08-13 19:50:32.000000000","message":"The issue starts with squid and I think the docs are not up-to-date.","commit_id":"98b16b0e9b846c5baed79b2ce77382e267780839"}]}
