cloudera / cloudera-playbook

Cloudera deployment automation with Ansible
Apache License 2.0
198 stars 187 forks source link

krb5_kdc_type not registering properly? #70

Open Data-drone opened 4 years ago

Data-drone commented 4 years ago

I set krb5_kdc_type: none in all

but I got:

TASK [scm : Update Cloudera Manager settings] ************************************************************
fatal: [ip-10-0-1-170.ap-southeast-2.compute.internal]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'krb5_server'\n\nThe error appears to be in '/home/cdh_terraform_aws/cloudera-playbook/roles/scm/tasks/scm.yml': line 4, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# https://cloudera.github.io/cm_api/apidocs/v13/path__cm_config.html\n- name: Update Cloudera Manager settings\n  ^ here\n"}

Everything else was straight from the master branch any ideas?

ziedbouf commented 3 years ago

I got similair issue, @Data-drone did you find any solution related to this issue?

Data-drone commented 3 years ago

I ended up just kerberising. The settings have been tested more with a kerberised cluster and it's security best practice anyway though it does make working with the cluster a bit more of a pain

ziedbouf commented 3 years ago

I see, thanks @Data-drone however i made change to just install kerberos server on the admin node while keeping the kerberos option to none, still debugging other issue and will confirm if this is work :/

Data-drone commented 3 years ago

the issue from memory was the ansible if statements not processing correctly or needing amendment