Tuesday, 2018-12-18

*** itlinux has quit IRC00:02
*** Liang__ has joined #openstack-glance00:37
*** Liang__ is now known as LiangFang00:40
*** gyee has quit IRC01:18
*** dpawlik has joined #openstack-glance03:06
*** dpawlik has quit IRC03:10
*** rcernin has quit IRC03:25
*** rcernin has joined #openstack-glance03:27
*** rcernin has quit IRC03:28
*** rcernin has joined #openstack-glance03:28
*** abhishekk has joined #openstack-glance03:52
*** udesale has joined #openstack-glance04:11
*** pooja_jadhav has joined #openstack-glance04:48
*** pdeore has joined #openstack-glance05:03
*** ratailor has joined #openstack-glance05:37
*** sdinescu has quit IRC05:39
openstackgerritMerged openstack/glance master: Update mailinglist from dev to discuss  https://review.openstack.org/62181905:40
*** itlinux has joined #openstack-glance05:45
*** bhagyashris has joined #openstack-glance06:27
*** mgagne_ has quit IRC06:35
*** mgagne has joined #openstack-glance06:39
openstackgerritMerged openstack/glance master: Remove moxstubout usage  https://review.openstack.org/61378406:56
*** Luzi has joined #openstack-glance07:03
*** mosulica has joined #openstack-glance07:09
*** sdinescu has joined #openstack-glance07:24
openstackgerritMerged openstack/python-glanceclient master: Change openstack-dev to openstack-discuss  https://review.openstack.org/62187607:29
*** imacdonn has quit IRC07:29
*** imacdonn has joined #openstack-glance07:29
*** dpawlik has joined #openstack-glance07:35
*** dpawlik has quit IRC07:42
openstackgerrityfzhao proposed openstack/glance_store master: Update mailinglist from dev to discuss  https://review.openstack.org/62582307:43
*** dpawlik has joined #openstack-glance07:56
*** ShilpaSD has joined #openstack-glance08:07
*** priteau has joined #openstack-glance08:47
*** poojajadhav has joined #openstack-glance09:02
*** pooja_jadhav has quit IRC09:06
*** poojajadhav has quit IRC09:18
*** rcernin has quit IRC09:18
*** poojajadhav has joined #openstack-glance09:19
*** LiangFang has quit IRC09:45
*** sdin has joined #openstack-glance10:00
*** sdinescu has quit IRC10:03
*** bhagyashris has quit IRC10:04
*** poojajadhav has quit IRC10:07
*** dpawlik has quit IRC10:30
*** dpawlik_ has joined #openstack-glance10:30
*** ratailor has quit IRC10:37
*** ratailor has joined #openstack-glance10:38
*** udesale has quit IRC10:40
*** abhishekk has quit IRC11:05
*** jmlowe has quit IRC11:37
*** jmlowe has joined #openstack-glance11:40
*** baojg has joined #openstack-glance11:52
*** ratailor has quit IRC12:15
*** udesale has joined #openstack-glance12:27
*** pdeore has quit IRC13:13
*** pooja_jadhav has joined #openstack-glance13:34
*** poojajadhav has joined #openstack-glance13:35
*** pooja_jadhav has quit IRC13:38
openstackgerritBrian Rosmaita proposed openstack/glance master: Update show_multiple_locations deprecation note  https://review.openstack.org/62570214:05
*** poojajadhav has quit IRC14:41
*** dpawlik_ has quit IRC14:47
*** Luzi has quit IRC14:50
*** itlinux has quit IRC15:00
*** dpawlik has joined #openstack-glance15:16
*** dpawlik has quit IRC15:21
*** sdin has quit IRC15:55
*** sdinescu has joined #openstack-glance15:57
*** mosulica has quit IRC16:04
*** itlinux has joined #openstack-glance16:04
*** itlinux_ has joined #openstack-glance16:08
*** itlinux has quit IRC16:12
*** torvall has joined #openstack-glance16:19
torvallHey! I'm trying to register existing RBD images in Glance, but it seems I can't use the v2 API for that, is that correct?16:21
*** spa-87 has joined #openstack-glance16:25
*** pooja_jadhav has joined #openstack-glance16:36
*** torvall has quit IRC16:37
*** poojajadhav has joined #openstack-glance16:38
*** torvall has joined #openstack-glance16:40
*** pooja_jadhav has quit IRC16:40
*** udesale has quit IRC16:49
torvallHey! I'm trying to register an existing RBD image in Glance, but it seems that I can't do that in v2 of the API? Apparently, I can't set the "locations" property. Can anyone point me to a doc/source file where I can find out how to do this in the v2 API (if it's even possible)?16:49
jmloweWhat error do you get?16:50
torvallI get "Attribute 'locations' is reserved."16:51
jmlowedo you have show_multiple_locations set to true?16:51
torvallWhere can I find that?16:52
torvallFound it. I do, yes.16:52
jmlowedefault section glance-api.conf, also need show_image_direct_url = True16:53
torvallThat one's True as well.16:53
jmloweat least that's what I need to do a shelve, which creates the image then updates it once the clone is made, afaik16:53
jmlowebasically what you are trying to do16:54
torvallWe can snapshot and shelve without any issues. But we need to register existing images in our RBD storage in Glance, and other than using the v1 API, I can't seem to find out how to do it.16:55
torvallAlso tried to create the image and update the 'locations' property afterwards, and couldn't get that to work as well.16:57
*** jokke_ has quit IRC17:10
*** poojajadhav has quit IRC17:13
*** spa-87 has quit IRC17:20
imacdonntorvall: how did you attempt to update the locations ?17:21
torvallUsing the update image endpoint API. I admit I may have not tried hard enough, but did try different things.17:28
torvallShould it have worked?17:28
torvallOr rather, is that how I should do it? Create and then update the locations?17:29
imacdonntorvall: you should be able to create an image then use JSON-patch to add a location to it17:31
imacdonnit's sortof described here, though not very well ... https://specs.openstack.org/openstack/glance-specs/specs/api/v2/http-patch-image-api-v2.html17:33
torvallCool, thanks! The second example under "Operations" seems to be exactly what I have to do.17:34
imacdonnhere's a curl example of how I'd add a location to a queued image:17:36
imacdonncurl -g -i -X PATCH -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: imacdonn-getting-dangerous' -H "X-Auth-Token: ${TOKEN}" -H 'Content-Type: application/openstack-images-v2.1-json-patch' -d '[{"op":"add", "path": "/locations/0", "value": {"url": "'"${IMAGEURL}"'", "metadata": {}}}]' ${ENDPOINT}/v2/images/${IMAGEID}17:36
imacdonnyou should be aware that there will be no checksum and no multihash for an image created this way17:36
imacdonnif that's of interest, see: https://specs.openstack.org/openstack/glance-specs/specs/stein/approved/glance/spec-lite-locations-with-validation-data.html17:36
torvallIt is of interest, yes. Thank you!17:38
imacdonnnp17:39
*** jmlowe has quit IRC17:49
openstackgerritChris Dent proposed openstack/glance master: WIP: Make QuotaImageTagsProxy deep-copyable  https://review.openstack.org/62511417:50
*** _alastor_ has joined #openstack-glance17:53
*** _alastor_ has quit IRC17:55
*** _alastor_ has joined #openstack-glance17:56
*** torvall has quit IRC17:58
*** MattMan has quit IRC18:04
*** MattMan has joined #openstack-glance18:04
*** _alastor_ has quit IRC18:05
*** jmlowe has joined #openstack-glance18:05
openstackgerritChris Dent proposed openstack/glance master: Make QuotaImageTagsProxy deep-copyable  https://review.openstack.org/62511418:14
*** itlinux_ has quit IRC18:21
*** jmlowe has quit IRC18:21
*** itlinux has joined #openstack-glance18:21
*** jmlowe has joined #openstack-glance18:22
*** _alastor_ has joined #openstack-glance18:25
*** jmlowe has quit IRC18:36
*** jmlowe has joined #openstack-glance18:43
*** gyee has joined #openstack-glance18:48
*** jmlowe has quit IRC18:53
*** priteau has quit IRC18:58
*** jmlowe has joined #openstack-glance19:21
*** jmlowe has quit IRC19:53
*** jmlowe has joined #openstack-glance20:11
*** _alastor_ has quit IRC20:29
*** _alastor_ has joined #openstack-glance20:30
openstackgerritBrian Rosmaita proposed openstack/glance master: WIP: reconfigure lower-constraints job  https://review.openstack.org/62600821:01
*** rosmaita has left #openstack-glance21:06
*** dpawlik has joined #openstack-glance21:12
openstackgerritChris Dent proposed openstack/glance master: Make QuotaImageTagsProxy deep-copyable  https://review.openstack.org/62511421:16
*** dpawlik has quit IRC21:22
*** rcernin has joined #openstack-glance21:22
*** rcernin has quit IRC21:37
*** dpawlik has joined #openstack-glance21:37
*** dpawlik has quit IRC21:42
*** rcernin has joined #openstack-glance22:04
*** rcernin has quit IRC22:37
*** rcernin has joined #openstack-glance22:41
*** rcernin has quit IRC22:43
*** rcernin has joined #openstack-glance22:45
*** itlinux has quit IRC22:56
*** _alastor_ has quit IRC23:37

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