Message of "Incomplete relations" is confusing (auto zone assignment)

Bug #1863800 reported by Peter Matulis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Swift Storage Charm
Triaged
Wishlist
Unassigned

Bug Description

The `juju status` command shows these lines:

swift-proxy/2* blocked idle 0/lxd/3 10.0.0.214 8080/tcp Not enough related storage nodes
swift-storage/3* waiting idle 1 10.0.0.246 Incomplete relations: proxy

This is the case even if the relation has already been added:

juju deploy swift-proxy --to lxd:0 --config swift-proxy.yaml
juju deploy swift-storage --to 1 --config swift-storage.yaml
juju add-relation swift-proxy:swift-storage swift-storage:swift-storage

Only once storage nodes are added to complete the replica requirement does the message go away:

juju add-unit --to 2 swift-storage
juju add-unit --to 3 swift-storage

swift-proxy/3* active idle 0/lxd/4 10.0.0.204 8080/tcp Unit is ready
swift-storage/6* active idle 1 10.0.0.246 Unit is ready

cat swift-proxy.yaml swift-storage.yaml

swift-proxy:
  zone-assignment: auto
  replicas: 3
swift-storage:
  block-device: vdc
  overwrite: "true"

summary: - Message of "Incomplete relations" is confusing
+ Message of "Incomplete relations" is confusing (auto zone assignment)
Andrew McLeod (admcleod)
Changed in charm-swift-storage:
status: New → Triaged
importance: Undecided → Wishlist
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.