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 898299 Details for
Bug 1099881
move/ban of a stopped resource gives an error when node is not specified
[?]
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
0001-Provide-better-error-message-when-moving-banning-sto.patch (text/plain), 962 bytes, created by
Tomas Jelinek
on 2014-05-22 09:27:03 UTC
(
hide
)
Description:
proposed fix
Filename:
MIME Type:
Creator:
Tomas Jelinek
Created:
2014-05-22 09:27:03 UTC
Size:
962 bytes
patch
obsolete
>From 67295a85c88300ba92a9b9d57e863258a5448d70 Mon Sep 17 00:00:00 2001 >From: Tomas Jelinek <tojeline@redhat.com> >Date: Thu, 22 May 2014 11:18:01 +0200 >Subject: [PATCH] Provide better error message when moving/banning stopped > resource > >--- > pcs/resource.py | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/pcs/resource.py b/pcs/resource.py >index a6a7ee8..15d7e39 100644 >--- a/pcs/resource.py >+++ b/pcs/resource.py >@@ -454,6 +454,8 @@ def resource_move(argv,clear=False,ban=False): > else: > output,ret = utils.run(["crm_resource", "--resource", resource_id, "--move", "--node", dest_node] + other_options) > if ret != 0: >+ if "Resource '"+resource_id+"' not moved: active in 0 locations." in output: >+ utils.err("You must specify a node when moving/banning a stopped resource") > utils.err ("error moving/banning/clearing resource\n" + output) > > def resource_standards(return_output=False): >-- >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 1099881
: 898299