*** itlinux has quit IRC | 00:02 | |
*** Liang__ has joined #openstack-glance | 00:37 | |
*** Liang__ is now known as LiangFang | 00:40 | |
*** gyee has quit IRC | 01:18 | |
*** dpawlik has joined #openstack-glance | 03:06 | |
*** dpawlik has quit IRC | 03:10 | |
*** rcernin has quit IRC | 03:25 | |
*** rcernin has joined #openstack-glance | 03:27 | |
*** rcernin has quit IRC | 03:28 | |
*** rcernin has joined #openstack-glance | 03:28 | |
*** abhishekk has joined #openstack-glance | 03:52 | |
*** udesale has joined #openstack-glance | 04:11 | |
*** pooja_jadhav has joined #openstack-glance | 04:48 | |
*** pdeore has joined #openstack-glance | 05:03 | |
*** ratailor has joined #openstack-glance | 05:37 | |
*** sdinescu has quit IRC | 05:39 | |
openstackgerrit | Merged openstack/glance master: Update mailinglist from dev to discuss https://review.openstack.org/621819 | 05:40 |
---|---|---|
*** itlinux has joined #openstack-glance | 05:45 | |
*** bhagyashris has joined #openstack-glance | 06:27 | |
*** mgagne_ has quit IRC | 06:35 | |
*** mgagne has joined #openstack-glance | 06:39 | |
openstackgerrit | Merged openstack/glance master: Remove moxstubout usage https://review.openstack.org/613784 | 06:56 |
*** Luzi has joined #openstack-glance | 07:03 | |
*** mosulica has joined #openstack-glance | 07:09 | |
*** sdinescu has joined #openstack-glance | 07:24 | |
openstackgerrit | Merged openstack/python-glanceclient master: Change openstack-dev to openstack-discuss https://review.openstack.org/621876 | 07:29 |
*** imacdonn has quit IRC | 07:29 | |
*** imacdonn has joined #openstack-glance | 07:29 | |
*** dpawlik has joined #openstack-glance | 07:35 | |
*** dpawlik has quit IRC | 07:42 | |
openstackgerrit | yfzhao proposed openstack/glance_store master: Update mailinglist from dev to discuss https://review.openstack.org/625823 | 07:43 |
*** dpawlik has joined #openstack-glance | 07:56 | |
*** ShilpaSD has joined #openstack-glance | 08:07 | |
*** priteau has joined #openstack-glance | 08:47 | |
*** poojajadhav has joined #openstack-glance | 09:02 | |
*** pooja_jadhav has quit IRC | 09:06 | |
*** poojajadhav has quit IRC | 09:18 | |
*** rcernin has quit IRC | 09:18 | |
*** poojajadhav has joined #openstack-glance | 09:19 | |
*** LiangFang has quit IRC | 09:45 | |
*** sdin has joined #openstack-glance | 10:00 | |
*** sdinescu has quit IRC | 10:03 | |
*** bhagyashris has quit IRC | 10:04 | |
*** poojajadhav has quit IRC | 10:07 | |
*** dpawlik has quit IRC | 10:30 | |
*** dpawlik_ has joined #openstack-glance | 10:30 | |
*** ratailor has quit IRC | 10:37 | |
*** ratailor has joined #openstack-glance | 10:38 | |
*** udesale has quit IRC | 10:40 | |
*** abhishekk has quit IRC | 11:05 | |
*** jmlowe has quit IRC | 11:37 | |
*** jmlowe has joined #openstack-glance | 11:40 | |
*** baojg has joined #openstack-glance | 11:52 | |
*** ratailor has quit IRC | 12:15 | |
*** udesale has joined #openstack-glance | 12:27 | |
*** pdeore has quit IRC | 13:13 | |
*** pooja_jadhav has joined #openstack-glance | 13:34 | |
*** poojajadhav has joined #openstack-glance | 13:35 | |
*** pooja_jadhav has quit IRC | 13:38 | |
openstackgerrit | Brian Rosmaita proposed openstack/glance master: Update show_multiple_locations deprecation note https://review.openstack.org/625702 | 14:05 |
*** poojajadhav has quit IRC | 14:41 | |
*** dpawlik_ has quit IRC | 14:47 | |
*** Luzi has quit IRC | 14:50 | |
*** itlinux has quit IRC | 15:00 | |
*** dpawlik has joined #openstack-glance | 15:16 | |
*** dpawlik has quit IRC | 15:21 | |
*** sdin has quit IRC | 15:55 | |
*** sdinescu has joined #openstack-glance | 15:57 | |
*** mosulica has quit IRC | 16:04 | |
*** itlinux has joined #openstack-glance | 16:04 | |
*** itlinux_ has joined #openstack-glance | 16:08 | |
*** itlinux has quit IRC | 16:12 | |
*** torvall has joined #openstack-glance | 16:19 | |
torvall | Hey! 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-glance | 16:25 | |
*** pooja_jadhav has joined #openstack-glance | 16:36 | |
*** torvall has quit IRC | 16:37 | |
*** poojajadhav has joined #openstack-glance | 16:38 | |
*** torvall has joined #openstack-glance | 16:40 | |
*** pooja_jadhav has quit IRC | 16:40 | |
*** udesale has quit IRC | 16:49 | |
torvall | Hey! 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 |
jmlowe | What error do you get? | 16:50 |
torvall | I get "Attribute 'locations' is reserved." | 16:51 |
jmlowe | do you have show_multiple_locations set to true? | 16:51 |
torvall | Where can I find that? | 16:52 |
torvall | Found it. I do, yes. | 16:52 |
jmlowe | default section glance-api.conf, also need show_image_direct_url = True | 16:53 |
torvall | That one's True as well. | 16:53 |
jmlowe | at least that's what I need to do a shelve, which creates the image then updates it once the clone is made, afaik | 16:53 |
jmlowe | basically what you are trying to do | 16:54 |
torvall | We 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 |
torvall | Also 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 IRC | 17:10 | |
*** poojajadhav has quit IRC | 17:13 | |
*** spa-87 has quit IRC | 17:20 | |
imacdonn | torvall: how did you attempt to update the locations ? | 17:21 |
torvall | Using the update image endpoint API. I admit I may have not tried hard enough, but did try different things. | 17:28 |
torvall | Should it have worked? | 17:28 |
torvall | Or rather, is that how I should do it? Create and then update the locations? | 17:29 |
imacdonn | torvall: you should be able to create an image then use JSON-patch to add a location to it | 17:31 |
imacdonn | it's sortof described here, though not very well ... https://specs.openstack.org/openstack/glance-specs/specs/api/v2/http-patch-image-api-v2.html | 17:33 |
torvall | Cool, thanks! The second example under "Operations" seems to be exactly what I have to do. | 17:34 |
imacdonn | here's a curl example of how I'd add a location to a queued image: | 17:36 |
imacdonn | curl -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 |
imacdonn | you should be aware that there will be no checksum and no multihash for an image created this way | 17:36 |
imacdonn | if that's of interest, see: https://specs.openstack.org/openstack/glance-specs/specs/stein/approved/glance/spec-lite-locations-with-validation-data.html | 17:36 |
torvall | It is of interest, yes. Thank you! | 17:38 |
imacdonn | np | 17:39 |
*** jmlowe has quit IRC | 17:49 | |
openstackgerrit | Chris Dent proposed openstack/glance master: WIP: Make QuotaImageTagsProxy deep-copyable https://review.openstack.org/625114 | 17:50 |
*** _alastor_ has joined #openstack-glance | 17:53 | |
*** _alastor_ has quit IRC | 17:55 | |
*** _alastor_ has joined #openstack-glance | 17:56 | |
*** torvall has quit IRC | 17:58 | |
*** MattMan has quit IRC | 18:04 | |
*** MattMan has joined #openstack-glance | 18:04 | |
*** _alastor_ has quit IRC | 18:05 | |
*** jmlowe has joined #openstack-glance | 18:05 | |
openstackgerrit | Chris Dent proposed openstack/glance master: Make QuotaImageTagsProxy deep-copyable https://review.openstack.org/625114 | 18:14 |
*** itlinux_ has quit IRC | 18:21 | |
*** jmlowe has quit IRC | 18:21 | |
*** itlinux has joined #openstack-glance | 18:21 | |
*** jmlowe has joined #openstack-glance | 18:22 | |
*** _alastor_ has joined #openstack-glance | 18:25 | |
*** jmlowe has quit IRC | 18:36 | |
*** jmlowe has joined #openstack-glance | 18:43 | |
*** gyee has joined #openstack-glance | 18:48 | |
*** jmlowe has quit IRC | 18:53 | |
*** priteau has quit IRC | 18:58 | |
*** jmlowe has joined #openstack-glance | 19:21 | |
*** jmlowe has quit IRC | 19:53 | |
*** jmlowe has joined #openstack-glance | 20:11 | |
*** _alastor_ has quit IRC | 20:29 | |
*** _alastor_ has joined #openstack-glance | 20:30 | |
openstackgerrit | Brian Rosmaita proposed openstack/glance master: WIP: reconfigure lower-constraints job https://review.openstack.org/626008 | 21:01 |
*** rosmaita has left #openstack-glance | 21:06 | |
*** dpawlik has joined #openstack-glance | 21:12 | |
openstackgerrit | Chris Dent proposed openstack/glance master: Make QuotaImageTagsProxy deep-copyable https://review.openstack.org/625114 | 21:16 |
*** dpawlik has quit IRC | 21:22 | |
*** rcernin has joined #openstack-glance | 21:22 | |
*** rcernin has quit IRC | 21:37 | |
*** dpawlik has joined #openstack-glance | 21:37 | |
*** dpawlik has quit IRC | 21:42 | |
*** rcernin has joined #openstack-glance | 22:04 | |
*** rcernin has quit IRC | 22:37 | |
*** rcernin has joined #openstack-glance | 22:41 | |
*** rcernin has quit IRC | 22:43 | |
*** rcernin has joined #openstack-glance | 22:45 | |
*** itlinux has quit IRC | 22:56 | |
*** _alastor_ has quit IRC | 23:37 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!