juju não pode criar uma nova máquina no Azure

1

Eu estou jogando com juju no Azure e consegui implantar (juju-gui, mysql, tomcat7). e eu também destruí alguns serviços.

Devo mencionar que também habilitei a alta disponibilidade do juju usando o comando

juju ensure-availability

Quando tentei implantar o encanto HaProxy, ele fica preso dizendo

agent-state-info: 'cannot get machine 9: EOF'

Eu não encontrei este googling ou em documentações de juju.

Por gentileza, o que essa mensagem de erro significa? Como evitar isso da próxima vez? cometi um erro com as configurações? Como resolver isso? fazendo juju resolved haproxy/0 me dá ERROR unit "haproxy/0" is not in an error state devo destruir o charme? Obrigado

Aqui está o meu resultado juju status haproxy/0

C:\Program Files (x86)\Juju>juju status haproxy/0
environment: azure
machines:
  "9":
    agent-state-info: 'cannot get machine 9: EOF'
    instance-id: pending
    series: trusty
services:
  haproxy:
    charm: cs:trusty/haproxy-7
    exposed: false
    relations:
      peer:
      - haproxy
      reverseproxy:
      - tomcat7
    units:
      haproxy/0:
        agent-state: allocating
        machine: "9"

e aqui está o status completo (é longo; p):

C:\Program Files (x86)\Juju>juju status
environment: azure
machines:
  "0":
    agent-state: started
    agent-version: 1.22.3
    dns-name: juju-azure-xxx.cloudapp.net
    instance-id: juju-azure-xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    instance-state: ReadyRole
    series: trusty
    hardware: arch=amd64 cpu-cores=1 mem=1792M root-disk=130048M
    state-server-member-status: has-vote
  "1":
    agent-state: started
    agent-version: 1.22.3
    dns-name: juju-azure-xxx.cloudapp.net
    instance-id: juju-azure-xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    instance-state: ReadyRole
    series: trusty
    hardware: arch=amd64 cpu-cores=1 mem=1792M root-disk=130048M
  "4":
    agent-state: started
    agent-version: 1.22.3
    dns-name: juju-azure-xxx.cloudapp.net
    instance-id: juju-azure-xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    instance-state: ReadyRole
    series: trusty
    hardware: arch=amd64 cpu-cores=1 mem=1792M root-disk=130048M
  "5":
    agent-state: started
    agent-version: 1.22.3
    dns-name: juju-azure-xxx.cloudapp.net
    instance-id: juju-azure-xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    instance-state: ReadyRole
    series: precise
    hardware: arch=amd64 cpu-cores=1 mem=1792M root-disk=130048M
  "6":
    agent-state: started
    agent-version: 1.22.3
    dns-name: juju-azure-xxx.cloudapp.net
    instance-id: juju-azure-xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    instance-state: ReadyRole
    series: trusty
    hardware: arch=amd64 cpu-cores=1 mem=1792M root-disk=130048M
  "7":
    agent-state: started
    agent-version: 1.22.3
    dns-name: juju-azure-xxx.cloudapp.net
    instance-id: juju-azure-xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    instance-state: ReadyRole
    series: trusty
    hardware: arch=amd64 cpu-cores=1 mem=1792M root-disk=130048M
    state-server-member-status: has-vote
  "8":
    agent-state: started
    agent-version: 1.22.3
    dns-name: juju-azure-xxx.cloudapp.net
    instance-id: juju-azure-xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    instance-state: ReadyRole
    series: trusty
    hardware: arch=amd64 cpu-cores=1 mem=1792M root-disk=130048M
    state-server-member-status: has-vote
  "9":
    agent-state-info: 'cannot get machine 9: EOF'
    instance-id: pending
    series: trusty
services:
  haproxy:
    charm: cs:trusty/haproxy-7
    exposed: false
    relations:
      peer:
      - haproxy
      reverseproxy:
      - tomcat7
    units:
      haproxy/0:
        agent-state: allocating
        machine: "9"
  juju-gui:
    charm: cs:trusty/juju-gui-27
    exposed: true
    units:
      juju-gui/0:
        agent-state: started
        agent-version: 1.22.3
        machine: "1"
        open-ports:
        - 80/tcp
        - 443/tcp
        public-address: juju-azure-xxx.cloudapp.net
      juju-gui/1:
        agent-state: started
        agent-version: 1.22.3
        machine: "6"
        open-ports:
        - 80/tcp
        - 443/tcp
        public-address: juju-azure-xxx.cloudapp.net
  mysql:
    charm: cs:trusty/mysql-25
    exposed: false
    relations:
      cluster:
      - mysql
      db:
      - openmrs
    units:
      mysql/0:
        agent-state: started
        agent-version: 1.22.3
        machine: "4"
        public-address: juju-azure-xxx.cloudapp.net
  openmrs:
    charm: cs:precise/openmrs-1
    exposed: false
    relations:
      database:
      - mysql
      tomcat-war:
      - tomcat7
    subordinate-to:
    - tomcat7
  tomcat7:
    charm: cs:precise/tomcat7-4
    exposed: true
    relations:
      cluster:
      - tomcat7
      juju-info:
      - openmrs
      website:
      - haproxy
    units:
      tomcat7/0:
        agent-state: started
        agent-version: 1.22.3
        machine: "5"
        open-ports:
        - 8080/tcp
        public-address: juju-azure-xxx.cloudapp.net
        subordinates:
          openmrs/0:
            upgrading-from: cs:precise/openmrs-1
            agent-state: started
            agent-version: 1.22.3
            public-address: juju-azure-xxx.cloudapp.net
    
por Eittam 14.05.2015 / 17:14

0 respostas