IBM / Ansible-OpenShift-Provisioning

Automate the deployment of Red Hat OpenShift Container Platform on IBM zSystems (s390x). Automated User-Provisoned Infrastructure (UPI) setup using Kernel-based Virtual Machine (KVM).
https://ibm.github.io/Ansible-OpenShift-Provisioning/
MIT License
20 stars 42 forks source link

setup bastion fails for 3 node cluster definition #252

Closed AmadeusPodvratnik closed 7 months ago

AmadeusPodvratnik commented 7 months ago

Playbook 5 fails for a 3 node cluster:

TASK [dns : Add compute nodes to DNS reverse lookup file on bastion] **** fatal: [bastion]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'None' has no attribute 'split'. 'None' has no attribute 'split'\n\nThe error appears to be in '/Users/pod/Documents/Business/OCP/DevItems/release/Ansible-OpenShift-Provisioning/roles/dns/tasks/main.yaml': line 97, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Add compute nodes to DNS reverse lookup file on bastion\n ^ here\n"}

Section 9 - Compute Nodes

  compute:
    disk_size: 120
    ram: 16384
    vcpu: 4
    vcpu_model_option: "--cpu host"
    vm_name:
      - #X
      - #X
    ip:
      - #X
      - #X
    ipv6:
      - #X
      - #X
    mac:
      - #X
      - #X
    hostname:
      - #X
      - #X
AmadeusPodvratnik commented 7 months ago

@smolin-de Looks like that we oversee the dns entries for a 3 node cluster...

smolin-de commented 7 months ago

Ok, good catch. I am using an external DNS in my setup. I did not test it with Bastion as DNS. I suggest as current workaround, to use an external DNS.

AmadeusPodvratnik commented 4 months ago

:tada: This issue has been resolved in version 2.1.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: