Can't create an artifact when other artifact is activating
Bug #1720139 reported by
Mike Fedosin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glare |
Fix Released
|
High
|
Mike Fedosin |
Bug Description
When trying to update status of two different artifacts I got an error:
Cause : Glare Error - [ {"explanation": "There was a conflict when trying to complete your request.", "code": 409, "error":
{"message": "Cannot lock an item with key CloudBandNetwor
, "title": "Conflict"} ]
It happens because glare sets unnecessary global lock on whole user scope when modifying the status.
Changed in glare: | |
assignee: | nobody → Mike Fedosin (mfedosin) |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in glare: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/507909 /git.openstack. org/cgit/ openstack/ glare/commit/ ?id=d2ce390ca83 c60b20a1f2b7520 5ab34d416284fe
Committed: https:/
Submitter: Zuul
Branch: master
commit d2ce390ca83c60b 20a1f2b75205ab3 4d416284fe
Author: Mike Fedosin <email address hidden>
Date: Wed Sep 27 18:55:37 2017 +0300
Revert scoped lock format
Recently scoped lock format was mistakenly changed name:version" to "owner". New format
from "type_name:
prevents simultaneuos modifications of different
artifacts by one tenant, because it locks the whole
tenant scope, not just a single artifact.
For this reason it's suggested to revert the format as
it was before.
Closes-bug: #1720139
Change-Id: I9dc26da85f424a 4ced1ca232d1f33 c548b602f0f