unit ids should be unique
Bug #1174610 reported by
Kapil Thangavelu
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
Medium
|
Matthew Williams |
Bug Description
juju deploy precise/varnish lb
juju destroy-service lb
juju deploy precise/haproxy lb
the unit id lb/0 is now pointing to something completely different. prior versions of juju.. the new haproxy unit would be lb/1.
Related branches
lp:~dimitern/juju-core/300-lp-1174610-unit-ids-unique
Rejected
for merging
into
lp:~go-bot/juju-core/trunk
- Juju Engineering: Pending requested
-
Diff: 139 lines (+33/-14)5 files modifiedstate/open.go (+1/-0)
state/sequence.go (+1/-1)
state/service.go (+6/-11)
state/service_test.go (+24/-2)
state/state.go (+1/-0)
Changed in juju-core: | |
status: | New → Triaged |
tags: | added: regression |
Changed in juju-core: | |
milestone: | none → 1.18.0 |
Changed in juju-core: | |
assignee: | nobody → Dimiter Naydenov (dimitern) |
status: | Triaged → In Progress |
Changed in juju-core: | |
assignee: | Dimiter Naydenov (dimitern) → nobody |
Changed in juju-core: | |
milestone: | none → next-stable |
tags: | added: reliability |
tags: | added: 14.10 |
Changed in juju-core: | |
importance: | High → Medium |
milestone: | next-stable → none |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hmm... I'm not so sure. I think it's important to be able to distinguish between "lb/0" and "lb/0", in the same way it's important to distinguish between "lb" and "lb". Would it be sufficient to add and expose really-unique integer ids per lacking entity? We hope to be able to fix that once we have the API dealt with.
Ofc, it wouldn't be hard to change the unit id sequence, but I need a bit more convincing. It feels inconsistent; and I'd rather not devote time to it if it'll be adequately addressed by other work anyway.