-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Jake,
Can you provide some more information: - - your environments.yaml file - - machine-0.log, machine-1.log, and machine-2.log from /var/log/juju/ on each machine Before sending these, please make a quick check to remove any sensitive info from the files (e.g. access/secret keys, password, etc.) You can get the logs by using "juju ssh 0" (or 1 and 2 for the other machines) to connect, run chown a+r /var/log/juju/machine*.log, then log back out and use "juju scp 0:/var/log/juju/machine-0.log ~/" (again replace 0 with 1 or 2). Thanks! Dimiter On 27.02.2015 22:19, Jake Kugel wrote: > Hi, > > I am using juju 1.21.1-trusty-i386 and deploying to a manual > environment, and had a problem deploying wordpress following the > getting started page here [1]. When I tried to view wordpress with > a browser it gave me an "Error establishing a database connection", > and from a little bit of digging found that wordpress was > configured with an ipv6 address for the mysql host. Switching this > manually to the ipv4 address fixed the problem. > > Assuming for a minute that wordpress doesn't support ipv6, is there > a way to avoid having it configured with an ipv6 address? I see > that unit-get private-address is returning the ipv6 address for the > mysql host, is that normal behavior? On the mysql host machine log, > I see this: > > 2015-02-27 14:56:59 INFO juju.worker.machiner machiner.go:94 > setting addresses for machine-2 to ["local-machine:127.0.0.1" > "public:9.114.192.29" "local-machine:::1" > "local-cloud:fd55:faaf:e1ab:38d:944a:7931:9b4c:c621" > "local-cloud:fd55:faaf:e1ab:38d:a8c0:f5da:7109:1e67" > "local-cloud:fd55:faaf:e1ab:38d:f816:3eff:fee2:f0fc"] > > Thanks in advance for any advice, Jake Kugel > > [1] https://jujucharms.com/docs/getting-started > > - -- Dimiter Naydenov <[email protected]> Juju Core Sapphire team <http://juju.ubuntu.com> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJU8NpZAAoJENzxV2TbLzHw5NsH/1CB0KtyasUJaLaaDbumTGER qnaU6GJRvUtvFyt0RUorHdVVdnVrr120G/0Gf7gqmMdI37J5G6InBok2Zh1wl6We 2N6WH7uKDPSDINQJJqS2tXoSnp12924U4DCoC5ceRdkZuLhmHfMkWv3uj+nPOk9D YmwKEnKNRxiY4nCZwIDpO5wJUuy25dSQJH3OIBJZbu56VB18bQhDt8SVmk0ph/B+ guBkMq/i5+Fe+i9cRLk8Hq5HTOreYocOOwkFKmui5ZDmDSRvqtD3sg7DJvKrH5qx CmNkQJ8xzCY1SX+VzeXmxBXWEX+scdS5vLgKoJ3YcneYIQWFUag1bfmRA+qfcvA= =sId2 -----END PGP SIGNATURE----- -- Juju mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
