Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I don't want to destroy environment of juju. Is there any way that let me to delete a node in maas with minium change?

Or, if some way can fix the node, that's perfect.

My juju status:

machines:
  0:
    agent-state: running
    dns-name: D1
    instance-id: /MAAS/api/1.0/nodes/node-7874253a-a891-11e1-b5bb-0800270f9b01/
    instance-state: unknown
  1:
    agent-state: running
    dns-name: D0
    instance-id: /MAAS/api/1.0/nodes/node-d1ea1f7e-a8d3-11e1-be27-0800270f9b01/
    instance-state: unknown
  2:
    agent-state: not-started
    dns-name: T2
    instance-id: /MAAS/api/1.0/nodes/node-c17f697a-a93a-11e1-b1a3-0800270f9b01/
    instance-state: unknown
services:
  mysql:
    charm: cs:precise/mysql-2
    relations: {}
    units:
      mysql/0:
        agent-state: started
        machine: 1
        public-address: D0.localdomain
  tomcat7:
    charm: cs:precise/tomcat7-1
    relations:
      cluster:
      - tomcat7
    units:
      tomcat7/0:
        agent-state: pending
        machine: 2
        public-address: null

Machine 2 is failed, and reboot for some times.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

OK, use juju destroy-service tomcat7 remove tomcat7 first.

Then, use juju terminate-machine 2 remove node 2 ok.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.