Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 974961 - CLI user update default org and env have no effect
Summary: CLI user update default org and env have no effect
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Tom McKay
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On: 980523
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-17 09:16 UTC by Ales Dujicek
Modified: 2019-09-25 20:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ales Dujicek 2013-06-17 09:16:43 UTC
Description of problem:

command
user update --default_organization <org> --default_environment <env>
does not change user info

Version-Release number of selected component (if applicable):
katello-selinux-1.4.3-3.el6sat.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-agent-1.4.3-1.git.1.24fe511.el6.noarch
katello-cli-common-1.4.2-7.el6sat.noarch
ruby193-rubygem-katello_api-0.0.3-2.el6_4.noarch
katello-configure-1.4.3-16.el6sat.noarch
signo-katello-0.0.18-1.el6sat.noarch
katello-configure-foreman-1.4.3-16.el6sat.noarch
katello-certs-tools-1.4.2-2.el6sat.noarch
katello-cli-1.4.2-7.el6sat.noarch
katello-common-1.4.2-14.el6sat.noarch
katello-1.4.2-14.el6sat.noarch
katello-foreman-all-1.4.2-14.el6sat.noarch
katello-qpid-client-key-pair-1.0-1.noarch
ruby193-rubygem-foreman-katello-engine-0.0.8-6.el6sat.noarch
katello-glue-elasticsearch-1.4.2-14.el6sat.noarch
katello-all-1.4.2-14.el6sat.noarch
ruby193-rubygem-katello-foreman-engine-0.0.3-5.el6sat.noarch
katello-glue-candlepin-1.4.2-14.el6sat.noarch
katello-glue-pulp-1.4.2-14.el6sat.noarch
katello-qpid-broker-key-pair-1.0-1.noarch

How reproducible:
always

Steps to Reproduce:
1. user create --username bob --password testing --email e@m
Successfully created user [ bob ]
2. user update --username bob --default_organization ACME_Corporation --default_environment Library
Successfully updated user [ bob ]
3. user info --username bob

Actual results:
Default Organization : None
Default Environment  : None

Expected results:
Default Organization : ACME_Corporation
Default Environment  : Library

Comment 1 RHEL Program Management 2013-06-17 09:23:02 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Og Maciel 2013-06-17 12:24:47 UTC
Added Regression keyword

Comment 5 Tom McKay 2013-07-03 21:27:19 UTC
Branch: refs/heads/master
  Home:   https://github.com/Katello/katello
  Commit: 4861578f8fc776b8cf0da295fad12f44925459a2
      https://github.com/Katello/katello/commit/4861578f8fc776b8cf0da295fad12f44925459a2
  Author: Tom McKay <thomasmckay>
  Date:   2013-07-03 (Wed, 03 Jul 2013)


Branch: refs/heads/master
  Home:   https://github.com/Katello/katello-cli
  Commit: fb524b44149290adbf159b316a707c7e48383e63
      https://github.com/Katello/katello-cli/commit/fb524b44149290adbf159b316a707c7e48383e63
  Author: Tom McKay <thomasmckay>
  Date:   2013-07-03 (Wed, 03 Jul 2013)

Comment 7 Corey Welton 2013-09-19 20:03:52 UTC
QA Verified in Satellite-6.0.2-RHEL-6-20130919.0

Comment 10 Bryan Kearney 2014-04-24 17:10:28 UTC
This was verified and delivered with MDP2. Closing it out.

Comment 11 Bryan Kearney 2014-04-24 17:11:41 UTC
This was delivered and verified with MDP2. Closing the bug.


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