Re: unit-get and ipv6 addresses
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've asked Jake to file a bug for this issue, as it will be easier to track it and collect all the information in one place. In the mean time I'll be analyzing the possible cause for this. Cheers, Dimiter On 4.03.2015 17:13, Jake Kugel wrote: Hi, we also got around it by disabling IPv6 on our hosts. I had tried sending additional logs Dimiter requested but the email was too large for mailing list server. For lack of better idea on how to deal with large attachments I had sent Dimiter logs directly (sorry Dimiter). Maybe pastebin next time? Thanks, Jake juju-boun...@lists.ubuntu.com wrote on 03/04/2015 04:03:09 AM: From: Thierry fa...@linux.vnet.ibm.com thie...@linux.vnet.ibm.com To: juju@lists.ubuntu.com Date: 03/04/2015 04:03 AM Subject: Re: unit-get and ipv6 addresses Sent by: juju-boun...@lists.ubuntu.com Hello, I got a similar issue and solved it by disabling IPv6 under main host so lxc containers could communicate through IPv4 and access to external world. I haven't yet understand the issue but it sounds like if the main host is IPv6 enabled, then system tries to communicat through IPv6 even though IPv4 addresses are the only one configured. If anyone get an idea let me know. If you think that needs a bug let Jake or me know (at least) as we get concerned with the issue Thanks Thierry On 03/02/2015 04:03 PM, Dimiter Naydenov wrote: Hi Jake, Thanks for the logs! However, I still can't find the reason this should be happening just from those logs. Can you also send us the unit logs from wordpress and mysql? A dump of ifconfig -a on each of the machines should also be useful. Regards, Dimiter On 28.02.2015 00:42, Jake Kugel wrote: Hi Dimiter, thanks, here are the files: Jake juju-boun...@lists.ubuntu.com wrote on 02/27/2015 02:58:01 PM: From: Dimiter Naydenov dimiter.nayde...@canonical.com To: juju@lists.ubuntu.com Date: 02/27/2015 02:58 PM Subject: Re: unit-get and ipv6 addresses Sent by: juju-boun...@lists.ubuntu.com 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 -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/ listinfo/juju -- Thierry Fauck @ linux.vnet.ibm -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/ listinfo/juju - -- Dimiter Naydenov dimiter.nayde...@canonical.com Juju Core Sapphire team http://juju.ubuntu.com -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQEcBAEBAgAGBQJU9zVNAAoJENzxV2TbLzHwXRgH/1Xt/z3mTmWFQFYXDhjTTg3y 0eca32EeEOk9jDoJlB/aB4eMuEOQWq9kKlcElY/kPGS5DoQE9j9p4UXVHrPj33Gz uLJi1lWn5nZ7qCX+QwffYoo1rB7tgzL3WVS2/4xoIusC4g4KyjBdopupktfUdTED 2DpyuVTDDtpi7M0cniwcIBAKkJ1koraQnlRbhk4LAQdarwMRS4U/KPoA/+X3NP// MunxdRItB6kVz5fwUtcTV1QymIcE8H9ZXGS9kP/lM+PxbM6S2oxUl6WmAqWvxrln W6c7in0x9TIyk/dVmF4WqdtmAa984EI6jLclvQS84eTaPIy691OwFHQgeUbC9UE= =tNjn -END PGP SIGNATURE- -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: unit-get and ipv6 addresses
Thanks again, opened following bug: https://bugs.launchpad.net/juju-core/+bug/1428345 Jake From: Dimiter Naydenov dimiter.nayde...@canonical.com To: juju@lists.ubuntu.com Date: 03/04/2015 10:39 AM Subject:Re: unit-get and ipv6 addresses Sent by:juju-boun...@lists.ubuntu.com -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've asked Jake to file a bug for this issue, as it will be easier to track it and collect all the information in one place. In the mean time I'll be analyzing the possible cause for this. Cheers, Dimiter On 4.03.2015 17:13, Jake Kugel wrote: Hi, we also got around it by disabling IPv6 on our hosts. I had tried sending additional logs Dimiter requested but the email was too large for mailing list server. For lack of better idea on how to deal with large attachments I had sent Dimiter logs directly (sorry Dimiter). Maybe pastebin next time? Thanks, Jake juju-boun...@lists.ubuntu.com wrote on 03/04/2015 04:03:09 AM: From: Thierry fa...@linux.vnet.ibm.com thie...@linux.vnet.ibm.com To: juju@lists.ubuntu.com Date: 03/04/2015 04:03 AM Subject: Re: unit-get and ipv6 addresses Sent by: juju-boun...@lists.ubuntu.com Hello, I got a similar issue and solved it by disabling IPv6 under main host so lxc containers could communicate through IPv4 and access to external world. I haven't yet understand the issue but it sounds like if the main host is IPv6 enabled, then system tries to communicat through IPv6 even though IPv4 addresses are the only one configured. If anyone get an idea let me know. If you think that needs a bug let Jake or me know (at least) as we get concerned with the issue Thanks Thierry On 03/02/2015 04:03 PM, Dimiter Naydenov wrote: Hi Jake, Thanks for the logs! However, I still can't find the reason this should be happening just from those logs. Can you also send us the unit logs from wordpress and mysql? A dump of ifconfig -a on each of the machines should also be useful. Regards, Dimiter On 28.02.2015 00:42, Jake Kugel wrote: Hi Dimiter, thanks, here are the files: Jake juju-boun...@lists.ubuntu.com wrote on 02/27/2015 02:58:01 PM: From: Dimiter Naydenov dimiter.nayde...@canonical.com To: juju@lists.ubuntu.com Date: 02/27/2015 02:58 PM Subject: Re: unit-get and ipv6 addresses Sent by: juju-boun...@lists.ubuntu.com 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 -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/ listinfo/juju -- Thierry Fauck @ linux.vnet.ibm -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/ listinfo/juju - -- Dimiter Naydenov dimiter.nayde...@canonical.com Juju Core Sapphire team http://juju.ubuntu.com -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQEcBAEBAgAGBQJU9zVNAAoJENzxV2TbLzHwXRgH/1Xt/z3mTmWFQFYXDhjTTg3y 0eca32EeEOk9jDoJlB/aB4eMuEOQWq9kKlcElY/kPGS5DoQE9j9p4UXVHrPj33Gz uLJi1lWn5nZ7qCX+QwffYoo1rB7tgzL3WVS2/4xoIusC4g4KyjBdopupktfUdTED 2DpyuVTDDtpi7M0cniwcIBAKkJ1koraQnlRbhk4LAQdarwMRS4U/KPoA/+X3NP// MunxdRItB6kVz5fwUtcTV1QymIcE8H9ZXGS9kP/lM+PxbM6S2oxUl6WmAqWvxrln W6c7in0x9TIyk
Re: unit-get and ipv6 addresses
Hello, I got a similar issue and solved it by disabling IPv6 under main host so lxc containers could communicate through IPv4 and access to external world. I haven't yet understand the issue but it sounds like if the main host is IPv6 enabled, then system tries to communicat through IPv6 even though IPv4 addresses are the only one configured. If anyone get an idea let me know. If you think that needs a bug let Jake or me know (at least) as we get concerned with the issue Thanks Thierry On 03/02/2015 04:03 PM, Dimiter Naydenov wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Jake, Thanks for the logs! However, I still can't find the reason this should be happening just from those logs. Can you also send us the unit logs from wordpress and mysql? A dump of ifconfig -a on each of the machines should also be useful. Regards, Dimiter On 28.02.2015 00:42, Jake Kugel wrote: Hi Dimiter, thanks, here are the files: Jake juju-boun...@lists.ubuntu.com wrote on 02/27/2015 02:58:01 PM: From: Dimiter Naydenov dimiter.nayde...@canonical.com To: juju@lists.ubuntu.com Date: 02/27/2015 02:58 PM Subject: Re: unit-get and ipv6 addresses Sent by: juju-boun...@lists.ubuntu.com 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 -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/ listinfo/juju - -- Dimiter Naydenov dimiter.nayde...@canonical.com Juju Core Sapphire team http://juju.ubuntu.com -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQEcBAEBAgAGBQJU9Hu9AAoJENzxV2TbLzHwha4H/0s+UUZr5Z2ov4TcjAIT93cb I/JqHcpo1ynvOyGCv5/VD801RHnwDi+tWpoKJtUmgQ6PTV8iW78U7C55MgcXsTmz PKh3Bl5O8IN2oVF3SbVD7jc8P70wtbucIVsml1lsb34TCgJFSA1rJ2R7SrnUMtiE EXNg455jS84aDiJW+Lw8glXHB1X3f+Kv7jnKN2Bksza+z4T8+hxa7HLc8qCdozD7 MoEVLoJO/75LYVjYCMhqZhkqCUb5T8gvdVcb2zdIOnhk63A+G0FQSPUrvTps3cfv iCmD1nXUyufFV5FB3ks9nwtlrGjpsAcbJJu0NCwJ9VCOQjxvGXjTYksJNUi8VbU= =lBiY -END PGP SIGNATURE- -- Thierry Fauck @ linux.vnet.ibm -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: unit-get and ipv6 addresses
-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 dimiter.nayde...@canonical.com 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 Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju