cmd/juju/storage: "add" fails to dynamically add filesystem for storage

Bug #1462146 reported by Andrew Wilkins on 2015-06-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
High
Anastasia
1.24
High
Anastasia

Bug Description

There seems to be a problem with juju storage add. I've got a charm with a filesystem-type store, and I've deployed using EBS. So it's a filesystem backed by EBS.

I then did "juju storage add <unit> filesystem=ebs,1G" to get another instance. That doesn't error, but if I then run "juju storage list" I get:

$ juju storage list
getting attachments for storage filesystem/1: getting storage attachment info: getting filesystem: filesystem for storage instance "filesystem/1" not found
[Storage]
UNIT ID LOCATION STATUS PERSISTENT
storagetest/0 filesystem/0 /var/lib/juju/storage/0/0 attached false

Andrew Wilkins (axwalk) on 2015-06-04
Changed in juju-core:
status: Triaged → New
importance: High → Undecided
Andrew Wilkins (axwalk) wrote :
Anastasia (anastasia-macmood) wrote :

I wrote a unit test to reproduce your sequence of events. I am using testing charm that declares filesystem store as per your configuration.

The storage is added dynamically as instance count is increased by 1 from before to after.

However, storage list does not seem to reflect this. Looking into storage list now.

Anastasia (anastasia-macmood) wrote :

Whilst dynamic storage creates storage instances and attachments, it does not create filesystems/volumes and related attachments. Fixing this now :D

Curtis Hovey (sinzui) on 2015-06-05
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
milestone: none → 1.25.0
Changed in juju-core:
assignee: nobody → Anastasia (anastasia-macmood)
status: Triaged → In Progress
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui) on 2015-06-25
Changed in juju-core:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments