Re: Containerized OCP requires atomic-openshift?

2017-10-21 Thread Lionel Orellana
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  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  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


Re: Containerized OCP requires atomic-openshift?

2017-10-21 Thread Chris Ganderton
Hi Lionel,

I think that package is still used as a comparison in containerized
deployments, so if the channel subscriptions aren't sufficient on the
systems you're deploying to, it won't be able to get the information
back about it.

-Chris

On 21 October 2017 at 11:59, Lionel Orellana  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  wrote:
>>
>> >
>> > From: users-boun...@lists.openshift.redhat.com
>> >  on behalf of Lionel Orellana
>> > 
>> > 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


Re: Containerized OCP requires atomic-openshift?

2017-10-21 Thread Lionel Orellana
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  wrote:

> >
> > From: users-boun...@lists.openshift.redhat.com  openshift.redhat.com> on behalf of Lionel Orellana 
> > 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


Re: Containerized OCP requires atomic-openshift?

2017-10-21 Thread Chris Ganderton
>
> From: users-boun...@lists.openshift.redhat.com 
>  on behalf of Lionel Orellana 
> 
> 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


Containerized OCP requires atomic-openshift?

2017-10-21 Thread Lionel Orellana
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

I tried removing openshift_image_tag but same result. Why is it looking for
this rpm package for a containerized installation?

Thanks
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users