← Back to team overview

maas-devel team mailing list archive

Re: Error: 403 FORBIDDEN (You are not allowed to start up this node.)

 

Can not remove hoot failed service in juju?

I am trying to delete a service in juju called ceph

juju destroy-service ceph

returns no error

but
juju status

returns


environment: maas
machines:
  "0":
    agent-state: started
    agent-version: 1.14.1.1
    dns-name: 74m8g.local
    instance-id: /MAAS/api/1.0/nodes/node-a6958fb8-2675-11e3-8cc3-001e671028ec/
    series: precise
  "1":
    agent-state: started
    agent-version: 1.14.1.1
    dns-name: qabed.local
    instance-id: /MAAS/api/1.0/nodes/node-f0d1718c-2675-11e3-8cc3-001e671028ec/
    series: precise
services:
  ceph:
    charm: local:precise/ceph-100
    exposed: false
    life: dying
    units:
      ceph/0:
        agent-state: error
        agent-state-info: 'hook failed: "config-changed"'
        agent-version: 1.14.1.1
        life: dying
        machine: "1"
        public-address: qabed.local


How can I delete hook failed service in JUJU?

On Thu, Sep 26, 2013 at 2:05 PM, Raphaël Badin
<raphael.badin@xxxxxxxxxxxxx> wrote:
> On 09/26/2013 10:32 AM, Dhastha wrote:
>>
>> when I run
>>
>> juju status -e maas
>>
>> it returns
>>
>> environment: maas
>> machines:
>>    "0":
>>      agent-state: started
>>      agent-version: 1.14.1.1
>>      dns-name: 74m8g.local
>>      instance-id:
>> /MAAS/api/1.0/nodes/node-a6958fb8-2675-11e3-8cc3-001e671028ec/
>>      series: precise
>> services: {}
>>
>>
>> Which means that one node is allocated for juju am I right?. I have
>> one more node which is in Ready state. I saw somewhere that minimum
>> two nodes require for juju. Do I need one more node to deploy services
>> then how to add?
>
>
> Right, you've got one node allocated to juju and that's the bootstrap node.
>
> You only need one "system" node, the bootstrap node you're seeing here.
>
> Now you should be able to deploy services.
>
> Raphaël
>



-- 




Cheers,

Dhasthagheer
Jr. Software Engineer
Fundamental Research Group
Indian Institute of Technology, Bombay


Follow ups

References