Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This keeps looping in logfiles (while the client tries to retrieve config via pxelinux.cfg/MACADDR)

2013-12-18 07:47:58+0100 [TFTP (UDP)] Datagram received from ('172.27.0.85', 49153): <RRQDatagram(filename=pxelinux.cfg/01-00-22-15-fe-87-56, mode=octet, options={'tsize': '0', 'blksize': '1408'})>
2013-12-18 07:47:58+0100 [TFTP (UDP)] Datagram received from ('172.27.0.85', 49153): <RRQDatagram(filename=pxelinux.cfg/01-00-22-15-fe-87-56, mode=octet, options={'tsize': '0', 'blksize': '1408'})>
2013-12-18 07:47:58+0100 [-] Starting factory <HTTPClientFactory: http://localhost/MAAS/api/1.0/pxeconfig/?cluster_uuid=a55392ec-6531-4c86-b647-1193b589c67d&local=172.27.0.80&mac=00-22-15-fe-87-56&remote=172.27.0.85>
2013-12-18 07:47:58+0100 [-] Starting factory <HTTPClientFactory: http://localhost/MAAS/api/1.0/pxeconfig/?cluster_uuid=a55392ec-6531-4c86-b647-1193b589c67d&local=172.27.0.80&mac=00-22-15-fe-87-56&remote=172.27.0.85>

2013-12-18 07:47:58+0100 [HTTPPageGetter,client] Unhandled error in Deferred:
2013-12-18 07:47:58+0100 [HTTPPageGetter,client] Unhandled Error
        Traceback (most recent call last):
          File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 380, in callback
            self._startRunCallbacks(result)
          File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 488, in _startRunCallbacks
            self._runCallbacks()
          File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 575, in _runCallbacks
            current.result = callback(current.result, *args, **kw)
          File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1126, in gotResult
            _inlineCallbacks(r, g, deferred)
        --- <exception caught here> ---
          File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1068, 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 575, in _runCallbacks
            current.result = callback(current.result, *args, **kw)
          File "/usr/lib/python2.7/dist-packages/provisioningserver/tftp.py", line 173, in generate_config
            kernel_params=kernel_params, **params)
          File "/usr/lib/python2.7/dist-packages/provisioningserver/pxe/config.py", line 113, in render_pxe_config
            return template.substitute(namespace)
          File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 173, in substitute
            result, defs, inherit = self._interpret(ns)
          File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 184, in _interpret
            self._interpret_codes(self._parsed, ns, out=parts, defs=defs)
          File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 212, in _interpret_codes
            self._interpret_code(item, ns, out, defs)
          File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 235, in _interpret_code
            base = func(base)
          File "/usr/lib/python2.7/dist-packages/provisioningserver/pxe/config.py", line 105, in kernel_command
            return compose_kernel_command_line(params)
          File "/usr/lib/python2.7/dist-packages/provisioningserver/kernel_opts.py", line 185, in compose_kernel_command_line
            options += compose_purpose_opts(params)
          File "/usr/lib/python2.7/dist-packages/provisioningserver/kernel_opts.py", line 138, in compose_purpose_opts
            get_ephemeral_name(params.release, params.arch))
          File "/usr/lib/python2.7/dist-packages/provisioningserver/kernel_opts.py", line 110, in get_ephemeral_name
            "'maas-import-pxe-files'." % root)
        provisioningserver.kernel_opts.EphemeralImagesDirectoryNotFound: The directory containing the ephemeral images/info is missing (u'/var/lib/maas/ephemeral/saucy/ephemeral/amd64').  Make sure to run the script 'maas-import-pxe-files'.

2013-12-18 07:47:58+0100 [HTTPPageGetter,client] Stopping factory <HTTPClientFactory: http://localhost/MAAS/api/1.0/pxeconfig/?cluster_uuid=a55392ec-6531-4c86-b647-1193b589c67d&local=172.27.0.80&mac=00-22-15-fe-87-56&remote=172.27.0.85>
2013-12-18 07:47:58+0100 [HTTPPageGetter,client] Stopping factory <HTTPClientFactory: http://localhost/MAAS/api/1.0/pxeconfig/?cluster_uuid=a55392ec-6531-4c86-b647-1193b589c67d&local=172.27.0.80&mac=00-22-15-fe-87-56&remote=172.27.0.85>
2013-12-18 07:47:58+0100 [HTTPPageGetter,client] Logged OOPS id OOPS-a073216bd851b2c1a4b518006374f485: No exception type: No exception value
2013-12-18 07:47:58+0100 [HTTPPageGetter,client] Logged OOPS id OOPS-37d7052e3bc6e8ba0a499c8bb734609c: EphemeralImagesDirectoryNotFound: The directory containing the ephemeral images/info is missing (u'/var/lib/maas/ephemeral/saucy/ephemeral/amd64').  Make sure to run the script 'maas-import-pxe-files'.

Yeah, so... I checked if /var/lib/maas/ephemeral/saucy/ephemeral/amd64 existed. And no, the only thing that exists is:

# find /var/lib/maas/ephemeral
/var/lib/maas/ephemeral
/var/lib/maas/ephemeral/tgt.conf
/var/lib/maas/ephemeral/.simplestreams
/var/lib/maas/ephemeral/.simplestreams/quantal
/var/lib/maas/ephemeral/.simplestreams/quantal/release-20131013
/var/lib/maas/ephemeral/tgt.conf.d

And, i've run "maas-import-pxe-files" ten times now ;-)

What gives?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.