update of maas-cluster-controller on trusty dumps traceback and crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Jeroen T. Vermeulen | ||
1.5 |
Fix Released
|
Critical
|
Jeroen T. Vermeulen | ||
maas (Ubuntu) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Updated my trusty MAAS server today using apt-get dist-upgrade.
In the process, it updated maas-cluster-
maas-dhcp-server start/running, process 10590
Setting up python-
Setting up maas-cluster-
Installing new version of config file /etc/maas/
Installing new version of config file /etc/maas/
Configuration file '/etc/maas/
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** ipmi.template (Y/I/N/O/D/Z) [default=N] ?
Installing new version of config file /etc/maas/
Installing new version of config file /etc/maas/
Configuration file '/etc/maas/
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** pserv.yaml (Y/I/N/O/D/Z) [default=N] ?
* Restarting web server apache2 AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Traceback (most recent call last):
File "/usr/lib/
"__main__", fname, loader, pkg_name)
File "/usr/lib/
exec code in run_globals
File "/usr/lib/
main()
File "/usr/lib/
self.
File "/usr/lib/
args.
File "/usr/lib/
hook()
File "/usr/lib/
rewrite_
File "/usr/lib/
tftproot = Config.
File "/usr/lib/
cls.
File "/usr/lib/
return cls.to_
File "/usr/lib/
value = tp(value, state)
File "/usr/lib/
value_dict, state)
formencode.
This is ps showing the defunct process:
7573 ? S 0:01 \_ sshd: ubuntu@pts/7
7574 pts/7 Ss 0:00 \_ -bash
10383 pts/7 S+ 0:00 \_ sudo apt-get dist-upgrade
10384 pts/7 S+ 1:21 \_ apt-get dist-upgrade
24035 pts/13 Ss+ 0:01 \_ /usr/bin/dpkg --status-fd 63 --configure libitm1:amd64 libgomp1:amd64 libgo4:amd64 l
10639 pts/13 S+ 0:00 \_ /usr/bin/perl -w /usr/share/
10647 pts/13 Z+ 0:00 \_ [maas-cluster-co] <defunct>
Related branches
- Graham Binns (community): Approve
-
Diff: 94 lines (+59/-0)2 files modifiedsrc/provisioningserver/config.py (+23/-0)
src/provisioningserver/tests/test_config.py (+36/-0)
- Jeroen T. Vermeulen (community): Approve
- Andres Rodriguez: Pending requested
-
Diff: 94 lines (+59/-0)2 files modifiedsrc/provisioningserver/config.py (+23/-0)
src/provisioningserver/tests/test_config.py (+36/-0)
- Andres Rodriguez (community): Needs Fixing
-
Diff: 21 lines (+9/-0) (has conflicts)1 file modifiedsrc/provisioningserver/custom_hardware/seamicro.py (+9/-0)
Changed in maas: | |
importance: | Undecided → Critical |
Changed in maas: | |
assignee: | nobody → Jeroen T. Vermeulen (jtv) |
status: | Triaged → In Progress |
Changed in maas (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Critical |
Changed in maas: | |
milestone: | none → 14.10 |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 14.10 → none |
Changed in maas: | |
status: | Fix Committed → Fix Released |
I killed all that and then retried like so, and got the same failure: critical- maas:~$ sudo apt-get dist-upgrade critical- maas:~$ sudo dpkg --configure -a img-3.13. 0-22-generic xorg-video- sis (1:0.10.7-0ubuntu6) ... dfsg-1build1) ... 14.04.20140402- 0ubuntu1) ... 2+14.04. 20140401- 0ubuntu1) ... autostart/ indicator- sound.desktop ... bzr124- 0ubuntu1) ... dfsg-3ubuntu2) ... alternatives: using /usr/lib/ juju-1. 17.7/bin/ juju to provide /usr/bin/juju (juju) in auto mode simplestreams (0.1.0~ bzr341- 0ubuntu1) ... 04.20140328- 0ubuntu1) ... d/abstractions/ lightdm ... dfsg-1build1) ... software- properties (0.92.35) ... calculator (0.1+14. 04.20140328- 0ubuntu1) ... broadband- provider- info (20140317-1) ... commandnotfound (0.3ubuntu12) ... controller (1.5+bzr2204- 0ubuntu1) ...
[ OK ] python2. 7/runpy. py", line 162, in _run_module_as_main
ubuntu@
[sudo] password for ubuntu:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
ubuntu@
Setting up uvtool (0~bzr92-0ubuntu1) ...
Setting up python-sip (4.15.5-1build1) ...
Setting up amtterm (1.3-1ubuntu1) ...
Processing triggers for initramfs-tools (0.103ubuntu4) ...
update-initramfs: Generating /boot/initrd.
Setting up python-iscpy (1.05-0ubuntu2) ...
Setting up pulseaudio-utils (1:4.0-0ubuntu11) ...
Setting up xserver-
Setting up python-pil (2.3.0-1ubuntu3) ...
Setting up usb-creator-common (0.2.56) ...
Setting up python-qt4-dbus (4.10.4+
Setting up ssh-askpass-gnome (1:6.6p1-2) ...
Setting up ubuntu-artwork (1:14.04+
Setting up indicator-sound (12.10.
Installing new version of config file /etc/xdg/
Setting up cloud-image-utils (0.27-0ubuntu8) ...
Setting up python-smbc (1.0.14.1-0ubuntu2) ...
Setting up python3-lxml (3.3.3-1) ...
Setting up unattended-upgrades (0.82.1ubuntu2) ...
Setting up python3-markupsafe (0.18-1build2) ...
Setting up python-cups (1.9.66-0ubuntu2) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up curtin-common (0.1.0~
Setting up python3-cairo (1.10.0+
Setting up juju-core (1.17.7-0ubuntu1) ...
update-
Setting up python3-
Setting up python-pam (0.4.2-13.1ubuntu3) ...
Setting up unity-scope-texdoc (0.1+14.
Setting up lightdm (1.9.14-0ubuntu2) ...
Installing new version of config file /etc/apparmor.
Setting up python-qt4 (4.10.4+
Setting up python-markupsafe (0.18-1build2) ...
Setting up shotwell-common (0.18.0-0ubuntu4) ...
Setting up python-imaging (2.3.0-1ubuntu3) ...
Processing triggers for libc-bin (2.19-0ubuntu3) ...
Setting up python3-magic (1:5.14-2ubuntu3) ...
Setting up python3-
Setting up unity-scope-
Setting up mobile-
Setting up uvtool-libvirt (0~bzr92-0ubuntu1) ...
Pool uvtool marked as autostarted
Setting up onboard (1.0.0-0ubuntu3) ...
Setting up python-
Setting up python3-yaml (3.10-4build4) ...
Setting up maas-cluster-
* Restarting web server apache2 AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Traceback (most recent call last):
File "/usr/lib/
"__main__", fname, loader, pkg_name)
File "/usr/lib/pytho...