rhevm-qe-automation/ovirt-ansible

multiple ovirt repos should not be allowed at the same time

landgraf opened this issue · 2 comments

Currently it's possible to specify multiple repos by using ovirt_rpm_repo, ovirt_repo_files and ovirt_repo_url variables at the same time.All repos will be installed. This can bring problems and dependencies hell.

I see few possible solutions (maybe there're more):

  1. Check if two of them were specified and raise.
  2. Use overriding (for example url overrides files and both of them overrides rpm).

@pkubica @StLuke hey guys what is your opinion on that ? please share ...

Question is if multiple repositories are indeed supported for ovirt product.
Like having 4.0 and 4.1 repositories for successful upgrade and in case of issue with upgrade for rollback. Because of this reason I would say this is valid scenario.

If it appears it is indeed not I would say doc fox [1] would be sufficient to mention to user to use only one of them with the role.
https://github.com/rhevm-qe-automation/ovirt-ansible/tree/master/roles/ovirt-common