Actions
Bug #24235
closedDiscovery rules should automatically pick the next available priority if not specified.
Status:
Closed
Priority:
Normal
Assignee:
Category:
Discovery plugin
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Description
apidoc says the dsicovery_rule is an optional parameter:
discovery_rule[priority]
optional , nil allowed
-however, foreman automatically puts 0 as a priority which causes conflicts on multiple POST requests with no priority specified.
I think it would be nice if foreman automatically chose (or suggested for UI dialog) the next available priority.
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Marek Hulán
- Pull request https://github.com/theforeman/foreman_discovery/pull/445 added
Updated by The Foreman Bot over 6 years ago
- Pull request https://github.com/theforeman/foreman_discovery/pull/446 added
Updated by Jan Hutař over 6 years ago
Bug reported as https://bugzilla.redhat.com/show_bug.cgi?id=1600621 - for some reason, I can not add it as "Bugzilla link" - it keeps saying me "Bugzilla link is invalid".
Updated by Lukas Zapletal over 6 years ago
- Target version set to Discovery Plugin 12.0.2
- Pull request deleted (
https://github.com/theforeman/foreman_discovery/pull/445) - Fixed in Releases Discovery Plugin 12.0.2 added
I am aligning this bug into 12.0.2 as I think it is important one.
Updated by Marek Hulán over 6 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_discovery|6f777512a337d2d2f77563b15cc3a966af300fe4.
Updated by Lukas Zapletal over 6 years ago
- Bugzilla link set to 1600621
Jan, you need to enter just "1600621" into the RM field.
Actions