Project

General

Profile

Actions

Bug #6692

closed

Headpin Nightly : Attempt to add a already added system to the same system group works fine

Added by Christine Fouant almost 10 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Category:
Hammer
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=990487
Description of problem:
Attempt to add a already added system to the same system group works fine

Version-Release number of selected component (if applicable):
  1. rpm -qa | grep katello
    katello-certs-tools-1.4.2-1.el6.noarch
    katello-glue-candlepin-1.4.2-1.git.987.b81455e.el6.noarch
    katello-candlepin-cert-key-pair-1.0-1.noarch
    katello-cli-1.4.2-1.git.137.fea0d84.el6.noarch
    katello-cli-common-1.4.2-1.git.137.fea0d84.el6.noarch
    katello-glue-elasticsearch-1.4.2-1.git.987.b81455e.el6.noarch
    katello-headpin-1.4.2-1.git.987.b81455e.el6.noarch
    signo-katello-0.0.9-1.el6.noarch
    katello-configure-1.4.3-1.git.67.f71e590.el6.noarch
    katello-common-1.4.2-1.git.987.b81455e.el6.noarch
    katello-headpin-all-1.4.2-1.git.987.b81455e.el6.noarch
    katello-selinux-1.4.3-1.git.4.99dc194.el6.noarch
    katello-repos-1.4.2-1.el6.noarch
How reproducible:
  1. yum install -y katello-headpin-all
  2. katello-configure --deployment=headpin --user-pass=***
Steps to Reproduce:
1.Add system to system group
  1. headpin -u admin -p ** system_group add_systems --name test_sys_group --org ACME_Corporation --system_uuids ae1deb65-db5e-4562-a37f-87368195bdd0
    Successfully added systems to system group [ test_sys_group ]
2.So a system is added
  1. headpin u admin -p ** system_group systems --org ACME_Corporation --name test_sys_group
    -------------------------------------------------------------------------------

    Systems within System Group [ test_sys_group ] For Org [ ACME_Corporation ]

ID Name
--------------------------------------------------------------------------------
ae1deb65-db5e-4562-a37f-87368195bdd0 ibm-x3650m4-01-vm-11.lab.eng.bos.redhat.com
8ac1fcfc-3c82-41a0-930d-de32a7b793dc hp-dl320g6-01.rhts.eng.bos.redhat.com

3.Try to add the same system
  1. headpin -u admin -p ** system_group add_systems --name test_sys_group --org ACME_Corporation --system_uuids ae1deb65-db5e-4562-a37f-87368195bdd0
    Successfully added systems to system group [ test_sys_group ]

Actual results:
The command works fine

Expected results:
The command should fail stating 'System [ UUID ] already added to the system group'

Additional info:

Actions #1

Updated by Eric Helms over 9 years ago

  • Target version set to 54
  • Difficulty set to easy
  • Triaged changed from No to Yes
Actions #2

Updated by Eric Helms over 9 years ago

  • Target version deleted (54)
Actions #3

Updated by Eric Helms over 8 years ago

  • Status changed from New to Resolved
Actions #4

Updated by Eric Helms almost 8 years ago

  • translation missing: en.field_release set to 166
Actions

Also available in: Atom PDF