[Bug 1781468] Re: Upgrade to Queens results in AttributeError: module 'gnocchi.rest' has no attribute 'VersionsController'

2018-07-18 Thread Ryan Beisner
Backport completed to the stable gnocchi charm: https://review.openstack.org/#/q/topic:bug/1781468+(status:open+OR+status:merged) ** Changed in: charm-gnocchi Milestone: None => 18.08 ** Changed in: charm-gnocchi Status: Fix Committed => Fix Released -- You received this bug

[Bug 1781468] Re: Upgrade to Queens results in AttributeError: module 'gnocchi.rest' has no attribute 'VersionsController'

2018-07-16 Thread OpenStack Infra
Reviewed: https://review.openstack.org/582752 Committed: https://git.openstack.org/cgit/openstack/charm-gnocchi/commit/?id=60678f23b107d346f2de5acdded2ea48c624cd94 Submitter: Zuul Branch:master commit 60678f23b107d346f2de5acdded2ea48c624cd94 Author: James Page Date: Sun Jul 15 11:27:55

[Bug 1781468] Re: Upgrade to Queens results in AttributeError: module 'gnocchi.rest' has no attribute 'VersionsController'

2018-07-15 Thread James Page
https://review.openstack.org/582752 ** Changed in: charm-gnocchi Status: Triaged => In Progress ** Changed in: charm-gnocchi Assignee: (unassigned) => James Page (james-page) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1781468] Re: Upgrade to Queens results in AttributeError: module 'gnocchi.rest' has no attribute 'VersionsController'

2018-07-13 Thread James Page
We do use: dpkg_opts = [ '--option', 'Dpkg::Options::=--force-confnew', '--option', 'Dpkg::Options::=--force-confdef', ] but apparently that's not enough here. -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1781468] Re: Upgrade to Queens results in AttributeError: module 'gnocchi.rest' has no attribute 'VersionsController'

2018-07-13 Thread James Page
@pike postinst writes api-paste.ini pkgos_write_new_conf gnocchi api-paste.ini @queens api-paste.ini and policy.json come directly from the package. pkgos_write_new_conf makes no attempt to manage this file as a dpkg configuration file, so the 'user generated' version is preserved

[Bug 1781468] Re: Upgrade to Queens results in AttributeError: module 'gnocchi.rest' has no attribute 'VersionsController'

2018-07-13 Thread James Page
This is due to some sort of packaging problem - the api-paste.ini from the older gnocchi version is preserved during the upgrade process, and the wgsi entry points change. As a workaround you can switch in the api-paste.ini.dpkg-dist in /etc/gnocchi. ** Also affects: gnocchi (Ubuntu)