MAAS Falha no comissionamento

1

Todos, estou recebendo este erro no meu nó do controlador de maas:

  

provisioningserver.drivers.hardware.virsh.VirshError: Estado desconhecido: apagado

todas as minhas máquinas têm esse status

  

"Falha no comissionamento"

Estou usando o MAAS versão 2.0.0 (beta7 + bzr5112), com o Ubuntu 16.04.

Estou testando em um ambiente virtual, com o virt-manager. Posso puxar meu hipervisor

maas@maas-server:~$ virsh -c qemu+ssh://[email protected]/system list

- all

Id    Nombre                         Estado

9     nmaaas                         ejecutando
-     node0                          apagado
-     node1                          apagado
-     node2                          apagado
-     node3                          apagado
-     node4                          apagado

Meu maas.log é este:

Jun 22 01:58:36 maas-server maas.power: [INFO] Changing power state
(on) of node: node1 (4y3h7q) Jun 22 01:58:36 maas-server maas.node:
[INFO] node1: Commissioning started Jun 22 01:58:38 maas-server
maas.power: [ERROR] Error changing power state (on) of node: node1
(4y3h7q) Jun 22 01:58:38 maas-server maas.node: [INFO] node1: Status
transition from COMMISSIONING to FAILED_COMMISSIONING Jun 22 01:58:38
maas-server maas.node: [ERROR] node1: Marking node failed: Node could
not be powered on: Failed talking to node's BMC: Unknown state:
apagado Jun 22 01:59:08 maas-server maas.power: [ERROR] Power state
could not be queried: Unknown state: apagado Jun 22 01:59:08
maas-server maas.power: [ERROR] node4: Failed to refresh power state:
Unknown state: apagado Jun 22 01:59:57 maas-server maas.node: [INFO]
node1: Status transition from FAILED_COMMISSIONING to COMMISSIONING
Jun 22 01:59:57 maas-server maas.power: [INFO] Changing power state
(on) of node: node1 (4y3h7q) Jun 22 01:59:57 maas-server maas.node:
[INFO] node1: Commissioning started Jun 22 01:59:59 maas-server
maas.power: [ERROR] Error changing power state (on) of node: node1
(4y3h7q) Jun 22 01:59:59 maas-server maas.node: [INFO] node1: Status
transition from COMMISSIONING to FAILED_COMMISSIONING Jun 22 01:59:59
maas-server maas.node: [ERROR] node1: Marking node failed: Node could
not be powered on: Failed talking to node's BMC: Unknown state:
apagado Jun 22 02:02:08 maas-server maas.power: [ERROR] Power state
could not be queried: Unknown state: apagado Jun 22 02:02:08
maas-server maas.power: message repeated 2 times: [ [ERROR] Power
state could not be queried: Unknown state: apagado] Jun 22 02:02:08
maas-server maas.power: [ERROR] node1: Failed to refresh power state:
Unknown state: apagado Jun 22 02:02:08 maas-server maas.power: [ERROR]
node2: Failed to refresh power state: Unknown state: apagado Jun 22
02:02:08 maas-server maas.power: [ERROR] node0: Failed to refresh
power state: Unknown state: apagado Jun 22 02:02:08 maas-server
maas.power: [ERROR] Power state could not be queried: Unknown state:
apagado Jun 22 02:02:08 maas-server maas.power: [ERROR] node3: Failed
to refresh power state: Unknown state: apagado Jun 22 02:04:23
maas-server maas.power: [ERROR] Power state could not be queried:
Unknown state: apagado Jun 22 02:04:23 maas-server maas.power: [ERROR]
node4: Failed to refresh power state: Unknown state: apagado Jun 22
02:07:23 maas-server maas.power: [ERROR] Power state could not be
queried: Unknown state: apagado Jun 22 02:07:23 maas-server
maas.power: [ERROR] Power state could not be queried: Unknown state:
apagado Jun 22 02:07:23 maas-server maas.power: [ERROR] node0: Failed
to refresh power state: Unknown state: apagado Jun 22 02:07:23
maas-server maas.power: [ERROR] Power state could not be queried:
Unknown state: apagado Jun 22 02:07:23 maas-server maas.power: [ERROR]
Power state could not be queried: Unknown state: apagado Jun 22
02:07:23 maas-server maas.power: [ERROR] node1: Failed to refresh
power state: Unknown state: apagado Jun 22 02:07:23 maas-server
maas.power: [ERROR] node3: Failed to refresh power state: Unknown
state: apagado Jun 22 02:07:23 maas-server maas.power: [ERROR] node2:
Failed to refresh power state: Unknown state: apagado Jun 22 02:09:23
maas-server maas.power: [ERROR] Power state could not be queried:
Unknown state: apagado Jun 22 02:09:23 maas-server maas.power: [ERROR]
node4: Failed to refresh power state: Unknown state: apagado Jun 22
02:12:23 maas-server maas.power: [ERROR] Power state could not be
queried: Unknown state: apagado Jun 22 02:12:23 maas-server
maas.power: message repeated 3 times: [ [ERROR] Power state could not
be queried: Unknown state: apagado] Jun 22 02:12:23 maas-server
maas.power: [ERROR] node0: Failed to refresh power state: Unknown
state: apagado Jun 22 02:12:23 maas-server maas.power: [ERROR] node3:
Failed to refresh power state: Unknown state: apagado Jun 22 02:12:23
maas-server maas.power: [ERROR] node2: Failed to refresh power state:
Unknown state: apagado Jun 22 02:12:23 maas-server maas.power: [ERROR]
node1: Failed to refresh power state: Unknown state: apagado Jun 22
02:13:38 maas-server maas.import-images: [INFO] Started importing boot
images. Jun 22 02:13:38 maas-server maas.import-images: [INFO]
Downloading image descriptions from
http://10.17.17.200:5240/MAAS/images-stream/streams/v1/index.json Jun
22 02:13:38 maas-server maas.import-images: [INFO] Finished importing
boot images, the region does not have any new images. Jun 22 02:14:38
maas-server maas.power: [ERROR] Power state could not be queried:
Unknown state: apagado Jun 22 02:14:38 maas-server maas.power: [ERROR]
node4: Failed to refresh power state: Unknown state: apagado Jun 22
02:17:38 maas-server maas.power: [ERROR] Power state could not be
queried: Unknown state: apagado Jun 22 02:17:38 maas-server
maas.power: message repeated 3 times: [ [ERROR] Power state could not
be queried: Unknown state: apagado] Jun 22 02:17:38 maas-server
maas.power: [ERROR] node0: Failed to refresh power state: Unknown
state: apagado Jun 22 02:17:38 maas-server maas.power: [ERROR] node1:
Failed to refresh power state: Unknown state: apagado Jun 22 02:17:38
maas-server maas.power: [ERROR] node3: Failed to refresh power state:
Unknown state: apagado Jun 22 02:17:38 maas-server maas.power: [ERROR]
node2: Failed to refresh power state: Unknown state: apagado
    
por Tincho 22.06.2016 / 07:33

2 respostas

1

Eu tive o mesmo problema, resolvo graças ao comentário de Lucio Menzel.

Você só precisa colocar os locais do sistema em

  

en_US utf-8

com:

sudo dpkg-reconfigure locales

Reinicie e saia.

    
por GamaMTZ 30.05.2017 / 21:25
0

parece que o maas não está esperando que o estado esteja em espanhol, você pode alterar sua configuração de idioma no seu controlador de maas para o inglês?

    
por Lucio Menzel 24.09.2016 / 01:46