It looks like its failing to process the fluentd template for some reason.

Can you send the output from 'oc get template logging-fluentd-template -o
yaml' ?

On Mon, Mar 21, 2016 at 7:31 AM, Den Cowboy <dencow...@hotmail.com> wrote:

> Some logs: the pod returns fails (after executing oc process
> logging-deployer-template -n openshift ...
>
> (Re-)Creating deployed objects
> No resources found
> + oc process logging-support-pre-template
> + oc create -f -
> serviceaccount "aggregated-logging-kibana" created
> serviceaccount "aggregated-logging-elasticsearch" created
> serviceaccount "aggregated-logging-fluentd" created
> serviceaccount "aggregated-logging-curator" created
> service "logging-es" created
> service "logging-es-cluster" created
> service "logging-es-ops" created
> service "logging-es-ops-cluster" created
> service "logging-kibana" created
> service "logging-kibana-ops" created
> + oc delete dc,rc,pod --selector logging-infra=curator
> No resources found
> + oc delete dc,rc,pod --selector logging-infra=kibana
> No resources found
> + oc delete dc,rc,pod --selector logging-infra=fluentd
> No resources found
> + oc delete dc,rc,pod --selector logging-infra=elasticsearch
> No resources found
> + (( n=0 ))
> + (( n<1 ))
> + oc process logging-es-template
> + oc create -f -
> deploymentconfig "logging-es-6jldefop" created
> + (( n++ ))
> + (( n<1 ))
> + oc process logging-fluentd-template
> + oc create -f -
> json: cannot unmarshal object into Go value of type string
>
> ------------------------------
> From: dencow...@hotmail.com
> To: users@lists.openshift.redhat.com
> Subject: Set up logging: Kibana
> Date: Mon, 21 Mar 2016 12:22:01 +0000
>
>
> I try to set up the logging system of Kibana:
> https://docs.openshift.org/latest/install_config/aggregate_logging.html
>
> I'm able to perform the steps till
>
> oc process logging-deployer-template -n openshift \
>            -v 
> KIBANA_HOSTNAME=kibana.example.com,ES_CLUSTER_SIZE=1,PUBLIC_MASTER_URL=https://localhost:8443
>  \
>            | oc create -f -
>
> This creates a deploymentpod an it creates some services + 2 pods (logging-es 
> and logging-es-cluster).
> Then I perform:
> oc process logging-support-template | oc create -f -
>
> This creates the following:
> oauthclient "kibana-proxy" created
> route "kibana" created
> route "kibana-ops" created
> imagestream "logging-auth-proxy" created
> imagestream "logging-elasticsearch" created
> imagestream "logging-fluentd" created
> imagestream "logging-kibana" created
> imagestream "logging-curator" created
>
> But I seem to miss deploymentconfigs? I'm unable to scale my fluentd or 
> Kibana.
>
> Ps: the documentation is also a bit confusing at:
> $ oc policy add-role-to-user edit \
>             system:serviceaccount:default:logging-deployer
>
> Because it's using project default instead of project logging (like in the 
> other steps).
> https://docs.openshift.org/latest/install_config/aggregate_logging.html
>
>
> _______________________________________________ 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

Reply via email to