I cannot delete Empty Content Views. From the web I get the error
using Hammer I get:
hammer content-view remove --organization-id 1 --id 2 --async
Could not remove objects from content view:
There either were no environments nor versions specified or there were invalid environments/versions specified. Please check environment_ids and content_view_version_ids parameters.
I can also not delete the repos assigned to the CV. When I try I get this error:
I would like to delete the empty CVs
Foreman and Proxy versions:
2.2.1
Distribution and version:
Centos 7.9
Other relevant data:
Could not remove objects from content view: There either were no environments nor versions specified or there were invalid environments/versions specified. Please check environment_ids and content_view_version_ids parameters. [root@gaewp-fmsl ~]# cat /var/log/foreman/production.log 2020-12-10T11:47:12 [I|app|79ecb662] Started PUT "/katello/api/content_views/2/remove" for 127.0.0.1 at 2020-12-10 11:47:12 +0000 2020-12-10T11:47:12 [I|app|79ecb662] Processing by Katello::Api::V2::ContentViewsController#remove as JSON 2020-12-10T11:47:12 [I|app|79ecb662] Parameters: {"api_version"=>"v2", "id"=>"2", "content_view"=>{}} 2020-12-10T11:47:12 [I|app|79ecb662] Authorized user admin(Admin User) 2020-12-10T11:47:12 [E|app|79ecb662] RuntimeError: There either were no environments nor versions specified or there were invalid environments/versions specified. Please check environment_ids and content_view_version_ids parameters.