Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1217587 - oo-admin-ctl-district command's district argument requirement is unnecessary
oo-admin-ctl-district command's district argument requirement is unnecessary
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Pod (Show other bugs)
2.2.0
Unspecified Unspecified
high Severity low
: ---
: ---
Assigned To: Brenton Leanhardt
libra bugs
:
Depends On: 1216191
Blocks:
  Show dependency treegraph
 
Reported: 2015-04-30 14:08 EDT by Brenton Leanhardt
Modified: 2015-07-21 15:12 EDT (History)
13 users (show)

See Also:
Fixed In Version: openshift-origin-broker-util-1.34.1.1-1.el6op
Doc Type: Bug Fix
Doc Text:
Previously, all oo-admin-ctl-district commands required that the district name or UUID was specified. This made performing actions on multiple node hosts using oo-admin-ctl-district impossible if they were not in the same district. Additionally, finding the district a node host belonged to was difficult, requiring the administrator to sift through all district node hosts. This bug fix updates oo-admin-ctl-district to allow the district not to be specified for numerous actions; the district can still be specified manually with --uuid or --name options. As a result, the oo-admin-ctl-district command now searches for the correct district if no district is specified, and administrators can additionally perform actions on numerous node hosts across multiple districts.
Story Points: ---
Clone Of: 1216191
Environment:
Last Closed: 2015-07-21 15:12:34 EDT
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-2015:1463 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 2.2.6 bug fix and enhancement update 2015-07-21 19:11:33 EDT

  None (edit)
Description Brenton Leanhardt 2015-04-30 14:08:51 EDT
+++ This bug was initially created as a clone of Bug #1216191 +++

Description of problem:

There are two issues with oo-admin-ctl-district requiring the district name for most subcommands:

1) It's valid to pass a comma-separated list of server identities to a subcommand, but unless all of the servers happen to be in the same district, there's not a valid district name which can be passed.

2) Looking up which district a given server belongs to is an awkward process for an administrator, but it's a single line of code in the script.  We should not make admins do this manually.

My upcoming PR will allow a district to be specified, but will search for it when it is omitted.

--- Additional comment from Andy Grimm on 2015-04-28 13:41:43 EDT ---

https://github.com/openshift/origin-server/pull/6130

--- Additional comment from Sten Turpin on 2015-04-28 13:58:01 EDT ---



--- Additional comment from Andy Grimm on 2015-04-28 14:24:06 EDT ---

stage PR https://github.com/openshift/origin-server/pull/6131

--- Additional comment from openshift-github-bot on 2015-04-28 16:55:01 EDT ---

Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/1f0626caae582f3bd65cd1de6eb34c73c6683a1e
Bug 1216191 - oo-admin-ctl-district: look up district by server if not specified
Comment 5 errata-xmlrpc 2015-07-21 15:12:34 EDT
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.

https://rhn.redhat.com/errata/RHBA-2015-1463.html

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