Red Hat Bugzilla – Bug 1315877
Ostree Repos should always be protected
Last modified: 2016-07-27 05:05:15 EDT
Pulp doesnot provide the facility to mark ostree repos as unprotected. We need make sure they are always protected 1) Need UI to hide Publish Via Http for ostree 2) Need Repo Details to hide the same 3) Need model to complain if that field gets changed to unprotected.
Created from redmine issue http://projects.theforeman.org/issues/14089
Upstream bug assigned to paji@redhat.com
Moving to POST since upstream bug http://projects.theforeman.org/issues/14089 has been closed ------------- Partha Aji Applied in changeset commit:katello|82232a3acd9c954c4c3285b626aa81899e0fd7e8.
Verified with sat6.2 beta snap5.1 On creating a ostree repo by enabling unprotected mode, hammer raises error: ~]# hammer -u admin -p changeme repository create --name f22_ostree --organization-id 1 --product ostree --url https://dl.fedoraproject.org/pub/fedora/linux/atomic/22/ --publish-via-http yes --content-type ostree Could not create the repository: Validation failed: OSTree Repositories cannot be unprotected. [root@cloud-qe-3 ~]# Similar error while updating it: ~]# hammer -u admin -p changeme repository update --id 29 --organization-id 1 --publish-via-http yes Could not update the repository: Validation failed: OSTree Repositories cannot be unprotected.
Created attachment 1140821 [details] user won't have option to change protected ostree repo to unprotected mode from repo details page
Created attachment 1140822 [details] UI doesn't show option to create ostree repo in unprotected mode (no option to select 'publish via http')
Moving this bz to verified as per comment 5 6 and 7.
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:1500