)]}'
{"id":"openstack%2Fcinder~874428","triplet_id":"openstack%2Fcinder~stable%2Fyoga~Iebd93c07fb5975ed5ae850e8ef4a475d60549a45","project":"openstack/cinder","branch":"stable/yoga","hashtags":[],"change_id":"Iebd93c07fb5975ed5ae850e8ef4a475d60549a45","subject":"Filter reserved image properties","status":"ABANDONED","created":"2023-02-20 15:19:13.000000000","updated":"2023-02-20 15:37:53.000000000","total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"3d10fd38dcde3e4f40712bdc552f743025de719c","_number":874428,"virtual_id_number":874428,"owner":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"actions":{},"labels":{"Verified":{"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","default_value":0,"optional":true},"Code-Review":{"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","default_value":0,"optional":true},"Workflow":{"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Review-Priority":{"values":{"-1":"Branch Freeze"," 0":"No Priority","+1":"Important Change","+2":"Gate Blocker Fix / Urgent Change"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"CC":[{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"_account_id":28356,"name":"Rafael Weingartner","email":"rafael@apache.org","username":"rafaelweingartner"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2023-02-20 15:19:13.000000000","updated_by":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"reviewer":{"_account_id":28356,"name":"Rafael Weingartner","email":"rafael@apache.org","username":"rafaelweingartner"},"state":"CC"},{"updated":"2023-02-20 15:29:46.000000000","updated_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"reviewer":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"state":"CC"}],"messages":[{"id":"53ec1edadade3fc48040ccc2a962bbc599f8d0c0","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"date":"2023-02-20 15:19:13.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"0feab32413308afb042e0cc3decf3b1d730464fc","tag":"autogenerated:zuul:check-arm64","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2023-02-20 15:29:46.000000000","message":"Patch Set 1:\n\nBuild succeeded (ARM64 pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/cff4d3d716c24b05b9c008bda5c022cd\n\n- openstack-tox-py38-arm64 https://zuul.opendev.org/t/openstack/build/b6f030ce20504e23934071da134d9289 : SUCCESS in 8m 31s (non-voting)\n- openstack-tox-py39-arm64 https://zuul.opendev.org/t/openstack/build/bc23cbc20d2a476a893cd54253416804 : SUCCESS in 9m 28s (non-voting)","accounts_in_message":[],"_revision_number":1},{"id":"3d10fd38dcde3e4f40712bdc552f743025de719c","tag":"autogenerated:gerrit:abandon","author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"date":"2023-02-20 15:37:53.000000000","message":"Abandoned","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"bc0b16ec8663f8de3d8f03c37d87fe731a864ebf","revisions":{"bc0b16ec8663f8de3d8f03c37d87fe731a864ebf":{"kind":"REWORK","_number":1,"created":"2023-02-20 15:19:13.000000000","uploader":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"ref":"refs/changes/28/874428/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/cinder","ref":"refs/changes/28/874428/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/cinder refs/changes/28/874428/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/cinder refs/changes/28/874428/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/cinder refs/changes/28/874428/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/cinder refs/changes/28/874428/1"}}},"commit":{"parents":[{"commit":"679cf0726011f644024678f0446f19a654db405e","subject":"Merge \"Check VMDK subformat against an allowed list\" into stable/yoga","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/cinder/commit/679cf0726011f644024678f0446f19a654db405e"}]}],"author":{"name":"Rafael Weingärtner","email":"rafael@apache.org","date":"2021-10-06 13:57:00.000000000","tz":-180},"committer":{"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","date":"2023-02-20 15:14:04.000000000","tz":-180},"subject":"Filter reserved image properties","message":"Filter reserved image properties\n\nCinder is currently not able to upload a volume that is based on an\nimage back to glance. This bug is triggered if glance multistore is\nenabled (devstack in this example).\n\nWhen enabling multistore, the following properties will be stored in Cinder:\n* os_glance_failed_import\u003d\u0027\u0027\n* os_glance_importing_to_stores\u003d\u0027\u0027\n\nThose properties will cause problems when Cinder tries to perform some\nactions with Glance. Error msg:\n```\ncinderclient.exceptions.BadRequest: HTTP 403 Forbidden: Access was denied to this resource.: Attribute \u0026#x27;os_glance_failed_import\u0026#x27; is reserved. (HTTP 400)\n```\n\nNova had the same issue and solved it with:\nhttps://github.com/openstack/nova/blob/50fdbc752a9ca9c31488140ef2997ed59d861a41/releasenotes/notes/absolutely-non-inheritable-image-properties-85f7f304fdc20b61.yaml\n\nand\n\nhttps://github.com/openstack/nova/commit/dda179d3f901e4f23091f3095f1af58bc26e222e\n\nTherefore, this patch is intended to apply a similar solution in Cinder.\n\nChange-Id: I79d70543856c01a45e2d8c083ab8df6b9c047ebc\nCloses-Bug: #1945500\n(cherry picked from commit c43fb490b204aadf41a32bcb5eb075b1656e2af4)\n(cherry picked from commit 826b40281123d700b3aeba5dcf076544982973a3)\n\nConflicts:\n      cinder/image/image_utils.py\n\nNOTE(ganso): The conflict listed above is due to the syntax \"dict[str, str]\"\nnot being compatible with Python \u003c3.8. I changed it to \"Dict[str, str]\" so\nit is compatible.\n\nChange-Id: Iebd93c07fb5975ed5ae850e8ef4a475d60549a45\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/cinder/commit/bc0b16ec8663f8de3d8f03c37d87fe731a864ebf"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/cinder/commit/bc0b16ec8663f8de3d8f03c37d87fe731a864ebf"}]},"branch":"refs/heads/stable/yoga"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
