Default storage type from juju add-storage is not in align with the existing one.

Bug #1700860 reported by Burton Swan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Andrew Wilkins

Bug Description

Juju version: 2.3-alpha1-xenial-amd64

If a charm is deployed with a type-specified storage, e.g.: loop, the type of storage added (the second one) to the unit of that charm, by juju storage, if no type is specified, should be kept same as the first one, in this case it should be loop too.

On AWS bootstrapped controller, if no type is specified for the added storage (the second one), it shows up as ebs. Using charm ceph-osd as an example, the procedures are:

https://jujucharms.com/ceph-osd/

1. Set credentials, bootstrap a controller on AWS.
2. juju deploy ceph-osd --series xenial --storage osd-devices=loop,1G
3. Wait until the application deployment is finished, up and ready.
4. juju storage
[Storage]
Unit Id Type Pool Provider id Size Status Message
ceph-osd/0 osd-devices/1 block loop volume-1-1 1.0GiB attached

5. juju add-storage ceph-osd/0 osd-devices=1
6. Wait until juju add-storage is complete.
7. juju storage
[Storage]
Unit Id Type Pool Provider id Size Status Message
ceph-osd/0 osd-devices/1 block loop volume-1-1 1.0GiB attached
ceph-osd/0 osd-devices/2 block ebs vol-0345018354ea0bdf5 1.0GiB attached

From output of step 7, the type of added storage should be loop instead of ebs.

Andrew Wilkins (axwalk)
Changed in juju:
status: New → Triaged
importance: Undecided → High
Andrew Wilkins (axwalk)
Changed in juju:
status: Triaged → In Progress
assignee: nobody → Andrew Wilkins (axwalk)
Revision history for this message
Andrew Wilkins (axwalk) wrote :
Andrew Wilkins (axwalk)
Changed in juju:
status: In Progress → Fix Committed
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.