MAAS PXE 启动问题

MAAS PXE 启动问题

我这里有一个不寻常的问题,1.我的 MAAS 服务器在装有 ubuntu 14.04 服务器发行版的硬件上运行 2. pxe 启动选项在其他所有机器上都处于活动状态。3.当尝试从节点机器启动时,我遇到一个错误,它试图找到 ubuntu 12.04 内核,当然它不可用,因为我已经在 maas 服务器中添加了 ubuntu 14.04 映像。

在此处输入图片描述

我没有检查镜像中的 ubuntu 12.04,但在 pxe 启动中,它尝试启动 precise 而不是 trusty,后者在 maas 服务器中可用

这些是我的日志文件:

==> /var/log/maas/pserv.log <==
2014-02-06 19:59:11-0500 [TFTP (UDP)] Datagram received from ('172.20.90.103', 2070): <RRQDatagram(filename=pxelinux.0, mode=octet, options={'tsize': '0'})>
2014-02-06 19:59:11-0500 [TFTP (UDP)] Datagram received from ('172.20.90.103', 2070): <RRQDatagram(filename=pxelinux.0, mode=octet, options={'tsize': '0'})>
2014-02-06 19:59:11-0500 [ClusterClient,client] RemoteOriginReadSession starting on 55059
2014-02-06 19:59:11-0500 [ClusterClient,client] RemoteOriginReadSession starting on 55059
2014-02-06 19:59:11-0500 [ClusterClient,client] Starting protocol <tftp.bootstrap.RemoteOriginReadSession instance at 0x7fcb92ca88c0>
2014-02-06 19:59:11-0500 [ClusterClient,client] Starting protocol <tftp.bootstrap.RemoteOriginReadSession instance at 0x7fcb92ca88c0>
2014-02-06 19:59:11-0500 [RemoteOriginReadSession (UDP)] Got error: <tftp.datagram.ERRORDatagram object at 0x7fcb92c18e50>
2014-02-06 19:59:11-0500 [RemoteOriginReadSession (UDP)] Got error: <tftp.datagram.ERRORDatagram object at 0x7fcb92c18e50>
2014-02-06 19:59:11-0500 [-] (UDP Port 55059 Closed)
2014-02-06 19:59:11-0500 [-] (UDP Port 55059 Closed)
2014-02-06 19:59:11-0500 [-] Stopping protocol <tftp.bootstrap.RemoteOriginReadSession instance at 0x7fcb92ca88c0>
2014-02-06 19:59:11-0500 [-] Stopping protocol <tftp.bootstrap.RemoteOriginReadSession instance at 0x7fcb92ca88c0>
2014-02-06 19:59:11-0500 [TFTP (UDP)] Datagram received from ('172.20.90.103', 2071): <RRQDatagram(filename=pxelinux.0, mode=octet, options={'blksize': '1456'})>
2014-02-06 19:59:11-0500 [TFTP (UDP)] Datagram received from ('172.20.90.103', 2071): <RRQDatagram(filename=pxelinux.0, mode=octet, options={'blksize': '1456'})>
2014-02-06 19:59:11-0500 [ClusterClient,client] RemoteOriginReadSession starting on 59084
2014-02-06 19:59:11-0500 [ClusterClient,client] RemoteOriginReadSession starting on 59084
2014-02-06 19:59:11-0500 [ClusterClient,client] Starting protocol <tftp.bootstrap.RemoteOriginReadSession instance at 0x7fcb92ca6128>
2014-02-06 19:59:11-0500 [ClusterClient,client] Starting protocol <tftp.bootstrap.RemoteOriginReadSession instance at 0x7fcb92ca6128>
2014-02-06 19:59:11-0500 [RemoteOriginReadSession (UDP)] Final ACK received, transfer successful
2014-02-06 19:59:11-0500 [RemoteOriginReadSession (UDP)] Final ACK received, transfer successful
2014-02-06 19:59:11-0500 [-] (UDP Port 59084 Closed)
2014-02-06 19:59:11-0500 [-] (UDP Port 59084 Closed)
2014-02-06 19:59:11-0500 [-] Stopping protocol <tftp.bootstrap.RemoteOriginReadSession instance at 0x7fcb92ca6128>
2014-02-06 19:59:11-0500 [-] Stopping protocol <tftp.bootstrap.RemoteOriginReadSession instance at 0x7fcb92ca6128>
2014-02-06 19:59:11-0500 [TFTP (UDP)] Datagram received from ('172.20.90.103', 49152): <RRQDatagram(filename=pxelinux.cfg/37333336-3436-435a-3234-313130435359, mode=octet, options={'tsize': '0', 'blksize': '1408'})>
2014-02-06 19:59:11-0500 [TFTP (UDP)] Datagram received from ('172.20.90.103', 49152): <RRQDatagram(filename=pxelinux.cfg/37333336-3436-435a-3234-313130435359, mode=octet, options={'tsize': '0', 'blksize': '1408'})>
2014-02-06 19:59:11-0500 [TFTP (UDP)] Datagram received from ('172.20.90.103', 49153): <RRQDatagram(filename=pxelinux.cfg/01-2c-44-fd-96-2a-ac, mode=octet, options={'tsize': '0', 'blksize': '1408'})>
2014-02-06 19:59:11-0500 [TFTP (UDP)] Datagram received from ('172.20.90.103', 49153): <RRQDatagram(filename=pxelinux.cfg/01-2c-44-fd-96-2a-ac, mode=octet, options={'tsize': '0', 'blksize': '1408'})>

