Okay I had to change:
roles/openshift_manage_node/tasks/main.yml

I replaced the bottom task:

- name: Label nodes
  command: >
    {{ openshift.common.client_binary }} label --overwrite node {{ 
item.openshift.common.hostname | lower }} {{ item.openshift_node_labels | 
oo_combine_dict  }}
  with_items:
    -  "{{ openshift_node_vars }}"
  when: "'openshift_node_labels'in item and item.openshift_node_labels !={}"

It's working now. Thanks

From: [email protected]
To: [email protected]
Subject: RE: etcd failure response: HTTP/0.0 0 status code 0
Date: Mon, 14 Mar 2016 07:33:11 +0000
CC: [email protected]




The port is closed but I didn't specify to use etcd. This were my exports:





















export AWS_PROFILE=myprofile

 

export ec2_vpc_subnet='subnet-xxx'

 

export ec2_security_groups="['OpenShiftSec']"

 

export ec2_instance_type='m4.large'

 

export ec2_image='ami-xxx'

 

export ec2_region='xx‐xx‐1'

 

export ec2_keypair='openshift'

 

export ec2_assign_public_ip='true'

 

export os_master_root_vol_size='20'

 

export os_master_root_vol_type='standard'

 

export os_node_root_vol_size='15'

 

export os_node_root_vol_type='standard'

 







Date: Sun, 13 Mar 2016 16:53:02 -0400
Subject: Re: etcd failure response: HTTP/0.0 0 status code 0
From: [email protected]
To: [email protected]
CC: [email protected]

Did you specify any etcd hosts? Does the security group used permit TCP/2379 
from the masters to the etcd hosts?
On Mar 13, 2016 10:57 AM, "Den Cowboy" <[email protected]> wrote:



I tried to install the Origin Cluster but I got this error when I'm running my 
playbook:
TASK: [openshift_master | Start and enable master api] ************************ 
failed: [52.xx.xx.xx => {"failed": true}
msg: Job for origin-master-api.service failed because the control process 
exited with error code. See "systemctl status origin-master-api.service" and 
"journalctl -xe" for details.


origin-master-api.service - Atomic OpenShift Master API
   Loaded: loaded (/usr/lib/systemd/system/origin-master-api.service; enabled; 
vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2016-03-13 14:38:46 UTC; 13min 
ago
     Docs: https://github.com/openshift/origin
  Process: 18236 ExecStart=/usr/bin/openshift start master api 
--config=${CONFIG_FILE} $OPTIONS (code=exited, status=2)
 Main PID: 18236 (code=exited, status=2)

atomic-openshift-master-api[18236]: Content-Length: 0
atomic-openshift-master-api[18236]: E0313 14:38:45.122824   18236 etcd.go:128] 
etcd failure response: HTTP/0.0 0 status code 0
atomic-openshift-master-api[18236]: Content-Length: 0
atomic-openshift-master-api[18236]: E0313 14:38:46.123859   18236 etcd.go:128] 
etcd failure response: HTTP/0.0 0 status code 0
atomic-openshift-master-api[18236]: Content-Length: 0
systemd[1]: origin-master-api.service start operation timed out. Terminating.
systemd[1]: origin-master-api.service: main process exited, code=exited, 
status=2/INVALIDARGUMENT
systemd[1]: Failed to start Atomic OpenShift Master API.
systemd[1]: Unit origin-master-api.service entered failed state.
systemd[1]: origin-master-api.service failed.

What could be the issue? I used 
https://github.com/openshift/openshift-ansible/blob/master/README_AWS.md
                                          

_______________________________________________

users mailing list

[email protected]

http://lists.openshift.redhat.com/openshiftmm/listinfo/users


                                          

_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users                    
                  
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to