openstackgerrit | Brian Rosmaita proposed openstack/glance-specs master: Propose policy refactor spec for Rocky https://review.openstack.org/528021 | 00:09 |
---|---|---|
*** odyssey4me has quit IRC | 00:11 | |
*** odyssey4me has joined #openstack-glance | 00:11 | |
*** mvk has quit IRC | 00:16 | |
*** rcernin has quit IRC | 00:19 | |
*** rcernin has joined #openstack-glance | 00:19 | |
*** zhurong has joined #openstack-glance | 00:27 | |
*** mvk has joined #openstack-glance | 00:29 | |
*** gcb has joined #openstack-glance | 00:36 | |
*** gcb has quit IRC | 00:36 | |
*** pdr_ has quit IRC | 00:37 | |
*** pdr_ has joined #openstack-glance | 00:51 | |
*** harlowja has quit IRC | 00:53 | |
*** aniketh has joined #openstack-glance | 00:57 | |
*** gyankum has joined #openstack-glance | 01:27 | |
*** germs has joined #openstack-glance | 01:52 | |
*** germs has quit IRC | 01:52 | |
*** germs has joined #openstack-glance | 01:52 | |
*** germs has quit IRC | 01:57 | |
*** zhurong has quit IRC | 01:58 | |
*** bkopilov has quit IRC | 02:09 | |
openstackgerrit | wanghui proposed openstack/glance master: Move openstackdocstheme to extensions in api-ref https://review.openstack.org/556710 | 02:16 |
*** namnh has joined #openstack-glance | 02:16 | |
*** gyee has quit IRC | 02:26 | |
*** dalgaaf has quit IRC | 02:38 | |
*** dalgaaf has joined #openstack-glance | 02:38 | |
*** pdr_ has quit IRC | 02:44 | |
*** pdr_ has joined #openstack-glance | 02:45 | |
*** zhurong has joined #openstack-glance | 03:24 | |
*** bkopilov has joined #openstack-glance | 03:40 | |
*** germs has joined #openstack-glance | 03:53 | |
*** germs has quit IRC | 03:53 | |
*** germs has joined #openstack-glance | 03:53 | |
*** udesale has joined #openstack-glance | 03:55 | |
*** germs has quit IRC | 03:58 | |
*** markvoelker has quit IRC | 04:27 | |
*** abhishekk has joined #openstack-glance | 04:28 | |
*** AlexeyAbashkin has joined #openstack-glance | 04:33 | |
*** AlexeyAbashkin has quit IRC | 04:37 | |
*** zhurong has quit IRC | 04:39 | |
*** ratailor has joined #openstack-glance | 05:18 | |
*** ratailor is now known as rtailor | 05:21 | |
*** pdeore has joined #openstack-glance | 05:26 | |
*** markvoelker has joined #openstack-glance | 05:28 | |
*** germs has joined #openstack-glance | 05:54 | |
*** germs has quit IRC | 05:54 | |
*** germs has joined #openstack-glance | 05:54 | |
*** germs has quit IRC | 05:59 | |
*** namnh_ has joined #openstack-glance | 06:17 | |
*** namnh has quit IRC | 06:20 | |
*** namnh has joined #openstack-glance | 06:21 | |
*** namnh_ has quit IRC | 06:21 | |
*** namnh_ has joined #openstack-glance | 06:22 | |
*** namnh has quit IRC | 06:26 | |
*** mosulica has joined #openstack-glance | 06:33 | |
*** afaranha has joined #openstack-glance | 06:49 | |
*** ernesto has joined #openstack-glance | 06:53 | |
*** pcaruana has joined #openstack-glance | 06:53 | |
*** tshefi has joined #openstack-glance | 06:54 | |
*** danpawlik has joined #openstack-glance | 07:03 | |
*** danpawlik has quit IRC | 07:05 | |
*** tesseract has joined #openstack-glance | 07:15 | |
*** rcernin has quit IRC | 07:25 | |
*** MattMan has quit IRC | 07:29 | |
*** MattMan has joined #openstack-glance | 07:30 | |
*** btully has joined #openstack-glance | 07:44 | |
*** aniketh has quit IRC | 07:47 | |
*** dims_ has joined #openstack-glance | 07:48 | |
*** dims has quit IRC | 07:49 | |
*** alexchadin has joined #openstack-glance | 07:51 | |
*** AlexeyAbashkin has joined #openstack-glance | 07:51 | |
*** alexchadin has quit IRC | 07:52 | |
*** alexchadin has joined #openstack-glance | 07:53 | |
*** zhurong has joined #openstack-glance | 07:53 | |
*** kholkina has joined #openstack-glance | 07:54 | |
*** germs has joined #openstack-glance | 07:54 | |
*** germs has quit IRC | 07:54 | |
*** germs has joined #openstack-glance | 07:54 | |
*** pooja_jadhav has quit IRC | 07:57 | |
*** pooja_jadhav has joined #openstack-glance | 07:57 | |
*** germs has quit IRC | 07:59 | |
*** alexchad_ has joined #openstack-glance | 08:20 | |
*** alexchadin has quit IRC | 08:20 | |
*** pdeore has quit IRC | 08:22 | |
ernesto | hello | 08:23 |
ernesto | I use python-glanceclient v2.9.1. I have an image with property {"a": "b"}. By trying to remove property "a", and set a new property with the same value (e.g.: {"g": "b"}) an error is returned: 400 Bad Request: Invalid operation: `move`. It must be one of the following: add, remove, replace. (HTTP 400) | 08:23 |
ernesto | Call is made with glance_client.images.update(image.id, remove_props=remove_props, **props), where remove_props=['a'] and props={"g": "b} does anyone know why? | 08:23 |
*** btully has quit IRC | 08:25 | |
*** pdeore has joined #openstack-glance | 08:25 | |
*** mvk has quit IRC | 08:27 | |
*** alexchad_ has quit IRC | 08:38 | |
*** alexchadin has joined #openstack-glance | 08:39 | |
*** gyankum has quit IRC | 08:41 | |
*** gyan_ has joined #openstack-glance | 08:41 | |
*** gyan__ has joined #openstack-glance | 08:44 | |
*** gyan_ has quit IRC | 08:47 | |
*** mvk has joined #openstack-glance | 08:55 | |
*** zhurong has quit IRC | 09:00 | |
*** afaranha has quit IRC | 09:11 | |
*** ernesto has quit IRC | 09:21 | |
*** dalgaaf has quit IRC | 09:25 | |
*** mvk has quit IRC | 09:36 | |
*** mvk has joined #openstack-glance | 09:37 | |
*** germs has joined #openstack-glance | 09:55 | |
*** germs has quit IRC | 10:00 | |
*** dalgaaf has joined #openstack-glance | 10:03 | |
*** gyan_ has joined #openstack-glance | 10:03 | |
*** ratailor_ has joined #openstack-glance | 10:03 | |
*** abhishekk_ has joined #openstack-glance | 10:03 | |
*** udesale_ has joined #openstack-glance | 10:03 | |
*** pdeore_ has joined #openstack-glance | 10:03 | |
*** abhishekk has quit IRC | 10:04 | |
*** rtailor has quit IRC | 10:04 | |
*** pdeore has quit IRC | 10:04 | |
*** gyan__ has quit IRC | 10:05 | |
*** udesale__ has joined #openstack-glance | 10:05 | |
*** pdeore__ has joined #openstack-glance | 10:05 | |
*** gyan__ has joined #openstack-glance | 10:05 | |
*** ratailor__ has joined #openstack-glance | 10:06 | |
*** udesale has quit IRC | 10:07 | |
*** udesale_ has quit IRC | 10:08 | |
*** gyan_ has quit IRC | 10:08 | |
*** pdeore_ has quit IRC | 10:08 | |
*** abhishekk_ has quit IRC | 10:08 | |
*** ratailor_ has quit IRC | 10:08 | |
*** dalgaaf has quit IRC | 10:16 | |
*** namnh_ has quit IRC | 10:18 | |
*** abhishekk_ has joined #openstack-glance | 10:20 | |
*** abhishekk_ is now known as abhishekk | 10:21 | |
*** dalgaaf has joined #openstack-glance | 10:29 | |
*** zhurong has joined #openstack-glance | 10:30 | |
*** gyan__ has quit IRC | 10:34 | |
*** bkopilov has quit IRC | 10:36 | |
*** gyan__ has joined #openstack-glance | 10:36 | |
openstackgerrit | wanghui proposed openstack/glance master: Move openstackdocstheme to extensions in api-ref https://review.openstack.org/556710 | 10:46 |
*** udesale__ has quit IRC | 10:51 | |
*** abhishekk has quit IRC | 10:58 | |
*** AlexeyAbashkin has quit IRC | 11:05 | |
*** AlexeyAbashkin has joined #openstack-glance | 11:07 | |
*** alexchadin has quit IRC | 11:09 | |
*** ernesto has joined #openstack-glance | 11:13 | |
*** openstackgerrit has quit IRC | 11:33 | |
*** dtantsur|afk is now known as dtantsur | 11:34 | |
*** gyan__ has quit IRC | 11:34 | |
*** bkopilov has joined #openstack-glance | 11:34 | |
*** rosmaita has joined #openstack-glance | 11:34 | |
*** udesale has joined #openstack-glance | 11:47 | |
*** pdeore__ has quit IRC | 11:53 | |
*** germs has joined #openstack-glance | 11:56 | |
*** germs has quit IRC | 11:56 | |
*** germs has joined #openstack-glance | 11:56 | |
*** germs has quit IRC | 12:01 | |
*** ratailor__ is now known as ratailor | 12:03 | |
*** alexchadin has joined #openstack-glance | 12:08 | |
*** edmondsw has joined #openstack-glance | 12:13 | |
*** tshefi has quit IRC | 12:14 | |
*** pdeore__ has joined #openstack-glance | 12:21 | |
*** pdeore__ has quit IRC | 12:21 | |
*** zhurong has quit IRC | 12:27 | |
*** markvoelker has quit IRC | 12:28 | |
*** markvoelker has joined #openstack-glance | 12:28 | |
*** odyssey4me has quit IRC | 12:43 | |
*** odyssey4me has joined #openstack-glance | 12:43 | |
*** knylande_ has joined #openstack-glance | 13:09 | |
*** ernesto has quit IRC | 13:28 | |
*** alexchadin has quit IRC | 13:42 | |
*** alexchadin has joined #openstack-glance | 13:45 | |
*** germs has joined #openstack-glance | 13:57 | |
*** alexchadin has quit IRC | 13:58 | |
*** germs has quit IRC | 14:02 | |
*** r-daneel has joined #openstack-glance | 14:02 | |
*** wxy| has joined #openstack-glance | 14:33 | |
*** tshefi has joined #openstack-glance | 14:38 | |
*** ratailor has quit IRC | 14:39 | |
*** tshefi has quit IRC | 14:42 | |
*** tshefi has joined #openstack-glance | 14:44 | |
*** tshefi has quit IRC | 14:44 | |
*** tshefi has joined #openstack-glance | 14:45 | |
*** kholkina has quit IRC | 14:56 | |
*** pcaruana has quit IRC | 15:10 | |
*** mosulica has quit IRC | 15:13 | |
*** germs has joined #openstack-glance | 15:13 | |
*** germs has quit IRC | 15:13 | |
*** germs has joined #openstack-glance | 15:13 | |
*** germs has quit IRC | 15:18 | |
*** aniketh has joined #openstack-glance | 15:19 | |
*** imacdonn has quit IRC | 15:26 | |
*** imacdonn has joined #openstack-glance | 15:26 | |
*** tshefi has quit IRC | 15:48 | |
*** dalgaaf has quit IRC | 15:58 | |
*** gyee has joined #openstack-glance | 16:00 | |
*** germs has joined #openstack-glance | 16:01 | |
*** germs has quit IRC | 16:01 | |
*** germs has joined #openstack-glance | 16:01 | |
*** dalgaaf has joined #openstack-glance | 16:03 | |
*** germs_ has joined #openstack-glance | 16:08 | |
*** germs has quit IRC | 16:10 | |
*** tshefi has joined #openstack-glance | 16:11 | |
*** mvk has quit IRC | 16:11 | |
*** germs_ has quit IRC | 16:11 | |
*** germs has joined #openstack-glance | 16:12 | |
*** germs has quit IRC | 16:12 | |
*** germs has joined #openstack-glance | 16:12 | |
*** germs has quit IRC | 16:22 | |
*** pcaruana has joined #openstack-glance | 16:25 | |
*** germs has joined #openstack-glance | 16:29 | |
*** germs has quit IRC | 16:29 | |
*** germs has joined #openstack-glance | 16:29 | |
*** germs has quit IRC | 16:32 | |
*** udesale has quit IRC | 16:41 | |
*** germs has joined #openstack-glance | 16:43 | |
*** germs has quit IRC | 16:43 | |
*** germs has joined #openstack-glance | 16:43 | |
*** mriedem has joined #openstack-glance | 16:50 | |
mriedem | completely naive question, but can operators put in place a schema validation check for image metadata when users upload a new image? | 16:50 |
mriedem | for example, say i want only volume-backed instances in my cloud, so i create all of my images with image-defined BDMs (block_device_mapping_v2 in the image meta), | 16:51 |
mriedem | and if i allow users to upload their own images to my cloud, they must also have image-defined bdms or fail to upload | 16:51 |
mriedem | is that possible? | 16:51 |
*** germs_ has joined #openstack-glance | 16:55 | |
*** germs has quit IRC | 16:56 | |
*** bkopilov has quit IRC | 16:57 | |
*** wxy| has quit IRC | 17:05 | |
*** bkopilov has joined #openstack-glance | 17:11 | |
*** AlexeyAbashkin has quit IRC | 17:21 | |
*** tesseract has quit IRC | 17:40 | |
*** pcaruana has quit IRC | 17:51 | |
*** dtantsur is now known as dtantsur|afk | 18:25 | |
*** AlexeyAbashkin has joined #openstack-glance | 18:35 | |
*** AlexeyAbashkin has quit IRC | 18:39 | |
*** germs_ has quit IRC | 19:00 | |
*** aniketh has quit IRC | 19:21 | |
*** itlinux has joined #openstack-glance | 19:26 | |
*** harlowja has joined #openstack-glance | 19:34 | |
*** mvk has joined #openstack-glance | 19:34 | |
*** germs has joined #openstack-glance | 19:55 | |
*** germs has quit IRC | 19:55 | |
*** germs has joined #openstack-glance | 19:55 | |
*** edmondsw has quit IRC | 19:58 | |
*** edmondsw has joined #openstack-glance | 19:59 | |
*** edmondsw_ has joined #openstack-glance | 20:01 | |
*** bkopilov has quit IRC | 20:01 | |
*** germs has quit IRC | 20:02 | |
*** germs has joined #openstack-glance | 20:02 | |
*** germs has quit IRC | 20:02 | |
*** germs has joined #openstack-glance | 20:02 | |
*** edmondsw has quit IRC | 20:04 | |
*** edmondsw_ has quit IRC | 20:04 | |
*** edmondsw has joined #openstack-glance | 20:04 | |
*** edmondsw has quit IRC | 20:04 | |
*** bkopilov has joined #openstack-glance | 20:15 | |
rosmaita | mriedem: operators can have custom schemas, though i don't know of anyone who uses that feature (or how well it is enforced) | 20:24 |
rosmaita | there's a file /etc/glance/schema-image.json where you can define particular properties | 20:24 |
mriedem | ok is that just json schema validated? | 20:27 |
mriedem | https://github.com/openstack/glance/blob/master/etc/schema-image.json | 20:27 |
rosmaita | possibly | 20:27 |
mriedem | so i could do something like https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/schemas/block_device_mapping.py#L21 | 20:27 |
mriedem | anyway, yeah, looks like an option | 20:28 |
mriedem | been talking about how to make boot from volume simpler with flavors, but it's already possible with images, albeit not widely understood | 20:28 |
rosmaita | i'm trying out a schema mod now | 20:28 |
mriedem | and shoving json blobs in image meta isn't fun | 20:28 |
*** germs has quit IRC | 20:30 | |
rosmaita | mriedem i don't think there's a way to make a custom property required | 20:43 |
rosmaita | though, if you use image import, you can write a plugin to enforce specific metadata items, i think | 20:44 |
mriedem | hmm | 20:44 |
rosmaita | there's a plugin for metadata injection that could be adapted | 20:44 |
mriedem | i thought there was a way to define a custom list of base properties | 20:45 |
rosmaita | no, i don't think so. you can decide whether or not to allow additional properties, but the "base" properties are glance's | 20:47 |
*** edmondsw has joined #openstack-glance | 20:59 | |
rosmaita | mriedem if you do decide to use this feature, be ready to file some bugs | 21:00 |
*** edmondsw_ has joined #openstack-glance | 21:00 | |
rosmaita | for instance, you can schematize the properties as numbers, but glance is going to store any custom property as a string | 21:01 |
rosmaita | and if your schema fragment is invalid, looks like glance will just 500 a lot | 21:02 |
*** edmondsw has quit IRC | 21:04 | |
*** edmondsw_ has quit IRC | 21:05 | |
*** itlinux has quit IRC | 21:15 | |
*** itlinux has joined #openstack-glance | 21:20 | |
*** r-daneel has quit IRC | 21:25 | |
*** edmondsw has joined #openstack-glance | 21:35 | |
*** edmondsw has quit IRC | 21:36 | |
*** mriedem is now known as mriedem_afk | 21:47 | |
*** itlinux has quit IRC | 22:05 | |
*** lbragstad has quit IRC | 22:15 | |
*** rcernin has joined #openstack-glance | 22:16 | |
*** germs has joined #openstack-glance | 22:31 | |
*** germs has quit IRC | 22:31 | |
*** germs has joined #openstack-glance | 22:31 | |
*** lbragstad has joined #openstack-glance | 22:32 | |
*** lbragstad has quit IRC | 22:32 | |
*** germs has quit IRC | 22:36 | |
*** AlexeyAbashkin has joined #openstack-glance | 23:12 | |
*** AlexeyAbashkin has quit IRC | 23:17 | |
*** harlowja has quit IRC | 23:32 | |
*** germs has joined #openstack-glance | 23:35 | |
*** germs has quit IRC | 23:35 | |
*** germs has joined #openstack-glance | 23:35 | |
*** germs has quit IRC | 23:36 | |
*** germs has joined #openstack-glance | 23:36 | |
*** germs has quit IRC | 23:36 | |
*** germs has joined #openstack-glance | 23:36 | |
*** mriedem_afk has quit IRC | 23:43 | |
*** germs has quit IRC | 23:58 | |
*** germs has joined #openstack-glance | 23:59 | |
*** germs has quit IRC | 23:59 | |
*** germs has joined #openstack-glance | 23:59 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!