magnum-ui does not display cluster or template

Bug #1979663 reported by Narinder Gupta
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Magnum Charm
Invalid
Undecided
Felipe Reyes
Ubuntu Cloud Archive
Invalid
Undecided
Unassigned
Ussuri
Fix Committed
High
Unassigned
Victoria
Fix Released
High
Unassigned
Wallaby
Fix Released
High
Unassigned
python-magnumclient (Ubuntu)
Invalid
Undecided
Unassigned
Focal
Fix Released
High
Felipe Reyes

Bug Description

[Impact]

When Horizon is deployed with the magnum-ui extension (using focal-proposed due to bug 1814890 ) and trying to list the clusters and cluster templates the asynchronous request will fail, when checking the logs the following stacktrace is printed:

[Fri Jun 24 15:36:10.064957 2022] [wsgi:error] [pid 37882:tid 140157047166720] [remote 192.168.11.37:48910] WARNING:magnumclient.common.httpclient:Request returned failure status.
[Fri Jun 24 15:36:10.066324 2022] [wsgi:error] [pid 37882:tid 140157047166720] [remote 192.168.11.37:48910] error invoking apiclient
[Fri Jun 24 15:36:10.066347 2022] [wsgi:error] [pid 37882:tid 140157047166720] [remote 192.168.11.37:48910] Traceback (most recent call last):
[Fri Jun 24 15:36:10.066353 2022] [wsgi:error] [pid 37882:tid 140157047166720] [remote 192.168.11.37:48910] File "/usr/lib/python3/dist-packages/openstack_dashboard/api/rest/utils.py", line 128, in _wrap
ped
[Fri Jun 24 15:36:10.066357 2022] [wsgi:error] [pid 37882:tid 140157047166720] [remote 192.168.11.37:48910] data = function(self, request, *args, **kw)
[Fri Jun 24 15:36:10.066362 2022] [wsgi:error] [pid 37882:tid 140157047166720] [remote 192.168.11.37:48910] File "/usr/lib/python3/dist-packages/magnum_ui/api/rest/magnum.py", line 71, in get
[Fri Jun 24 15:36:10.066366 2022] [wsgi:error] [pid 37882:tid 140157047166720] [remote 192.168.11.37:48910] result = magnum.cluster_template_list(request)
[Fri Jun 24 15:36:10.066370 2022] [wsgi:error] [pid 37882:tid 140157047166720] [remote 192.168.11.37:48910] File "/usr/lib/python3/dist-packages/magnum_ui/api/magnum.py", line 155, in cluster_template_li
st
[Fri Jun 24 15:36:10.066375 2022] [wsgi:error] [pid 37882:tid 140157047166720] [remote 192.168.11.37:48910] return magnumclient(request).cluster_templates.list(
[Fri Jun 24 15:36:10.066379 2022] [wsgi:error] [pid 37882:tid 140157047166720] [remote 192.168.11.37:48910] File "/usr/lib/python3/dist-packages/magnumclient/v1/basemodels.py", line 92, in list
[Fri Jun 24 15:36:10.066382 2022] [wsgi:error] [pid 37882:tid 140157047166720] [remote 192.168.11.37:48910] return self._list(self._path(path), self.__class__.api_name)
[Fri Jun 24 15:36:10.066386 2022] [wsgi:error] [pid 37882:tid 140157047166720] [remote 192.168.11.37:48910] File "/usr/lib/python3/dist-packages/magnumclient/common/base.py", line 121, in _list
[Fri Jun 24 15:36:10.066390 2022] [wsgi:error] [pid 37882:tid 140157047166720] [remote 192.168.11.37:48910] resp, body = self.api.json_request('GET', url)
[Fri Jun 24 15:36:10.066406 2022] [wsgi:error] [pid 37882:tid 140157047166720] [remote 192.168.11.37:48910] File "/usr/lib/python3/dist-packages/magnumclient/common/httpclient.py", line 233, in json_requ
est
[Fri Jun 24 15:36:10.066410 2022] [wsgi:error] [pid 37882:tid 140157047166720] [remote 192.168.11.37:48910] resp, body_iter = self._http_request(url, method, **kwargs)
[Fri Jun 24 15:36:10.066414 2022] [wsgi:error] [pid 37882:tid 140157047166720] [remote 192.168.11.37:48910] File "/usr/lib/python3/dist-packages/magnumclient/common/httpclient.py", line 213, in _http_req
uest
[Fri Jun 24 15:36:10.066418 2022] [wsgi:error] [pid 37882:tid 140157047166720] [remote 192.168.11.37:48910] error_json = _extract_error_json(body_str, resp)
[Fri Jun 24 15:36:10.066422 2022] [wsgi:error] [pid 37882:tid 140157047166720] [remote 192.168.11.37:48910] File "/usr/lib/python3/dist-packages/magnumclient/common/httpclient.py", line 66, in _extract_e
rror_json
[Fri Jun 24 15:36:10.066426 2022] [wsgi:error] [pid 37882:tid 140157047166720] [remote 192.168.11.37:48910] body_json = resp.json()
[Fri Jun 24 15:36:10.066430 2022] [wsgi:error] [pid 37882:tid 140157047166720] [remote 192.168.11.37:48910] AttributeError: 'HTTPResponse' object has no attribute 'json'
[Fri Jun 24 15:36:10.068538 2022] [wsgi:error] [pid 37882:tid 140157047166720] [remote 192.168.11.37:48910] Internal Server Error: /horizon/api/container_infra/cluster_templates/

[Test Plan]

1) deploy a focal-ussuri cloud that contains magnum and magnum-dashboard, this is a juju bundle that can be used as a reference https://paste.ubuntu.com/p/PYPSk2WfMW/

