Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 887926 - [RFE] Add command to update cluster configuration using a standard editor (e. g. pcs config edit)
[RFE] Add command to update cluster configuration using a standard editor (e....
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: pcs (Show other bugs)
6.4
x86_64 Linux
unspecified Severity high
: rc
: 6.5
Assigned To: Chris Feist
Cluster QE
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-17 10:58 EST by Frank Danapfel
Modified: 2013-11-21 06:49 EST (History)
5 users (show)

See Also:
Fixed In Version: pcs-0.9.74-1.el6
Doc Type: Enhancement
Doc Text:
Feature: Add ability of pcs to edit cluster configuration with a standard editor Reason: This will save several steps, including the user saving the cib, editing it and then pushing it back to the cluster. Result (if any): Users can edit and update the cluster configuration in one step ('pcs cluster edit')
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-11-21 06:49:27 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1633 normal SHIPPED_LIVE pcs bug fix and enhancement update 2013-11-20 16:53:48 EST

  None (edit)
Description Frank Danapfel 2012-12-17 10:58:32 EST
It would be helpful if pcs had the option to edit and update the cluster configuration in one go, for example something like "pcs config edit"

This should open the current cluster configuration in text format in the users text editor (defined via the $EDITOR env. var.) and after the user saves the changed version pcs should check the updated config for any errors and if it is correct it should automatically be pushed out to all cluster nodes.
Comment 4 Chris Feist 2013-08-13 17:26:10 EDT
[root@ask-02 ~]# EDITOR=vim pcs -f temp.xml cluster edit

Pops open vim with the cib from temp.xml (or creates a new one if temp.xml doesn't exist).
Comment 8 errata-xmlrpc 2013-11-21 06:49:27 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1633.html

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