Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 933837 Details for
Bug 1136456
ricci communication failure during conf update push causes cman version sync issue
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
ricci_helpers.py: Do not activate new configuration if sync failed to any node
case1182877-luci_catch_cluster_conf_sync_failures.patch (text/plain), 1.32 KB, created by
John Ruemker
on 2014-09-02 15:47:48 UTC
(
hide
)
Description:
ricci_helpers.py: Do not activate new configuration if sync failed to any node
Filename:
MIME Type:
Creator:
John Ruemker
Created:
2014-09-02 15:47:48 UTC
Size:
1.32 KB
patch
obsolete
>diff -up luci-0.26.0/luci/controllers/cluster.py.case1182877 luci-0.26.0/luci/controllers/cluster.py >diff -up luci-0.26.0/luci/lib/ricci_helpers.py.case1182877 luci-0.26.0/luci/lib/ricci_helpers.py >--- luci-0.26.0/luci/lib/ricci_helpers.py.case1182877 2014-08-31 17:20:37.796588368 -0400 >+++ luci-0.26.0/luci/lib/ricci_helpers.py 2014-08-31 17:42:39.289758013 -0400 >@@ -141,6 +141,7 @@ def update_cluster_conf(cluster_model, n > % cluster_name) > return False > >+ sync_err = False > for i in ret.keys(): > try: > batch_status = ret[i].get('batch_result') >@@ -158,10 +159,15 @@ def update_cluster_conf(cluster_model, n > if ret[i].get('error'): > log.error('Error retrieving batch number from %s: %s' % > (i, ret[i].get('err_msg'))) >+ sync_err = True > except Exception, e: > log.exception('Unable to retrieve the batch number from %s' % i) >+ sync_err = True > continue > >+ if not sync_err: >+ return False >+ > # Activate the new config we just set > new_version = cluster_model.getClusterConfigVersion() > host_triples = prepare_host_triples(cluster_obj, node_list, rq.setClusterVersion, new_version)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1136456
: 933837 |
1005983