2) Login to Horizon.

3) Navigate to "Container Infra" > "Clusters" and "Cluster Templates".

Expected result: an empty table appears with no errors.

Actual result: a notification appears indicating that the objects couldn't be listed as seen in the attached screenshot.

[Where problems could occur]

The patch associated with this bug fix is in the extraction of error messages coming as a response to a issued request, so problems would appear as in not being able to read those error messages.

[Other Info]

This change is already available in Impish, python-magnumclient 3.5.0

$ git tag --contains f7551a6bac103070ff456098fe2631409620d492
3.5.0
3.6.0
$ rmadison python-magnumclient | grep impish
 python-magnumclient | 3.5.0-0ubuntu2 | impish | source

[Discussion]
SRU team, please reject the older upload of 2.11.0-0ubuntu6 in favor of the most recent upload of that version. The most recent upload includes 2.11.0-0ubuntu5 in it's changes file as the goal is to test these together in proposed. Thank you.

[Original description]

Magnum with focal/Ussuri it seems magnum UI does not display any cluster or cluster in the magnum planner.
When i click on template or cluster not seeing any information regarding cluster and template.

Revision history for this message
Narinder Gupta (narindergupta) wrote :

attaching screen shot

Revision history for this message
Narinder Gupta (narindergupta) wrote :
Revision history for this message
Narinder Gupta (narindergupta) wrote :

MArking as field high. Can see a request coming to API.

