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 897573 Details for
Bug 1099077
resource update on a clone ID returns error
[?]
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]
proposed fix for group clones
0003-Fix-pcs-resource-update-for-group-clones.patch (text/plain), 1.17 KB, created by
Tomas Jelinek
on 2014-05-20 13:24:46 UTC
(
hide
)
Description:
proposed fix for group clones
Filename:
MIME Type:
Creator:
Tomas Jelinek
Created:
2014-05-20 13:24:46 UTC
Size:
1.17 KB
patch
obsolete
>From 54ea546b00dae1f61a5513d7481da162440a4de1 Mon Sep 17 00:00:00 2001 >From: Tomas Jelinek <tojeline@redhat.com> >Date: Tue, 20 May 2014 15:19:04 +0200 >Subject: [PATCH 3/3] Fix 'pcs resource update' for group clones > >--- > pcs/resource.py | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > >diff --git a/pcs/resource.py b/pcs/resource.py >index 30a7a06..edd9e97 100644 >--- a/pcs/resource.py >+++ b/pcs/resource.py >@@ -1065,11 +1065,12 @@ def resource_clone_create(argv, update = False, passed_dom = None): > if element == None: > utils.err("unable to find group or resource: %s" % name) > >- if utils.is_resource_clone(name) and not update: >- utils.err("%s is already a clone resource" % name) >+ if not update: >+ if utils.is_resource_clone(name): >+ utils.err("%s is already a clone resource" % name) > >- if utils.is_group_clone(name): >- utils.err("cannot clone a group that has already been cloned") >+ if utils.is_group_clone(name): >+ utils.err("cannot clone a group that has already been cloned") > > if utils.is_resource_masterslave(name): > utils.err("%s is already a master/slave resource" % name) >-- >1.9.1 >
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 1099077
:
897569
|
897570
| 897573