Wednesday, 2016-02-24

*** haomaiwang has quit IRC00:01
*** haomaiwang has joined #openstack-glance00:01
*** darrenc_afk is now known as darrenc00:05
*** vilobhmm11 has joined #openstack-glance00:05
*** ducttape_ has quit IRC00:12
*** vilobhmm11 has quit IRC00:19
*** vilobhmm11 has joined #openstack-glance00:20
*** vilobhmm11 has quit IRC00:21
*** vilobhmm11 has joined #openstack-glance00:21
*** vilobhmm11 has quit IRC00:21
*** gberginc has joined #openstack-glance00:21
*** vilobhmm11 has joined #openstack-glance00:22
*** kzaitsev_mb has quit IRC00:23
*** gberginc has quit IRC00:26
*** ducttape_ has joined #openstack-glance00:59
*** haomaiwang has quit IRC01:01
*** haomaiwang has joined #openstack-glance01:01
*** kzaitsev_mb has joined #openstack-glance01:20
*** kzaitsev_mb has quit IRC01:26
openstackgerritOpenStack Proposal Bot proposed openstack/glance: Updated from global requirements  https://review.openstack.org/28247101:34
*** haomaiwang has quit IRC01:36
*** ducttape_ has quit IRC01:42
*** dims has quit IRC01:59
*** vilobhmm11 has quit IRC01:59
*** vilobhmm11 has joined #openstack-glance02:03
*** vilobhmm11 has quit IRC02:03
*** vilobhmm11 has joined #openstack-glance02:03
*** TravT has joined #openstack-glance02:07
*** pcaruana has quit IRC02:07
*** vilobhmm11 has quit IRC02:12
*** haomaiwang has joined #openstack-glance02:16
*** pcaruana has joined #openstack-glance02:19
*** kzaitsev_mb has joined #openstack-glance02:22
*** lakshmiS has quit IRC02:25
*** kzaitsev_mb has quit IRC02:27
*** TravT has quit IRC02:28
*** TravT has joined #openstack-glance02:29
*** alanf_ has quit IRC02:33
*** houming has joined #openstack-glance02:38
*** mingdang1 has joined #openstack-glance02:49
*** vilobhmm11 has joined #openstack-glance02:59
*** haomaiwang has quit IRC03:01
*** haomaiwang has joined #openstack-glance03:01
*** pcaruana has quit IRC03:01
*** TravT has joined #openstack-glance03:02
*** TravT has quit IRC03:07
*** dims has joined #openstack-glance03:13
*** avarner has quit IRC03:14
*** pcaruana has joined #openstack-glance03:16
*** haomaiwang has quit IRC03:20
*** kzaitsev_mb has joined #openstack-glance03:23
*** kzaitsev_mb has quit IRC03:28
*** gberginc has joined #openstack-glance03:34
*** links has joined #openstack-glance03:46
*** boris-42 has quit IRC03:54
*** ducttape_ has joined #openstack-glance03:58
*** pcaruana has quit IRC04:01
openstackgerritOpenStack Proposal Bot proposed openstack/glance: Updated from global requirements  https://review.openstack.org/28247104:04
*** vilobhmm11 has quit IRC04:04
*** pcaruana has joined #openstack-glance04:15
*** ducttape_ has quit IRC04:15
*** jamielennox is now known as jamielennox|away04:54
*** haomaiwang has joined #openstack-glance05:04
*** sgotliv has joined #openstack-glance05:20
*** kzaitsev_mb has joined #openstack-glance05:24
*** kzaitsev_mb has quit IRC05:29
*** mfedosin has joined #openstack-glance05:33
*** pcaruana has quit IRC05:38
*** mfedosin has quit IRC05:38
*** dims has quit IRC05:48
*** pcaruana has joined #openstack-glance05:53
*** haomaiwang has quit IRC06:01
*** haomaiwang has joined #openstack-glance06:01
*** dshakhray has joined #openstack-glance06:02
*** vilobhmm11 has joined #openstack-glance06:02
*** openstack has joined #openstack-glance13:20
*** openstackstatus has joined #openstack-glance13:20
*** ChanServ sets mode: +v openstackstatus13:20
*** edmondsw has joined #openstack-glance13:27
*** 32NAAD4T7 has quit IRC13:31
*** mfedosin has joined #openstack-glance13:32
*** ninag has joined #openstack-glance13:34
*** ninag has quit IRC13:37
*** ninag has joined #openstack-glance13:38
*** ninag has quit IRC13:39
*** dims has joined #openstack-glance13:40
*** ninag has joined #openstack-glance13:40
*** ninag has quit IRC13:44
*** ninag has joined #openstack-glance13:44
*** haomaiwa_ has quit IRC14:01
openstackgerritWenjun Wang proposed openstack/python-glanceclient: Optimize function 'do_image_show' in v1 client  https://review.openstack.org/28414014:01
*** haomaiwang has joined #openstack-glance14:01
*** mingdang1 has joined #openstack-glance14:02
*** ayoung has quit IRC14:04
openstackgerritMerged openstack/glance: Python 3: fix glance.tests.functional.db.simple  https://review.openstack.org/27564514:06
openstackgerritMerged openstack/glance: Python 3: fix a few simple "str vs bytes" issues.  https://review.openstack.org/28309014:06
*** mingdang1 has quit IRC14:06
*** mingdang1 has joined #openstack-glance14:06
*** avarner_ has joined #openstack-glance14:11
*** avarner has quit IRC14:11
*** groen692 has quit IRC14:15
*** julim has joined #openstack-glance14:15
openstackgerritAndreas Jaeger proposed openstack/glance: Always use constraints  https://review.openstack.org/28289414:15
AJaegerflaper87, nikhil : I had to rebase ^ ;(14:16
flaper87AJaeger: no worries14:16
flaper87There, approved again14:16
AJaegerflaper87: wow, you're fast ;) THANKS!14:16
rsjethanikairat please review https://review.openstack.org/#/c/261288/ :)14:18
*** itisha has quit IRC14:19
openstackgerritDavanum Srinivas (dims) proposed openstack/glance: [WIP] Trying latest oslo.* from master  https://review.openstack.org/28415214:19
rsjethaniHi flaper8714:20
rsjethanirequest id related patched for cinder and nova are merged...14:21
rsjethanipatches*14:21
kairatWill try to review that soon14:22
rsjethanithanks kairat14:22
kairatrsjethani, Are they implemented as part of resource?14:22
kairatResource object14:22
kairatin nova and cinder?14:22
kairatSo I mean are cinder and nova implementations in accordance with x-proj spec?14:23
rsjethaniyes14:23
rsjethanihttp://52.1.123.151/review/#/c/499/14:23
rsjethaniabove link is for cinder14:24
kairatOh, that's not good =(, but we need to do something anyway14:24
kairatWhat is review number?14:24
kairatlink is broken for me14:25
rsjethani49914:25
rsjethaniohh sorry wait14:25
rsjethanihere it is: https://review.openstack.org/#/c/257199/14:27
kairatOk, thanks14:28
rsjethani:)14:28
*** smatzek_ has quit IRC14:32
*** rsjethani has quit IRC14:33
*** rsjethani has joined #openstack-glance14:40
*** rsjethani has quit IRC14:41
*** dane-fichter has joined #openstack-glance14:44
*** ayoung has joined #openstack-glance14:46
openstackgerritChaozhe Chen(ccz) proposed openstack/python-glanceclient: Test: use assert_has_calls() instead  https://review.openstack.org/28167614:54
*** sigmavirus24_awa is now known as sigmavirus2414:58
*** mtanino has joined #openstack-glance14:59
*** ayoung has quit IRC14:59
*** smatzek_ has joined #openstack-glance15:00
*** haomaiwang has quit IRC15:01
*** ducttape_ has joined #openstack-glance15:01
*** haomaiwang has joined #openstack-glance15:01
flaper87kairat: https://review.openstack.org/#/c/168507/ when you get a chance15:02
*** jdillaman has quit IRC15:02
*** smatzek__ has joined #openstack-glance15:02
flaper87sigmavirus24: re ^ I don't really mind. Your last patch-set is from May 201515:02
kairatflaper87, yep, that's my next in review list:=)15:02
kairatreviewing that now15:02
flaper87kairat: awesome, thanks15:02
bjornarwhy is v1 still listed in versions when I comment out /v1 from composite:rootapp ?15:04
flaper87bjornar: because `/versions` is a different endpoint15:05
sigmavirus24damnit flaper87 you beat me to it :P15:05
bjornarflaper87, ?15:05
flaper87sigmavirus24: :P15:05
*** smatzek_ has quit IRC15:05
flaper87bjornar: https://github.com/openstack/glance/blob/master/glance/api/versions.py15:05
flaper87bjornar: sorry, was getting a link15:05
openstackgerritMerged openstack/glance-specs: Image Import Refactor Update  https://review.openstack.org/27808615:05
flaper87bjornar: you need to disable v1 in glance-api.conf15:06
sigmavirus24bjornar: /versions is an endpoint that returns the versions it knows about. It does not know about the Paste.ini and so it doesn't know you disabled v1 via paste15:06
flaper87bjornar: https://github.com/openstack/glance/blob/master/glance/api/versions.py#L6515:06
bjornarok.. what is the point of paste then?15:06
flaper87bjornar: that's a good question that I'm willing to rant about over beers15:06
flaper87:P15:07
flaper87paste helps building the pipeline15:07
bjornarflaper87, exactly.. in keystone it works exactly as I say15:07
*** burgerk has joined #openstack-glance15:12
*** avarner_ has quit IRC15:15
*** avarner_ has joined #openstack-glance15:15
*** avarner__ has joined #openstack-glance15:18
*** avarner_ has quit IRC15:18
bjornarWhy would I get a <html> error message saying 404 when I visit /v2/15:21
bjornarthe error might be correct, since I am playing around, but it should be json15:22
*** avarner_ has joined #openstack-glance15:23
*** avarner_ is now known as avarner15:23
*** avarner__ has quit IRC15:23
*** tjcocozz_ has joined #openstack-glance15:24
*** dims has quit IRC15:29
bjornaranyone?15:30
*** dims has joined #openstack-glance15:30
*** mingdang1 has quit IRC15:30
*** annasort has quit IRC15:31
*** ninag has quit IRC15:34
*** dims has quit IRC15:34
*** TravT has quit IRC15:35
sigmavirus24bjornar: because the library/framework we use only *just* gave us the ability to return JSON error messages15:38
bjornarok.. but then its better just just return empty and a status code is my opionion here15:39
*** vijendar has joined #openstack-glance15:40
bjornarsigmavirus24, so are you working on this currently?15:41
sigmavirus24bjornar: so hot patch your instance of glance to do that? And yes I fixed it in webob for us because no one else from any of the myrid OpenStack projects had picked up that work15:42
*** avarner has quit IRC15:42
*** avarner has joined #openstack-glance15:42
sigmavirus24bjornar: I think someone else has already fixed glance to use the new version of webob in master (i.e., for mitaka) so we return JSON appropriately15:43
*** vijendar1 has joined #openstack-glance15:43
bjornarim using master, and seems no..15:43
sigmavirus24Prior to this, returning an HTML message was the best we could do because no message gives the user no visibility into the why of the error (because there are many more errors than 404)15:43
sigmavirus24bjornar: what version of webob do you have installed?15:43
bjornarI hope you look at how different project do stuff. keystone is a good example when itt comes to api15:44
bjornarWebOb-1.5.1-py2.py3-none-any.whl15:44
*** pushkaru has joined #openstack-glance15:46
*** vijendar has quit IRC15:46
openstackgerritMerged openstack/glance_store: Updated from global requirements  https://review.openstack.org/28247215:48
dane-fichterIf anyone has time, I'd love some feedback on https://review.openstack.org/#/c/255584/15:50
dane-fichterTrying to get that feature merged before the feature freeze15:51
*** azbiswas has joined #openstack-glance15:52
openstackgerritMerged openstack/python-glanceclient: Updated from global requirements  https://review.openstack.org/27872515:54
*** haomaiwang has quit IRC16:01
*** haomaiwang has joined #openstack-glance16:01
*** dims has joined #openstack-glance16:03
*** annasort has joined #openstack-glance16:14
*** annasort_ has joined #openstack-glance16:15
*** daemontool has joined #openstack-glance16:18
daemontoolHi all, I have this issue on glanceclient on kilo: http://paste.openstack.org/show/488044/16:18
sigmavirus24bjornar: each project does things differently. keystone doesn't use webob and to remove webob from our dependencies now would be silly because the issue is fixed and also because so much of glance relies on it16:19
daemontoolnot critical but still not optimal16:19
sigmavirus24bjornar: try webob 1.6.016:19
sigmavirus24(that may be an release candidate now)16:19
*** annasort has quit IRC16:19
*** annasort_ is now known as annasort16:19
*** ayoung has joined #openstack-glance16:20
*** alanf_ has joined #openstack-glance16:24
*** vijendar1 has quit IRC16:26
*** alanf_ has quit IRC16:28
*** belmoreira has quit IRC16:31
sigmavirus24daemontool: what issue are you having specifically?16:31
sigmavirus24daemontool: oh missing schema problem16:32
sigmavirus24flaper87: can speak better to that daemontool16:32
daemontoolah ok sigmavirus2416:32
*** bjornar__ has joined #openstack-glance16:32
daemontoolty16:32
sigmavirus24daemontool: I want to say it was fixed but I don't honestly recall16:32
bjornar__Was it my webob version?16:32
daemontoolsigmavirus24, ok, not super urgent tho16:32
*** ihrachys has quit IRC16:33
*** vijendar has joined #openstack-glance16:33
sigmavirus24bjornar__: I suspect if you upgrade webob you'll get JSON error responses16:34
sigmavirus24bjornar__: it looks like you're using pip so use `pip install -U --pre webob`16:34
bjornar__sigmavirus24, so perhaps requirements.txt should be updated?16:35
sigmavirus24bjornar__: https://github.com/openstack/requirements/blob/master/global-requirements.txt#L241 looks fine to me16:42
dane-fichtertjcocozz_: Can you clarify what you mean by i18n compliant?16:42
*** ducttape_ has quit IRC16:42
tjcocozz_dane-fichter, you should just need to wrap your error messages in _()16:42
*** ducttape_ has joined #openstack-glance16:43
dane-fichterAh, ok. Thanks16:43
tjcocozz_dane-fichter, so they can get translated :-)16:43
*** ducttape_ has quit IRC16:45
*** jistr has quit IRC16:45
*** ducttape_ has joined #openstack-glance16:45
*** vilobhmm11 has joined #openstack-glance16:46
openstackgerritMerged openstack/glance: Updated from global requirements  https://review.openstack.org/28247116:50
openstackgerritMerged openstack/glance: Encourage usage of identity API v3  https://review.openstack.org/28088716:50
*** Guest51435 is now known as mgagne16:56
*** mgagne has quit IRC16:56
*** mgagne has joined #openstack-glance16:56
*** lakshmiS has joined #openstack-glance16:59
*** dims has quit IRC17:00
bjornar__sigmavirus24,  did not realize the fix was in a -alpha17:00
*** haomaiwang has quit IRC17:01
*** haomaiwang has joined #openstack-glance17:01
*** ninag has joined #openstack-glance17:02
*** dims has joined #openstack-glance17:03
*** kzaitsev_mb has quit IRC17:05
*** belmoreira has joined #openstack-glance17:06
*** avarner has quit IRC17:06
*** avarner has joined #openstack-glance17:07
bjornar__/keystone/lib/python3.4/site-packages/oslo_middleware/ssl.py:28: DeprecationWarning: The 'oslo_middleware.ssl' module usage is deprecated, please use oslo_middleware.http_proxy_to_wsgi instead17:10
bjornar__  "oslo_middleware.http_proxy_to_wsgi")17:10
bjornar__forget about keystone, it is glance. just my hacked mountpoint atm17:10
bjornar__About glance-registry, that api is not public, but called from glance-api ?17:13
*** achanda has joined #openstack-glance17:15
*** achanda has quit IRC17:15
*** achanda has joined #openstack-glance17:15
*** mvk has quit IRC17:22
*** edmondsw has quit IRC17:23
openstackgerritErno Kuvaja proposed openstack/glance-specs: Initial lite-specs.rst and per deliverable folders  https://review.openstack.org/28251617:24
*** vijendar has left #openstack-glance17:25
*** ihrachys has joined #openstack-glance17:26
*** kzaitsev_mb has joined #openstack-glance17:29
*** ihrachys has quit IRC17:29
*** kzaitsev_mb has quit IRC17:44
*** edmondsw has joined #openstack-glance17:47
bjornar__How can I make glance use v3 keystone?17:47
bjornar__I see "POST /v2.0/tokens HTTP/1.1" no matter seems..17:48
*** jdillaman has joined #openstack-glance17:58
*** haomaiwang has quit IRC18:01
*** haomaiwang has joined #openstack-glance18:01
*** sigmavirus24 is now known as sigmavirus24_awa18:01
*** dshakhray has quit IRC18:02
*** julim has quit IRC18:03
*** mfedosin has quit IRC18:04
*** avarner has quit IRC18:05
*** avarner has joined #openstack-glance18:06
*** permalac has quit IRC18:07
*** julim has joined #openstack-glance18:07
bjornar__Merged openstack/glance: Encourage usage of identity API v3  https://review.openstack.org/28088718:10
bjornar__This for me seems incorrect18:10
bjornar__auth_url = http://localhost:35357 does not work here18:10
bjornar__the port and scheme gets overwritten by defaults seems18:11
*** avarner has quit IRC18:12
openstackgerritMerged openstack/glance: Always use constraints  https://review.openstack.org/28289418:13
flaper87AJaeger: ^18:18
AJaegerthanks, flaper8718:19
openstackgerritErno Kuvaja proposed openstack/glance-specs: Initial lite-specs.rst and per deliverable folders  https://review.openstack.org/28251618:20
*** belmoreira has quit IRC18:23
*** sgotliv has quit IRC18:25
*** azbiswas has quit IRC18:27
dimsnikhil : were you looking for me? :)18:30
*** vijendar has joined #openstack-glance18:30
openstackgerritStuart McLaren proposed openstack/python-glanceclient: Handle 403 forbidden on download  https://review.openstack.org/25432818:34
*** vijendar has left #openstack-glance18:41
openstackgerritAndreas Jaeger proposed openstack/glance: Move bandit into pep8  https://review.openstack.org/28288518:45
*** azbiswas has joined #openstack-glance18:51
bjornar__Should it be possible to use keystone v3 now?18:52
openstackgerritdane-fichter proposed openstack/glance: Add sign-the-data signature verification  https://review.openstack.org/25558418:54
*** daemontool has quit IRC18:55
sabarisigmavirus24: flaper87: Thanks for taking care of the http store refactor patch while I was away :)18:58
*** ninag has quit IRC18:59
sabarikairat: thanks for your comments on the vmware store refactor. I will respond shortly.18:59
dane-fichtertjcocozz_: new patchset is up, thanks for the review19:00
*** ninag has joined #openstack-glance19:00
tjcocozz_dane-fichter, i will check it out shortly19:00
*** haomaiwang has quit IRC19:01
dane-fichtertjcocozz_: Thanks :)19:01
*** 16WAAEDST has joined #openstack-glance19:01
flaper87sabari: no worries :)19:03
openstackgerritErno Kuvaja proposed openstack/glance-specs: Initial lite-specs.rst and per deliverable folders  https://review.openstack.org/28251619:05
*** sigmavirus24_awa is now known as sigmavirus2419:11
*** jbernard_ is now known as jbernard19:13
*** ninag has quit IRC19:19
*** belmoreira has joined #openstack-glance19:20
flaper87Anyone can help with this patch: https://review.openstack.org/#/c/252370/ ?19:21
*** mfedosin has joined #openstack-glance19:22
nikhilflaper87: ack19:22
nikhilin a few mins I will review it thoroughly19:23
flaper87nikhil: thank you19:28
*** ducttape_ has quit IRC19:38
nikhilnp!19:42
nikhiloh this review is gunna hurt mclaren19:43
nikhiland by review (Above) I meant the actual code proposal (sent as a review to gerrit)19:43
flaper87nikhil: yeah but that patch has been around longer nad it's reviews more updates recently. :(19:45
nikhilflaper87: heh, yeah. I was just thinking out loud and possibly trying to exclaim that we may need a bit of time near end of m-3 for that feature ..19:46
nikhilflaper87: I think it makes sense to let the above one go in first, it's small and concise.19:47
flaper87right19:47
flaper87the only problem is, this week is the last week for non-client library releases19:47
flaper87which means, if these patches don't land in this week, they won't be released until the start of Newton19:47
*** vijendar has joined #openstack-glance19:48
*** ninag has joined #openstack-glance19:48
*** ducttape_ has joined #openstack-glance19:49
*** sgotliv has joined #openstack-glance19:52
*** ninag has quit IRC19:52
*** vijendar has quit IRC19:53
*** ninag has joined #openstack-glance19:53
*** vijendar has joined #openstack-glance19:56
*** azbiswas has quit IRC19:57
*** 16WAAEDST has quit IRC20:01
*** haomaiwang has joined #openstack-glance20:01
nikhilflaper87: oh my, I didn't realize on that one..20:12
nikhilflaper87: btw, I've +Wed on kairat's patch20:12
nikhilheh, it's +W-ed (not wed)20:12
flaper87nikhil: hehehe, cool20:12
flaper87thanks20:12
openstackgerritMike Fedosin proposed openstack/glance: Deprecate use_user_token parameter  https://review.openstack.org/23774220:14
*** gberginc has joined #openstack-glance20:16
*** kzaitsev_mb has joined #openstack-glance20:35
flaper87nikhil: if you have some time for this one too: https://review.openstack.org/#/c/251850/20:41
flaper87It'd be super awesome20:41
nikhilflaper87: oh, that one is bigger and I'm still catching up on lunch :/ I can do that one in the evening..20:42
nikhilit might be morning for you before you see something on it20:42
flaper87nikhil: sounds good20:43
*** ihrachys has joined #openstack-glance20:47
*** azbiswas has joined #openstack-glance20:48
*** boris-42 has joined #openstack-glance20:53
*** belmoreira has quit IRC20:53
flaper87rosmaita_: any chance we can get your review here? https://review.openstack.org/#/c/265152/21:00
*** haomaiwang has quit IRC21:01
rosmaita_flaper87: sure21:01
*** haomaiwang has joined #openstack-glance21:01
*** achanda has quit IRC21:01
*** rosmaita_ is now known as rosmaita21:02
rosmaitai hate the underscore21:02
openstackgerritMerged openstack/glance_store: Change approach to request storage url for multi-tenant store  https://review.openstack.org/25237021:03
* flaper87 hates the underscore too21:03
rosmaitaflaper87: shoot, that's related to that bug i haven't filed yet about v1/v2 image metadata asymmetry21:03
flaper87rosmaita: I know... MUAHAHAHAHHAHAHAHAHA21:03
flaper87OVA/OVF folks, please, https://review.openstack.org/#/c/214810/21:03
rosmaitaflaper87: i'll get something out a bit later today ... for realz21:03
*** ducttape_ has quit IRC21:04
flaper87sabari: https://review.openstack.org/#/c/214810/ <- mind providing a review for this one? Jenkins is not happy but it's py3 specific21:04
*** azbiswas has quit IRC21:04
*** ducttape_ has joined #openstack-glance21:04
*** azbiswas_ has joined #openstack-glance21:06
openstackgerritEric Brown proposed openstack/glance: Remove bandit.yaml in favor of default config  https://review.openstack.org/28284421:08
*** annasort has quit IRC21:08
*** azbiswas_ has quit IRC21:08
*** azbiswas_ has joined #openstack-glance21:09
*** pcaruana has quit IRC21:10
*** vijendar has quit IRC21:11
*** vijendar has joined #openstack-glance21:12
*** ihrachys has quit IRC21:17
flwangflaper87: around?21:22
flwangflaper87: have mins to discuss the locations update issue?21:22
flwangi hate the timezone, earth should be flat :(21:24
*** smatzek__ has quit IRC21:24
kragnizflwang: timezones are the worst21:25
flwangkragniz: yep, i'm always trying to catch up with the team, but unfortunately, we're in different tz21:30
flaper87flwang: on a call, bbib21:34
*** ekarlso- has quit IRC21:34
*** ekarlso- has joined #openstack-glance21:34
flaper87flwang: sup ?21:36
flwangflaper87: about the location update issue21:37
flwangflaper87: https://bugs.launchpad.net/glance/+bug/153762621:37
openstackLaunchpad bug 1537626 in python-glanceclient "`glance location-update` deletes locations and backend images" [High,In progress] - Assigned to Fei Long Wang (flwang)21:37
flwangflaper87: do you remember this fix https://review.openstack.org/#/c/275737/ ?21:38
flwangunfortunately, it's breaking the location update21:38
flaper87flwang: yeah, I know you have a patch up for that one21:41
flaper87right?21:41
flwangflaper87: and when I fix the problem i found another issue, when user want to update location's metadata, if one of the location has a restrict scheme, glance will reject to do the update, since https://github.com/openstack/glance/blob/master/glance/location.py#L33921:42
flwanghttps://github.com/openstack/glance/blob/master/glance/common/store_utils.py#L11721:42
flwangflaper87: so i would like to get your opinion about this case21:43
flaper87flwang: didn't your patch fix those issues ?21:43
flaper87or just the first one?21:43
*** achanda has joined #openstack-glance21:43
flwangjust the first one21:43
flaper87flwang: anyway we can have a follow-up patch fixing the second issue?21:44
flwangi'm going to submit another patch to fix the 2nd, but seems it's not easy21:44
openstackgerritOpenStack Proposal Bot proposed openstack/glance_store: Updated from global requirements  https://review.openstack.org/28442921:44
flwangthat's why i would like to get your opinion21:44
*** achanda has quit IRC21:45
*** MattMan has quit IRC21:45
flwangif we're sure the user is only updating location's metadata, not the location URL, is it ok just update it instead of doing all the check?21:45
*** MattMan has joined #openstack-glance21:45
flwangIMHO, it's not necessary to check the location if it's just a metadata update, thoughts?21:46
flaper87As long as the locations are not overwritten and the image status is not changed, I think we're fine21:46
flwangawesome21:46
flaper87If you read the bug that issue fixed, it involved ppl overwriting the image locations and changing the image back to queued21:47
flaper87which is bad, really bad21:47
flwangbesides, we should document somewhere, the location update is only used for location's metadata update, it can't be used for locations' url update21:47
flaper87so, as long as the patch doesn't introduce a regression for that, I think we're good21:47
flwangyep, i see21:47
flwangflaper87: but i'm thinking another case21:48
flwangwhich may still be breaking our promise -- image is immutable21:48
flwangfor example, image has two locations,   A and B21:49
flwangwith fix  https://review.openstack.org/#/c/275737/ user can't remove the last location, right?21:49
flwangbut if user remove location B and add location C, then remove location A, is that ok?21:50
*** _ducttape_ has joined #openstack-glance21:50
flaper87mmh, technically, yes but I see where you're coming from21:52
*** ducttape_ has quit IRC21:54
openstackgerritDavanum Srinivas (dims) proposed openstack/glance: [WIP] Trying latest oslo.* from master  https://review.openstack.org/28415221:57
*** haomaiwang has quit IRC22:01
*** haomaiwang has joined #openstack-glance22:01
*** ninag has quit IRC22:02
flwangmfedosin: left a comment on your bug22:08
bjornar__Why would I get 404 on a call to /v2/ ?22:10
*** daemontool has joined #openstack-glance22:11
bjornar__Is that normal, perhaps?22:13
*** dims has quit IRC22:14
*** _ducttape_ has quit IRC22:14
*** ducttape_ has joined #openstack-glance22:15
mfedosinflwang: thanks, frankly speaking I don't see any good solution for this22:15
mfedosinin Glare we use 3-stepped workflow: creation, uploading, activation22:16
mfedosinafter activation any modifications with data are forbidden22:16
mfedosinunfortunately we can't use it in Glance v222:17
*** kzaitsev_mb has quit IRC22:17
mfedosinflaper87: I have to share it http://lists.openstack.org/pipermail/openstack/2016-February/015290.html22:18
flaper87mfedosin: flwang please, let's follow up on the *bug*22:18
flaper87mfedosin: I replied to that thread22:19
*** vijendar has quit IRC22:19
flwangflaper87: sure, i will follow up the bug since recently i'm working on the location stuff22:19
flaper87flwang: mfedosin just don't discuss that bug on IRC22:20
flaper87thanks :)22:20
mfedosinno one reads this chat anyway :)22:20
*** smatzek__ has joined #openstack-glance22:21
flaper87Google does22:21
flaper87hahahaha22:21
flaper87and I do :P22:21
flwangmfedosin: as for your mail, can you give an image id when you create it?22:21
flwangwe support given image id in v1, not sure v2, can't remember22:21
mfedosincan't in v222:22
flwangmfedosin: aoh22:22
*** daemontool has quit IRC22:23
flaper87gtg22:24
*** _ducttape_ has joined #openstack-glance22:25
*** vijendar has joined #openstack-glance22:27
*** ducttape_ has quit IRC22:28
*** dane-fichter has quit IRC22:30
*** julim has quit IRC22:33
*** delattec has joined #openstack-glance22:34
openstackgerritDeepti Ramakrishna proposed openstack/glance: Support importing OVA/OVF package to Glance  https://review.openstack.org/21481022:36
*** cdelatte has quit IRC22:37
*** smatzek__ has quit IRC22:37
*** ninag has joined #openstack-glance22:37
bjornar__where is the cunked upload iterator implemented?22:40
*** burgerk has quit IRC22:45
*** jdillaman has quit IRC22:48
*** sigmavirus24 is now known as sigmavirus24_awa22:54
*** harshs has joined #openstack-glance22:57
*** harshs has quit IRC22:58
*** jdillaman has joined #openstack-glance23:00
*** haomaiwang has quit IRC23:01
*** haomaiwang has joined #openstack-glance23:01
*** mfedosin has quit IRC23:04
*** sgotliv has quit IRC23:06
*** azbiswas_ has quit IRC23:07
*** dims has joined #openstack-glance23:08
*** achanda has joined #openstack-glance23:10
*** _ducttape_ has quit IRC23:15
*** pushkaru has quit IRC23:18
*** gberginc has quit IRC23:18
*** vijendar has quit IRC23:21
*** vilobhmm11 has quit IRC23:25
*** vilobhmm11 has joined #openstack-glance23:25
*** vijendar has joined #openstack-glance23:28
openstackgerritErno Kuvaja proposed openstack/glance-specs: Initial lite-specs.rst and per deliverable folders  https://review.openstack.org/28251623:29
*** kzaitsev_mb has joined #openstack-glance23:38
*** pushkaru has joined #openstack-glance23:45
*** vijendar has quit IRC23:51
*** pushkaru has quit IRC23:52

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