2022-06-23 15:11:51.190 246696 INFO werkzeug [req-a61148ac-dcc0-4cf9-ae24-bf0ab6f2569f - - - - -] 172.31.248.59 - - [23/Jun/2022 15:11:51] "GET / HTTP/1.1" 200 -
2022-06-23 15:16:00.674 247672 INFO werkzeug [req-6fb86928-003c-47e2-afcb-6075b6eb6e5c - - - - -] 172.31.248.59 - - [23/Jun/2022 15:16:00] "GET /v1/clusters/detail HTTP/1.1" 200 -
2022-06-23 15:16:31.868 247725 INFO werkzeug [req-ff464c30-166b-4707-8be8-3f0b073a793d - - - - -] 172.31.248.59 - - [23/Jun/2022 15:16:31] "GET /v1/clusters/detail HTTP/1.1" 200 -
2022-06-23 15:21:42.311 249443 INFO werkzeug [req-8fffc44b-4c8f-4e57-aac6-0968f6e28d23 - - - - -] 172.31.248.59 - - [23/Jun/2022 15:21:42] "GET / HTTP/1.1" 200 -
2022-06-23 15:23:00.413 249856 INFO werkzeug [req-2111454b-3a6e-4d74-bc17-a95aa62f1ba1 - - - - -] 172.31.248.59 - - [23/Jun/2022 15:23:00] "GET /v1/stats HTTP/1.1" 200 -
2022-06-23 15:25:45.403 250823 INFO werkzeug [req-26d3b591-ad63-4514-80ac-454f08acc4c4 - - - - -] 172.31.248.59 - - [23/Jun/2022 15:25:45] "GET /v1/clusters/detail HTTP/1.1" 200 -
2022-06-23 15:28:31.596 251265 INFO werkzeug [req-79c15ed9-f95a-4036-b94d-000efe9fed24 - - - - -] 172.31.248.59 - - [23/Jun/2022 15:28:31] "GET /v1/clustertemplates/detail HTTP/1.1" 200 -
2022-06-23 15:41:42.253 254731 INFO werkzeug [req-637ef7f8-22c2-4762-b1ac-40c3029305ed - - - - -] 172.31.248.59 - - [23/Jun/2022 15:41:42] "GET / HTTP/1.1" 200 -
2022-06-23 15:46:51.336 256070 INFO werkzeug [req-030a91c1-56e8-4aea-bd87-f974c7ecb8a2 - - - - -] 172.31.248.59 - - [23/Jun/2022 15:46:51] "GET / HTTP/1.1" 200 -
2022-06-23 15:55:32.826 258422 INFO werkzeug [req-f651e3de-e217-4f49-a4eb-1673afef85a4 - - - - -] 172.31.248.59 - - [23/Jun/2022 15:55:32] "GET /v1/clusters/detail HTTP/1.1" 200 -

but no putput

Changed in charm-magnum:
assignee: nobody → Felipe Reyes (freyes)
Revision history for this message
Felipe Reyes (freyes) wrote :

At the moment a deployment using focal-updates will be affected by this other bug https://bugs.launchpad.net/python-magnumclient/+bug/1814890 , a package in the focal-proposed contains the fix for it, on top of it there is another patch needed[0], a package with both fixes can be found at this ppa https://launchpad.net/~freyes/+archive/ubuntu/focal-ussuri

[0] https://opendev.org/openstack/python-magnumclient/commit/f7551a6bac103070ff456098fe2631409620d492

Changed in python-magnumclient (Ubuntu):
status: New → Invalid
Revision history for this message
Felipe Reyes (freyes) wrote :
Felipe Reyes (freyes)
description: updated
Changed in charm-magnum:
status: New → Invalid
Changed in python-magnumclient (Ubuntu Focal):
assignee: nobody → Felipe Reyes (freyes)
Felipe Reyes (freyes)
Changed in cloud-archive:
status: New → Invalid
Changed in python-magnumclient (Ubuntu Focal):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Corey Bryant (corey.bryant) wrote : Please test proposed package

Hello Narinder, or anyone else affected,

Accepted python-magnumclient into wallaby-proposed. The package will build now and be available in the Ubuntu Cloud Archive in a few hours, and then in the -proposed repository.

Please help us by testing this new package. To enable the -proposed repository:

  sudo add-apt-repository cloud-archive:wallaby-proposed
  sudo apt-get update

Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-wallaby-needed to verification-wallaby-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-wallaby-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

description: updated
tags: added: verification-wallaby-needed
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Hello Narinder, or anyone else affected,

Accepted python-magnumclient into victoria-proposed. The package will build now and be available in the Ubuntu Cloud Archive in a few hours, and then in the -proposed repository.

Please help us by testing this new package. To enable the -proposed repository:

  sudo add-apt-repository cloud-archive:victoria-proposed
  sudo apt-get update

Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-victoria-needed to verification-victoria-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-victoria-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-victoria-needed
Revision history for this message
Robie Basak (racb) wrote :

