no 'poweroff' template for pxe boot

Bug #1181263 reported by Scott Moser
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MAAS
New
Undecided
Unassigned
maas (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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']

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in maas (Ubuntu):
status: New → Confirmed
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.