Re: How to open port 9300 for aggregate logging without messing up iptables for Openshift

2017-04-28 Thread Dean Peterson
I had firewalld enabled. I turned that off. Port 9300 is no longer a
problem. Thanks!

On Fri, Apr 28, 2017 at 3:55 PM, Luke Meyer  wrote:

> The Elastic Search pods contact port 9300 on other pods, that is, on the
> internal pod IP. There should be no need to do anything on the hosts to
> enable this. If ES is failing to contact other ES nodes then either there
> is a networking problem or the other nodes aren't listening (yet) on the
> port.
>
> On Thu, Apr 27, 2017 at 10:53 PM, Dean Peterson 
> wrote:
>
>> I am trying to start aggregate logging. The elastic search cluster
>> requires port 9300 to be open. I am getting Connection refused errors and I
>> need to open that port. How do I open port 9300 without messing up the
>> existing rules for Openshift. Do I make changes in firewalld or iptables
>> directly? I notice iptables is masked. In previous versions it seems like
>> firewalld wasn't being used. Now it is. I am not sure what the right way to
>> make port 9300 available to aggregate logging is.
>>
>> ___
>> 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: How to open port 9300 for aggregate logging without messing up iptables for Openshift

2017-04-28 Thread Luke Meyer
The Elastic Search pods contact port 9300 on other pods, that is, on the
internal pod IP. There should be no need to do anything on the hosts to
enable this. If ES is failing to contact other ES nodes then either there
is a networking problem or the other nodes aren't listening (yet) on the
port.

On Thu, Apr 27, 2017 at 10:53 PM, Dean Peterson 
wrote:

> I am trying to start aggregate logging. The elastic search cluster
> requires port 9300 to be open. I am getting Connection refused errors and I
> need to open that port. How do I open port 9300 without messing up the
> existing rules for Openshift. Do I make changes in firewalld or iptables
> directly? I notice iptables is masked. In previous versions it seems like
> firewalld wasn't being used. Now it is. I am not sure what the right way to
> make port 9300 available to aggregate logging is.
>
> ___
> 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: In OpenShift Ansible, what is the differences between roles/openshift_hosted_metrics and roles/openshift_metrics ?

2017-04-28 Thread Jason DeTiberus
On Apr 28, 2017 1:01 PM, "Mateus Caruccio" 
wrote:

I guess openshift_metrics is a refactor of openshift_hosted_metrics. Am I
right?

openshift_metrics is a refactoring of openshift_hosted_metrics and
leverages ansible-based deployment of the metrics stack instead of using a
deployer pod.

Similarly, openshift_hosted_logging has been deprecated in favor of
openshift_logging.

--
Jason DeTiberus




Em 28/04/2017 13:51, "Alex Wauck"  escreveu:

