The set_version_rpm task in the openshift_version role has the check for the atomic-openshift package. This is fine and is being skipped in my containerised installation. But the same check was added to the main task of the role as part of the 3.6 release (it's not there in the 1.5 branch). Looks something like this
*openshift-ansible/playbooks/byo/roles/openshift_version/tasks/mail.yml* block: - name: Set openshift_version for rpm installation include: set_version_rpm.yml *<--- this does the check but it's skipped for containerized, makes sense* when: not is_containerized | bool - name: Set openshift_version for containerized installation include: set_version_containerized.yml when: is_containerized | bool - block: - name: Get available {{ openshift.common.service_type}} version *<-- same check as set_version_rpm.yml, why here?* repoquery: name: "{{ openshift.common.service_type}}" ignore_excluders: true register: rpm_results - fail: msg: "Package {{ openshift.common.service_type}} not found" when: not rpm_results.results.package_found ... when: *<-- why do we need the rpm package for a containerized install on non atomic hosts (e.g. RHEL)?* - is_containerized | bool - not is_atomic | bool On 21 October 2017 at 21:59, Lionel Orellana <lione...@gmail.com> wrote: > Thanks Chris. > > I have those 3 properties (although it looks like deployment_type is now > openshift_deployment_type? either way it's not working). > > Fair enough if it wants to install the excluders but why the > atomic-openshift package? > > > > On 21 October 2017 at 21:48, Chris Ganderton <ch...@thefraggle.com> wrote: > >> > >> > From: users-boun...@lists.openshift.redhat.com < >> users-boun...@lists.openshift.redhat.com> on behalf of Lionel Orellana < >> lione...@gmail.com> >> > Sent: Saturday, October 21, 2017 11:14 AM >> > To: users >> > Subject: Containerized OCP requires atomic-openshift? >> > >> > Hi, >> > >> > I'm trying to install OCP 3.6. I've done a few installations of Origin >> before but it's my first OCP. >> > >> > I'm installing on RHEL and have set containerized=true in the inventory. >> > >> > The byo playbook for some reason insists on requiring atomic-openshift >> to be installed. >> > >> > Failure summary: >> > >> > 1. Hosts: >> > Play: Determine openshift_version to configure on first master >> > Task: openshift_version : fail >> > Message: Package atomic-openshift not found >> > >> >> Hi Lionel, >> >> >> The playbook will still try to install the RPM packages for >> docker-excluder and openshfit-excluder, even in a containerized >> deployment. >> >> >> Something that's tripped me up before as well, is having the correct >> values for the below variables in the ansible inventory: >> >> >> openshift_release=v3.6 >> >> deployment_type=openshift-enterprise >> containerized=True >> >> -Chris >> >> _______________________________________________ >> users mailing list >> users@lists.openshift.redhat.com >> http://lists.openshift.redhat.com/openshiftmm/listinfo/users >> > >
_______________________________________________ users mailing list users@lists.openshift.redhat.com http://lists.openshift.redhat.com/openshiftmm/listinfo/users