Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
f70e136
Refactor: tools: Pass node to crm_resource.c:clear_constraints()
nrwahl2 Mar 3, 2025
55b788a
Refactor: tools: Pass node to crm_resource.c:refresh()
nrwahl2 Mar 3, 2025
6ef0fc6
Refactor: tools: Drop gratuitious pcmk_find_node() for cmd_digests
nrwahl2 Mar 3, 2025
524016f
Refactor: tools: Some best practices in cli_resource_delete()
nrwahl2 Mar 4, 2025
f36e0de
Low: tools: Fix memory leak in cli_resource_delete()
nrwahl2 Mar 4, 2025
3c279f4
Refactor: tools: Take pcmk_node_t in cli_resource_delete()
nrwahl2 Mar 4, 2025
d69a9e2
Refactor: tools: Some best practices in cli_cleanup_all()
nrwahl2 Mar 4, 2025
23180a9
Refactor: tools: Take pcmk_node_t in cli_cleanup_all()
nrwahl2 Mar 4, 2025
ab092c1
Refactor: tools: Some best practices for cli_resource_move()
nrwahl2 Mar 4, 2025
49b2421
Refactor: tools: Take pcmk_node_t in cli_resource_move()
nrwahl2 Mar 4, 2025
c4be4fb
Refactor: tools: Take pcmk_node_t in cli_resource_fail()
nrwahl2 Mar 4, 2025
2737a3f
Refactor: tools: Take pcmk_node_t in clear_rsc_failures()
nrwahl2 Mar 4, 2025
f5e39ea
Refactor: tools: Take pcmk_node_t in clear_rsc_history()
nrwahl2 Mar 4, 2025
0887537
Refactor: tools: Take pcmk_node_t in send_lrm_rsc_op()
nrwahl2 Mar 4, 2025
8f92645
Refactor: tools: Drop node NULL check for crm_resource --digests
nrwahl2 Mar 4, 2025
7df0bfc
Refactor: tools: Drop last unneeded host_uname uses in crm_resource.c
nrwahl2 Mar 4, 2025
fcaab85
Test: cts-cli: Use real node name in basic2_tests
nrwahl2 Mar 5, 2025
99380f9
Refactor: tools: Move node lookup in crm_resource.c
nrwahl2 Mar 4, 2025
ee016d4
Refactor: tools: Clarify is_scheduler_required() in crm_resource.c
nrwahl2 Mar 4, 2025
a0e98f3
Refactor: tools: New crm_resource.c:handle_ban()
nrwahl2 Mar 4, 2025
b0e0836
Refactor: tools: New crm_resource.c:handle_cleanup()
nrwahl2 Mar 4, 2025
e00882a
Refactor: tools: clear_constraints() -> handle_clear() in crm_resource.c
nrwahl2 Mar 4, 2025
a8778e9
Refactor: tools: New crm_resource.c:handle_colocations()
nrwahl2 Mar 4, 2025
24baf82
Refactor: tools: New crm_resource.c:handle_cts()
nrwahl2 Mar 4, 2025
5fc9cfb
Refactor: tools: New crm_resource.c:handle_delete()
nrwahl2 Mar 4, 2025
0937838
Refactor: tools: New crm_resource.c:handle_delete_param()
nrwahl2 Mar 4, 2025
0ba5956
Refactor: tools: New crm_resource.c:handle_digests()
nrwahl2 Mar 4, 2025
df99186
Refactor: tools: New crm_resource.c:handle_execute_agent()
nrwahl2 Mar 4, 2025
b8296a4
Refactor: tools: New crm_resource.c:handle_fail()
nrwahl2 Mar 4, 2025
c3a24df
Refactor: tools: New crm_resource.c:handle_get_param()
nrwahl2 Mar 4, 2025
96b3766
Refactor: tools: New crm_resource.c:handle_list_active_ops()
nrwahl2 Mar 4, 2025
f855646
Refactor: tools: New crm_resource.c:handle_list_all_ops()
nrwahl2 Mar 4, 2025
1ae9109
Refactor: tools: New crm_resource.c:handle_list_alternatives()
nrwahl2 Mar 4, 2025
ce19dd5
Refactor: tools: New crm_resource.c:handle_list_instances()
nrwahl2 Mar 4, 2025
8af3ae6
Refactor: tools: list_options() -> handle_list_options() in crm_resource
nrwahl2 Mar 4, 2025
126904d
Refactor: tools: New crm_resource.c:handle_list_providers()
nrwahl2 Mar 4, 2025
80aeb53
Refactor: tools: New crm_resource.c:handle_list_resources()
nrwahl2 Mar 4, 2025
66a4e24
Refactor: tools: New crm_resource.c:handle_list_standards()
nrwahl2 Mar 4, 2025
a62192b
Refactor: tools: New crm_resource.c:handle_locate()
nrwahl2 Mar 4, 2025
1331165
Refactor: tools: show_metadata() -> handle_metadata() in crm_resource.c
nrwahl2 Mar 4, 2025
9b5cf36
Refactor: tools: New crm_resource.c:handle_list_agents()
nrwahl2 Mar 4, 2025
620e415
Refactor: tools: New crm_resource.c:handle_move()
nrwahl2 Mar 4, 2025
fa6daa4
Refactor: tools: New crm_resource.c:handle_query_xml{,_raw}()
nrwahl2 Mar 4, 2025
49346d8
Refactor: tools: New crm_resource.c:handle_refresh()
nrwahl2 Mar 4, 2025
baaecb3
Refactor: tools: New crm_resource.c:handle_restart()
nrwahl2 Mar 4, 2025
5d7be96
Refactor: tools: New crm_resource.c:handle_set_param()
nrwahl2 Mar 4, 2025
5389558
Refactor: tools: New crm_resource.c:handle_wait()
nrwahl2 Mar 4, 2025
53f69ef
Refactor: tools: New crm_resource.c:handle_why()
nrwahl2 Mar 4, 2025
4b605b5
Refactor: tools: Alphabetize switch in crm_resource.c
nrwahl2 Mar 5, 2025
aeea065
Refactor: tools: Drop crm_resource.c:bye()
nrwahl2 Mar 4, 2025
d77868e
Refactor: tools: Clean up options.remainder processing in crm_resource.c
nrwahl2 Mar 5, 2025
d115d5d
Refactor: tools: Use pcmk__scan_nvpair() in crm_resource.c:main()
nrwahl2 Mar 5, 2025
485a300
Refactor: tools: Use gchar for override_params in crm_resource.c
nrwahl2 Mar 5, 2025
6975b5d
Refactor: tools: Clarify options.cmdline_params in crm_resource.c
nrwahl2 Mar 5, 2025
9e934a5
Refactor: tools: Drop forward declarations in crm_resource.c
nrwahl2 Mar 5, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion cts/cli/regression.crm_resource.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
crm_resource: non-option ARGV-elements:
[1 of 2] foo
[2 of 2] bar

=#=#=#= End test: crm_resource run with extra arguments - Incorrect usage (64) =#=#=#=
* Passed: crm_resource - crm_resource run with extra arguments
=#=#=#= Begin test: List all available resource options (invalid type) =#=#=#=
Expand Down
2 changes: 1 addition & 1 deletion cts/cts-cli.in
Original file line number Diff line number Diff line change
Expand Up @@ -1804,7 +1804,7 @@ class CrmResourceRegressionTest(RegressionTest):
"crm_resource --locate -r promotable-rsc:1 {fmt}",
[Test, ValidatingTest]),
Test("Try to move an instance of a cloned resource",
"crm_resource -r promotable-rsc:0 --move --node node1",
"crm_resource -r promotable-rsc:0 --move --node cluster01",
expected_rc=ExitStatus.INVALID_PARAM),
]

Expand Down
1 change: 1 addition & 0 deletions lib/services/services.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ copy_action_arguments(svc_action_t *op, uint32_t ra_caps, const char *name,
return pcmk_rc_ok;
}

// Takes ownership of params
svc_action_t *
services__create_resource_action(const char *name, const char *standard,
const char *provider, const char *agent,
Expand Down
Loading