Bug 672556

Summary: [RFE] Please provide a method to populate luci db
Product: [Fedora] Fedora Reporter: Fabio Massimo Di Nitto <fdinitto>
Component: luciAssignee: Ryan McCabe <rmccabe>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: cfeist, fdinitto, rmccabe
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-14 15:58:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Fabio Massimo Di Nitto 2011-01-25 15:29:48 UTC
When creating N clusters via scripts, it would be very useful to be able to populate luci DB from command line.

For example:

luci_add_cluster $nodename_of_already_configured_and_running_cluster $port $rootpassword

the script would suck in cluster.conf from ricci and populate the DB (maybe also access the other nodes for testing or assume that the root password is the same all over).

Comment 1 Fabio Massimo Di Nitto 2011-01-28 09:46:38 UTC
I just realized that tool should also have a way to remove a specific cluster from the db.

luci_rm_cluster $clustername

this is important when cleaning up on request.

Or eventually one tool with 2 options. Either way works fine.