Comment 2 for bug 1576674

Revision history for this message
Larry Michel (lmic) wrote :

There seems to be additional networking issue which could be related to this. I am including here unless it can be determined that it is a totally separate issue.

I did an apt-get update and it was hanging for a while at:

0% [Connecting to archive.ubuntu.com (91.189.92.201)] [Connecting to security.u

before it eventually completed.

But yesterday, it had timed out during deployment:

2016-04-28 16:43:44 INFO install Reading package lists...
2016-04-28 16:43:45 INFO worker.uniter.jujuc server.go:173 running hook tool "juju-log" ["Installing ['debconf-utils', 'python-mysqldb', 'uuid', 'pwgen', 'dnsutils'] with options: ['--option=Dpkg::Options::=--force-confold']"]
2016-04-28 16:43:45 INFO juju-log Installing ['debconf-utils', 'python-mysqldb', 'uuid', 'pwgen', 'dnsutils'] with options: ['--option=Dpkg::Options::=--force-confold']
2016-04-28 16:43:45 INFO install Reading package lists...
2016-04-28 16:43:45 INFO install Building dependency tree...
2016-04-28 16:43:45 INFO install Reading state information...
2016-04-28 16:43:45 INFO install dnsutils is already the newest version.
2016-04-28 16:43:45 INFO install The following packages were automatically installed and are no longer required:
2016-04-28 16:43:45 INFO install libfreetype6 os-prober
2016-04-28 16:43:45 INFO install Use 'apt-get autoremove' to remove them.
2016-04-28 16:43:45 INFO install The following extra packages will be installed:
2016-04-28 16:43:45 INFO install libmysqlclient18 libossp-uuid16 mysql-common
2016-04-28 16:43:45 INFO install Suggested packages:
2016-04-28 16:43:45 INFO install python-egenix-mxdatetime mysql-server-5.1 mysql-server python-mysqldb-dbg
2016-04-28 16:43:45 INFO install The following NEW packages will be installed:
2016-04-28 16:43:45 INFO install debconf-utils libmysqlclient18 libossp-uuid16 mysql-common pwgen
2016-04-28 16:43:45 INFO install python-mysqldb uuid
2016-04-28 16:43:52 INFO juju.worker.leadership tracker.go:182 mysql/0 will renew mysql leadership at 2016-04-28 16:44:22.964080373 +0000 UTC
2016-04-28 16:44:22 INFO juju.worker.leadership tracker.go:182 mysql/0 will renew mysql leadership at 2016-04-28 16:44:52.964286114 +0000 UTC
2016-04-28 16:44:52 INFO juju.worker.leadership tracker.go:182 mysql/0 will renew mysql leadership at 2016-04-28 16:45:22.964495714 +0000 UTC
2016-04-28 16:45:22 INFO juju.worker.leadership tracker.go:182 mysql/0 will renew mysql leadership at 2016-04-28 16:45:52.964732572 +0000 UTC
2016-04-28 16:45:46 INFO install 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
2016-04-28 16:45:46 INFO install Need to get 780 kB of archives.
2016-04-28 16:45:46 INFO install After this operation, 4266 kB of additional disk space will be used.
2016-04-28 16:45:46 INFO install Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-common all 5.5.49-0ubuntu0.14.04.1
2016-04-28 16:45:46 INFO install Could not connect to archive.ubuntu.com:80 (91.189.92.201), connection timed out
2016-04-28 16:45:46 INFO install Err http://archive.ubuntu.com/ubuntu/ trusty/main debconf-utils all 1.5.51ubuntu2
2016-04-28 16:45:46 INFO install Unable to connect to archive.ubuntu.com:http:
2016-04-28 16:45:46 INFO install Err http://archive.ubuntu.com/ubuntu/ trusty/main libossp-uuid16 amd64 1.6.2-1.3ubuntu1
2016-04-28 16:45:46 INFO install Unable to connect to archive.ubuntu.com:http:
2016-04-28 16:45:46 INFO install Err http://archive.ubuntu.com/ubuntu/ trusty/main pwgen amd64 2.06-1ubuntu4
2016-04-28 16:45:46 INFO install Unable to connect to archive.ubuntu.com:http:
2016-04-28 16:45:46 INFO install Err http://archive.ubuntu.com/ubuntu/ trusty/main python-mysqldb amd64 1.2.3-2ubuntu1
2016-04-28 16:45:46 INFO install Unable to connect to archive.ubuntu.com:http:
2016-04-28 16:45:46 INFO install Err http://archive.ubuntu.com/ubuntu/ trusty/universe uuid amd64 1.6.2-1.3ubuntu1
2016-04-28 16:45:46 INFO install Unable to connect to archive.ubuntu.com:http:
2016-04-28 16:45:46 INFO install Get:1 http://security.ubuntu.com/ubuntu/ trusty-security/main mysql-common all 5.5.49-0ubuntu0.14.04.1 [12.9 kB]
2016-04-28 16:45:46 INFO install Get:2 http://security.ubuntu.com/ubuntu/ trusty-security/main libmysqlclient18 amd64 5.5.49-0ubuntu0.14.04.1 [596 kB]
2016-04-28 16:45:47 INFO install Fetched 609 kB in 2min 1s (4999 B/s)
2016-04-28 16:45:47 INFO install E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/d/debconf/debconf-utils_1.5.51ubuntu2_all.deb Unable to connect to archive.ubuntu.com:http:
2016-04-28 16:45:47 INFO install
2016-04-28 16:45:47 INFO install E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/o/ossp-uuid/libossp-uuid16_1.6.2-1.3ubuntu1_amd64.deb Unable to connect to archive.ubuntu.com:http:
2016-04-28 16:45:47 INFO install
2016-04-28 16:45:47 INFO install E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/pwgen/pwgen_2.06-1ubuntu4_amd64.deb Unable to connect to archive.ubuntu.com:http:
2016-04-28 16:45:47 INFO install
2016-04-28 16:45:47 INFO install E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/python-mysqldb/python-mysqldb_1.2.3-2ubuntu1_amd64.deb Unable to connect to archive.ubuntu.com:http:
2016-04-28 16:45:47 INFO install
2016-04-28 16:45:47 INFO install E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/o/ossp-uuid/uuid_1.6.2-1.3ubuntu1_amd64.deb Unable to connect to archive.ubuntu.com:http:
2016-04-28 16:45:47 INFO install
2016-04-28 16:45:47 INFO install E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
2016-04-28 16:45:47 INFO juju.worker.uniter.operation runhook.go:113 ran "install" hook
2016-04-28 16:45:47 INFO juju.worker.uniter resolver.go:111 found queued "leader-elected" hook
2016-04-28 16:45:48 INFO juju.worker.uniter.operation runhook.go:116 skipped "leader-elected" hook (missing)
2016-04-28 16:45:48 INFO juju.worker.uniter resolver.go:128 no operations in progress; waiting for changes

Which resulted in hook failure:

2016-04-29 14:13:17 INFO juju.worker.uniter resolver.go:107 awaiting error resolution for "relation-joined" hook
2016-04-29 14:13:17 INFO juju.worker.uniter resolver.go:107 awaiting error resolution for "relation-joined" hook
2016-04-29 14:13:17 INFO worker.uniter.jujuc server.go:173 running hook tool "unit-get" ["private-address"]
2016-04-29 14:13:17 INFO shared-db-relation-joined Traceback (most recent call last):
2016-04-29 14:13:17 INFO shared-db-relation-joined File "/var/lib/juju/agents/unit-mysql-0/charm/hooks/shared-db-relation-joined", line 15, in <module>
2016-04-29 14:13:17 INFO shared-db-relation-joined from common import get_db_helper
2016-04-29 14:13:17 INFO shared-db-relation-joined File "/var/lib/juju/agents/unit-mysql-0/charm/hooks/common.py", line 4, in <module>
2016-04-29 14:13:17 INFO shared-db-relation-joined import MySQLdb
2016-04-29 14:13:17 INFO shared-db-relation-joined ImportError: No module named MySQLdb
2016-04-29 14:13:17 ERROR juju.worker.uniter.operation runhook.go:107 hook "shared-db-relation-joined" failed: exit status 1
2016-04-29 14:13:17 INFO juju.worker.uniter resolver.go:107 awaiting error resolution for "relation-joined" hook
2016-04-29 14:13:23 INFO juju.worker.leadership tracker.go:182 mysql/0 will renew mysql leadership at 2016-04-29 14:13:53.695576683 +0000 UTC
2016-04-29 14:13:53 INFO juju.worker.leadership tracker.go:182 mysql/0 will renew mysql leadership at 2016-04-29 14:14:23.69584665 +0000 UTC

After doing the apt-get update this morning, I was able to install the python-mysqldb but not until after it paused again at 91.189.92.201.