> I think Stéphane meant to link to this: https://github.com/openshift/o
> penshift-ansible/tree/master/roles/openshift_hosted_metrics
>
> What's the difference between that one and openshift_metrics?
>
> On Fri, Apr 28, 2017 at 11:46 AM, Tim Bielawa  wrote:
>
>> I believe that openshift-hosted-logging installs kibana (logging
>> exploration) whereas openshift-metrics will install hawkular (a metric
>> storage engine).
>>
>> On Fri, Apr 28, 2017 at 9:25 AM, Stéphane Klein <
>> cont...@stephane-klein.info> wrote:
>>
>>> Hi,
>>>
>>> what is the differences between :
>>>
>>> * roles/openshift_hosted_metrics (https://github.com/openshift/
>>> openshift-ansible/tree/master/roles/openshift_hosted_logging)
>>> * and roles/openshift_metrics (https://github.com/openshift/
>>> openshift-ansible/tree/master/roles/openshift_metrics)
>>>
>>> ?
>>>
>>> Best regards,
>>> Stéphane
>>> --
>>> Stéphane Klein 
>>> blog: http://stephane-klein.info
>>> cv : http://cv.stephane-klein.info
>>> Twitter: http://twitter.com/klein_stephane
>>>
>>> ___
>>> users mailing list
>>> users@lists.openshift.redhat.com
>>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>>
>>>
>>
>>
>> --
>> Tim Bielawa, Software Engineer [ED-C137]
>> Cell: 919.332.6411 <(919)%20332-6411>  | IRC: tbielawa (#openshift)
>> 1BA0 4FAB 4C13 FBA0 A036  4958 AD05 E75E 0333 AE37
>>
>> ___
>> users mailing list
>> users@lists.openshift.redhat.com
>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>
>>
>
>
> --
>
> Alex Wauck // DevOps Engineer
>
> *E X O S I T E*
> *www.exosite.com *
>
> Making Machines More Human.
>
>
> ___
> 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
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: In OpenShift Ansible, what is the differences between roles/openshift_hosted_metrics and roles/openshift_metrics ?

2017-04-28 Thread Jason DeTiberus
On Apr 28, 2017 1:02 PM, "Aleksandar Lazic"  wrote:

Hi.

The difference for me is that the hosted one it's able to be configured and
installed at install time like hosted logging and registry and the none
hosted looks to me legacy

https://github.com/openshift/openshift-ansible/tree/master/
roles/openshift_hosted_logging

https://github.com/openshift/openshift-ansible/tree/master/
roles/openshift_hosted

Regards aleks



Alex Wauck  schrieb am 28.04.2017:
>
> I think Stéphane meant to link to this: https://github.com/openshift/
> openshift-ansible/tree/master/roles/openshift_hosted_metrics
>
> What's the difference between that one and openshift_metrics?
>

openshift_hosted_metrics is in the process of being deprecated in favor of
openshift_metrics.

--
Jason DeTiberus


> On Fri, Apr 28, 2017 at 11:46 AM, Tim Bielawa  wrote:
>
>> I believe that openshift-hosted-logging installs kibana (logging
>> exploration) whereas openshift-metrics will install hawkular (a metric
>> storage engine).
>>
>> On Fri, Apr 28, 2017 at 9:25 AM, Stéphane Klein <
>> cont...@stephane-klein.info> wrote:
>>
>>> Hi,
>>>
>>> what is the differences between :
>>>
>>> * roles/openshift_hosted_metrics (https://github.com/openshift/
>>> openshift-ansible/tree/master/roles/openshift_hosted_logging)
>>> * and roles/openshift_metrics (https://github.com/openshift/
>>> openshift-ansible/tree/master/roles/openshift_metrics)
>>>
>>> ?
>>>
>>> Best regards,
>>> Stéphane
>>> --
>>> Stéphane Klein 
>>> blog: http://stephane-klein.info
>>> cv : http://cv.stephane-klein.info
>>> Twitter: http://twitter.com/klein_stephane
>>>
>>> ___
>>> users mailing list
>>> users@lists.openshift.redhat.com
>>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>>
>>>
>>
>>
>> --
>> Tim Bielawa, Software Engineer [ED-C137]
>> Cell: 919.332.6411 <(919)%20332-6411>  | IRC: tbielawa (#openshift)
>> 1BA0 4FAB 4C13 FBA0 A036  4958 AD05 E75E 0333 AE37
>>
>> ___
>> users mailing list
>> users@lists.openshift.redhat.com
>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>
>>
>
>
> --
>
> Alex Wauck // DevOps Engineer
>
> *E X O S I T E*
> *www.exosite.com *
>
> Making Machines More Human.
>
> --
>
> 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
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: In OpenShift Ansible, what is the differences between roles/openshift_hosted_metrics and roles/openshift_metrics ?

2017-04-28 Thread Mateus Caruccio
I guess openshift_metrics is a refactor of openshift_hosted_metrics. Am I
right?

Em 28/04/2017 13:51, "Alex Wauck"  escreveu:

> I think Stéphane meant to link to this: https://github.com/openshift/
> openshift-ansible/tree/master/roles/openshift_hosted_metrics
>
> What's the difference between that one and openshift_metrics?
>
> On Fri, Apr 28, 2017 at 11:46 AM, Tim Bielawa  wrote:
>
>> I believe that openshift-hosted-logging installs kibana (logging
>> exploration) whereas openshift-metrics will install hawkular (a metric
>> storage engine).
>>
>> On Fri, Apr 28, 2017 at 9:25 AM, Stéphane Klein <
>> cont...@stephane-klein.info> wrote:
>>
>>> Hi,
>>>
>>> what is the differences between :
>>>
>>> * roles/openshift_hosted_metrics (https://github.com/openshift/
>>> openshift-ansible/tree/master/roles/openshift_hosted_logging)
>>> * and roles/openshift_metrics (https://github.com/openshift/
>>> openshift-ansible/tree/master/roles/openshift_metrics)
>>>
>>> ?
>>>
>>> Best regards,
>>> Stéphane
>>> --
>>> Stéphane Klein 
>>> blog: http://stephane-klein.info
>>> cv : http://cv.stephane-klein.info
>>> Twitter: http://twitter.com/klein_stephane
>>>
>>> ___
>>> users mailing list
>>> users@lists.openshift.redhat.com
>>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>>
>>>
>>
>>
>> --
>> Tim Bielawa, Software Engineer [ED-C137]
>> Cell: 919.332.6411 <(919)%20332-6411>  | IRC: tbielawa (#openshift)
>> 1BA0 4FAB 4C13 FBA0 A036  4958 AD05 E75E 0333 AE37
>>
>> ___
>> users mailing list
>> users@lists.openshift.redhat.com
>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>
>>
>
>
> --
>
> Alex Wauck // DevOps Engineer
>
> *E X O S I T E*
> *www.exosite.com *
>
> Making Machines More Human.
>
>
> ___
> 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: In OpenShift Ansible, what is the differences between roles/openshift_hosted_metrics and roles/openshift_metrics ?

2017-04-28 Thread Alex Wauck
I think Stéphane meant to link to this:
https://github.com/openshift/openshift-ansible/tree/master/roles/openshift_hosted_metrics

What's the difference between that one and openshift_metrics?

On Fri, Apr 28, 2017 at 11:46 AM, Tim Bielawa  wrote:

> I believe that openshift-hosted-logging installs kibana (logging
> exploration) whereas openshift-metrics will install hawkular (a metric
> storage engine).
>
> On Fri, Apr 28, 2017 at 9:25 AM, Stéphane Klein <
> cont...@stephane-klein.info> wrote:
>
>> Hi,
>>
>> what is the differences between :
>>
>> * roles/openshift_hosted_metrics (https://github.com/openshift/
>> openshift-ansible/tree/master/roles/openshift_hosted_logging)
>> * and roles/openshift_metrics (https://github.com/openshift/
>> openshift-ansible/tree/master/roles/openshift_metrics)
>>
>> ?
>>
>> Best regards,
>> Stéphane
>> --
>> Stéphane Klein 
>> blog: http://stephane-klein.info
>> cv : http://cv.stephane-klein.info
>> Twitter: http://twitter.com/klein_stephane
>>
>> ___
>> users mailing list
>> users@lists.openshift.redhat.com
>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>
>>
>
>
> --
> Tim Bielawa, Software Engineer [ED-C137]
> Cell: 919.332.6411 <(919)%20332-6411>  | IRC: tbielawa (#openshift)
> 1BA0 4FAB 4C13 FBA0 A036  4958 AD05 E75E 0333 AE37
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>


-- 

Alex Wauck // DevOps Engineer

*E X O S I T E*
*www.exosite.com *

Making Machines More Human.
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: In OpenShift Ansible, what is the differences between roles/openshift_hosted_metrics and roles/openshift_metrics ?

2017-04-28 Thread Tim Bielawa
I believe that openshift-hosted-logging installs kibana (logging
exploration) whereas openshift-metrics will install hawkular (a metric
storage engine).

On Fri, Apr 28, 2017 at 9:25 AM, Stéphane Klein  wrote:

> Hi,
>
> what is the differences between :
>
> * roles/openshift_hosted_metrics (https://github.com/openshift/
> openshift-ansible/tree/master/roles/openshift_hosted_logging)
> * and roles/openshift_metrics (https://github.com/openshift/
> openshift-ansible/tree/master/roles/openshift_metrics)
>
> ?
>
> Best regards,
> Stéphane
> --
> Stéphane Klein 
> blog: http://stephane-klein.info
> cv : http://cv.stephane-klein.info
> Twitter: http://twitter.com/klein_stephane
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>


-- 
Tim Bielawa, Software Engineer [ED-C137]
Cell: 919.332.6411  | IRC: tbielawa (#openshift)
1BA0 4FAB 4C13 FBA0 A036  4958 AD05 E75E 0333 AE37
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: unit of measurement for memory quota

2017-04-28 Thread Jordan Liggitt
Memory and storage are always bytes

> On Apr 28, 2017, at 8:11 AM, Joseph Lorenzini  wrote:
>
> Hi all,
>
> If I oc describe the quota for a project, I get a number for memory usage but 
> unit of measurement. Would anyone happen to know what the unit is?
>
> Thanks,
> Joe
>
>
> {
>   "kind": "ResourceQuota",
>   "apiVersion": "v1",
>   "metadata": {
>   "name": "cm-project-quota",
>   "namespace": "cm-qa",
>   "selfLink": 
> "/api/v1/namespaces/cm-qa/resourcequotas/cm-project-quota",
>   "uid": "54e03c02-e421-11e6-9d89-005056b13af0",
>   "resourceVersion": "18569045",
>   "creationTimestamp": "2017-01-26T23:44:09Z"
>   },
>   "spec": {
>   "hard": {
>   "cpu": "8",
>   "memory": "20G",
>   "pods": "60",
>   "replicationcontrollers": "500",
>   "resourcequotas": "50",
>   "services": "50"
>   }
>   },
>   "status": {
>   "hard": {
>   "cpu": "8",
>   "memory": "20G",
>   "pods": "60",
>   "replicationcontrollers": "500",
>   "resourcequotas": "50",
>   "services": "50"
>   },
>   "used": {
>   "cpu": "4500m",
>   "memory": "13258332800",
>   "pods": "12",
>   "replicationcontrollers": "257",
>   "resourcequotas": "1",
>   "services": "10"
>   }
>   }
> }
> ___
> 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


LoadBalancer & Security Groups

2017-04-28 Thread David Conde
I have a cluster running on AWS that was provisioned using the aws
reference architecture scripts. When I try and create a service of
type=LoadBalancer I can see an ELB gets created but I then get the
following error 'Multiple tagged security groups found for instance xxx
ensure only the k8s security group is tagged'

Looking at the security groups attached to the instance listed, it is an
infra node with 2 security groups 1) Infra group 2) Node group

Removing the node security group from the infrastructure nodes allows it to
pass through but I expect that'll cause other issues.

Anyone any ideas on how best to proceed?


*David Conde*
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users