Hello Narinder, or anyone else affected,

Accepted python-magnumclient into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python-magnumclient/2.11.0-0ubuntu6 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in python-magnumclient (Ubuntu Focal):
status: Triaged → Fix Committed
tags: added: verification-needed verification-needed-focal
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Hello Narinder, or anyone else affected,

Accepted python-magnumclient into ussuri-proposed. The package will build now and be available in the Ubuntu Cloud Archive in a few hours, and then in the -proposed repository.

Please help us by testing this new package. To enable the -proposed repository:

  sudo add-apt-repository cloud-archive:ussuri-proposed
  sudo apt-get update

Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-ussuri-needed to verification-ussuri-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-ussuri-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-ussuri-needed
Revision history for this message
Brian Murray (brian-murray) wrote : [python-magnumclient/focal] verification still needed

The fix for this bug has been awaiting testing feedback in the -proposed repository for focal for more than 90 days. Please test this fix and update the bug appropriately with the results. In the event that the fix for this bug is still not verified 15 days from now, the package will be removed from the -proposed repository.

tags: added: removal-candidate
Revision history for this message
Felipe Reyes (freyes) wrote :

I went through the verification process for this bug, and it does successfully solves the issue.

Here it's the terminal log and screenshots that serve as evidence.

$ juju export-bundle | pastebinit
https://paste.ubuntu.com/p/tF3XF2Sp9Y/
$ juju ssh openstack-dashboard/0
Welcome to Ubuntu 20.04.5 LTS (GNU/Linux 5.4.0-132-generic x86_64)
...
ubuntu@juju-0b0ca0-zaza-25be274c0f2c-18:~$ apt policy python3-magnumclient
python3-magnumclient:
  Installed: 2.11.0-0ubuntu4
  Candidate: 2.11.0-0ubuntu4
  Version table:
 *** 2.11.0-0ubuntu4 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu focal/main amd64 Packages
        100 /var/lib/dpkg/status
ubuntu@juju-0b0ca0-zaza-25be274c0f2c-18:~$ sudo vim /etc/apt/sources.list # enabling -proposed
ubuntu@juju-0b0ca0-zaza-25be274c0f2c-18:~$ sudo apt-get update -qqq
ubuntu@juju-0b0ca0-zaza-25be274c0f2c-18:~$ apt policy python3-magnumclient
python3-magnumclient:
  Installed: 2.11.0-0ubuntu4
  Candidate: 2.11.0-0ubuntu6
  Version table:
     2.11.0-0ubuntu6 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages
 *** 2.11.0-0ubuntu4 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu focal/main amd64 Packages
        100 /var/lib/dpkg/status
ubuntu@juju-0b0ca0-zaza-25be274c0f2c-18:~$ sudo apt install --only-upgrade python3-magnumclient
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  python-magnumclient-doc
The following packages will be upgraded:
  python3-magnumclient
1 upgraded, 0 newly installed, 0 to remove and 37 not upgraded.
Need to get 68.0 kB of archives.
After this operation, 1024 B disk space will be freed.
Get:1 http://nova.clouds.archive.ubuntu.com/ubuntu focal-proposed/main amd64 python3-magnumclient all 2.11.0-0ubuntu6 [68.0 kB]
Fetched 68.0 kB in 0s (870 kB/s)
(Reading database ... 90151 files and directories currently installed.)
Preparing to unpack .../python3-magnumclient_2.11.0-0ubuntu6_all.deb ...
Unpacking python3-magnumclient (2.11.0-0ubuntu6) over (2.11.0-0ubuntu4) ...
Setting up python3-magnumclient (2.11.0-0ubuntu6) ...
/usr/lib/python3/dist-packages/magnumclient/tests/utils.py:98: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if key is 'location':
ubuntu@juju-0b0ca0-zaza-25be274c0f2c-18:~$ sudo systemctl restart apache2
ubuntu@juju-0b0ca0-zaza-25be274c0f2c-18:~$ apt policy python3-magnumclient
python3-magnumclient:
  Installed: 2.11.0-0ubuntu6
  Candidate: 2.11.0-0ubuntu6
  Version table:
 *** 2.11.0-0ubuntu6 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     2.11.0-0ubuntu4 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu focal/main amd64 Packages

