race condition in charm upload
Bug #1653562 reported by
Jason Hobbs
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
I have a test that creates many applications from a local charm. In parallel, i have 5 threads running that do:
for i in x to y:
juju deploy ./small-charm small{$i}
The charms all have the same name and get assigned a full name like "local:
Sometimes I'll get an error:
ERROR cannot upload charm: already exists
I guess more than one upload is trying to claim the same name - looks like a race condition.
This is with juju2.1-beta3
tags: | added: race-condition |
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2.2.0 |
milestone: | 2.2.0 → 2.1.0 |
description: | updated |
To post a comment you must log in.
Removing 2.1 milestone as we will not be addressing this issue in 2.1.