resource-get fails with duplicate key error

Bug #1581579 reported by Charles Butler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Incomplete
Undecided
Unassigned

Bug Description

Using resources, i've upgraded a charm ~ 6 times and have managed to confuse the resources worker.

unit-etcd-5: 2016-05-13 15:23:00 INFO unit.etcd/5.config-changed logger.go:40 error: could not download resource: HTTP request failed: GET https://10.128.0.2:17070/model/6b46
a061-b38a-4bb9-84cd-f0f8bbde8372/units/unit-etcd-5/resources/etcd: E11000 duplicate key error collection: juju.txns.stash index: _id_ dup key: { : { c: "resources", id: "6b46
a061-b38a-4bb9-84cd-f0f8bbde8372:resource#etcd/etcdctl#unit-etcd/3" } }

it does seem to eventually iron outself out, so its transient in the sense that it spams the logs for a couple failed hook executions until it finally passes.

juju 2.0-beta-6
Ubuntu 16.04 Trusty Tahr
Deploying: ubuntu 14.04

locally supplied resources found in layer-etcd via make fetch_resources, and then sent through the --resources feature of juju deploy.

description: updated
description: updated
Revision history for this message
Cheryl Jennings (cherylj) wrote :

@lazypower - do you have logs from machine-0 and the unit you could attach?

Changed in juju-core:
status: New → Incomplete
Revision history for this message
Anastasia (anastasia-macmood) wrote :
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.