Revision history for this message
Felipe Reyes (freyes) wrote :
tags: added: verification-done-focal
removed: verification-needed-focal
Revision history for this message
Felipe Reyes (freyes) wrote :

the verification of UCA Wallaby was successful.

Evidence of the validation:

$ juju export-bundle | pastebinit
https://paste.ubuntu.com/p/BqYYWJmQVT/
$ juju status | pastebinit
https://paste.ubuntu.com/p/4Qztc9nH3q/

ubuntu@juju-44bee2-zaza-9159dfddebec-18:~$ apt policy python3-magnumclient
python3-magnumclient:
  Installed: 3.4.0-0ubuntu1~cloud0
  Candidate: 3.4.0-0ubuntu1~cloud0
  Version table:
 *** 3.4.0-0ubuntu1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/wallaby/main amd64 Packages
        100 /var/lib/dpkg/status
     2.11.0-0ubuntu4 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu focal/main amd64 Packages
ubuntu@juju-44bee2-zaza-9159dfddebec-18:~$ sudo vim /etc/apt/sources.list.d/cloud-archive.list # add -proposed
ubuntu@juju-44bee2-zaza-9159dfddebec-18:~$ sudo apt-get update -qqq
ubuntu@juju-44bee2-zaza-9159dfddebec-18:~$ apt policy python3-magnumclient
python3-magnumclient:
  Installed: 3.4.0-0ubuntu1~cloud0
  Candidate: 3.4.0-0ubuntu1~cloud1
  Version table:
     3.4.0-0ubuntu1~cloud1 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-proposed/wallaby/main amd64 Packages
 *** 3.4.0-0ubuntu1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/wallaby/main amd64 Packages
        100 /var/lib/dpkg/status
     2.11.0-0ubuntu4 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu focal/main amd64 Packages
ubuntu@juju-44bee2-zaza-9159dfddebec-18:~$ sudo apt install --only-upgrade python3-magnumclient
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  python-magnumclient-doc
The following packages will be upgraded:
  python3-magnumclient
1 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
Need to get 73.8 kB of archives.
After this operation, 2048 B disk space will be freed.
Get:1 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-proposed/wallaby/main amd64 python3-magnumclient all 3.4.0-0ubuntu1~cloud1 [73.8 kB]
Fetched 73.8 kB in 0s (1416 kB/s)
(Reading database ... 90370 files and directories currently installed.)
Preparing to unpack .../python3-magnumclient_3.4.0-0ubuntu1~cloud1_all.deb ...
Unpacking python3-magnumclient (3.4.0-0ubuntu1~cloud1) over (3.4.0-0ubuntu1~cloud0) ...
Setting up python3-magnumclient (3.4.0-0ubuntu1~cloud1) ...
ubuntu@juju-44bee2-zaza-9159dfddebec-18:~$ sudo systemctl restart apache2
ubuntu@juju-44bee2-zaza-9159dfddebec-18:~$ logout
Connection to 10.5.2.37 closed.

Revision history for this message
Felipe Reyes (freyes) wrote :
tags: added: verification-wallaby-done
removed: verification-wallaby-needed
Revision history for this message
Felipe Reyes (freyes) wrote :
Download full text (3.3 KiB)

victoria validation was successfully.

Evidence:

ubuntu@juju-cf646d-zaza-9c409e85ef99-18:~$ apt policy python3-magnumclient
python3-magnumclient:
  Installed: 3.2.1-0ubuntu1~cloud0
  Candidate: 3.2.1-0ubuntu1~cloud0
  Version table:
 *** 3.2.1-0ubuntu1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/victoria/main amd64 Packages
        100 /var/lib/dpkg/status
     2.11.0-0ubuntu4 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu focal/main amd64 Packages
