{"action":"opened","issue":{"url":"https://api.github.com/repos/openshift/openshift-ansible/issues/2129","repository_url":"https://api.github.com/repos/openshift/openshift-ansible","labels_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/2129/labels{/name}","comments_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/2129/comments","events_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/2129/events","html_url":"https://github.com/openshift/openshift-ansible/issues/2129","id":164383325,"number":2129,"title":"BYO playbook fails with 'deployment_type is undefined' for host in [nfs] group only","user":{"login":"etsauer","id":4500758,"avatar_url":"https://avatars.githubusercontent.com/u/4500758?v=3","gravatar_id":"","url":"https://api.github.com/users/etsauer","html_url":"https://github.com/etsauer","followers_url":"https://api.github.com/users/etsauer/followers","following_url":"https://api.github.com/users/etsauer/following{/other_user}","gists_url":"https://api.github.com/users/etsauer/gists{/gist_id}","starred_url":"https://api.github.com/users/etsauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etsauer/subscriptions","organizations_url":"https://api.github.com/users/etsauer/orgs","repos_url":"https://api.github.com/users/etsauer/repos","events_url":"https://api.github.com/users/etsauer/events{/privacy}","received_events_url":"https://api.github.com/users/etsauer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-07T19:01:46Z","updated_at":"2016-07-07T19:01:46Z","closed_at":null,"body":"@detiber @abutcher @sdodson any of you seen something like this before?\r\n\r\n```\r\nTASK [openshift_facts : Gather Cluster facts and set is_containerized if needed] ***\r\nchanged: [casl-esauer-1467917037-node1.d2.etl.practice.redhat.com]\r\nfatal: [casl-esauer-1467917037-nfs1.d2.etl.practice.redhat.com]: FAILED! => {\"failed\": true, \"msg\": \"{{ deployment_type }}: 'deployment_type' is undefined\"}\r\nchanged: [casl-esauer-1467917037-master1.d2.etl.practice.redhat.com]\r\nchanged: [casl-esauer-1467917037-node3.d2.etl.practice.redhat.com]\r\nchanged: [casl-esauer-1467917037-node2.d2.etl.practice.redhat.com]\r\nchanged: [casl-esauer-1467917037-node4.d2.etl.practice.redhat.com]\r\n```\r\n\r\n\r\nInventory looks like:\r\n```\r\n# Create an OSEv3 group that contains the master, nodes, etcd, and lb groups.\r\n# The lb group lets Ansible configure HAProxy as the load balancing solution.\r\n# Comment lb out if your load balancer is pre-configured.\r\n[OSEv3:children]\r\nmasters\r\nnodes\r\n\r\n# Set variables common for all OSEv3 hosts\r\n[OSEv3:vars]\r\nansible_ssh_user=root\r\ndeployment_type=openshift-enterprise\r\n\r\n# Uncomment the following to enable htpasswd authentication; defaults to\r\n# DenyAllPasswordIdentityProvider.\r\n#openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '/etc/origin/master/htpasswd'}]\r\nopenshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '/etc/origin/openshift-passwd'}]\r\n\r\n\r\n\r\n# override the default controller lease ttl\r\n#osm_controller_lease_ttl=30\r\n\r\n# host group for masters\r\n[masters]\r\ncasl-esauer-1467917037-master1.d2.etl.practice.redhat.com openshift_hostname=casl-esauer-1467917037-master1.d2.etl.practice.redhat.com openshift_public_hostname=casl-esauer-1467917037-master1.d2.etl.practice.redhat.com\r\n\r\n\r\n[nfs]\r\ncasl-esauer-1467917037-nfs1.d2.etl.practice.redhat.com openshift_hostname=casl-esauer-1467917037-nfs1.d2.etl.practice.redhat.com openshift_public_hostname=casl-esauer-1467917037-nfs1.d2.etl.practice.redhat.com\r\n\r\n# host group for nodes, includes region info\r\n[nodes]\r\ncasl-esauer-1467917037-master1.d2.etl.practice.redhat.com openshift_hostname=casl-esauer-1467917037-master1.d2.etl.practice.redhat.com openshift_public_hostname=casl-esauer-1467917037-master1.d2.etl.practice.redhat.com openshift_node_labels=\"{'region': 'master'}\"\r\ncasl-esauer-1467917037-node1.d2.etl.practice.redhat.com openshift_hostname=casl-esauer-1467917037-node1.d2.etl.practice.redhat.com openshift_public_hostname=casl-esauer-1467917037-node1.d2.etl.practice.redhat.com openshift_node_labels=\"{'region': 'infra'}\"\r\ncasl-esauer-1467917037-node2.d2.etl.practice.redhat.com openshift_hostname=casl-esauer-1467917037-node2.d2.etl.practice.redhat.com openshift_public_hostname=casl-esauer-1467917037-node2.d2.etl.practice.redhat.com openshift_node_labels=\"{'region': 'app'}\"\r\ncasl-esauer-1467917037-node3.d2.etl.practice.redhat.com openshift_hostname=casl-esauer-1467917037-node3.d2.etl.practice.redhat.com openshift_public_hostname=casl-esauer-1467917037-node3.d2.etl.practice.redhat.com openshift_node_labels=\"{'region': 'app'}\"\r\ncasl-esauer-1467917037-node4.d2.etl.practice.redhat.com openshift_hostname=casl-esauer-1467917037-node4.d2.etl.practice.redhat.com openshift_public_hostname=casl-esauer-1467917037-node4.d2.etl.practice.redhat.com openshift_node_labels=\"{'region': 'app'}\"\r\n\r\n```"}}
{"actor":{"display_login":"etsauer"}}