Actions
Bug #20348
closedMissing special target in group selection for rules
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Config management
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
This should have been corrected by https://issues.rudder.io/issues/20127 but they are still missing as of rc1.
Files
Updated by François ARMAND almost 3 years ago
- Related to User story #20127: Missing data for Rule page added
Updated by Nicolas CHARLES almost 3 years ago
Yt they are in the JSON returned by the API rudder/secure/api/groups/tree , under the targets (and in 2 categories)
{ "action":"getGroupTree", "result":"success", "data":{ "groupCategories":{ "id":"GroupRoot", "name":"Root of the group and group categories", "description":"This is the root category for the groups (both dynamic and static) and group categories", "parent":"GroupRoot", "categories":[ { "id":"SystemGroups", "name":"System groups", "description":"That category holds all the system and special target", "parent":"GroupRoot", "categories":[ ], "groups":[ { "id":"all-nodes-with-cfengine-agent", "displayName":"All classic Nodes", "description":"All classic Nodes known by Rudder (Using a CFEngine based agent)", "category":"SystemGroups", "query":{ "select":"nodeAndPolicyServer", "composition":"And", "where":[ { "objectType":"node", "attribute":"agentName", "comparator":"eq", "value":"cfengine" } ] }, "nodeIds":[ "66185216-2ebf-4b97-b0cd-99d628bb3f96", "root" ], "dynamic":true, "enabled":true, "groupClass":[ "group_all_classic_nodes", "group_all_nodes_with_cfengine_agent" ], "properties":[ ], "system":true, "target":"group:all-nodes-with-cfengine-agent" }, { "id":"hasPolicyServer-root", "displayName":"All classic Nodes managed by root policy server", "description":"All classic Nodes known by Rudder directly connected to the root server. This group exists only as internal purpose and should not be used to configure nodes.", "category":"SystemGroups", "query":{ "select":"nodeAndPolicyServer", "composition":"And", "where":[ { "objectType":"node", "attribute":"policyServerId", "comparator":"eq", "value":"root" }, { "objectType":"node", "attribute":"agentName", "comparator":"eq", "value":"cfengine" } ] }, "nodeIds":[ "66185216-2ebf-4b97-b0cd-99d628bb3f96", "root" ], "dynamic":true, "enabled":true, "groupClass":[ "group_all_classic_nodes_managed_by_root_policy_server", "group_haspolicyserver_root" ], "properties":[ ], "system":true, "target":"group:hasPolicyServer-root" } ], "targets":[ { "id":"policyServer:root", "displayName":"Root policy server", "description":"Only the root policy server", "enabled":true, "target":"policyServer:root" }, { "id":"special:all_exceptPolicyServers", "displayName":"All managed nodes", "description":"All nodes known by Rudder (excluding Rudder policy servers)", "enabled":true, "target":"special:all_exceptPolicyServers" }, { "id":"special:all", "displayName":"All nodes", "description":"All nodes known by Rudder (including Rudder policy servers)", "enabled":true, "target":"special:all" } ] } ], "groups":[ ], "targets":[ { "id":"policyServer:root", "displayName":"Root policy server", "description":"Only the root policy server", "enabled":true, "target":"policyServer:root" }, { "id":"special:all_exceptPolicyServers", "displayName":"All managed nodes", "description":"All nodes known by Rudder (excluding Rudder policy servers)", "enabled":true, "target":"special:all_exceptPolicyServers" }, { "id":"special:all", "displayName":"All nodes", "description":"All nodes known by Rudder (including Rudder policy servers)", "enabled":true, "target":"special:all" } ] } } }
Updated by Nicolas CHARLES almost 3 years ago
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
Updated by Nicolas CHARLES almost 3 years ago
Work in progess here: https://github.com/ncharles/rudder/commit/e16ae3b02b39920e6e5569dd12a518280b60fe1b
Updated by Nicolas CHARLES almost 3 years ago
- Status changed from In progress to New
- Assignee deleted (
Nicolas CHARLES)
it seems fairly easy, but I can't get it to work
I yield this one to people more clever than me
Updated by Vincent MEMBRÉ almost 3 years ago
- Target version changed from 7.0.0~rc2 to 7.0.0~rc3
Updated by Raphael GAUTHIER almost 3 years ago
- Status changed from New to In progress
- Assignee set to Raphael GAUTHIER
Updated by Raphael GAUTHIER almost 3 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Raphael GAUTHIER to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/4068
Updated by Raphael GAUTHIER almost 3 years ago
- Assignee changed from François ARMAND to Nicolas CHARLES
Updated by Raphael GAUTHIER almost 3 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|c04d9be3a73254618ef6799c5161bca9019f8fa9.
Updated by Vincent MEMBRÉ over 2 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.0.0~rc3 which was released today.
Actions