[Bug 1935902] [NEW] Wallaby - placement-status upgrade check failure
Jayachander Surbiryala
1935902 at bugs.launchpad.net
Tue Jul 13 06:21:54 UTC 2021
Public bug reported:
Placement status upgrade check throws the following error.
$ placement-status upgrade check
Error:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/oslo_upgradecheck/upgradecheck.py", line 196, in run
return conf.command.action_fn()
File "/usr/lib/python3/dist-packages/oslo_upgradecheck/upgradecheck.py", line 104, in check
result = func_name(self, **kwargs)
File "/usr/lib/python3/dist-packages/oslo_upgradecheck/common_checks.py", line 41, in check_policy_json
policy_path = conf.find_file(conf.oslo_policy.policy_file)
File "/usr/lib/python3/dist-packages/oslo_config/cfg.py", line 2543, in find_file
raise NotInitializedError()
oslo_config.cfg.NotInitializedError: call expression on parser has not been invoked
Problem is fixed in placement 5.0.1, where as Ubuntu 20.4.2 only have packages for 5.0.0
$ apt-cache policy placement-api
placement-api:
Installed: 1:5.0.0-0ubuntu1~cloud0
Candidate: 1:5.0.0-0ubuntu1~cloud0
Version table:
*** 1:5.0.0-0ubuntu1~cloud0 500
500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/wallaby/main amd64 Packages
500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/wallaby/main i386 Packages
100 /var/lib/dpkg/status
3.0.0-0ubuntu0.20.04.1 500
500 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages
3.0.0~b3~git2020041014.0f90d197-0ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu focal/main i386 Packages
As per the discussion on mailing list, i got the following information:
it look like canonical has not relased it yet
http://ubuntu-cloud.archive.canonical.com/ubuntu/dists/focal-updates/wallaby/main/binary-amd64/Packages
Package: placement-api
Source: placement
Priority: optional
Section: net
Installed-Size: 19
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Architecture: all
Version: 1:5.0.0-0ubuntu1~cloud0
Depends: apache2 | httpd, libapache2-mod-wsgi-py3, python3-placement (= 1:5.0.0-0ubuntu1~cloud0)
Supported: 48m
Filename: pool/main/p/placement/placement-api_5.0.0-0ubuntu1~cloud0_all.deb
Size: 5016
SHA256: 03461d1a32b63cb637b24235d711084cdd16d0c14fc8ccb17aa81c41f06f7361
SHA1: 24f5487ce3b619a9f6c11530307ee8b915a7ae88
MD5sum: 9defb77d0834c591b7b36711b40e0dd7
Description: OpenStack Placement - API
Description-md5: fe052d958adcf7177445c0e5013c5332
Original-Maintainer: Openstack Maintainers <openstack at lists.launchpad.net>
its also not in proposed
http://ubuntu-cloud.archive.canonical.com/ubuntu/dists/focal-proposed/wallaby/main/binary-amd64/Packages
it is in the xena archive
Package: placement-api
Source: placement
Priority: optional
Section: net
Installed-Size: 19
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Architecture: all
Version: 1:5.0.1+git2021061405.7e0f288d-0ubuntu1~cloud0
Depends: apache2 | httpd, libapache2-mod-wsgi-py3, python3-placement (= 1:5.0.1+git2021061405.7e0f288d-0ubuntu1~cloud0)
Supported: 36m
Filename: pool/main/p/placement/placement-api_5.0.1+git2021061405.7e0f288d-0ubuntu1~cloud0_all.deb
Size: 5080
SHA256: cf99e67b8984124173f2c855f1041bd73fb89cfc3d5d9546d86161412a6d6d34
SHA1: 2949bbf19f01638ca6e6e0c61b622922eb865fc5
MD5sum: 4a047409bdf0b15aec6c513f1f9d8d8e
Description: OpenStack Placement - API
Description-md5: fe052d958adcf7177445c0e5013c5332
Original-Maintainer: Openstack Maintainers <openstack at lists.launchpad.net>
http://ubuntu-cloud.archive.canonical.com/ubuntu/dists/focal-proposed/xena/main/binary-amd64/Packages
Solution:
The fix has been merged to master [1], but not ported back to stable/wallaby ubuntu packages.
[1] https://review.opendev.org/q/topic:story/2008831
** Affects: placement (Ubuntu)
Importance: Undecided
Status: New
** Tags: not placement working
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to placement in Ubuntu.
https://bugs.launchpad.net/bugs/1935902
Title:
Wallaby - placement-status upgrade check failure
Status in placement package in Ubuntu:
New
Bug description:
Placement status upgrade check throws the following error.
$ placement-status upgrade check
Error:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/oslo_upgradecheck/upgradecheck.py", line 196, in run
return conf.command.action_fn()
File "/usr/lib/python3/dist-packages/oslo_upgradecheck/upgradecheck.py", line 104, in check
result = func_name(self, **kwargs)
File "/usr/lib/python3/dist-packages/oslo_upgradecheck/common_checks.py", line 41, in check_policy_json
policy_path = conf.find_file(conf.oslo_policy.policy_file)
File "/usr/lib/python3/dist-packages/oslo_config/cfg.py", line 2543, in find_file
raise NotInitializedError()
oslo_config.cfg.NotInitializedError: call expression on parser has not been invoked
Problem is fixed in placement 5.0.1, where as Ubuntu 20.4.2 only have packages for 5.0.0
$ apt-cache policy placement-api
placement-api:
Installed: 1:5.0.0-0ubuntu1~cloud0
Candidate: 1:5.0.0-0ubuntu1~cloud0
Version table:
*** 1:5.0.0-0ubuntu1~cloud0 500
500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/wallaby/main amd64 Packages
500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/wallaby/main i386 Packages
100 /var/lib/dpkg/status
3.0.0-0ubuntu0.20.04.1 500
500 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages
3.0.0~b3~git2020041014.0f90d197-0ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu focal/main i386 Packages
As per the discussion on mailing list, i got the following information:
it look like canonical has not relased it yet
http://ubuntu-cloud.archive.canonical.com/ubuntu/dists/focal-updates/wallaby/main/binary-amd64/Packages
Package: placement-api
Source: placement
Priority: optional
Section: net
Installed-Size: 19
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Architecture: all
Version: 1:5.0.0-0ubuntu1~cloud0
Depends: apache2 | httpd, libapache2-mod-wsgi-py3, python3-placement (= 1:5.0.0-0ubuntu1~cloud0)
Supported: 48m
Filename: pool/main/p/placement/placement-api_5.0.0-0ubuntu1~cloud0_all.deb
Size: 5016
SHA256: 03461d1a32b63cb637b24235d711084cdd16d0c14fc8ccb17aa81c41f06f7361
SHA1: 24f5487ce3b619a9f6c11530307ee8b915a7ae88
MD5sum: 9defb77d0834c591b7b36711b40e0dd7
Description: OpenStack Placement - API
Description-md5: fe052d958adcf7177445c0e5013c5332
Original-Maintainer: Openstack Maintainers <openstack at lists.launchpad.net>
its also not in proposed
http://ubuntu-cloud.archive.canonical.com/ubuntu/dists/focal-proposed/wallaby/main/binary-amd64/Packages
it is in the xena archive
Package: placement-api
Source: placement
Priority: optional
Section: net
Installed-Size: 19
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Architecture: all
Version: 1:5.0.1+git2021061405.7e0f288d-0ubuntu1~cloud0
Depends: apache2 | httpd, libapache2-mod-wsgi-py3, python3-placement (= 1:5.0.1+git2021061405.7e0f288d-0ubuntu1~cloud0)
Supported: 36m
Filename: pool/main/p/placement/placement-api_5.0.1+git2021061405.7e0f288d-0ubuntu1~cloud0_all.deb
Size: 5080
SHA256: cf99e67b8984124173f2c855f1041bd73fb89cfc3d5d9546d86161412a6d6d34
SHA1: 2949bbf19f01638ca6e6e0c61b622922eb865fc5
MD5sum: 4a047409bdf0b15aec6c513f1f9d8d8e
Description: OpenStack Placement - API
Description-md5: fe052d958adcf7177445c0e5013c5332
Original-Maintainer: Openstack Maintainers <openstack at lists.launchpad.net>
http://ubuntu-cloud.archive.canonical.com/ubuntu/dists/focal-proposed/xena/main/binary-amd64/Packages
Solution:
The fix has been merged to master [1], but not ported back to stable/wallaby ubuntu packages.
[1] https://review.opendev.org/q/topic:story/2008831
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/placement/+bug/1935902/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list