Hi Dinesh,

Ah, the thilinapiy script [1] creates a new host file and adds a
domain name, but doesn't add the host part.

I've raised a PR [2]

Many thanks,

Chris

---
[1] https://github.com/thilinapiy/puppetinstall/blob/master/puppetinstall#L196
[2] https://github.com/thilinapiy/puppetinstall/pull/4

On Wed, Apr 16, 2014 at 7:14 AM, Dinesh Bandara <[email protected]> wrote:
> Hi Chris,
>
> AFAIK we are not mapping puppet_hostname in /etc/hosts from stratos
> installer scripts since puppet_hostname and puppet_ip are only used by
> repository/conf/cartridge-config.properties.
> This mapping might be done using puppetinsatll [1] script as mentioned in
> [2]. we can change it according to your suggestion.
>
> [1] https://github.com/thilinapiy/puppetinstall/blob/master/puppetinstall
> [2]
> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Configuring+Puppet+Master
>
> Thanks
>
> On Wed, Apr 16, 2014 at 11:12 AM, chris snow <[email protected]> wrote:
>>
>> I've set puppet_hostname="puppet.stratos.com" which results in /etc/hosts:
>>
>>    vagrant@puppet:~$ cat /etc/hosts
>>    127.0.0.1  localhost
>>    127.0.0.1  puppet.stratos.com
>>    127.0.0.1 stratos.com   # stratos domain
>>
>> However, when devstack stack.sh fails to setup rabbitmq:
>>
>>    vagrant@puppet:~$ cat /var/log/rabbitmq/startup_log
>>    ERROR: epmd error for host "puppet": timeout (timed out)
>>
>> Should the stratos installer be adding the hostname as well, like this:
>>
>>    vagrant@puppet:~$ cat /etc/hosts
>>    127.0.0.1  localhost
>>    127.0.0.1  puppet.stratos.com puppet
>>    127.0.0.1 stratos.com   # stratos domain
>>
>> Many thanks,
>>
>> Chris
>
>
>
>
> --
> Dinesh Bandara
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>



-- 
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69

Reply via email to