ubuntu@juju-cf646d-zaza-9c409e85ef99-18:~$ sudo vim /etc/apt/sources.list.d/cloud-archive.list # add -proposed
ubuntu@juju-cf646d-zaza-9c409e85ef99-18:~$ sudo apt-get update -qqq
ubuntu@juju-cf646d-zaza-9c409e85ef99-18:~$ apt policy python3-magnumclient
python3-magnumclient:
  Installed: 3.2.1-0ubuntu1~cloud0
  Candidate: 3.2.1-0ubuntu1~cloud1
  Version table:
     3.2.1-0ubuntu1~cloud1 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-proposed/victoria/main amd64 Packages
 *** 3.2.1-0ubuntu1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/victoria/main amd64 Packages
        100 /var/lib/dpkg/status
     2.11.0-0ubuntu4 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu focal/main amd64 Packages
ubuntu@juju-cf646d-zaza-9c409e85ef99-18:~$ sudo apt install --only-upgrade python3-magnumclient
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  python-magnumclient-doc
The following packages will be upgraded:
  python3-magnumclient
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 73.7 kB of archives.
After this operation, 2048 B disk space will be freed.
Get:1 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-proposed/victoria/main amd64 python3-magnumclient all 3.2.1-0ubuntu1~cloud1 [73.7 kB]
Fetched 73.7 kB in 0s (522 kB/s)
(Reading database ... 121359 files and directories currently installed.)
Preparing to unpack .../python3-magnumclient_3.2.1-0ubuntu1~cloud1_all.deb ...
Unpacking python3-magnumclient (3.2.1-0ubuntu1~cloud1) over (3.2.1-0ubuntu1~cloud0) ...
Setting up python3-magnumclient (3.2.1-0ubuntu1~cloud1) ...
ubuntu@juju-cf646d-zaza-9c409e85ef99-18:~$ apt policy python3-magnumclient
python3-magnumclient:
  Installed: 3.2.1-0ubuntu1~cloud1
  Candidate: 3.2.1-0ubuntu1~cloud1
  Version table:
 *** 3.2.1-0ubuntu1~cloud1 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-proposed/victoria/main amd64 Packages
        100 /var/lib/dpkg/status
     3.2.1-0ubuntu1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/victoria/main amd64 Packages
     2.11.0-0ubuntu4 500
        500 http:/...

Read more...

Revision history for this message
Felipe Reyes (freyes) wrote :
tags: added: verification-victoria-done
removed: verification-victoria-needed
Revision history for this message
Felipe Reyes (freyes) wrote :

The bionic-ussuri validation was successful, here I'm attaching evidence of the process.

$ juju ssh openstack-dashboard/1
...
ubuntu@juju-bd8457-zaza-5e9e245b7763-17:~$ apt policy python3-magnumclient
python3-magnumclient:
  Installed: 2.11.0-0ubuntu5~cloud0
  Candidate: 2.11.0-0ubuntu5~cloud0
  Version table:
 *** 2.11.0-0ubuntu5~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/ussuri/main amd64 Packages
        100 /var/lib/dpkg/status
     2.8.0-0ubuntu1 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
ubuntu@juju-bd8457-zaza-5e9e245b7763-17:~$ sudo vim /etc/apt/sources.list.d/cloud-archive.list # add -proposed
ubuntu@juju-bd8457-zaza-5e9e245b7763-17:~$ sudo apt-get update -qqq
ubuntu@juju-bd8457-zaza-5e9e245b7763-17:~$ apt policy python3-magnumclient
python3-magnumclient:
  Installed: 2.11.0-0ubuntu5~cloud0
  Candidate: 2.11.0-0ubuntu6~cloud0
  Version table:
     2.11.0-0ubuntu6~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-proposed/ussuri/main amd64 Packages
 *** 2.11.0-0ubuntu5~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/ussuri/main amd64 Packages
        100 /var/lib/dpkg/status
     2.8.0-0ubuntu1 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
