Tuesday, 2018-03-27

openstackgerritBrian Rosmaita proposed openstack/glance-specs master: Propose policy refactor spec for Rocky  https://review.openstack.org/52802100:09
*** odyssey4me has quit IRC00:11
*** odyssey4me has joined #openstack-glance00:11
*** mvk has quit IRC00:16
*** rcernin has quit IRC00:19
*** rcernin has joined #openstack-glance00:19
*** zhurong has joined #openstack-glance00:27
*** mvk has joined #openstack-glance00:29
*** gcb has joined #openstack-glance00:36
*** gcb has quit IRC00:36
*** pdr_ has quit IRC00:37
*** pdr_ has joined #openstack-glance00:51
*** harlowja has quit IRC00:53
*** aniketh has joined #openstack-glance00:57
*** gyankum has joined #openstack-glance01:27
*** germs has joined #openstack-glance01:52
*** germs has quit IRC01:52
*** germs has joined #openstack-glance01:52
*** germs has quit IRC01:57
*** zhurong has quit IRC01:58
*** bkopilov has quit IRC02:09
openstackgerritwanghui proposed openstack/glance master: Move openstackdocstheme to extensions in api-ref  https://review.openstack.org/55671002:16
*** namnh has joined #openstack-glance02:16
*** gyee has quit IRC02:26
*** dalgaaf has quit IRC02:38
*** dalgaaf has joined #openstack-glance02:38
*** pdr_ has quit IRC02:44
*** pdr_ has joined #openstack-glance02:45
*** zhurong has joined #openstack-glance03:24
*** bkopilov has joined #openstack-glance03:40
*** germs has joined #openstack-glance03:53
*** germs has quit IRC03:53
*** germs has joined #openstack-glance03:53
*** udesale has joined #openstack-glance03:55
*** germs has quit IRC03:58
*** markvoelker has quit IRC04:27
*** abhishekk has joined #openstack-glance04:28
*** AlexeyAbashkin has joined #openstack-glance04:33
*** AlexeyAbashkin has quit IRC04:37
*** zhurong has quit IRC04:39
*** ratailor has joined #openstack-glance05:18
*** ratailor is now known as rtailor05:21
*** pdeore has joined #openstack-glance05:26
*** markvoelker has joined #openstack-glance05:28
*** germs has joined #openstack-glance05:54
*** germs has quit IRC05:54
*** germs has joined #openstack-glance05:54
*** germs has quit IRC05:59
*** namnh_ has joined #openstack-glance06:17
*** namnh has quit IRC06:20
*** namnh has joined #openstack-glance06:21
*** namnh_ has quit IRC06:21
*** namnh_ has joined #openstack-glance06:22
*** namnh has quit IRC06:26
*** mosulica has joined #openstack-glance06:33
*** afaranha has joined #openstack-glance06:49
*** ernesto has joined #openstack-glance06:53
*** pcaruana has joined #openstack-glance06:53
*** tshefi has joined #openstack-glance06:54
*** danpawlik has joined #openstack-glance07:03
*** danpawlik has quit IRC07:05
*** tesseract has joined #openstack-glance07:15
*** rcernin has quit IRC07:25
*** MattMan has quit IRC07:29
*** MattMan has joined #openstack-glance07:30
*** btully has joined #openstack-glance07:44
*** aniketh has quit IRC07:47
*** dims_ has joined #openstack-glance07:48
*** dims has quit IRC07:49
*** alexchadin has joined #openstack-glance07:51
*** AlexeyAbashkin has joined #openstack-glance07:51
*** alexchadin has quit IRC07:52
*** alexchadin has joined #openstack-glance07:53
*** zhurong has joined #openstack-glance07:53
*** kholkina has joined #openstack-glance07:54
*** germs has joined #openstack-glance07:54
*** germs has quit IRC07:54
*** germs has joined #openstack-glance07:54
*** pooja_jadhav has quit IRC07:57
*** pooja_jadhav has joined #openstack-glance07:57
*** germs has quit IRC07:59
*** alexchad_ has joined #openstack-glance08:20
*** alexchadin has quit IRC08:20
*** pdeore has quit IRC08:22
ernestohello08:23
ernestoI 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
ernestoCall 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 IRC08:25
*** pdeore has joined #openstack-glance08:25
*** mvk has quit IRC08:27
*** alexchad_ has quit IRC08:38
*** alexchadin has joined #openstack-glance08:39
*** gyankum has quit IRC08:41
*** gyan_ has joined #openstack-glance08:41
*** gyan__ has joined #openstack-glance08:44
*** gyan_ has quit IRC08:47
*** mvk has joined #openstack-glance08:55
*** zhurong has quit IRC09:00
*** afaranha has quit IRC09:11
*** ernesto has quit IRC09:21
*** dalgaaf has quit IRC09:25
*** mvk has quit IRC09:36
*** mvk has joined #openstack-glance09:37
*** germs has joined #openstack-glance09:55
*** germs has quit IRC10:00
*** dalgaaf has joined #openstack-glance10:03
*** gyan_ has joined #openstack-glance10:03
*** ratailor_ has joined #openstack-glance10:03
*** abhishekk_ has joined #openstack-glance10:03
*** udesale_ has joined #openstack-glance10:03
*** pdeore_ has joined #openstack-glance10:03
*** abhishekk has quit IRC10:04
*** rtailor has quit IRC10:04
*** pdeore has quit IRC10:04
*** gyan__ has quit IRC10:05
*** udesale__ has joined #openstack-glance10:05
*** pdeore__ has joined #openstack-glance10:05
*** gyan__ has joined #openstack-glance10:05
*** ratailor__ has joined #openstack-glance10:06
*** udesale has quit IRC10:07
*** udesale_ has quit IRC10:08
*** gyan_ has quit IRC10:08
*** pdeore_ has quit IRC10:08
*** abhishekk_ has quit IRC10:08
*** ratailor_ has quit IRC10:08
*** dalgaaf has quit IRC10:16
*** namnh_ has quit IRC10:18
*** abhishekk_ has joined #openstack-glance10:20
*** abhishekk_ is now known as abhishekk10:21
*** dalgaaf has joined #openstack-glance10:29
*** zhurong has joined #openstack-glance10:30
*** gyan__ has quit IRC10:34
*** bkopilov has quit IRC10:36
*** gyan__ has joined #openstack-glance10:36
openstackgerritwanghui proposed openstack/glance master: Move openstackdocstheme to extensions in api-ref  https://review.openstack.org/55671010:46
*** udesale__ has quit IRC10:51
*** abhishekk has quit IRC10:58
*** AlexeyAbashkin has quit IRC11:05
*** AlexeyAbashkin has joined #openstack-glance11:07
*** alexchadin has quit IRC11:09
*** ernesto has joined #openstack-glance11:13
*** openstackgerrit has quit IRC11:33
*** dtantsur|afk is now known as dtantsur11:34
*** gyan__ has quit IRC11:34
*** bkopilov has joined #openstack-glance11:34
*** rosmaita has joined #openstack-glance11:34
*** udesale has joined #openstack-glance11:47
*** pdeore__ has quit IRC11:53
*** germs has joined #openstack-glance11:56
*** germs has quit IRC11:56
*** germs has joined #openstack-glance11:56
*** germs has quit IRC12:01
*** ratailor__ is now known as ratailor12:03
*** alexchadin has joined #openstack-glance12:08
*** edmondsw has joined #openstack-glance12:13
*** tshefi has quit IRC12:14
*** pdeore__ has joined #openstack-glance12:21
*** pdeore__ has quit IRC12:21
*** zhurong has quit IRC12:27
*** markvoelker has quit IRC12:28
*** markvoelker has joined #openstack-glance12:28
*** odyssey4me has quit IRC12:43
*** odyssey4me has joined #openstack-glance12:43
*** knylande_ has joined #openstack-glance13:09
*** ernesto has quit IRC13:28
*** alexchadin has quit IRC13:42
*** alexchadin has joined #openstack-glance13:45
*** germs has joined #openstack-glance13:57
*** alexchadin has quit IRC13:58
*** germs has quit IRC14:02
*** r-daneel has joined #openstack-glance14:02
*** wxy| has joined #openstack-glance14:33
*** tshefi has joined #openstack-glance14:38
*** ratailor has quit IRC14:39
*** tshefi has quit IRC14:42
*** tshefi has joined #openstack-glance14:44
*** tshefi has quit IRC14:44
*** tshefi has joined #openstack-glance14:45
*** kholkina has quit IRC14:56
*** pcaruana has quit IRC15:10
*** mosulica has quit IRC15:13
*** germs has joined #openstack-glance15:13
*** germs has quit IRC15:13
*** germs has joined #openstack-glance15:13
*** germs has quit IRC15:18
*** aniketh has joined #openstack-glance15:19
*** imacdonn has quit IRC15:26
*** imacdonn has joined #openstack-glance15:26
*** tshefi has quit IRC15:48
*** dalgaaf has quit IRC15:58
*** gyee has joined #openstack-glance16:00
*** germs has joined #openstack-glance16:01
*** germs has quit IRC16:01
*** germs has joined #openstack-glance16:01
*** dalgaaf has joined #openstack-glance16:03
*** germs_ has joined #openstack-glance16:08
*** germs has quit IRC16:10
*** tshefi has joined #openstack-glance16:11
*** mvk has quit IRC16:11
*** germs_ has quit IRC16:11
*** germs has joined #openstack-glance16:12
*** germs has quit IRC16:12
*** germs has joined #openstack-glance16:12
*** germs has quit IRC16:22
*** pcaruana has joined #openstack-glance16:25
*** germs has joined #openstack-glance16:29
*** germs has quit IRC16:29
*** germs has joined #openstack-glance16:29
*** germs has quit IRC16:32
*** udesale has quit IRC16:41
*** germs has joined #openstack-glance16:43
*** germs has quit IRC16:43
*** germs has joined #openstack-glance16:43
*** mriedem has joined #openstack-glance16:50
mriedemcompletely naive question, but can operators put in place a schema validation check for image metadata when users upload a new image?16:50
mriedemfor 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
mriedemand if i allow users to upload their own images to my cloud, they must also have image-defined bdms or fail to upload16:51
mriedemis that possible?16:51
*** germs_ has joined #openstack-glance16:55
*** germs has quit IRC16:56
*** bkopilov has quit IRC16:57
*** wxy| has quit IRC17:05
*** bkopilov has joined #openstack-glance17:11
*** AlexeyAbashkin has quit IRC17:21
*** tesseract has quit IRC17:40
*** pcaruana has quit IRC17:51
*** dtantsur is now known as dtantsur|afk18:25
*** AlexeyAbashkin has joined #openstack-glance18:35
*** AlexeyAbashkin has quit IRC18:39
*** germs_ has quit IRC19:00
*** aniketh has quit IRC19:21
*** itlinux has joined #openstack-glance19:26
*** harlowja has joined #openstack-glance19:34
*** mvk has joined #openstack-glance19:34
*** germs has joined #openstack-glance19:55
*** germs has quit IRC19:55
*** germs has joined #openstack-glance19:55
*** edmondsw has quit IRC19:58
*** edmondsw has joined #openstack-glance19:59
*** edmondsw_ has joined #openstack-glance20:01
*** bkopilov has quit IRC20:01
*** germs has quit IRC20:02
*** germs has joined #openstack-glance20:02
*** germs has quit IRC20:02
*** germs has joined #openstack-glance20:02
*** edmondsw has quit IRC20:04
*** edmondsw_ has quit IRC20:04
*** edmondsw has joined #openstack-glance20:04
*** edmondsw has quit IRC20:04
*** bkopilov has joined #openstack-glance20:15
rosmaitamriedem: operators can have custom schemas, though i don't know of anyone who uses that feature (or how well it is enforced)20:24
rosmaitathere's a file /etc/glance/schema-image.json where you can define particular properties20:24
mriedemok is that just json schema validated?20:27
mriedemhttps://github.com/openstack/glance/blob/master/etc/schema-image.json20:27
rosmaitapossibly20:27
mriedemso i could do something like https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/schemas/block_device_mapping.py#L2120:27
mriedemanyway, yeah, looks like an option20:28
mriedembeen talking about how to make boot from volume simpler with flavors, but it's already possible with images, albeit not widely understood20:28
rosmaitai'm trying out a schema mod now20:28
mriedemand shoving json blobs in image meta isn't fun20:28
*** germs has quit IRC20:30
rosmaitamriedem i don't think there's a way to  make a custom property required20:43
rosmaitathough, if you use image import, you can write a plugin to enforce specific metadata items, i think20:44
mriedemhmm20:44
rosmaitathere's a plugin for metadata injection that could be adapted20:44
mriedemi thought there was a way to define a custom list of base properties20:45
rosmaitano, i don't think so.  you can decide whether or not to allow additional properties, but the "base" properties are glance's20:47
*** edmondsw has joined #openstack-glance20:59
rosmaitamriedem if you do decide to use this feature, be ready to file some bugs21:00
*** edmondsw_ has joined #openstack-glance21:00
rosmaitafor instance, you can schematize the properties as numbers, but glance is going to store any custom property as a string21:01
rosmaitaand if your schema fragment is invalid, looks like glance will just 500 a lot21:02
*** edmondsw has quit IRC21:04
*** edmondsw_ has quit IRC21:05
*** itlinux has quit IRC21:15
*** itlinux has joined #openstack-glance21:20
*** r-daneel has quit IRC21:25
*** edmondsw has joined #openstack-glance21:35
*** edmondsw has quit IRC21:36
*** mriedem is now known as mriedem_afk21:47
*** itlinux has quit IRC22:05
*** lbragstad has quit IRC22:15
*** rcernin has joined #openstack-glance22:16
*** germs has joined #openstack-glance22:31
*** germs has quit IRC22:31
*** germs has joined #openstack-glance22:31
*** lbragstad has joined #openstack-glance22:32
*** lbragstad has quit IRC22:32
*** germs has quit IRC22:36
*** AlexeyAbashkin has joined #openstack-glance23:12
*** AlexeyAbashkin has quit IRC23:17
*** harlowja has quit IRC23:32
*** germs has joined #openstack-glance23:35
*** germs has quit IRC23:35
*** germs has joined #openstack-glance23:35
*** germs has quit IRC23:36
*** germs has joined #openstack-glance23:36
*** germs has quit IRC23:36
*** germs has joined #openstack-glance23:36
*** mriedem_afk has quit IRC23:43
*** germs has quit IRC23:58
*** germs has joined #openstack-glance23:59
*** germs has quit IRC23:59
*** germs has joined #openstack-glance23:59

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!