Ubuntu 14.04 上的 MAAS 调试脚本失败

Ubuntu 14.04 上的 MAAS 调试脚本失败

我有 2 个网络,一个带有专用交换机的专用网络,另一个连接到互联网和代理

我有 1 个 MAAS 服务器(Ubuntu 14.04)MAAS 稳定版本 1.7

3 个节点在调试时以相同的方式发生故障。

UI 显示以下脚本失败:

错误输出:

failed [3/7] (00-maas-03-install-lldpd, 99-maas-01-wait-for-lldpd, 99-maas-02-capture-lldp)

当我查看我的日志时,我发现了以下内容:

00-maas-03-install-lldpd.out

Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  libperl5.18 libsensors4 libsnmp-base libsnmp30
Suggested packages:
  lm-sensors snmp-mibs-downloader snmpd
The following NEW packages will be installed:
  libperl5.18 libsensors4 libsnmp-base libsnmp30 lldpd
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 1144 kB of archives.
After this operation, 4566 kB of additional disk space will be used.
Err http://archive.ubuntu.com//ubuntu/ trusty/main libsensors4 amd64 1:3.3.4-2ubuntu1
  Could not connect to spike-dmz.aql.fr:3128 (192.168.194.50), connection timed out
Err http://archive.ubuntu.com//ubuntu/ trusty/main libperl5.18 amd64 5.18.2-2ubuntu1
  Unable to connect to spike-dmz.aql.fr:3128:
Err http://archive.ubuntu.com//ubuntu/ trusty/main libsnmp-base all 5.7.2~dfsg-8.1ubuntu3
  Unable to connect to spike-dmz.aql.fr:3128:
Err http://archive.ubuntu.com//ubuntu/ trusty/main libsnmp30 amd64 5.7.2~dfsg-8.1ubuntu3
  Unable to connect to spike-dmz.aql.fr:3128:
Err http://archive.ubuntu.com//ubuntu/ trusty/universe lldpd amd64 0.7.7-1
  Unable to connect to spike-dmz.aql.fr:3128:

00-maas-03-install-lldpd.err

E: Failed to fetch http://archive.ubuntu.com//ubuntu/pool/main/l/lm-sensors/libsensors4_3.3.4-2ubuntu1_amd64.deb  
Could not connect to spike-dmz.aql.fr:3128 (192.168.194.50), connection timed out

E: Failed to fetch    http://archive.ubuntu.com//ubuntu/pool/main/p/perl/libperl5.18_5.18.2-2ubuntu1_amd64.deb  
Unable to connect to spike-dmz.aql.fr:3128:

E: Failed to fetch http://archive.ubuntu.com//ubuntu/pool/main/n/net-snmp/libsnmp-base_5.7.2~dfsg-8.1ubuntu3_all.deb  
Unable to connect to spike-dmz.aql.fr:3128:

E: Failed to fetch http://archive.ubuntu.com//ubuntu/pool/main/n/net-snmp/libsnmp30_5.7.2~dfsg-8.1ubuntu3_amd64.deb  
Unable to connect to spike-dmz.aql.fr:3128:

E: Failed to fetch http://archive.ubuntu.com//ubuntu/pool/universe/l/lldpd/lldpd_0.7.7-1_amd64.deb  
Unable to connect to spike-dmz.aql.fr:3128:

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Traceback (most recent call last):
  File "/tmp/user_data.sh.jg10Bw/commissioning.d/00-maas-03-install-lldpd", line 65, in <module>
    lldpd_install(*args, **kwargs)
  File "/tmp/user_data.sh.jg10Bw/commissioning.d/00-maas-03-install-lldpd", line 49, in lldpd_install
    check_call(("apt-get", "install", "--yes", "lldpd"))
  File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '(u'apt-get', u'install', u'--yes', u'lldpd')' 
returned non-zero exit status 100


99-maas-01-wait-for-lldpd.err

Traceback (most recent call last):
  File "/tmp/user_data.sh.jg10Bw/commissioning.d/99-maas-01-wait-for-lldpd", line 32, in <module>
    lldpd_wait(*args, **kwargs)
  File "/tmp/user_data.sh.jg10Bw/commissioning.d/99-maas-01-wait-for-lldpd", line 23, in lldpd_wait
    time_ref = getmtime(reference_file)
  File "/usr/lib/python2.7/genericpath.py", line 54, in getmtime
    return os.stat(filename).st_mtime
OSError: [Errno 2] No such file or directory: '/var/run/lldpd.socket'

我的代理似乎有问题?对于在 MAAS 方面更有经验的人来说,这似乎是一件小事。任何帮助都非常感谢。这很重要

谢谢。

答案1

对我来说这是一个 dnssec 问题。

看看这个,看看是否有帮助:

我可以通过注释 dnssec-validation auto; 并在其下方添加 dnssec-enable no; dnssec-validation no; 来删除该消息。在 Ubuntu/Debian 上,named.conf 位于 /etc/bind/named.conf.options 文件中。

https://stackoverflow.com/questions/13342003/ns-got-insecure-response-parent-indicates-it-should-be-secure/14923549#14923549

相关内容