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 643822 Details for
Bug 866894
ccs is creating invalid cluster.conf
[?]
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]
Patch to fix issue
0001-Updated-addresource-to-properly-add-resources-when-n.patch (text/plain), 1.05 KB, created by
Chris Feist
on 2012-11-13 00:02:44 UTC
(
hide
)
Description:
Patch to fix issue
Filename:
MIME Type:
Creator:
Chris Feist
Created:
2012-11-13 00:02:44 UTC
Size:
1.05 KB
patch
obsolete
>From 88cc81877747c6eaca3258484f6844dc5f5b90f8 Mon Sep 17 00:00:00 2001 >From: Chris Feist <cfeist@redhat.com> >Date: Mon, 12 Nov 2012 18:02:01 -0600 >Subject: [PATCH] Updated --addresource to properly add resources when no rm > section is present > >--- > ccs | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/ccs b/ccs >index 60d4ebe..bdc2393 100755 >--- a/ccs >+++ b/ccs >@@ -1489,8 +1489,11 @@ def add_resource(type, options): > > # Verify resources section exists in cluster.conf > resources = dom.getElementsByTagName('resources') >+ rms = dom.getElementsByTagName('rm') >+ if len(rms) == 0: >+ resource = dom.getElementsByTagName('cluster')[0].appendChild(dom.createElement("rm")) > if len(resources) == 0: >- resources = dom.getElementsByTagName('cluster')[0].appendChild(dom.createElement("resources")) >+ resources = dom.getElementsByTagName('rm')[0].appendChild(dom.createElement("resources")) > elif len(resources) > 1: > print "Error: Too many resources elements in cluster.conf" > sys.exit(1) >-- >1.7.11.7 >
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 866894
: 643822