Bug 1135119 - hammer success message missing when associating organization with certain attributes
Summary: hammer success message missing when associating organization with certain att...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Adam Ruzicka
QA Contact: Katello QA List
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-28 20:45 UTC by sthirugn@redhat.com
Modified: 2019-09-26 13:50 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 11:18:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 7492 0 None None None 2016-04-22 16:08:50 UTC

Description sthirugn@redhat.com 2014-08-28 20:45:49 UTC
Description of problem:
hammer success message missing when associating organization with certain attributes

Version-Release number of selected component (if applicable):
GA Snap 7 - Satellite-6.0.4-RHEL-6-20140828.0

* apr-util-ldap-1.3.9-3.el6_0.1.x86_64
* candlepin-0.9.23-1.el6_5.noarch
* candlepin-common-1.0.1-1.el6_5.noarch
* candlepin-scl-1-5.el6_4.noarch
* candlepin-scl-quartz-2.1.5-5.el6_4.noarch
* candlepin-scl-rhino-1.7R3-1.el6_4.noarch
* candlepin-scl-runtime-1-5.el6_4.noarch
* candlepin-selinux-0.9.23-1.el6_5.noarch
* candlepin-tomcat6-0.9.23-1.el6_5.noarch
* elasticsearch-0.90.10-6.el6sat.noarch
* foreman-1.6.0.42-1.el6sat.noarch
* foreman-compute-1.6.0.42-1.el6sat.noarch
* foreman-gce-1.6.0.42-1.el6sat.noarch
* foreman-libvirt-1.6.0.42-1.el6sat.noarch
* foreman-ovirt-1.6.0.42-1.el6sat.noarch
* foreman-postgresql-1.6.0.42-1.el6sat.noarch
* foreman-proxy-1.6.0.30-1.el6sat.noarch
* foreman-selinux-1.6.0.14-1.el6sat.noarch
* foreman-vmware-1.6.0.42-1.el6sat.noarch
* katello-1.5.0-30.el6sat.noarch
* katello-ca-1.0-1.noarch
* katello-certs-tools-1.5.6-1.el6sat.noarch
* katello-installer-0.0.62-1.el6sat.noarch
* openldap-2.4.23-34.el6_5.1.x86_64
* openldap-devel-2.4.23-34.el6_5.1.x86_64
* pulp-katello-0.3-4.el6sat.noarch
* pulp-nodes-common-2.4.1-0.5.rc1.el6sat.noarch
* pulp-nodes-parent-2.4.1-0.5.rc1.el6sat.noarch
* pulp-puppet-plugins-2.4.1-0.5.rc1.el6sat.noarch
* pulp-puppet-tools-2.4.1-0.5.rc1.el6sat.noarch
* pulp-rpm-plugins-2.4.1-0.5.rc1.el6sat.noarch
* pulp-selinux-2.4.1-0.5.rc1.el6sat.noarch
* pulp-server-2.4.1-0.5.rc1.el6sat.noarch
* python-ldap-2.3.10-1.el6.x86_64
* ruby193-rubygem-net-ldap-0.3.1-3.el6sat.noarch
* ruby193-rubygem-runcible-1.1.0-2.el6sat.noarch

How reproducible:
Always

Steps to Reproduce:
All these commands worked successfully but no hammer success message displayed.
# hammer -u admin -p changeme -v organization add-compute-resource --id=6 --compute-resource-id=1

# hammer -u admin -p changeme -v organization add-subnet --id=6 --subnet-id=1

# hammer -u admin -p changeme -v organization add-domain --id=6 --domain-id=1

# hammer -u admin -p changeme -v organization add-config-template --id=6 --config-template-id=16

Actual results:
No hammer success message displayed

Expected results:
hammer success message should be displayed

Additional info:

Comment 2 Dominic Cleal 2014-09-17 11:17:02 UTC
Created redmine issue http://projects.theforeman.org/issues/7492 from this bug

Comment 3 Bryan Kearney 2016-04-07 14:14:13 UTC
Upstream bug assigned to aruzicka

Comment 4 Bryan Kearney 2016-04-28 10:04:07 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/7492 has been closed

