0gap opened a new issue #13843:
URL: https://github.com/apache/pulsar/issues/13843


   **Describe the bug**
   I am trying to deploy a Pulsar cluster in AWS following the documentation.
   I manage to find my way to using `deploy_pulsar.yml`, but ansible fails in 
the `Add zookeeper.conf file` TASK with the message
   ```
   TASK [Add zookeeper.conf file] 
**************************************************************************************************************************************************************************************************************
   fatal: [zoo.kee.per.IP]: FAILED! => {"changed": false, "msg": 
"AnsibleUndefinedVariable: 'ansible.vars.hostvars.HostVarsVars object' has no 
attribute 'private_ip'"}
   ```
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Follow terraform instructions in 
https://pulsar.apache.org/docs/en/deploy-aws/
   2. Skip the `Setup Disks` (does not work for me. i don't know what the 
authors wants us to do here)
   3. Run Pulsar playbook
   4. See error
   
   **Expected behavior**
   I am not an avid ansible user but i guess something like 
   
   `changed: [zoo.kee.per.IP]`
   or
   `ok: [zoo.kee.per.IP]`
   
   **Screenshots**
   
![image](https://user-images.githubusercontent.com/11653149/150174108-4e63ba82-863d-4b1c-9403-5ec50aeafec8.png)
   
   **Desktop (please complete the following information):**
    - Host OS: Windows 10
    - Guest OS: Ubuntu 20 linux container
   
   **Additional context**
   I am running ansible from inside a containerized Ubuntu20 environment. My 
host OS is Windows 10.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to