ubuntu@juju-bd8457-zaza-5e9e245b7763-17:~$ sudo apt install --only-upgrade python3-magnumclient
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  python3-xdg
Use 'sudo apt autoremove' to remove it.
Suggested packages:
  python-magnumclient-doc
The following packages will be upgraded:
  python3-magnumclient
1 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
Need to get 69.2 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-proposed/ussuri/main amd64 python3-magnumclient all 2.11.0-0ubuntu6~cloud0 [69.2 kB]
Fetched 69.2 kB in 0s (1659 kB/s)
(Reading database ... 87217 files and directories currently installed.)
Preparing to unpack .../python3-magnumclient_2.11.0-0ubuntu6~cloud0_all.deb ...
Unpacking python3-magnumclient (2.11.0-0ubuntu6~cloud0) over (2.11.0-0ubuntu5~cloud0) ...
Setting up python3-magnumclient (2.11.0-0ubuntu6~cloud0) ...
ubuntu@juju-bd8457-zaza-5e9e245b7763-17:~$ sudo systemctl restart apache2
ubuntu@juju-bd8457-zaza-5e9e245b7763-17:~$

tags: added: verification-done verification-ussuri-done
removed: verification-needed verification-ussuri-needed
Revision history for this message
Corey Bryant (corey.bryant) wrote : Update Released

The verification of the Stable Release Update for python-magnumclient has completed successfully and the package has now been released to -updates. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

This bug was fixed in the package python-magnumclient - 3.4.0-0ubuntu1~cloud1
---------------

 python-magnumclient (3.4.0-0ubuntu1~cloud1) focal-wallaby; urgency=medium
 .
   [ Corey Bryant ]
   * d/gbp.conf: Create stable/wallaby branch.
   * d/p/skip-tests.patch: Dropped. No longer needed as issue has been fixed.
 .
   [ Felipe Reyes ]
   * d/p/Fix-failing-to-parse-json-error-msg.patch: Fix failing to parse json
     error msg (LP: #1979663).

Revision history for this message
Corey Bryant (corey.bryant) wrote :

The verification of the Stable Release Update for python-magnumclient has completed successfully and the package has now been released to -updates. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

This bug was fixed in the package python-magnumclient - 3.2.1-0ubuntu1~cloud1
---------------

 python-magnumclient (3.2.1-0ubuntu1~cloud1) focal-victoria; urgency=medium
 .
   [ Corey Bryant ]
   * d/gbp.conf: Create stable/victoria branch.
   * d/p/skip-tests.patch: Dropped. No longer needed as issue has been fixed.
 .
   [ Felipe Reyes ]
   * d/p/Fix-failing-to-parse-json-error-msg.patch: Fix failing to parse json
     error msg (LP: #1979663).
 .
   [ Chris MacNaughton ]
   * d/control: Update VCS paths for move to lp:~ubuntu-openstack-dev.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-magnumclient - 2.11.0-0ubuntu6

---------------
python-magnumclient (2.11.0-0ubuntu6) focal; urgency=medium

  * d/p/Fix-failing-to-parse-json-error-msg.patch: Fix failing to parse json
    error msg (LP: #1979663).

python-magnumclient (2.11.0-0ubuntu5) focal; urgency=medium

  [ Corey Bryant ]
  * d/gbp.conf: Create stable/ussuri branch.

  [ Chris MacNaughton ]
  * d/control: Update VCS paths for move to lp:~ubuntu-openstack-dev.

  [ Corey Bryant ]
  * d/control, d/rules: Drop py2 support and fix FTBFS (LP: #1891481).
  * d/p/fix-py37-compatibility.patch: Ensure py37 compatibility for
    generators (LP: #1814890).
  * d/p/skip-tests.patch: Dropped. No longer needed now that we have
    d/p/fix-py37-compatibility.patch.

 -- Felipe Reyes <email address hidden> Fri, 24 Jun 2022 11:41:10 -0400

Changed in python-magnumclient (Ubuntu Focal):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.