Bug 1203381 - Luci gets easily lost in dynamically changing environments (e.g., different cluster created on the nodes under control)
Summary: Luci gets easily lost in dynamically changing environments (e.g., different c...
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: luci
Version: 6.7
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Ryan McCabe
QA Contact: cluster-qe@redhat.com
Depends On:
TreeView+ depends on / blocked
Reported: 2015-03-18 17:48 UTC by Jan Pokorný [poki]
Modified: 2015-12-17 16:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-12-17 16:09:58 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Jan Pokorný [poki] 2015-03-18 17:48:50 UTC
First and only idea for now is:
- modify lib/db_helpers.py: reconcile_db_with_conf so that it's
  passed whole ModelBuilder object (for its object_tree property
  that we need to extract "name" attribute from)
  - on top of this function, check cluster names match, inform the user
    and refuse respective high-level operation if not
- in controllers/cluster.py, pass self.model instead of
  self.model.getNodeNames() into aforementioned adjusted function

There may be more such low-hanging sanity checks possible, likely also
on reconcile_db_with_conf side.

Comment 1 Ryan McCabe 2015-12-17 16:09:58 UTC
Closing as it's a request for a minor enhancement, and luci is essentially frozen except for critical issues.

Note You need to log in before you can comment on or make changes to this bug.