Comment 9 for bug 1996090

Revision history for this message
Sergio Rabellino (rabser) wrote :

Tested just now on my MAAS 3.2.6-12016-g.19812b4da running on a Ubuntu 18.04.6: same error

root@playground:~# snap refresh --channel=3.3 maas
2023-02-10T08:22:13Z INFO Waiting for "snap.maas.supervisor.service" to stop.
error: cannot perform the following tasks:
- Run post-refresh hook of "maas" snap if present (run hook "post-refresh":
-----
Traceback (most recent call last):
  File "/snap/maas/25850/bin/maas", line 5, in <module>
    from maascli import main
  File "/snap/maas/25850/lib/python3.10/site-packages/maascli/__init__.py", line 10, in <module>
    from maascli.parser import get_deepest_subparser, prepare_parser
  File "/snap/maas/25850/lib/python3.10/site-packages/maascli/parser.py", line 11, in <module>
    from maascli import api
  File "/snap/maas/25850/lib/python3.10/site-packages/maascli/api.py", line 27, in <module>
    from maascli import utils
  File "/snap/maas/25850/lib/python3.10/site-packages/maascli/utils.py", line 15, in <module>
    from OpenSSL import crypto
  File "/snap/maas/25850/usr/lib/python3/dist-packages/OpenSSL/__init__.py", line 8, in <module>
    from OpenSSL import crypto, SSL
... omissis as it's the same error of the preceding comment.