duplicate key error when using the api to deploy the same charm more than once

Bug #1262781 reported by Kapil Thangavelu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Triaged
High
Unassigned

Bug Description

  File "/home/kapil/canonical/jujuclient/jujuclient.py", line 494, in deploy
    "ToMachineSpec": machine_spec}})
  File "/home/kapil/canonical/jujuclient/jujuclient.py", line 145, in _rpc
    raise EnvError(result)
EnvError: <Env Error - Details:
 { u'Error': u'cannot add charm: cannot add charm "cs:precise/postgresql-52": E11000 duplicate key error index: juju.charms.$_id_ dup key: { : "cs:precise/postgresql-52" }',
    u'RequestId': 1,
    u'Response': { }}

different service names

Tags: api deploy
Curtis Hovey (sinzui)
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
milestone: none → 1.17.1
tags: added: api deploy
Martin Packman (gz)
Changed in juju-core:
milestone: 1.17.1 → 1.18.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.