[Bug 1306241] Re: missing breaks/replaces on trusty swift packages
James Page
james.page at ubuntu.com
Wed Jan 4 14:57:57 UTC 2017
** Changed in: swift-storage (Juju Charms Collection)
Status: Incomplete => Fix Released
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to swift in Ubuntu.
https://bugs.launchpad.net/bugs/1306241
Title:
missing breaks/replaces on trusty swift packages
Status in swift package in Ubuntu:
Fix Released
Status in swift source package in Trusty:
Fix Released
Status in swift-storage package in Juju Charms Collection:
Fix Released
Bug description:
Icehouse charm deployment using swift-proxy and 3 swift-storage
replicas followed by:
juju set swift-storage-z3 openstack-origin=cloud:precise-icehouse
gets the following tracback:
30990 INFO config-changed Errors were encountered while processing:^M
30991 INFO config-changed /var/cache/apt/archives/swift-container_1.13.1~rc1-0ubuntu2~cloud0_all.deb^M
30992 INFO config-changed /var/cache/apt/archives/swift-account_1.13.1~rc1-0ubuntu2~cloud0_all.deb^M
30993 INFO config-changed E: Sub-process /usr/bin/dpkg returned an error code (1)^M
30994 INFO config-changed Traceback (most recent call last):^M
30995 INFO config-changed File "/var/lib/juju/agents/unit-swift-storage-z1-0/charm/hooks/config-changed", line 91, in <module>^M
30996 INFO config-changed main()^M
30997 INFO config-changed File "/var/lib/juju/agents/unit-swift-storage-z1-0/charm/hooks/config-changed", line 85, in main^M
30998 INFO config-changed hooks.execute(sys.argv)^M
30999 INFO config-changed File "/var/lib/juju/agents/unit-swift-storage-z1-0/charm/hooks/charmhelpers/core/hookenv.py", line 381, in execute^M
31000 INFO config-changed self._hooks[hook_name]()^M
31001 INFO config-changed File "/var/lib/juju/agents/unit-swift-storage-z1-0/charm/hooks/charmhelpers/core/host.py", line 217, in wrapped_f^M
31002 INFO config-changed f(*args)^M
31003 INFO config-changed File "/var/lib/juju/agents/unit-swift-storage-z1-0/charm/hooks/config-changed", line 53, in config_changed^M
31004 INFO config-changed do_openstack_upgrade(configs=CONFIGS)^M
31005 INFO config-changed File "/var/lib/juju/agents/unit-swift-storage-z1-0/charm/hooks/swift_storage_utils.py", line 131, in do_openstack_upgrade^M
31006 INFO config-changed apt_upgrade(options=dpkg_opts, fatal=True, dist=True)^M
31007 INFO config-changed File "/var/lib/juju/agents/unit-swift-storage-z1-0/charm/hooks/charmhelpers/fetch/__init__.py", line 118, in apt_upgrade^M
31008 INFO config-changed subprocess.check_call(cmd, env=env)^M
31009 INFO config-changed File "/usr/lib/python2.7/subprocess.py", line 511, in check_call^M
31010 INFO config-changed raise CalledProcessError(retcode, cmd)^M
31011 INFO config-changed subprocess.CalledProcessError: Command '['apt-get', '--assume-yes', '--option', 'Dpkg::Options::=--force-confnew', '--option', 'Dpkg::Options::=--force-confdef', 'dist-upgrade']' returned non-zero exit status 100^M
31012 ERROR juju.worker.uniter uniter.go:475 hook failed: exit status 1^M
Running dist-upgrade on the instance shows the down-level dependency:
$ sudo apt-get --assume-yes --option Dpkg::Options::=--force-confnew --option Dpkg::Options::=--force-confdef dist-upgrade
sudo: unable to resolve host juju-precise-machine-18
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
swift-account : Depends: python-swift (= 1.10.0-0ubuntu1~cloud0) but 1.13.1~rc1-0ubuntu2~cloud0 is installed
swift-container : Depends: python-swift (= 1.10.0-0ubuntu1~cloud0) but 1.13.1~rc1-0ubuntu2~cloud0 is installed
E: Unmet dependencies. Try using -f.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/swift/+bug/1306241/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list