[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

'master_cert_config_dir' undefined during Ansible build



Hi,

During

  ansible-playbook openshift-ansible/playbooks/byo/config.yml

I am now getting this error:

--------------------------------------------------------------->
TASK [Ensure named certificate directory exists] ******************************* fatal: [osae2-master-100.gede.local]: FAILED! => {"failed": true, "msg": "{{ master_cert_config_dir }}/named_certificates/: 'master_cert_config_dir' is undefined"} fatal: [osae2-master-101.gede.local]: FAILED! => {"failed": true, "msg": "{{ master_cert_config_dir }}/named_certificates/: 'master_cert_config_dir' is undefined"} fatal: [osae2-master-102.gede.local]: FAILED! => {"failed": true, "msg": "{{ master_cert_config_dir }}/named_certificates/: 'master_cert_config_dir' is undefined"}

NO MORE HOSTS LEFT *************************************************************
<---------------------------------------------------------------

Ansible hosts file:

---------------------------------------------------------------->

[OSEv3:children]
lb
masters
etcd
nodes

[OSEv3:vars]
ansible_ssh_user=root
deployment_type=origin

# htpasswd authentication
openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '/etc/origin/master/htpasswd'}]

# Native high availbility cluster method with optional load balancer.
openshift_master_cluster_method=native
openshift_master_cluster_hostname=os-lb-0.local
openshift_master_cluster_public_hostname=os.gede.voidbridge.biz
openshift_master_default_subdomain=os.gede.voidbridge.biz

# override the default controller lease ttl
osm_controller_lease_ttl=30

# further settings
containerized=false
openshift_master_portal_net=192.168.224.0/20
osm_cluster_network_cidr=192.168.240.0/20
osm_host_subnet_length=7
openshift_master_named_certificates=[{"certfile": "/etc/origin/master/os.gede.voidbridge.biz.crt", "keyfile": "/etc/origin/master/os.gede.voidbridge.biz.key"}]
openshift_master_overwrite_named_certificates=false

# Specify load balancer host
[lb]
os-lb-0.local openshift_hostname="os-lb-0.local" openshift_ip="192.168.1.10"

# host group for masters
[masters]
os-master-0.local openshift_hostname="os-master-0.local" openshift_ip="192.168.1.11" os-master-1.local openshift_hostname="os-master-1.local" openshift_ip="192.168.1.12" os-master-2.local openshift_hostname="os-master-2.local" openshift_ip="192.168.1.13"

# host group for etcd
[etcd]
os-master-0.local openshift_hostname="os-master-0.local" openshift_ip="192.168.1.11" os-master-1.local openshift_hostname="os-master-1.local" openshift_ip="192.168.1.12" os-master-2.local openshift_hostname="os-master-2.local" openshift_ip="192.168.1.13"

# host group for nodes, includes region info
[nodes]
os-master-0.local openshift_node_labels="{'region': 'infra', 'zone': 'default'}" openshift_hostname="os-master-0.local" openshift_ip="192.168.1.11" openshift_schedulable=false os-master-1.local openshift_node_labels="{'region': 'infra', 'zone': 'default'}" openshift_hostname="os-master-1.local" openshift_ip="192.168.1.12" openshift_schedulable=false os-master-2.local openshift_node_labels="{'region': 'infra', 'zone': 'default'}" openshift_hostname="os-master-2.local" openshift_ip="192.168.1.13" openshift_schedulable=false os-node-0.local openshift_node_labels="{'region': 'primary', 'zone': 'default'}" openshift_hostname="os-node-0.local" openshift_ip="192.168.1.14" os-node-1.local openshift_node_labels="{'region': 'primary', 'zone': 'default'}" openshift_hostname="os-node-1.local" openshift_ip="192.168.1.15" os-node-2.local openshift_node_labels="{'region': 'primary', 'zone': 'default'}" openshift_hostname="os-node-2.local" openshift_ip="192.168.1.16" os-node-3.local openshift_node_labels="{'region': 'primary', 'zone': 'default'}" openshift_hostname="os-node-3.local" openshift_ip="192.168.1.17" os-node-4.local openshift_node_labels="{'region': 'primary', 'zone': 'default'}" openshift_hostname="os-node-4.local" openshift_ip="192.168.1.18"
<--------------------------------------------------------------------

I've run the Ansible build fine a few days ago with only minor changes (IPs and hostnames).

Does the master_cert_config_dir now need to be configured in the hosts file?

Thanks,

Andre


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]