Activity log for bug #1371559

Date Who What changed Old value New value Message
2014-09-19 10:51:34 Kamil Rykowski bug added bug
2014-09-24 08:23:33 Kamil Rykowski bug task added glance
2014-09-24 09:42:22 Kamil Rykowski glance: status New In Progress
2014-09-24 09:42:26 Kamil Rykowski python-glanceclient: status New In Progress
2014-09-24 09:44:35 Kamil Rykowski description Step1: Create an empty image using api v1 or v2. Step2: Use glanceclient with v2 API to update image property called "architecture": glance --os-image-version 2 image-update --property architecture='x86' This will show following error message: <html> <head> <title>409 Conflict</title> </head> <body> <h1>409 Conflict</h1> There was a conflict when trying to complete your request.<br /><br /> Property architecture does not exist. </body> </html> (HTTP 409) The error shows up, because the client sends to glance API following data: [{"patch: "/architecture", "value": "x86", "op": "replace"}] instead of [{"patch: "/architecture", "value": "x86", "op": "add"}] The issue is somehow related to overridden patch method in SchemaBasedModel class, which propagates non existing properties from schema properties. Step1: Create an empty image using api v1 or v2. Step2: Use glanceclient with v2 API to update image property called "architecture": glance --os-image-api-version 2 image-update --property architecture='x86' This will show following error message: <html>   <head>     <title>409 Conflict</title>   </head>   <body>     <h1>409 Conflict</h1>     There was a conflict when trying to complete your request.<br /><br />     Property architecture does not exist.   </body> </html> (HTTP 409) The error shows up, because the client sends to glance API following data: [{"patch: "/architecture", "value": "x86", "op": "replace"}] instead of [{"patch: "/architecture", "value": "x86", "op": "add"}] The issue is somehow related to overridden patch method in SchemaBasedModel class, which propagates non existing properties from schema properties.
2014-09-24 11:38:57 Kamil Rykowski glance: assignee Kamil Rykowski (kamil-rykowski)
2014-09-24 11:38:59 Kamil Rykowski python-glanceclient: assignee Kamil Rykowski (kamil-rykowski)
2014-10-03 02:57:11 OpenStack Infra python-glanceclient: status In Progress Fix Committed
2014-10-03 06:15:31 Kamil Rykowski glance: status In Progress Fix Committed
2014-10-03 16:06:36 Dolph Mathews glance: importance Undecided Medium
2014-10-03 16:06:39 Dolph Mathews python-glanceclient: importance Undecided Medium
2014-10-06 15:41:12 Thierry Carrez glance: milestone juno-rc2
2014-10-07 14:11:31 OpenStack Infra glance: status Fix Committed Fix Released
2014-10-16 08:21:35 Thierry Carrez glance: milestone juno-rc2 2014.2
2014-11-10 17:48:22 Louis Taylor python-glanceclient: status Fix Committed Fix Released