Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem: The `hammer hostgroup <create|update>` subcommands take organizations or organization_ids, and the command is successful if only one organization is provided; however, when providing a comma-separated list, the following error is displayed:
Could not create the hostgroup:
Error: organization found more than once
Version-Release number of selected component (if applicable):
6.1.8, upstream
How reproducible:
Always in 6.1.8 and 1.12.0-develop.
Steps to Reproduce:
1. Create an additional organization:
hammer organization create --name "org3"
2. Find the org's ID:
hammer organization list
3. Try to create a host group with 2 or more organizations:
hammer hostgroup create --content-view 'cv1' --organizations "Default Organization","org3" --name 'hg3'
Actual results:
Could not create the hostgroup:
Error: organization found more than once
Expected results:
Hostgroup created
Additional info:
Related (PR submitted): https://bugzilla.redhat.com/show_bug.cgi?id=1309107
This appears to be a dupe of 1309107. I am closing it as such. If this is still an issue, please feel free to re-open.
*** This bug has been marked as a duplicate of bug 1309107 ***