==> /var/log/maas/maas-django.log <==
ERROR 2014-02-06 19:59:11,536 maasserver Unable to identify boot image for (ubuntu/amd64/hwe-p/precise/commissioning): cluster 'maas' does not have matching boot image.

==> /var/log/maas/pserv.log <==
2014-02-06 19:59:11-0500 [HTTPPageGetter,client] RemoteOriginReadSession starting on 59043
2014-02-06 19:59:11-0500 [HTTPPageGetter,client] RemoteOriginReadSession starting on 59043
2014-02-06 19:59:11-0500 [HTTPPageGetter,client] Starting protocol <tftp.bootstrap.RemoteOriginReadSession instance at 0x7fcb92ca9758>
2014-02-06 19:59:11-0500 [HTTPPageGetter,client] Starting protocol <tftp.bootstrap.RemoteOriginReadSession instance at 0x7fcb92ca9758>
2014-02-06 19:59:11-0500 [RemoteOriginReadSession (UDP)] Final ACK received, transfer successful
2014-02-06 19:59:11-0500 [RemoteOriginReadSession (UDP)] Final ACK received, transfer successful
2014-02-06 19:59:11-0500 [-] (UDP Port 59043 Closed)
2014-02-06 19:59:11-0500 [-] (UDP Port 59043 Closed)
2014-02-06 19:59:11-0500 [-] Stopping protocol <tftp.bootstrap.RemoteOriginReadSession instance at 0x7fcb92ca9758>
2014-02-06 19:59:11-0500 [-] Stopping protocol <tftp.bootstrap.RemoteOriginReadSession instance at 0x7fcb92ca9758>
2014-02-06 19:59:11-0500 [TFTP (UDP)] Datagram received from ('172.20.90.103', 49154): <RRQDatagram(filename=ifcpu64.c32, mode=octet, options={'tsize': '0', 'blksize': '1408'})>
2014-02-06 19:59:11-0500 [TFTP (UDP)] Datagram received from ('172.20.90.103', 49154): <RRQDatagram(filename=ifcpu64.c32, mode=octet, options={'tsize': '0', 'blksize': '1408'})>
2014-02-06 19:59:11-0500 [-] RemoteOriginReadSession starting on 42954
2014-02-06 19:59:11-0500 [-] RemoteOriginReadSession starting on 42954
2014-02-06 19:59:11-0500 [-] Starting protocol <tftp.bootstrap.RemoteOriginReadSession instance at 0x7fcb92c6c5a8>
2014-02-06 19:59:11-0500 [-] Starting protocol <tftp.bootstrap.RemoteOriginReadSession instance at 0x7fcb92c6c5a8>
2014-02-06 19:59:11-0500 [RemoteOriginReadSession (UDP)] Final ACK received, transfer successful
2014-02-06 19:59:11-0500 [RemoteOriginReadSession (UDP)] Final ACK received, transfer successful
2014-02-06 19:59:11-0500 [TFTP (UDP)] Datagram received from ('172.20.90.103', 49155): <RRQDatagram(filename=ubuntu/amd64/hwe-p/precise/no-such-image/boot-kernel, mode=octet, options={'tsize': '0', 'blksize': '1408'})>
2014-02-06 19:59:11-0500 [TFTP (UDP)] Datagram received from ('172.20.90.103', 49155): <RRQDatagram(filename=ubuntu/amd64/hwe-p/precise/no-such-image/boot-kernel, mode=octet, options={'tsize': '0', 'blksize': '1408'})>
2014-02-06 19:59:11-0500 [-] (UDP Port 42954 Closed)
2014-02-06 19:59:11-0500 [-] (UDP Port 42954 Closed)
2014-02-06 19:59:11-0500 [-] Stopping protocol <tftp.bootstrap.RemoteOriginReadSession instance at 0x7fcb92c6c5a8>
2014-02-06 19:59:11-0500 [-] Stopping protocol <tftp.bootstrap.RemoteOriginReadSession instance at 0x7fcb92c6c5a8>
2014-02-06 19:59:11-0500 [TFTP (UDP)] Datagram received from ('172.20.90.103', 49156): <RRQDatagram(filename=ubuntu/amd64/hwe-p/precise/no-such-image/boot-kernel.cbt, mode=octet, options={'tsize': '0', 'blksize': '1408'})>
2014-02-06 19:59:11-0500 [TFTP (UDP)] Datagram received from ('172.20.90.103', 49156): <RRQDatagram(filename=ubuntu/amd64/hwe-p/precise/no-such-image/boot-kernel.cbt, mode=octet, options={'tsize': '0', 'blksize': '1408'})>
2014-02-06 19:59:11-0500 [TFTP (UDP)] Datagram received from ('172.20.90.103', 49157): <RRQDatagram(filename=ubuntu/amd64/hwe-p/precise/no-such-image/boot-kernel.0, mode=octet, options={'tsize': '0', 'blksize': '1408'})>
2014-02-06 19:59:11-0500 [TFTP (UDP)] Datagram received from ('172.20.90.103', 49157): <RRQDatagram(filename=ubuntu/amd64/hwe-p/precise/no-such-image/boot-kernel.0, mode=octet, options={'tsize': '0', 'blksize': '1408'})>
2014-02-06 19:59:11-0500 [TFTP (UDP)] Datagram received from ('172.20.90.103', 49158): <RRQDatagram(filename=ubuntu/amd64/hwe-p/precise/no-such-image/boot-kernel.com, mode=octet, options={'tsize': '0', 'blksize': '1408'})>
2014-02-06 19:59:11-0500 [TFTP (UDP)] Datagram received from ('172.20.90.103', 49158): <RRQDatagram(filename=ubuntu/amd64/hwe-p/precise/no-such-image/boot-kernel.com, mode=octet, options={'tsize': '0', 'blksize': '1408'})>
2014-02-06 19:59:11-0500 [TFTP (UDP)] Datagram received from ('172.20.90.103', 49159): <RRQDatagram(filename=ubuntu/amd64/hwe-p/precise/no-such-image/boot-kernel.c32, mode=octet, options={'tsize': '0', 'blksize': '1408'})>
2014-02-06 19:59:11-0500 [TFTP (UDP)] Datagram received from ('172.20.90.103', 49159): <RRQDatagram(filename=ubuntu/amd64/hwe-p/precise/no-such-image/boot-kernel.c32, mode=octet, options={'tsize': '0', 'blksize': '1408'})>

答案1

确保您的节点的硬件架构设置为 amd64/generic。

相关内容