Since Bug 1315877 , OSTree repositories are required to be protected (published through HTTPS instead of HTTP). When creating new repository using hammer, this is achieved by `--publish-via-http no` flag.
This essentially makes that flag useless, as any other value will result in hammer command failure. Moreover, default value is not accepted as well.
Could we set this flag value to false automatically when repository of type ostree is created? This should improve user experience.
Satellite 6.5 snap 3
Steps to reproduce:
1. Create product and remember its id
2. `hammer repository create --product-id :id --name ostree-test --content-type ostree --url 'http://mirror.centos.org/centos/7/atomic/x86_64/repo/'`
Could not create the repository:
Validation failed: OSTree Repositories cannot be unprotected.
Repository is created; publish-via-http property of repository is set to false.
Is this a regression from 6.4?
No. It was also present in 6.4 and 6.3.
The Satellite Team is attempting to provide an accurate backlog of bugzilla requests which we feel will be resolved in the next few releases. We do not believe this bugzilla will meet that criteria, and have plans to close it out in 1 month. This is not a reflection on the validity of the request, but a reflection of the many priorities for the product. If you have any concerns about this, feel free to contact Red Hat Technical Support or your account team. If we do not hear from you, we will close this bug out. Thank you.
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Red Hat Technical Support. Thank you.