Activity log for bug #1561087

Date Who What changed Old value New value Message
2016-03-23 16:29:14 Francis Ginther bug added bug
2016-03-23 16:35:50 Francis Ginther tags landscape
2016-03-23 16:36:04 Francis Ginther bug added subscriber Landscape
2016-03-23 17:24:01 Francis Ginther description Hit this traceback with cs:~openstack-charmers-next/trusty/swift-proxy-43: 2016-03-23 06:36:11 INFO swift-storage-relation-changed E: Problem renaming the file /var/ cache/apt/pkgcache.bin.CWnMSY to /var/cache/apt/pkgcache.bin - rename (2: No such file or directory) 2016-03-23 06:36:11 INFO swift-storage-relation-changed W: You may want to run apt-get upd ate to correct these problems 2016-03-23 06:36:11 INFO swift-storage-relation-changed Traceback (most recent call last): 2016-03-23 06:36:11 INFO swift-storage-relation-changed File "/var/lib/juju/agents/unit-swift-proxy-0/charm/hooks/swift-storage-relation-changed", line 97, in <module> 2016-03-23 06:36:11 INFO swift-storage-relation-changed CONFIGS = register_configs() 2016-03-23 06:36:11 INFO swift-storage-relation-changed File "/var/lib/juju/agents/unit-swift-proxy-0/charm/hooks/lib/swift_utils.py", line 296, in register_configs 2016-03-23 06:36:11 INFO swift-storage-relation-changed release = get_os_codename_package('swift-proxy', fatal=False) \ 2016-03-23 06:36:11 INFO swift-storage-relation-changed File "/var/lib/juju/agents/unit-swift-proxy-0/charm/hooks/charmhelpers/contrib/openstack/utils.py", line 303, in get_os_codename_package 2016-03-23 06:36:11 INFO swift-storage-relation-changed return get_swift_codename(vers) 2016-03-23 06:36:11 INFO swift-storage-relation-changed File "/var/lib/juju/agents/unit-swift-proxy-0/charm/hooks/charmhelpers/contrib/openstack/utils.py", line 252, in get_swift_codename 2016-03-23 06:36:11 INFO swift-storage-relation-changed ret = subprocess.check_output(['apt-cache', 'policy', 'swift']) 2016-03-23 06:36:11 INFO swift-storage-relation-changed File "/usr/lib/python2.7/subprocess.py", line 573, in check_output 2016-03-23 06:36:11 INFO swift-storage-relation-changed raise CalledProcessError(retcode, cmd, output=output) de, cmd, output=output) 2016-03-23 06:36:11 INFO swift-storage-relation-changed subprocess.CalledProcessError: Command '['apt-cache', 'policy', 'swift']' returned non-zero exit status 100 2016-03-23 06:36:11 ERROR juju.worker.uniter.operation runhook.go:107 hook "swift-storage-relation-changed" failed: exit status 1 This appears to be another case of https://bugs.launchpad.net/charms/+source/ceph-radosgw/+bug/1346489, but for the swift-proxy charm. An examination of logs shows apt-get update events occurring at the same time as this failure within other units on the same instance. Hit this traceback with cs:~openstack-charmers-next/trusty/swift-proxy-43: 2016-03-23 06:36:11 INFO swift-storage-relation-changed E: Problem renaming the file /var/ cache/apt/pkgcache.bin.CWnMSY to /var/cache/apt/pkgcache.bin - rename (2: No such file or directory) 2016-03-23 06:36:11 INFO swift-storage-relation-changed W: You may want to run apt-get upd ate to correct these problems 2016-03-23 06:36:11 INFO swift-storage-relation-changed Traceback (most recent call last): 2016-03-23 06:36:11 INFO swift-storage-relation-changed File "/var/lib/juju/agents/unit-swift-proxy-0/charm/hooks/swift-storage-relation-changed", line 97, in <module> 2016-03-23 06:36:11 INFO swift-storage-relation-changed CONFIGS = register_configs() 2016-03-23 06:36:11 INFO swift-storage-relation-changed File "/var/lib/juju/agents/unit-swift-proxy-0/charm/hooks/lib/swift_utils.py", line 296, in register_configs 2016-03-23 06:36:11 INFO swift-storage-relation-changed release = get_os_codename_package('swift-proxy', fatal=False) \ 2016-03-23 06:36:11 INFO swift-storage-relation-changed File "/var/lib/juju/agents/unit-swift-proxy-0/charm/hooks/charmhelpers/contrib/openstack/utils.py", line 303, in get_os_codename_package 2016-03-23 06:36:11 INFO swift-storage-relation-changed return get_swift_codename(vers) 2016-03-23 06:36:11 INFO swift-storage-relation-changed File "/var/lib/juju/agents/unit-swift-proxy-0/charm/hooks/charmhelpers/contrib/openstack/utils.py", line 252, in get_swift_codename 2016-03-23 06:36:11 INFO swift-storage-relation-changed ret = subprocess.check_output(['apt-cache', 'policy', 'swift']) 2016-03-23 06:36:11 INFO swift-storage-relation-changed File "/usr/lib/python2.7/subprocess.py", line 573, in check_output 2016-03-23 06:36:11 INFO swift-storage-relation-changed raise CalledProcessError(retcode, cmd, output=output) de, cmd, output=output) 2016-03-23 06:36:11 INFO swift-storage-relation-changed subprocess.CalledProcessError: Command '['apt-cache', 'policy', 'swift']' returned non-zero exit status 100 2016-03-23 06:36:11 ERROR juju.worker.uniter.operation runhook.go:107 hook "swift-storage-relation-changed" failed: exit status 1 This appears to be another case of https://bugs.launchpad.net/charms/+source/ceph-radosgw/+bug/1346489, but for the swift-proxy charm. An examination of logs shows apt-get update events occurring at the same time as this failure within other units on the same instance. This was found in a regular CI run while deploying an openstack autopilot cloud: https://ci.lscape.net/job/landscape-system-tests/1508/
2017-02-23 19:26:33 James Page swift-proxy (Juju Charms Collection): status New Invalid
2017-09-29 10:37:55 James Page charm-swift-proxy: status New Triaged
2017-09-29 10:37:58 James Page charm-swift-proxy: importance Undecided Low
2017-09-29 10:38:21 James Page charm-swift-proxy: milestone 18.02
2017-09-29 10:40:03 James Page bug task added charm-swift-storage
2017-09-29 10:40:07 James Page charm-swift-storage: status New Triaged
2017-09-29 10:40:09 James Page charm-swift-storage: importance Undecided Low
2017-09-29 10:40:10 James Page charm-swift-storage: milestone 18.02
2018-03-09 08:50:07 Ryan Beisner charm-swift-proxy: milestone 18.02 18.05
2018-03-09 08:50:20 Ryan Beisner charm-swift-storage: milestone 18.02 18.05
2018-06-12 08:54:56 James Page charm-swift-proxy: milestone 18.05 18.08
2018-06-12 08:55:11 James Page charm-swift-storage: milestone 18.05 18.08
2018-09-12 20:46:34 James Page charm-swift-proxy: milestone 18.08 18.11
2018-09-12 20:46:54 James Page charm-swift-storage: milestone 18.08 18.11
2018-11-20 09:23:24 James Page charm-swift-proxy: milestone 18.11 19.04
2018-11-20 09:23:40 James Page charm-swift-storage: milestone 18.11 19.04
2019-04-17 22:10:37 David Ames charm-swift-proxy: milestone 19.04 19.07
2019-04-17 22:10:56 David Ames charm-swift-storage: milestone 19.04 19.07
2019-08-12 21:33:23 David Ames charm-swift-proxy: milestone 19.07 19.10
2019-08-12 21:33:46 David Ames charm-swift-storage: milestone 19.07 19.10
2019-10-24 23:23:29 David Ames charm-swift-proxy: milestone 19.10 20.01
2019-10-24 23:23:49 David Ames charm-swift-storage: milestone 19.10 20.01
2020-03-02 15:37:56 James Page charm-swift-proxy: milestone 20.01 20.05
2020-03-02 15:38:11 James Page charm-swift-storage: milestone 20.01 20.05
2020-05-21 20:18:49 David Ames charm-swift-storage: milestone 20.05 20.08
2020-05-21 20:43:53 David Ames charm-swift-proxy: milestone 20.05 20.08
2020-08-03 14:03:50 James Page charm-swift-proxy: milestone 20.08
2020-08-03 14:07:52 James Page charm-swift-storage: milestone 20.08