Public bug reported: The default cloud-init configuration for MaaS uses 'manage_etc_hosts: localhost'; this causes a line such as:
# Added by cloud-init 127.0.1.1 test-12.os.magners.qa.lexington test-12 To be added to /etc/hosts; this is problematic for a few reasons when using Juju with MaaS as: unit-get private-address returns 'test-12.os.magners.qa.lexington'; and if I then try to bind services or connect to services running locally using this hostname I get connected/bound to '127.0.1.1'. And then other services connecting to `hostname` using relation-get private-address (which resolves to the external IP address) can't actually connect to the service as its running on 127.0.0.1. This part of the configuration is coming from MaaS rather than Juju and it makes the maas provider for Juju function in a different way to other providers which I don't believe use this configuration option. ProblemType: Bug DistroRelease: Ubuntu 12.10 Package: maas (not installed) ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5 Uname: Linux 3.5.0-17-generic x86_64 ApportVersion: 2.6.1-0ubuntu4 Architecture: amd64 Date: Thu Dec 6 04:31:58 2012 InstallationMedia: Ubuntu-Server 11.10 "Oneiric Ocelot" - Release amd64 (20111011) MarkForUpload: True ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: maas UpgradeStatus: Upgraded to quantal on 2012-05-01 (218 days ago) ** Affects: juju Importance: Undecided Status: New ** Affects: maas Importance: Undecided Status: New ** Affects: maas (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug quantal ** Also affects: maas Importance: Undecided Status: New ** Also affects: juju Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1087183 Title: MaaS cloud-init configuration specifies 'manage_etc_hosts: localhost' To manage notifications about this bug go to: https://bugs.launchpad.net/juju/+bug/1087183/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs