mancdaz / banana

test issue import
0 stars 0 forks source link

Ensure hostname referenced in rabbitmq check in maas_local.yml playbook is correct #5

Open mancdaz opened 10 years ago

mancdaz commented 10 years ago

Issue by mattt416 Friday Aug 15, 2014 at 14:54 GMT Originally opened as https://github.com/rcbops/ansible-lxc-rpc-orig/issues/383


Currently, we use ansible_hostname however @andymcc has stated that this may not be correct after recent changes to the rabbitmq roles. We need to investigate this further.

mancdaz commented 10 years ago

Comment by cloudnull Monday Aug 25, 2014 at 14:25 GMT


Is this still an issue?

mancdaz commented 10 years ago

Comment by andymcc Wednesday Aug 27, 2014 at 13:26 GMT


I think this is still wrong, based on: https://github.com/rcbops/ansible-lxc-rpc-orig/pull/368/files Since we're shortening the hostname we would need to shorten the hostname here also (rabbit shortens the hostname by default). We'd need to shorten the rabbit name also for the monitoring test.

mancdaz commented 10 years ago

Comment by andymcc Wednesday Aug 27, 2014 at 13:31 GMT


The only issue is that we force the shortname on the rabbit servers so this will need to be changed. I've fixed this up and adjusted to use inventory_hostname in: https://github.com/rcbops/ansible-lxc-rpc/pull/2

mancdaz commented 10 years ago

Comment by andymcc Wednesday Aug 27, 2014 at 15:38 GMT


Fixed in local branch: https://github.com/andymcc/ansible-lxc-rpc/tree/hosts_duplicate

mancdaz commented 10 years ago

Comment by andymcc Wednesday Aug 27, 2014 at 15:38 GMT


https://github.com/andymcc/ansible-lxc-rpc/tree/rabbit_maas rather