Public bug reported:

After re-discovering bug 1074317 (the fact that 'system_id' means
nothing to 'acquire'), I found that if a node is powered on when not
expected maas-pserv will first repeatedly stack trace and then the
'default' (enlistment) profile will be run.  The additional information
in the exception (poweroff, amd64, generic) are added by me, and I'd
suggest that they might be helpful to actually add to the code.


2013-05-17 09:45:40-0400 [HTTPPageGetter,client] Unhandled error in Deferred:
2013-05-17 09:45:40-0400 [HTTPPageGetter,client] Unhandled Error
        Traceback (most recent call last):
          File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", 
line 381, in callback
            self._startRunCallbacks(result)
          File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", 
line 489, in _startRunCallbacks
            self._runCallbacks()
          File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", 
line 576, in _runCallbacks
            current.result = callback(current.result, *args, **kw)
          File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", 
line 1127, in gotResult
            _inlineCallbacks(r, g, deferred)
        --- <exception caught here> ---
          File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", 
line 1069, in _inlineCallbacks
            result = result.throwExceptionIntoGenerator(g)
          File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", 
line 389, in throwExceptionIntoGenerator
            return g.throw(self.type, self.value, self.tb)
          File "/usr/lib/python2.7/dist-packages/tftp/protocol.py", line 67, in 
_startSession
            context, self.backend.get_reader, datagram.filename)
          File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", 
line 576, in _runCallbacks
            current.result = callback(current.result, *args, **kw)
          File "/usr/lib/python2.7/dist-packages/provisioningserver/tftp.py", 
line 171, in generate_config
            kernel_params=kernel_params, **params)
          File 
"/usr/lib/python2.7/dist-packages/provisioningserver/pxe/config.py", line 83, 
in render_pxe_config
            kernel_params.subarch)
          File 
"/usr/lib/python2.7/dist-packages/provisioningserver/pxe/config.py", line 70, 
in get_pxe_template
            "No PXE template found in %r for %s,%s,%s!" % (template_dir, 
purpose, arch, subarch))
        exceptions.AssertionError: No PXE template found in 
'/usr/lib/python2.7/dist-packages/provisioningserver/pxe' for 
poweroff,amd64,generic!

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: maas-cluster-controller 1.3+bzr1461+dfsg-0ubuntu2 [modified: 
usr/sbin/maas-import-ephemerals]
ProcVersionSignature: Ubuntu 3.8.0-19.30-generic 3.8.8
Uname: Linux 3.8.0-19-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Fri May 17 10:48:16 2013
InstallationDate: Installed on 2011-11-16 (547 days ago)
InstallationMedia: Ubuntu-Server 11.10 "Oneiric Ocelot" - Release amd64 
(20111011)
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 TERM=screen-bce
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: maas
UpgradeStatus: Upgraded to raring on 2013-05-09 (8 days ago)
modified.conffile..etc.maas.maas.cluster.conf: [inaccessible: [Errno 13] 
Permission denied: '/etc/maas/maas_cluster.conf']

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


** Tags: amd64 apport-bug raring

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1181263

Title:
  no 'poweroff' template for pxe boot

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to