Public bug reported:

MAAS Upgrade Failed 2.3.4 to 2.3.5.
Also MAAS don't Work.


```
ytooyama@maas228:~$ apt list --upgradable 
Listing... Done
maas/xenial,xenial 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 all [upgradable from: 
2.3.4-6508-g4f77e30-0ubuntu1~16.04.1]
maas-cli/xenial,xenial 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 all [upgradable 
from: 2.3.4-6508-g4f77e30-0ubuntu1~16.04.1]
maas-common/xenial,xenial 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 all [upgradable 
from: 2.3.4-6508-g4f77e30-0ubuntu1~16.04.1]
maas-dhcp/xenial,xenial 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 all [upgradable 
from: 2.3.4-6508-g4f77e30-0ubuntu1~16.04.1]
maas-dns/xenial,xenial 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 all [upgradable 
from: 2.3.4-6508-g4f77e30-0ubuntu1~16.04.1]
maas-proxy/xenial,xenial 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 all [upgradable 
from: 2.3.4-6508-g4f77e30-0ubuntu1~16.04.1]
maas-rack-controller/xenial,xenial 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 all 
[upgradable from: 2.3.4-6508-g4f77e30-0ubuntu1~16.04.1]
maas-region-api/xenial,xenial 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 all 
[upgradable from: 2.3.4-6508-g4f77e30-0ubuntu1~16.04.1]
maas-region-controller/xenial,xenial 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 all 
[upgradable from: 2.3.4-6508-g4f77e30-0ubuntu1~16.04.1]
python3-django-maas/xenial,xenial 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 all 
[upgradable from: 2.3.4-6508-g4f77e30-0ubuntu1~16.04.1]
python3-maas-client/xenial,xenial 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 all 
[upgradable from: 2.3.4-6508-g4f77e30-0ubuntu1~16.04.1]
python3-maas-provisioningserver/xenial,xenial 
2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 all [upgradable from: 
2.3.4-6508-g4f77e30-0ubuntu1~16.04.1]
ytooyama@maas228:~$ sudo apt upgrade 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  maas maas-cli maas-common maas-dhcp maas-dns maas-proxy maas-rack-controller 
maas-region-api maas-region-controller
  python3-django-maas python3-maas-client python3-maas-provisioningserver
12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,090 kB of archives.
After this operation, 13.3 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ppa.launchpad.net/maas/stable/ubuntu xenial/main amd64 maas-dns 
all 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 [35.1 kB]
Get:2 http://ppa.launchpad.net/maas/stable/ubuntu xenial/main amd64 
maas-rack-controller all 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 [43.9 kB]
Get:3 http://ppa.launchpad.net/maas/stable/ubuntu xenial/main amd64 
python3-django-maas all 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 [5,140 kB]
Get:4 http://ppa.launchpad.net/maas/stable/ubuntu xenial/main amd64 
python3-maas-provisioningserver all 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 [308 
kB]
Get:5 http://ppa.launchpad.net/maas/stable/ubuntu xenial/main amd64 
python3-maas-client all 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 [61.4 kB]
Get:6 http://ppa.launchpad.net/maas/stable/ubuntu xenial/main amd64 maas-cli 
all 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 [34.8 kB]          
Get:7 http://ppa.launchpad.net/maas/stable/ubuntu xenial/main amd64 
maas-region-api all 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 [1,281 kB]  
Get:8 http://ppa.launchpad.net/maas/stable/ubuntu xenial/main amd64 maas-common 
all 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 [39.3 kB]       
Get:9 http://ppa.launchpad.net/maas/stable/ubuntu xenial/main amd64 maas all 
2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 [35.2 kB]              
Get:10 http://ppa.launchpad.net/maas/stable/ubuntu xenial/main amd64 
maas-region-controller all 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 [37.6 kB]
Get:11 http://ppa.launchpad.net/maas/stable/ubuntu xenial/main amd64 maas-dhcp 
all 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 [36.7 kB]        
Get:12 http://ppa.launchpad.net/maas/stable/ubuntu xenial/main amd64 maas-proxy 
all 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 [36.4 kB]       
Fetched 7,090 kB in 16s (425 kB/s)                                              
                                                         
Preconfiguring packages ...
(Reading database ... 151541 files and directories currently installed.)
Preparing to unpack .../maas-dns_2.3.5-6511-gf466fdb-0ubuntu1~16.04.1_all.deb 
...
Unpacking maas-dns (2.3.5-6511-gf466fdb-0ubuntu1~16.04.1) over 
(2.3.4-6508-g4f77e30-0ubuntu1~16.04.1) ...
Preparing to unpack 
.../maas-rack-controller_2.3.5-6511-gf466fdb-0ubuntu1~16.04.1_all.deb ...
Unpacking maas-rack-controller (2.3.5-6511-gf466fdb-0ubuntu1~16.04.1) over 
(2.3.4-6508-g4f77e30-0ubuntu1~16.04.1) ...
Preparing to unpack 
.../python3-django-maas_2.3.5-6511-gf466fdb-0ubuntu1~16.04.1_all.deb ...
Unpacking python3-django-maas (2.3.5-6511-gf466fdb-0ubuntu1~16.04.1) over 
(2.3.4-6508-g4f77e30-0ubuntu1~16.04.1) ...
Preparing to unpack 
.../python3-maas-provisioningserver_2.3.5-6511-gf466fdb-0ubuntu1~16.04.1_all.deb
 ...
Unpacking python3-maas-provisioningserver 
(2.3.5-6511-gf466fdb-0ubuntu1~16.04.1) over 
(2.3.4-6508-g4f77e30-0ubuntu1~16.04.1) ...
Preparing to unpack 
.../python3-maas-client_2.3.5-6511-gf466fdb-0ubuntu1~16.04.1_all.deb ...
Unpacking python3-maas-client (2.3.5-6511-gf466fdb-0ubuntu1~16.04.1) over 
(2.3.4-6508-g4f77e30-0ubuntu1~16.04.1) ...
Preparing to unpack .../maas-cli_2.3.5-6511-gf466fdb-0ubuntu1~16.04.1_all.deb 
...
Unpacking maas-cli (2.3.5-6511-gf466fdb-0ubuntu1~16.04.1) over 
(2.3.4-6508-g4f77e30-0ubuntu1~16.04.1) ...
Preparing to unpack 
.../maas-region-api_2.3.5-6511-gf466fdb-0ubuntu1~16.04.1_all.deb ...
Unpacking maas-region-api (2.3.5-6511-gf466fdb-0ubuntu1~16.04.1) over 
(2.3.4-6508-g4f77e30-0ubuntu1~16.04.1) ...
Preparing to unpack 
.../maas-common_2.3.5-6511-gf466fdb-0ubuntu1~16.04.1_all.deb ...
Unpacking maas-common (2.3.5-6511-gf466fdb-0ubuntu1~16.04.1) over 
(2.3.4-6508-g4f77e30-0ubuntu1~16.04.1) ...
Preparing to unpack .../maas_2.3.5-6511-gf466fdb-0ubuntu1~16.04.1_all.deb ...
Unpacking maas (2.3.5-6511-gf466fdb-0ubuntu1~16.04.1) over 
(2.3.4-6508-g4f77e30-0ubuntu1~16.04.1) ...
Preparing to unpack 
.../maas-region-controller_2.3.5-6511-gf466fdb-0ubuntu1~16.04.1_all.deb ...
Unpacking maas-region-controller (2.3.5-6511-gf466fdb-0ubuntu1~16.04.1) over 
(2.3.4-6508-g4f77e30-0ubuntu1~16.04.1) ...
Preparing to unpack .../maas-dhcp_2.3.5-6511-gf466fdb-0ubuntu1~16.04.1_all.deb 
...
Unpacking maas-dhcp (2.3.5-6511-gf466fdb-0ubuntu1~16.04.1) over 
(2.3.4-6508-g4f77e30-0ubuntu1~16.04.1) ...
Preparing to unpack .../maas-proxy_2.3.5-6511-gf466fdb-0ubuntu1~16.04.1_all.deb 
...
Unpacking maas-proxy (2.3.5-6511-gf466fdb-0ubuntu1~16.04.1) over 
(2.3.4-6508-g4f77e30-0ubuntu1~16.04.1) ...
Setting up python3-maas-client (2.3.5-6511-gf466fdb-0ubuntu1~16.04.1) ...
Setting up maas-cli (2.3.5-6511-gf466fdb-0ubuntu1~16.04.1) ...
Setting up python3-maas-provisioningserver 
(2.3.5-6511-gf466fdb-0ubuntu1~16.04.1) ...
Setting up maas-common (2.3.5-6511-gf466fdb-0ubuntu1~16.04.1) ...
Setting up maas-proxy (2.3.5-6511-gf466fdb-0ubuntu1~16.04.1) ...
Setting up python3-django-maas (2.3.5-6511-gf466fdb-0ubuntu1~16.04.1) ...
Setting up maas-region-api (2.3.5-6511-gf466fdb-0ubuntu1~16.04.1) ...
Traceback (most recent call last):
  File "/usr/sbin/maas-region", line 65, in <module>
    main()
  File "/usr/sbin/maas-region", line 61, in main
    run()
  File "/usr/sbin/maas-region", line 49, in run
    management.execute_from_command_line()
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", 
line 354, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", 
line 328, in execute
    django.setup()
  File "/usr/lib/python3/dist-packages/django/__init__.py", line 18, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/lib/python3/dist-packages/django/apps/registry.py", line 108, in 
populate
    app_config.import_models(all_models)
  File "/usr/lib/python3/dist-packages/django/apps/config.py", line 198, in 
import_models
    self.models_module = import_module(models_module_name)
  File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 665, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "/usr/lib/python3/dist-packages/maasserver/models/__init__.py", line 98, 
in <module>
    from maasserver.models.bmc import (
  File "/usr/lib/python3/dist-packages/maasserver/models/bmc.py", line 49, in 
<module>
    from maasserver.models.node import (
  File "/usr/lib/python3/dist-packages/maasserver/models/node.py", line 180, in 
<module>
    from provisioningserver.drivers.power.registry import PowerDriverRegistry
  File 
"/usr/lib/python3/dist-packages/provisioningserver/drivers/power/registry.py", 
line 11, in <module>
    from provisioningserver.drivers.pod.registry import PodDriverRegistry
  File 
"/usr/lib/python3/dist-packages/provisioningserver/drivers/pod/registry.py", 
line 12, in <module>
    from provisioningserver.drivers.pod.rsd import RSDPodDriver
  File "/usr/lib/python3/dist-packages/provisioningserver/drivers/pod/rsd.py", 
line 40, in <module>
    from twisted.internet._sslverify import (
  File "/usr/lib/python3/dist-packages/twisted/internet/_sslverify.py", line 
14, in <module>
    import OpenSSL
ImportError: No module named 'OpenSSL'
dpkg: error processing package maas-region-api (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because the error message indicates its a followup 
error from a previous failure.
                                                                                
                          dpkg: dependency problems prevent configuration of 
maas-dns:
 maas-dns depends on maas-region-api (= 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1); 
however:
  Package maas-region-api is not configured yet.

dpkg: error processing package maas-dns (--configure):
 dependency problems - leaving unconfigured
Setting up maas-dhcp (2.3.5-6511-gf466fdb-0ubuntu1~16.04.1) ...
Setting up maas-rack-controller (2.3.5-6511-gf466fdb-0ubuntu1~16.04.1) ...
dpkg: dependency problems prevent configuration of maas-region-controller:
 maas-region-controller depends on maas-dns (= 
2.3.5-6511-gf466fdb-0ubuntu1~16.04.1); however:
  Package maas-dns is not configured yet.
 maas-region-controller depends on maas-region-api (= 
2.3.5-6511-gf466fdb-0ubuntu1~16.04.1); however:
  Package maas-region-api is not configured yet.

dpkg: error processing package maas-region-controller (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup 
error from a previous failure.
                                                                                
                          dpkg: dependency problems prevent configuration of 
maas:
 maas depends on maas-region-controller (= 
2.3.5-6511-gf466fdb-0ubuntu1~16.04.1); however:
  Package maas-region-controller is not configured yet.

dpkg: error processing package maas (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors were 
encountered while processing:
 maas-region-api
 maas-dns
 maas-region-controller
 maas
E: Sub-process /usr/bin/dpkg returned an error code (1)
```

** Affects: maas (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1788585

Title:
  MAAS Upgrade Failed 2.3.4 to 2.3.5 (PPA/Stable)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1788585/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to