Comment 5 Kedar Bidarkar 2016-05-24 16:33:27 UTC
[root@katello1 ~]# hammer -u admin -p changeme organization list
---|----------------------|----------------------|------------
ID | NAME                 | LABEL                | DESCRIPTION
---|----------------------|----------------------|------------
1  | Default Organization | Default_Organization |            
3  | kbidarka             | kbidarka             |            
---|----------------------|----------------------|------------
[root@katello1 ~]# hammer -u admin -p changeme organization add-compute-resource --id 3 --compute-resource-id 1
The compute resource has been associated
[root@katello1 ~]# hammer -u admin -p changeme organization add-subnet --id 3 --subnet-id 1
The subnet has been associated
[root@katello1 ~]# hammer -u admin -p changeme organization add-domain --id 3 --domain-id 1
The domain has been associated
[root@katello1 ~]# hammer -u admin -p changeme organization add-config-template --id 3 --config-template-id 1
The configuration template has been associated
[root@katello1 ~]# hammer -u admin -p changeme organization info --id 3
Id:                     3
Name:                   kbidarka
Users:                  

Smart proxies:          
    abc.redhat.com
Subnets:                
    subnet111 (x.X.x.0/24)
Compute resources:      
    libvirt
Installation media:     

Templates:              
    Alterator default (provision)
    Alterator default finish (finish)
    Alterator default PXELinux (PXELinux)
    alterator_pkglist ()
    Atomic Kickstart default (provision)
    AutoYaST default (provision)
    AutoYaST default iPXE (iPXE)
    AutoYaST default PXELinux (PXELinux)
    AutoYaST SLES default (provision)
    Boot disk iPXE - generic host (Bootdisk)
    Boot disk iPXE - host (Bootdisk)
    chef_client ()
    coreos_cloudconfig ()
    CoreOS provision (provision)
    CoreOS PXELinux (PXELinux)
    Discovery Red Hat kexec (kexec)
    epel ()
    fix_hosts ()
    FreeBSD (mfsBSD) finish (finish)
    FreeBSD (mfsBSD) provision (provision)
    FreeBSD (mfsBSD) PXELinux (PXELinux)
    freeipa_register ()
    Grubby default (script)
    http_proxy ()
    idm_register ()
    Jumpstart default (provision)
    Jumpstart default finish (finish)
    Jumpstart default PXEGrub (PXEGrub)
    Junos default finish (finish)
    Junos default SLAX (provision)
    Junos default ZTP config (ZTP)
    Kickstart default finish (finish)
    Kickstart default iPXE (iPXE)
    Kickstart default PXELinux (PXELinux)
    Kickstart default user data (user_data)
    kickstart_networking_setup ()
    NX-OS default POAP setup (POAP)
    Preseed default (provision)
    Preseed default finish (finish)
    Preseed default iPXE (iPXE)
    Preseed default PXELinux (PXELinux)
    Preseed default user data (user_data)
    preseed_networking_setup ()
    puppet.conf ()
    PXEGrub default local boot (PXEGrub)
    PXELinux chain iPXE (PXELinux)
    PXELinux chain iPXE UNDI (PXELinux)
    PXELinux default local boot (PXELinux)
    PXELinux default memdisk (PXELinux)
    PXELinux global default (PXELinux)
    redhat_register ()
    remote_execution_ssh_keys ()
    saltstack_minion ()
    Satellite Atomic Kickstart Default (provision)
    Satellite Kickstart Default (provision)
    Satellite Kickstart Default Finish (finish)
    Satellite Kickstart Default User Data (user_data)
    subscription_manager_registration ()
    UserData default (user_data)
    WAIK default PXELinux (PXELinux)
Domains:                
    abc.redhat.com
Environments:           

Hostgroups:             

Parameters:             

Created at:             2016/05/24 16:26:46
Updated at:             2016/05/24 16:30:42
Label:                  kbidarka
Description:            
Red Hat Repository URL: https://cdn.redhat.com



VERIFIED with sat62-snap12.1

Comment 6 Bryan Kearney 2016-07-27 11:18:12 UTC
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://access.redhat.com/errata/RHBA-2016:1501


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