resource get fails, resource already staged

Bug #1612775 reported by Charles Butler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Unassigned

Bug Description

I've not seen any indication of this happening prior to juju 2.0 beta-14.

I've implemented resources in the etcd charm, and during deployment the resource failed to make it to the unit with the following output in the log:

2016-08-12 16:53:26 INFO worker.uniter.jujuc server.go:174 running hook tool "resource-get" ["etcd"]
2016-08-12 16:53:27 INFO install error: could not download resource: HTTP request failed: GET https://172.31.17.139:17070/model/a7ffb9c5-6af7-4afc-847e-7b828d8a157e/units/unit-etcd-7/resources/etcd: already staged
2016-08-12 16:53:27 INFO worker.uniter.jujuc server.go:174 running hook tool "resource-get" ["etcdctl"]

I'm not certain what this error means, or how to correct the behavior I'm seeing.

description: updated
Revision history for this message
Charles Butler (lazypower) wrote :
description: updated
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.0.0
affects: juju-core → juju
Changed in juju:
milestone: 2.0.0 → none
milestone: none → 2.0.0
Changed in juju:
assignee: nobody → Richard Harding (rharding)
Changed in juju:
milestone: 2.0.0 → 2.1.0
Changed in juju:
assignee: Richard Harding (rharding) → nobody
Revision history for this message
Anastasia (anastasia-macmood) wrote :

This issues must have been addressed as part of resource performance improvements that went in since this report was filed.

I can no longer reproduce it with 2.1 tip (heading into 2.1.0 final), LXD 2.4.1. There are no "resource-get" hook errors in logs on charm deployment. I have deployed cs:etcd-23.

Changed in juju:
status: Triaged → Fix Committed
Curtis Hovey (sinzui)
Changed in juju:
status: Fix Committed → Fix Released
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.