Estou testando o MAAS e encontrei uma questão que não sei como resolver. Aqui está o cenário.
Instalei o MAAS 1.5 + bzr2252-0ubuntu1 no Ubuntu 14.04.
E configure manualmente 3 nós, e os 3 nós falham da mesma maneira enquanto são comissionados.
A interface do usuário mostra os seguintes scripts como com falha:
Saída de erro
failed [3/6] (00-maas-03-install-lldpd, 99-maas-01-wait-for-lldpd, 99-maas-02-capture-lldp)
Verificando os resultados individuais Assumo que o script que instala os pacotes não está recuperando a chave GPG, mas não consigo explicar por que não, já que nas configurações do MAAS eu tenho link especificado como o arquivo principal.
Commissioning results for supermicro-node6.maas
Script result Output file Registered at Node
[Failed] FAILED 99-maas-02-capture-lldp.err May 12, 2014, 1:19 p.m. supermicro-node6.maas
[Failed] FAILED 99-maas-02-capture-lldp.out May 12, 2014, 1:19 p.m. supermicro-node6.maas
[Failed] FAILED 99-maas-01-wait-for-lldpd.err May 12, 2014, 1:19 p.m. supermicro-node6.maas
[Failed] FAILED 99-maas-01-wait-for-lldpd.out May 12, 2014, 1:19 p.m. supermicro-node6.maas
OK 00-maas-04-list-modaliases.out May 12, 2014, 1:19 p.m. supermicro-node6.maas
[Failed] FAILED 00-maas-03-install-lldpd.err May 12, 2014, 1:19 p.m. supermicro-node6.maas
[Failed] FAILED 00-maas-03-install-lldpd.out May 12, 2014, 1:19 p.m. supermicro-node6.maas
OK 00-maas-02-virtuality.out May 12, 2014, 1:19 p.m. supermicro-node6.maas
OK 00-maas-01-lshw.out May 12, 2014, 1:19 p.m. supermicro-node6.maas
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.
WARNING: The following packages cannot be authenticated!
libsensors4 libperl5.18 libsnmp-base libsnmp30 lldpd
00-maas-03-install-lldpd.err
E: There are problems and -y was used without --force-yes
Traceback (most recent call last):
File "/tmp/user_data.sh.LS3zcm/commissioning.d/00-maas-03-install-lldpd", line 65, in <module>
lldpd_install(*args, **kwargs)
File "/tmp/user_data.sh.LS3zcm/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
Parece que isso é algo trivial com alguém com mais experiência no MAAS. Qualquer ajuda é muito apreciada.
Obrigado.