Hide Forgot
I already have a package group with ID "test-group-1" when I run the following command: [jdob@pulp1 ~]$ pulp-admin packagegroup create --id test-group-1 --repoid pulp-f16 -n "Test Group 1" -d "Test Group 1 Description" Unable to create package group [test-group-1] in repository [pulp-f16] That information should be very simple to derive (it'll be a 409 status code from the server) and the error message should indicate why it was unable to create the group.
This isn't just for duplicate group IDs. The same error is displayed for an invalid repo ID: [jdob@pulp1 ~]$ pulp-admin packagegroup create --repoid foo --id bar --name baz Unable to create package group [bar] in repository [foo] By comparison, export, in the same packagegroup section, correctly identifies the issue: [jdob@pulp1 ~]$ pulp-admin packagegroup export --repoid foo error: Error:PulpException: No Repo with id: foo found
pulp no longer has the ability to create groups.