Thursday, 2018-10-18

*** markvoelker has joined #openstack-glance00:05
*** markvoelker has quit IRC00:10
*** brinzhang has joined #openstack-glance01:04
*** brinzhang has joined #openstack-glance01:05
*** markvoelker has joined #openstack-glance01:05
*** markvoelker has quit IRC01:09
*** brinzhang has quit IRC01:10
*** brinzhang has joined #openstack-glance01:11
*** brinzhang has quit IRC01:12
*** brinzhang has joined #openstack-glance01:13
*** imacdonn has quit IRC01:22
*** imacdonn has joined #openstack-glance01:22
*** LiangFang has joined #openstack-glance01:23
*** zhanglong has joined #openstack-glance01:32
*** MattMan_ has quit IRC01:46
*** MattMan_ has joined #openstack-glance01:46
*** bhagyashris has joined #openstack-glance01:46
LiangFangHi cores, regarding the Solution2 for BP: Specify image size to avoid glance backend resize02:54
LiangFangif you want to take a try02:55
LiangFangjust need to cherry-pick the patch, and it can works02:55
LiangFang1. cherry-pick the cinder patch: https://review.openstack.org/#/c/609994/02:56
LiangFang2. cherry-pick the glance patch: https://review.openstack.org/#/c/609997/02:57
LiangFangI just use ceph as backend, and it works02:58
*** rosmaita has left #openstack-glance02:58
*** rcernin has quit IRC03:02
*** brinzhang has quit IRC03:17
*** brinzhang has joined #openstack-glance03:18
*** rcernin has joined #openstack-glance03:28
*** brinzhang has quit IRC04:20
*** udesale has joined #openstack-glance04:45
*** bhagyashris has quit IRC04:59
*** lbragstad_503 has quit IRC05:27
*** lbragstad_503 has joined #openstack-glance05:27
*** ratailor has joined #openstack-glance06:01
*** Luzi has joined #openstack-glance06:15
*** mosulica has joined #openstack-glance06:26
*** bhagyashris has joined #openstack-glance06:29
*** rcernin has quit IRC07:07
*** jcosmao has quit IRC07:22
*** openstackgerrit has quit IRC07:35
*** dpawlik has quit IRC07:55
*** dpawlik has joined #openstack-glance08:13
*** ratailor has quit IRC08:43
*** ratailor has joined #openstack-glance08:43
*** pooja-jadhav has joined #openstack-glance08:46
*** pooja_jadhav has quit IRC08:46
*** dpawlik has quit IRC09:02
*** dpawlik has joined #openstack-glance09:04
jokke_LiangFang: I'll try to have a look of it today09:19
*** LiangFang has quit IRC09:31
*** pooja-jadhav is now known as pooja_jadhav09:33
*** bhagyashris has quit IRC09:39
*** priteau has joined #openstack-glance09:52
*** zhanglong has quit IRC10:59
*** udesale has quit IRC11:04
*** ratailor has quit IRC11:32
*** rosmaita has joined #openstack-glance11:59
*** dims has quit IRC12:30
*** dims has joined #openstack-glance12:33
*** mvkr has quit IRC13:27
*** lbragstad_503 is now known as lbragstad13:32
*** LiangFang has joined #openstack-glance13:42
*** jcosmao has joined #openstack-glance13:47
LiangFangthanks erno13:52
*** mvkr has joined #openstack-glance13:57
imacdonnjokke_: I need to run to a dentist appointment ... please re-review this https://review.openstack.org/59764814:48
imacdonnrosmaita: thanks for your +214:49
*** jmlowe has quit IRC14:57
*** Luzi has quit IRC15:01
*** itlinux has quit IRC15:01
LiangFang@jokke_, just to correct one thing, glance image-show can show store id, like "| stores           | ceph"15:02
*** lixiaoy1 has joined #openstack-glance15:04
jokke_LiangFang: ok, I thought it should have been there15:04
jokke_thanks for the confirmation15:04
jokke_so I assume the -v image-list does not?15:04
LiangFangI guess image-list should also know the store info, but not displayed15:05
LiangFangglance -v image-list only list a few columns15:06
LiangFangnot including store id15:07
LiangFangI can take a look if -v image-list can show store id or not15:08
*** mosulica has quit IRC15:13
LiangFangI just added store id to the column, -v image-list can show store id15:14
LiangFanglike:15:14
LiangFang| 4804a6b7-6392-4232-9a9e-897d1eeef589 | img2-ceph                | ceph     | rbd   | raw         | bare             | 13267968   | active | 60a12b1788ad44468afd983f89a5f8dc |15:14
LiangFang| e9af91ba-4d8c-4a3c-b2d7-5fbb5421f065 | img2-file                | locallvm | file  | raw         | bare             | 13267968   | active | 60a12b1788ad44468afd983f89a5f8dc |15:15
*** openstackgerrit has joined #openstack-glance15:18
openstackgerritMerged openstack/glance_store master: Add statement explaining "tips" job configuration  https://review.openstack.org/60975615:18
LiangFangso it seems we don't need to save backend type anymore, store id can describe the backend type instead.15:18
LiangFangwhat we may can do is just add store id to the column of "-v image-list"15:19
LiangFangI don't know whether I confused you or not:)15:20
LiangFangone of my review is to save store info, this one may don't be needed anymore. because store id already there. https://review.openstack.org/#/c/605006/15:22
rosmaitaLiangFang: that sounds the way to go ... maybe a spec-lite for python-glanceclient, about adding the column? It might be a good idea to add a separate switch, maybe --show-stores or something, to the image-list response instead of cluttering up the current -v (or maybe make it -vv)15:24
LiangFanganother on is to display store info in "-v image-list", for this one, we just need to add store id to the display. https://review.openstack.org/#/c/605014/15:24
rosmaitai'm just worried about most clouds showing all 'default' in that store id column, that's why i'm not sure it should go in the "normal" -v response15:26
LiangFang@rosmaita, sounds good.15:27
rosmaitaLiangFang: have you done a glance spec-lite before? it's pretty lightweight, and will give us a place to discuss your proposal15:27
LiangFangno, I'm new to openstack15:28
rosmaitaok, give me a sec and i'll get you a pointer to some info15:28
rosmaitahere's the basic info: https://docs.openstack.org/glance/latest/contributor/blueprints.html15:29
LiangFangok, thanks15:30
*** lixiaoy1 has left #openstack-glance15:30
rosmaitaLiangFang: you put up a patch, just like for code.  You'd propose it here: https://git.openstack.org/cgit/openstack/glance-specs/tree/specs/stein/approved/python-glanceclient15:30
rosmaitajust copy the spec-lite-template.rst file that's in that directory and fill it out with your proposal, and put up the patch15:31
LiangFangOK..15:32
rosmaitaask in here if you have any questions15:33
imacdonnLiangFang: example of a spec-lite: https://review.openstack.org/59764815:33
LiangFangthanks15:34
imacdonngood luck getting it approved *cough* *grin*15:34
rosmaitaimacdonn: i think yours is close to approval, erno's going to put some comments (you can read through the meeting log if he hasn't posted them yet), just 2 points to address15:35
imacdonnrosmaita: OK. Just got back from dentist .. will check the meeting log15:36
rosmaitaimacdonn: hope it was a pleasant visit!15:36
imacdonnhah, yes, as much as can be expected .. this was just a followup from a procedure I had done last week15:36
rosmaitai once missed a faculty meeting because i was having a root canal, and i can honestly say that i enjoyed the root canal more than the typical faculty meeting!15:37
imacdonnlol15:38
LiangFangguys, I need to drop now, it's late in asia:)15:39
rosmaitaLiangFang: good night15:39
imacdonnGN15:39
LiangFanggood day, bye..15:39
*** LiangFang has left #openstack-glance15:41
*** gyee has joined #openstack-glance15:43
*** itlinux has joined #openstack-glance15:51
imacdonnrosmaita: I don't understand the concern about os_hash_algo having to be the same as the one glance is configured with15:56
imacdonnglance is neither computing not validating the hash, so why should it have to match? All that matters is that any *consumer* of the image can utilise the hash15:57
rosmaitaright, but if all images in an installation are using the same hash algo, it's more likely any consumer will have the algo available15:57
rosmaitai'm not sure how big a deal it is, but i think that's the concern15:59
imacdonnI believe that the multihash spec states (or at least implies) that anything supported by hashlib is suitable16:00
imacdonnso presumably any consumer is expected to utilise hashlib, or some equivalent16:00
rosmaitayes, but it also says somewhere that the hash in use isn't specified by the consumer16:00
imacdonnyeah, but also the value isn't specified by the consumer in the cases considered there16:05
rosmaitayes, you are providing an extension to existing functionality16:05
rosmaitai think that's the source of the consistency concern16:05
rosmaitadid erno bring that up, or was it me?16:06
imacdonn14:07:28 <jokke_> and how is this gonna affect if there is no supported hash-algo configured in glance?16:07
imacdonnmy answer would have been "it doesn't"16:07
rosmaitai think erno's concern is what if the user has "os_hash_algo": "donald_trump", what do we do in that case?16:08
rosmaitai think you have some validation, but i couldn't remember16:09
imacdonnas stated in the spec, it must be one of the ones that hashlib supports16:10
rosmaitaright, but the key thing is to make sure glance rejects an algo it doesn't recognize16:10
imacdonnvalidated at https://review.openstack.org/#/c/597368/7/glance/api/v2/images.py lines 382-38716:10
rosmaitasince it's not going to actually compute it16:10
rosmaitai thought you did, just need to mention on the spec16:11
imacdonnspec says "... os_hash_algo must be one of the algorithms supported by hashlib. Any violations of these rules will result in a HTTPConflict exception (HTTP status 409)."16:12
rosmaitaok, cool16:12
*** mvkr has quit IRC16:58
*** mvkr has joined #openstack-glance17:41
*** priteau has quit IRC17:52
*** lbragstad has quit IRC18:17
*** lbragstad has joined #openstack-glance18:48
*** itlinux has quit IRC19:16
*** lbragstad has quit IRC19:21
*** lbragstad has joined #openstack-glance19:24
imacdonnrosmaita: I added a couple of comments to the spec review. Maybe you could "hash it out" (get it?) with jokke_ tomorrow (since you seem to have more timezone overlap)19:34
rosmaitaimacdonn: sure thing19:34
imacdonnthanks!@19:34
*** openstackgerrit has quit IRC20:36
*** pcaruana has quit IRC20:44
*** itlinux has joined #openstack-glance21:06
*** rosmaita has left #openstack-glance21:42
*** rcernin has joined #openstack-glance22:33
*** jiaopengju has quit IRC23:05
*** jiaopengju has joined #openstack-glance23:08
*** jiaopengju has quit IRC23:35
*** jiaopengju has joined #openstack-glance23:36
*** markvoelker has joined #openstack-glance23:57
*** gyee has quit IRC23:59

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