Thursday, 2015-03-19

*** annashen has quit IRC00:01
*** annashen has joined #openstack-glance00:04
*** jamielennox is now known as jamielennox|away00:09
*** jmccrory has quit IRC00:19
*** annashen has quit IRC00:22
*** jamielennox|away is now known as jamielennox00:23
jamielennoxhey all, i have about 4 or 5 glanceclient fixes - mostly around testing at the moment (preparing for other things) that have gone unloved for months now00:27
jamielennoxthey start here: https://review.openstack.org/#/c/141982/ and i'd love to get them moving00:28
*** jmccrory has joined #openstack-glance00:50
*** jmccrory1 has joined #openstack-glance00:52
*** jmccrory has quit IRC00:54
*** jmccrory1 has quit IRC00:59
*** Longgeek has joined #openstack-glance01:09
*** vilobhmm1 has quit IRC01:11
*** vilobhmm has joined #openstack-glance01:12
*** annashen has joined #openstack-glance01:23
*** vilobhmm has quit IRC01:24
*** vilobhmm has joined #openstack-glance01:25
*** vilobhmm has quit IRC01:25
*** flwang1 has joined #openstack-glance01:26
*** annashen has quit IRC01:28
*** smc7 has joined #openstack-glance01:28
*** smc7 has quit IRC01:33
*** junhongl has joined #openstack-glance01:45
*** spzala has quit IRC01:46
*** iwao has joined #openstack-glance02:11
*** harlowja_ is now known as harlowja_away02:14
*** alanf-mc has quit IRC02:22
*** sigmavirus24_awa is now known as sigmavirus2402:27
*** haomaiwang has joined #openstack-glance02:29
*** aswadr has joined #openstack-glance02:43
*** prometheanfire has joined #openstack-glance02:45
prometheanfirecan we get the test dep on pysendfile relaxed to >=2.0.0?02:46
prometheanfireunless someone yells at me I'm gonna submit a review relaxing it02:46
*** vilobhmm has joined #openstack-glance02:48
*** strictlyb has quit IRC02:55
*** spzala has joined #openstack-glance03:01
*** spzala has quit IRC03:11
kragnizprometheanfire: I'm not sure about this instance, but version changes for requirements should be made to openstack/requirements03:14
prometheanfireI think this is specific to glance, but we'll see :D03:15
kragnizjamielennox: I'll take another look at them03:16
kragnizprometheanfire: it should be listed in the global requirements even if it's only used by glance03:16
prometheanfireok03:19
jamielennoxkragniz: thanks03:21
*** annashen has joined #openstack-glance03:25
*** hemanth has quit IRC03:26
*** annashen has quit IRC03:29
*** changbl has joined #openstack-glance03:34
*** echevemaster has quit IRC03:34
openstackgerritMerged openstack/glance_store: Fix intermittent failure in test_vmware_store  https://review.openstack.org/16555803:36
*** greghaynes has quit IRC03:43
*** buzztroll has quit IRC03:48
*** flwang1 has quit IRC03:51
sigmavirus24prometheanfire: any dependency in glance must be listed in global-requirements. Changing it there will need greater justification03:56
*** sigmavirus24 is now known as sigmavirus24_awa03:57
*** echevemaster has joined #openstack-glance04:03
*** jamielennox is now known as jamielennox|away04:06
*** smc7 has joined #openstack-glance05:06
*** smc7 has quit IRC05:11
*** buzztroll has joined #openstack-glance05:16
openstackgerritLakshmi N Sampath proposed openstack/python-glanceclient: Fix Metadef Object update issue with python-glanceclient  https://review.openstack.org/16569505:25
*** bkopilov has quit IRC05:26
*** annashen has joined #openstack-glance05:27
*** annashen has quit IRC05:31
*** greghaynes has joined #openstack-glance05:39
*** sgotliv has joined #openstack-glance05:40
*** vilobhmm has quit IRC05:41
*** gberginc has joined #openstack-glance05:45
*** sgotliv has quit IRC06:01
openstackgerritOpenStack Proposal Bot proposed openstack/glance: Imported Translations from Transifex  https://review.openstack.org/15857006:03
*** iwao has quit IRC06:09
*** echevemaster has quit IRC06:16
*** nlevinki has joined #openstack-glance06:22
*** pcaruana has quit IRC06:33
*** abhishekk has joined #openstack-glance06:36
*** ishant has joined #openstack-glance06:43
*** atmark has joined #openstack-glance06:55
*** smc7 has joined #openstack-glance06:55
*** ank2090 has joined #openstack-glance06:56
atmarkHello, I have snapshot that is stuck for nearly a day and I don't know cause. We have ceph for the storage of the images06:57
atmarkOther VMs that we snapshot just took an hour or less to finish06:57
*** groen692 has joined #openstack-glance06:59
*** smc7 has quit IRC07:00
atmarkI forgot to mention that the instance snapshot is stuck on saving state07:01
*** mfedosin_ has joined #openstack-glance07:19
*** vilobhmm has joined #openstack-glance07:21
*** ParsectiX has joined #openstack-glance07:23
*** bkopilov has joined #openstack-glance07:31
*** haomaiwang has quit IRC07:32
*** chlong has quit IRC07:47
*** vilobhmm has quit IRC07:49
*** belmoreira has joined #openstack-glance07:53
*** flaper87 has quit IRC07:56
*** flaper87 has joined #openstack-glance07:56
*** mfedosin_ has quit IRC07:57
*** ankit_ag has joined #openstack-glance08:02
flaper87nikhil_k: sigmavirus24_awa kragniz hey guys, I'm in a conference today, I'll probably miss the meeting. I'll try to be there, though.08:04
*** markus_z has joined #openstack-glance08:07
*** kashyap has left #openstack-glance08:12
ativelkovflaper87: hi, if you around, could you please restore your +2 on https://review.openstack.org/#/c/115998/ ? We had to rebase it due to recent merging of some other DB-related patchset08:19
*** jistr has joined #openstack-glance08:37
ank2090hello all :) I want to store images to different backend and after that, i want it's volume name(backend) should be deplayed in image list...how can i doe that?08:37
*** flwang1 has joined #openstack-glance08:50
openstackgerritKamil Rykowski proposed openstack/python-glanceclient: Add unit test for filtering with invalid tag name  https://review.openstack.org/16539109:03
openstackgerritKamil Rykowski proposed openstack/python-glanceclient: Validate tag name when filtering for images  https://review.openstack.org/16539109:05
*** gberginc has left #openstack-glance09:18
*** bkopilov has quit IRC09:23
openstackgerritKamil Rykowski proposed openstack/python-glanceclient: Correct help messages for image-update command  https://review.openstack.org/15734709:24
*** krykowski has joined #openstack-glance09:25
*** Longgeek has quit IRC09:27
*** freerunner has quit IRC09:28
*** Longgeek has joined #openstack-glance09:29
*** freerunner has joined #openstack-glance09:29
*** freerunner has quit IRC09:29
openstackgerritKamil Rykowski proposed openstack/python-glanceclient: Extend unittests coverage for v2 tasks module  https://review.openstack.org/16543609:30
*** annashen has joined #openstack-glance09:30
*** freerunner has joined #openstack-glance09:31
*** Longgeek has quit IRC09:31
*** freerunner has quit IRC09:31
*** freerunner has joined #openstack-glance09:33
*** freerunner has quit IRC09:33
*** annashen has quit IRC09:35
*** flwang1 has quit IRC09:35
*** freerunner has joined #openstack-glance09:37
*** freerunner has quit IRC09:37
*** Longgeek has joined #openstack-glance09:37
*** freerunner has joined #openstack-glance09:38
*** freerunner has quit IRC09:38
*** freerunner has joined #openstack-glance09:39
*** freerunner has quit IRC09:39
*** freerunner has joined #openstack-glance09:40
*** freerunner has quit IRC09:40
*** freerunner has joined #openstack-glance09:44
*** freerunner has quit IRC09:45
*** freerunner has joined #openstack-glance09:46
*** freerunner has quit IRC09:46
*** freerunner has joined #openstack-glance09:47
*** freerunner has quit IRC09:48
*** freerunner has joined #openstack-glance09:50
*** sgotliv has joined #openstack-glance10:03
*** alex_xu has quit IRC10:12
*** Longgeek has quit IRC10:13
*** Longgeek has joined #openstack-glance10:13
*** alex_xu has joined #openstack-glance10:14
*** MattMan has joined #openstack-glance10:14
*** buzztroll has quit IRC10:24
*** smc7 has joined #openstack-glance10:32
*** smc7 has quit IRC10:37
openstackgerritRuediger Rissmann proposed openstack/python-glanceclient: Integrity check for images with checksum = "None"  https://review.openstack.org/16576910:47
openstackgerritRuediger Rissmann proposed openstack/python-glanceclient: Integrity check for images with checksum = "None"  https://review.openstack.org/16577010:53
*** jaypipes has joined #openstack-glance11:04
*** pcaruana has joined #openstack-glance11:05
*** sgotliv has quit IRC11:30
*** sgotliv has joined #openstack-glance11:38
openstackgerritRuediger Rissmann proposed openstack/python-glanceclient: Integrity check for images with checksum = "None"  https://review.openstack.org/16577011:43
*** buzztroll has joined #openstack-glance12:00
*** buzztrol_ has joined #openstack-glance12:02
openstackgerritStuart McLaren proposed openstack/glance: Add client_socket_timeout option  https://review.openstack.org/11913212:03
*** buzztro__ has joined #openstack-glance12:04
*** buzztroll has quit IRC12:05
*** buzztroll has joined #openstack-glance12:06
*** buzztrol_ has quit IRC12:07
*** buzztrol_ has joined #openstack-glance12:07
*** buzztro__ has quit IRC12:08
*** buzztro__ has joined #openstack-glance12:09
*** buzztroll has quit IRC12:10
*** buzztro__ has quit IRC12:10
*** buzztroll has joined #openstack-glance12:11
*** diegows_ has joined #openstack-glance12:11
*** buzztrol_ has quit IRC12:12
*** buzztrol_ has joined #openstack-glance12:13
*** chlong has joined #openstack-glance12:14
*** buzztro__ has joined #openstack-glance12:15
*** buzztroll has quit IRC12:16
*** buzztroll has joined #openstack-glance12:16
*** buzztrol_ has quit IRC12:18
*** buzztrol_ has joined #openstack-glance12:18
*** buzztro__ has quit IRC12:19
*** Longgeek has quit IRC12:20
*** buzztro__ has joined #openstack-glance12:20
*** Longgeek has joined #openstack-glance12:20
*** buzztroll has quit IRC12:21
*** buzztroll has joined #openstack-glance12:22
*** buzztrol_ has quit IRC12:23
*** buzztroll has quit IRC12:23
*** buzztroll has joined #openstack-glance12:24
*** buzztro__ has quit IRC12:25
*** buzztrol_ has joined #openstack-glance12:26
*** chlong has quit IRC12:26
*** buzztro__ has joined #openstack-glance12:27
*** buzztroll has quit IRC12:28
*** buzztroll has joined #openstack-glance12:29
*** simon-AS559 has joined #openstack-glance12:29
*** buzztrol_ has quit IRC12:30
*** buzztrol_ has joined #openstack-glance12:31
*** buzztro__ has quit IRC12:32
*** buzztro__ has joined #openstack-glance12:33
*** buzztroll has quit IRC12:34
*** buzztroll has joined #openstack-glance12:35
*** buzztrol_ has quit IRC12:36
*** buzztrol_ has joined #openstack-glance12:36
*** buzztro__ has quit IRC12:37
*** Longgeek_ has joined #openstack-glance12:37
*** diegows_ has quit IRC12:38
*** diegows has joined #openstack-glance12:38
*** buzztro__ has joined #openstack-glance12:38
*** buzztroll has quit IRC12:39
*** buzztro__ has quit IRC12:40
*** buzztroll has joined #openstack-glance12:40
*** Longgeek has quit IRC12:41
*** sgotliv has quit IRC12:41
openstackgerritKamil Rykowski proposed openstack/glance: glance-manage output when ran without any arguments  https://review.openstack.org/15865412:41
*** buzztrol_ has quit IRC12:41
*** gberginc has joined #openstack-glance12:42
*** buzztrol_ has joined #openstack-glance12:42
*** chlong has joined #openstack-glance12:43
*** buzztro__ has joined #openstack-glance12:44
*** buzztroll has quit IRC12:45
*** sgotliv has joined #openstack-glance12:45
*** buzztro__ has quit IRC12:45
*** buzztroll has joined #openstack-glance12:46
*** sgotliv has quit IRC12:46
*** sgotliv has joined #openstack-glance12:46
*** buzztrol_ has quit IRC12:47
*** buzztrol_ has joined #openstack-glance12:48
*** buzztro__ has joined #openstack-glance12:49
*** buzztroll has quit IRC12:50
*** buzztroll has joined #openstack-glance12:51
*** buzztrol_ has quit IRC12:52
*** buzztrol_ has joined #openstack-glance12:53
openstackgerritLakshmi N Sampath proposed openstack/glance: Catalog Index Service - Index Update  https://review.openstack.org/16162112:53
*** buzztro__ has quit IRC12:54
*** buzztrol_ has quit IRC12:54
*** buzztrol_ has joined #openstack-glance12:55
*** buzztroll has quit IRC12:56
openstackgerritIan Cordasco proposed openstack/glance: Register oslo.log's config options in tests  https://review.openstack.org/16581212:56
*** buzztroll has joined #openstack-glance12:56
*** buzztro__ has joined #openstack-glance12:58
*** ParsectiX has quit IRC12:59
*** buzztrol_ has quit IRC12:59
*** buzztrol_ has joined #openstack-glance13:00
*** buzztroll has quit IRC13:01
*** buzztroll has joined #openstack-glance13:02
*** buzztro__ has quit IRC13:03
*** buzztro__ has joined #openstack-glance13:04
*** buzztrol_ has quit IRC13:05
*** buzztrol_ has joined #openstack-glance13:05
*** mjturek1 has joined #openstack-glance13:06
*** buzztroll has quit IRC13:06
*** buzztrol_ has quit IRC13:07
*** buzztroll has joined #openstack-glance13:07
*** jistr has quit IRC13:08
*** buzztro__ has quit IRC13:08
*** jistr has joined #openstack-glance13:09
*** buzztrol_ has joined #openstack-glance13:09
*** buzztrol_ has quit IRC13:11
*** buzztrol_ has joined #openstack-glance13:11
*** gberginc has quit IRC13:12
*** buzztroll has quit IRC13:12
*** ParsectiX has joined #openstack-glance13:12
*** buzztroll has joined #openstack-glance13:13
*** ParsectiX has quit IRC13:14
*** buzztro__ has joined #openstack-glance13:15
*** buzztrol_ has quit IRC13:15
*** ParsectiX has joined #openstack-glance13:15
*** buzztrol_ has joined #openstack-glance13:16
*** buzztroll has quit IRC13:18
*** buzztroll has joined #openstack-glance13:18
*** buzztro__ has quit IRC13:19
*** buzztro__ has joined #openstack-glance13:20
*** chlong has quit IRC13:21
*** buzztrol_ has quit IRC13:21
*** buzztrol_ has joined #openstack-glance13:22
*** buzztroll has quit IRC13:23
*** buzztrol_ has quit IRC13:23
*** buzztroll has joined #openstack-glance13:24
*** gberginc has joined #openstack-glance13:25
*** buzztro__ has quit IRC13:25
*** buzztrol_ has joined #openstack-glance13:25
*** peristeri has joined #openstack-glance13:26
*** takedakn has joined #openstack-glance13:26
*** buzztro__ has joined #openstack-glance13:27
*** buzztroll has quit IRC13:28
*** takedakn has quit IRC13:28
*** takedakn has joined #openstack-glance13:29
*** buzztroll has joined #openstack-glance13:29
*** buzztrol_ has quit IRC13:30
*** buzztrol_ has joined #openstack-glance13:31
*** buzztro__ has quit IRC13:32
*** buzztro__ has joined #openstack-glance13:33
*** buzztroll has quit IRC13:34
*** buzztroll has joined #openstack-glance13:35
*** Longgeek_ has quit IRC13:35
*** buzztrol_ has quit IRC13:35
*** buzztroll has quit IRC13:36
*** buzztroll has joined #openstack-glance13:36
*** buzztro__ has quit IRC13:37
*** buzztrol_ has joined #openstack-glance13:38
*** sdake has joined #openstack-glance13:39
sdakehi folks - I am trying to publicize images --is-public true - but I get a 403 permission deinied13:40
sdakeany tips on what I can change to fix?13:40
sdakeI have an admin user, that has an admin role, and my policy.json has a publicize_images with admin role13:40
*** buzztro__ has joined #openstack-glance13:40
*** buzztroll has quit IRC13:41
*** buzztroll has joined #openstack-glance13:42
*** buzztrol_ has quit IRC13:43
*** buzztrol_ has joined #openstack-glance13:44
*** buzztro__ has quit IRC13:45
*** buzztro__ has joined #openstack-glance13:45
*** buzztroll has quit IRC13:47
*** ishant has quit IRC13:47
*** buzztro__ has quit IRC13:47
*** takedakn has quit IRC13:47
*** buzztroll has joined #openstack-glance13:47
*** buzztrol_ has quit IRC13:49
*** ashishjain has joined #openstack-glance13:49
ashishjainHello13:49
*** buzztrol_ has joined #openstack-glance13:49
ashishjainI am working on https://bugs.launchpad.net/glance/+bug/141472513:49
openstackLaunchpad bug 1414725 in Glance "glance-manage does not reflect latest Juno / Kilo commands" [Medium,Confirmed] - Assigned to Ashish (ashish-jain14)13:49
*** ParsectiX has quit IRC13:50
ashishjainsomehow the glance-manage db_version seems to be printing a huge debug log13:50
ashishjainIs this what the intention is for glance-manage db_version13:50
ashishjainI have made a paste to http://paste.openstack.org/show/193562/13:51
*** buzztro__ has joined #openstack-glance13:51
*** buzztroll has quit IRC13:52
*** buzztro__ has quit IRC13:52
*** buzztroll has joined #openstack-glance13:53
*** buzztrol_ has quit IRC13:54
*** buzztroll has quit IRC13:54
*** buzztroll has joined #openstack-glance13:55
*** abhishekk has quit IRC13:55
*** buzztrol_ has joined #openstack-glance13:56
openstackgerritLakshmi N Sampath proposed openstack/python-glanceclient: Fix Metadef Object update issue with python-glanceclient  https://review.openstack.org/16569513:57
*** buzztro__ has joined #openstack-glance13:58
*** buzztroll has quit IRC13:59
*** spzala has joined #openstack-glance13:59
nikhil_kCourtesy meeting reminder: ativelkov, cpallares, esheffield, flaper87, flwang1, hemanthm, ivasilevskaya, jokke_, kragniz, lakshmiS, mclaren, mfedosin, nikhil_k, Nikolay_St, Olena, rosmaita, sigmavirus24, sabari, TravT, zhiyan, pkoniszewski14:00
*** buzztroll has joined #openstack-glance14:00
openstackgerritLakshmi N Sampath proposed openstack/python-glanceclient: Fix Metadef Object update issue with python-glanceclient  https://review.openstack.org/16569514:00
*** lakshmiS has joined #openstack-glance14:00
*** pkoniszewski has joined #openstack-glance14:00
*** ParsectiX has joined #openstack-glance14:01
*** buzztrol_ has quit IRC14:01
*** cpallares has joined #openstack-glance14:01
*** takedakn has joined #openstack-glance14:01
*** sigmavirus24_awa is now known as sigmavirus2414:02
*** bfic has joined #openstack-glance14:02
sigmavirus24THanks nikhil_k14:02
*** buzztrol_ has joined #openstack-glance14:02
*** buzztroll has quit IRC14:02
*** gberginc has quit IRC14:03
*** buzztro__ has quit IRC14:03
*** gberginc has joined #openstack-glance14:03
*** buzztroll has joined #openstack-glance14:04
*** gberginc has quit IRC14:04
*** takedakn has quit IRC14:05
*** buzztro__ has joined #openstack-glance14:06
*** buzztrol_ has quit IRC14:06
*** smc7 has joined #openstack-glance14:07
*** buzztrol_ has joined #openstack-glance14:07
*** buzztroll has quit IRC14:08
*** buzztrol_ has quit IRC14:09
*** buzztroll has joined #openstack-glance14:09
*** buzztro__ has quit IRC14:10
*** buzztrol_ has joined #openstack-glance14:11
*** buzztro__ has joined #openstack-glance14:13
prometheanfiresigmavirus24: that pin to that specific version was done back when all the openstack packages were doing their own pinning and being bad about it...14:14
*** buzztroll has quit IRC14:14
*** thangp has joined #openstack-glance14:15
*** buzztroll has joined #openstack-glance14:15
*** buzztrol_ has quit IRC14:16
*** buzztrol_ has joined #openstack-glance14:17
openstackgerritStuart McLaren proposed openstack/glance: Add client_socket_timeout option  https://review.openstack.org/11913214:17
*** buzztro__ has quit IRC14:18
*** buzztrol_ has quit IRC14:18
*** buzztrol_ has joined #openstack-glance14:18
ashishjainHello14:19
ashishjainI want to start my open stack contribution with this so called low hanging fruit14:19
ashishjain https://bugs.launchpad.net/glance/+bug/141472514:19
openstackLaunchpad bug 1414725 in Glance "glance-manage does not reflect latest Juno / Kilo commands" [Medium,Confirmed] - Assigned to Ashish (ashish-jain14)14:19
*** dhellmann has quit IRC14:19
*** dhellmann has joined #openstack-glance14:19
ashishjainNeed some help from glance developers14:19
*** buzztroll has quit IRC14:19
krykowskiHey, most of devs are at #openstack-meeting-4 right now at the weekly meeting14:20
ashishjainohh okay14:20
ashishjainhow long  the meeting will go?14:20
krykowski40m inutes more14:20
*** buzztroll has joined #openstack-glance14:20
ashishjaincool14:20
krykowskibut you can leave question even now :)14:20
ashishjainkrykowski: Cool thank you. will you help me?14:20
ashishjainas I said I want to start with this low hanging fruit for start my contribution to open stack14:21
ashishjain https://bugs.launchpad.net/glance/+bug/141472514:21
openstackLaunchpad bug 1414725 in Glance "glance-manage does not reflect latest Juno / Kilo commands" [Medium,Confirmed] - Assigned to Ashish (ashish-jain14)14:21
krykowskiashishjain: what do you need my friend?14:21
ashishjain The bug talk about improving  the glance-manage document14:22
*** buzztro__ has joined #openstack-glance14:22
*** ayoung has quit IRC14:22
ashishjainthanks for your gesture krykowski14:22
*** buzztrol_ has quit IRC14:23
ashishjainnow I do not want to put some description  just for the sake of finishing this up which probably wont help any one14:23
ashishjainSo I started trying the commands one by one14:23
ashishjainglance-manage db_version_control14:23
ashishjainthis command is already available in the doc but without much of description14:24
*** buzztrol_ has joined #openstack-glance14:24
ashishjainwhat does this command do "https://github.com/openstack/glance/blob/master/doc/source/man/glancemanage.rst"14:24
ashishjainthe doc says keeps database under migration control?14:24
ashishjainwhat does this mean?14:24
*** buzztroll has quit IRC14:24
ashishjainDoes it mean once I run this command I will not be able to move to any other version14:25
ashishjain?14:25
ashishjainWhat are the various values which could be used with this command14:25
ashishjain0,1,2,3,4 etc etc?14:25
ashishjainSo this is my concern14:25
ashishjainWhile I can look into code but would need some help14:26
*** buzztroll has joined #openstack-glance14:26
ashishjainI see that we are using oslo libraries internally in glance code14:26
openstackgerritLakshmi N Sampath proposed openstack/glance: Catalog Index Service - Index Update  https://review.openstack.org/16162114:26
ashishjainSo may have some questions which may need someone's help14:26
*** vijendar has joined #openstack-glance14:26
ashishjainto  start with I am just looking for some help on this db_version_control command of glance-manage14:27
*** buzztro__ has quit IRC14:27
*** buzztro__ has joined #openstack-glance14:28
*** buzztrol_ has quit IRC14:29
krykowskiI'm not certainly sure about this, but db_version_control is only used to initialize database to use version control. When you do this all changes to the schema should be done usings migration scripts and no changes should be done manually on the DB.14:29
*** buzztrol_ has joined #openstack-glance14:29
*** buzztroll has quit IRC14:31
*** takedakn has joined #openstack-glance14:31
*** buzztroll has joined #openstack-glance14:31
*** takedakn has quit IRC14:31
*** buzztro__ has quit IRC14:32
krykowskiand the values for it are the files available at glance/db/sqlalchemy/migrate_repo/version (number, not the whole name)14:32
ashishjainkrykowski:  thanks for this buddy. I think I need to go and see the database tables of glance to understand more. BTW where are the sql statements which are used to create tables for glance14:32
*** sdake__ has joined #openstack-glance14:33
krykowskiin the directory I just mentioned :)14:33
ashishjain:)14:33
sdake__glance returns an error 403 when i attempt to use --is-public true wihen registering an image - running as admin user with an admin role - policy.json has correct data - any further tips for debug?14:34
*** buzztrol_ has quit IRC14:34
*** annashen has joined #openstack-glance14:34
*** sdake has quit IRC14:34
openstackgerritSteve McLellan proposed openstack/glance: WIP Catalog indexing service documentation  https://review.openstack.org/16044514:35
ashishjainso does it mean the versions could be anywhere b/w 001 to 038?14:35
ashishjainbut each of these files seems to have unique name14:36
*** buzztroll has quit IRC14:36
ashishjainI think I am misreading this whole concept of versioning :(14:38
*** annashen has quit IRC14:39
*** spzala has quit IRC14:43
*** mclaren has joined #openstack-glance14:51
mclarensigmavirus24: spec looks good - quick query if you're there14:53
mfedosinnikhil_k, so freeze does not apply to the documentation?14:53
nikhil_kmfedosin: it does, see this https://wiki.openstack.org/wiki/StringFreeze for where it does apply and where it doesn't14:54
mfedosinI thought the same. So it's better been merged today :) Can some review it?14:55
mfedosinhttps://review.openstack.org/#/c/164432/14:55
*** marcusvrn has joined #openstack-glance14:56
ivasilevskayaThe experimental artifacts api docs also need attention: https://review.openstack.org/#/c/164283/ =)14:57
nikhil_kivasilevskaya: mfedosin ativelkov TravT : I confirm this: If we need any more doc changes for features and such, a thread on the ML should be raised to let the translators know. (Please use appropriate tags)15:01
nikhil_kconfirmed*15:01
TravTnikhil_k: they don't translate /doc through, right?15:03
TravTthe RST files in glance tree.15:03
nikhil_kTravT: yeah, not the rst files15:04
TravTok, so then doc freeze wouldn't apply to them.15:04
nikhil_kconfiguration files and installation files though15:04
nikhil_kTravT: the doc PTL wanted those two frozen15:04
TravTmakes sense15:04
*** ParsectiX has quit IRC15:07
nikhil_ksigmavirus24: flaper87: zhiyan flwang mfedosin ativelkov hemanthm kragniz mclaren jokke_ : The glance k3 is being blocked for another 4 hours on https://review.openstack.org/#/c/149112/8 and https://review.openstack.org/#/c/146651/16 . Please try to review them if you get a chance. Also, a review on this https://review.openstack.org/#/c/162368/ should help us. After that we enter the FFE period.15:07
*** sdake has joined #openstack-glance15:07
*** takedakn has joined #openstack-glance15:08
*** takedakn has quit IRC15:08
*** spzala has joined #openstack-glance15:11
*** takedakn has joined #openstack-glance15:11
*** sdake__ has quit IRC15:11
*** takedakn has quit IRC15:12
openstackgerritIan Cordasco proposed openstack/glance: Register oslo.log's config options in tests  https://review.openstack.org/16581215:14
sigmavirus24nikhil_k: also https://review.openstack.org/#/c/165812/1 is a very minor bug15:14
*** takedakn has joined #openstack-glance15:15
*** takedakn has quit IRC15:21
*** takedakn has joined #openstack-glance15:24
*** takedakn has quit IRC15:25
*** sdake_ has joined #openstack-glance15:30
*** sdake has quit IRC15:34
*** ayoung has joined #openstack-glance15:36
mfedosinsigmavirus24, could you take a look, please? :) https://review.openstack.org/#/c/164432/15:43
sdake_I am containerizing openstack via the Kolla project, and we have containerized glance.  When I do an image-create, I get a 403 with --is-public true.  Is there some other settings besides the policy.json that affects this?15:43
atmarkHello, I have snapshot that is stuck on saving statefor nearly a day and I don't know cause. We have ceph for the storage of the images15:44
*** krykowski has quit IRC15:47
*** stpierre has joined #openstack-glance15:50
mclarensdake_: I can't think of anything. The publisize image and image upload parts of policy.json are the only things that spring to mind15:52
mclaren/publisize/publicize/15:52
sdake_mclaren thanks, I guess I'll debug the code then15:52
mclarenyou don't have any protected metadata properties?15:53
sdake_where would  that be stored?15:53
mclarenyou can create, it's just the making public that's problematic?15:53
sdake_yup --is-public image-create always fails with 40315:53
sdake_private works like a champ15:54
mclaren/etc/glance/protected-properties.conf (or something like that)15:54
mclarenwithout --is-public is ok?15:54
sdake_yup15:54
sdake_that works fine15:54
sdake_actually --is-public false is what I used that works15:54
sdake_not sure about --is-public alone15:54
mclarenyeah you give it true / false15:55
mclarenis this v1 or v2 api?15:55
mclarensigmavirus24: ping15:56
sigmavirus24sup?15:58
sigmavirus24mclaren: what's up?15:59
mclarenhey, looking at your spec. Looks good15:59
mclarenis it backward compatible?15:59
sigmavirus24the policy enforcer stuff? yeah15:59
mclarencool15:59
sigmavirus24It won't break anything and I added extra tests to show that15:59
sigmavirus24The extra tests also show that it works as intended15:59
mclarenand it brings us into line with the standard oslo policy stuff?15:59
*** nlevinki has quit IRC15:59
sigmavirus24mclaren: it brings us into line with every other project using oslo.policy to it's fullest extent16:00
mclarensuper16:00
sigmavirus24There's a separate change that upgrades glance to use oslo.policy the graduated library though16:00
mclarensaw that16:00
sigmavirus24there will probably be merge conflicts but they're both my changes so I'll handle it16:00
mclarenjust out of curiousity16:00
mclaren'The policy enforcer that Glance extends from oslo' -- we have some special policy sauce in glance?16:01
mclarenor should I just read that as 'that Glance imports from oslo'?16:02
sigmavirus24Glance imports oslo_policy.policy and uses oslo_policy.policy.Enforcer as a parent class for glance.api.policy.Enforcer16:09
sigmavirus24We set-up credentials inside enforcer consistently from context objects instead of creating credentials in each place it's used16:09
sigmavirus24Further, I'm working on refactoring the sub-class's __init__ so that it's far better but I ran into some weird test failures from doing that16:09
sigmavirus24It'll be a subsequent patch of upgrading to oslo_policy16:10
sigmavirus24It's something dhellmann asked us to do since we're doing CONF.find_file(CONF.oslo_policy.policy_file) in the __init__16:10
sdake_mclaren flavor=keystone in paste_deploy16:11
sdake_for future reference ;-)16:11
*** belmoreira has quit IRC16:12
mclarensdake_: so keystone wasn't active before?16:12
sdake_not sure what it was using16:12
sdake_but that fixed it16:12
sdake_it was using a default setting16:12
sdake_(juno)16:13
*** vijendar has quit IRC16:13
*** vijendar has joined #openstack-glance16:14
mclarensdake_: thanks. possibly a bug when running in non-authenticated mode (ie without keystone)16:14
*** vijendar has quit IRC16:14
*** aswadr has quit IRC16:14
sdake_well it definately isn't a bug, it was just an error on my part16:14
sdake_there is a cve on role:admin which explains why it was added16:15
*** vijendar has joined #openstack-glance16:15
*** simon-AS559 has quit IRC16:15
*** vijendar has quit IRC16:17
mclarensdake_: ok, thanks, good to know16:19
sdake_mclaren thanks for trying :)16:19
*** vijendar has joined #openstack-glance16:22
*** takedakn has joined #openstack-glance16:22
mclarensigmavirus24: in https://review.openstack.org/#/c/146651/16/glance/api/policy.py16:29
sigmavirus24mclaren: yes?16:29
mclarenthere's something subtle going on with try-else in def get()16:30
sigmavirus24yes16:30
mclarenwhat's the story there? Thanks16:30
sigmavirus24heh16:30
sigmavirus24I should have commented that16:30
sigmavirus24(or I guess I should)16:30
sigmavirus24Let me know if this makes sense and I'll push a PS with the comment added16:30
mclarenyeah, just wondering why not simply 'self.policy.enforce(self.context, 'get_image', ImageTarget(image))' at the start16:31
sigmavirus24So, targets need properties to interpolate into the rule. If we want to enforce a policy on a specific image, we need the image. The problem is the image may not exist, so we catch that. The problem is we may not even be allowed to get an image in general. So instead of returning a 404, we are expected to return a 403 in some cases16:31
sigmavirus24so if the image is not found, try enforcing a policy against the empty dictionary in case there are role-based checks that would have taken precedence in the old version16:32
sigmavirus24If the policy enforcer doesn't raise a 403 Forbidden, re-raise the 40416:32
sigmavirus24Otherwise, actually performe enforcement with the image (the else)16:32
*** ankit_ag has quit IRC16:32
mclarenok, that was what I was guessing. Don't 'leak' the fact that an image doesn't exist if you shouldn't know16:32
sigmavirus24mclaren: exactly16:33
sigmavirus24That's probably the simplest comment I can add16:33
mclarenprobably a dumb question, but how come the two enforce statements are different, ie one is just {} one is ImageTarget(image)?16:34
*** lakshmiS has quit IRC16:34
*** annashen has joined #openstack-glance16:36
*** bfic has quit IRC16:37
mclarenah, because in the first case we haven't got an image...16:37
*** ayoung has quit IRC16:39
*** annashen has quit IRC16:41
sigmavirus24mclaren: right16:42
sigmavirus24and role checks can be done without an image16:42
sigmavirus24also, not a stupid question16:42
openstackgerritCindy Pallares proposed openstack/glance_store: Update oslo libraries  https://review.openstack.org/16550316:44
*** pkoniszewski has quit IRC16:46
*** Swanson has left #openstack-glance16:48
*** simon-AS559 has joined #openstack-glance16:49
*** simon-AS5591 has joined #openstack-glance16:50
*** takedakn has quit IRC16:52
*** simon-AS559 has quit IRC16:53
*** alanf-mc has joined #openstack-glance16:55
*** groen692 has quit IRC17:00
*** buzztroll has joined #openstack-glance17:01
*** jmccrory has joined #openstack-glance17:04
*** pcaruana has quit IRC17:05
*** jistr has quit IRC17:07
*** harlowja_away is now known as harlowja_17:09
*** pdb has quit IRC17:12
*** pdb has joined #openstack-glance17:12
*** annashen has joined #openstack-glance17:15
openstackgerritMerged openstack/glance-specs: Pass Targets to Glance's Policy Enforcer  https://review.openstack.org/14911217:21
nikhil_ksigmavirus24: these are reviews planned for k3: https://review.openstack.org/#/c/149112/ , https://review.openstack.org/#/c/146651/ , https://review.openstack.org/#/c/162368/ (waiting for gate atm)17:23
nikhil_ksigmavirus24: I think we can go fix the bug during RC period. Please correct me if I'm wrong17:24
nikhil_ksigmavirus24: will star it, though (and try to review it soon)17:24
sigmavirus24Thanks nikhil_k17:28
*** markus_z has quit IRC17:36
*** annashen has quit IRC17:37
*** marcusvrn has quit IRC17:39
*** annashen has joined #openstack-glance17:41
*** ayoung has joined #openstack-glance17:50
*** smc7 has quit IRC17:56
*** cpallares has quit IRC17:59
prometheanfirecurrently, pysendfile in test-requirements is not in global requirements, if I want to change a version (or relax the constraints), should I submit the review to that project or to this one?17:59
prometheanfirehttps://github.com/openstack/glance/blob/master/test-requirements.txt#L2617:59
*** boris-42 has quit IRC18:02
*** buzztrol_ has joined #openstack-glance18:03
*** buzztroll has quit IRC18:04
ashishjainhello18:06
ashishjainLooks like I have found couple of issues one with glance and one with devstack18:06
ashishjaincan one of the developers help me to verify it18:07
openstackgerritMerged openstack/glance: Pass a real image target to the policy enforcer  https://review.openstack.org/14665118:07
ashishjainwhen I run glance-manage db_export_metadefs18:07
ashishjainI get the following error18:07
ashishjain015-03-19 18:07:26.831 CRITICAL glance [-] NoSuchColumnError: "Could not locate column in row for column 'name'"18:09
*** sdake_ has quit IRC18:09
ashishjainwhen I did some investigation I figured out that 12 json files are written just fine, it is the 13th one which is failing18:10
*** sdake has joined #openstack-glance18:11
ashishjainso it is fine till IOOPSperhost.json18:11
ashishjainbut when I it tries to write the next file that is with namespace OS::Software::DBMS18:13
ashishjainit fails18:13
*** flwang1 has joined #openstack-glance18:14
ashishjainlooks like there is a method call in the def _export_data_to_file18:17
ashishjainin the file /opt/stack/glance/glance/db/sqlalchemy/metadata.py18:17
openstackgerritMerged openstack/glance: Use graduated oslo.policy  https://review.openstack.org/16236818:18
ashishjainwhich makes a call to _get_namespace_resource_types18:18
*** jmccrory has quit IRC18:19
ashishjainthis method _get_namespace_resource_types in turn uses glance db table metadef_namespace_resource_types18:20
ashishjainthis table has just got one row which has the value18:20
ashishjainmysql> select * from metadef_namespace_resource_types18:20
ashishjain    -> ;18:20
ashishjain+------------------+--------------+-------------------+--------+---------------------+------------+18:20
ashishjain| resource_type_id | namespace_id | properties_target | prefix | created_at          | updated_at |18:20
ashishjain+------------------+--------------+-------------------+--------+---------------------+------------+18:20
ashishjain|                6 |           13 | NULL              | NULL   | 2015-03-18 02:59:30 | NULL       |18:20
ashishjain+------------------+--------------+-------------------+--------+---------------------+------------+18:20
ashishjain1 row in set (0.00 sec)18:21
ashishjainso when it comes to namespace_id=1318:21
ashishjainthere is no name column and hence the command fails18:21
ashishjainI think this table is being populated while running devstack18:21
ashishjainSo if we fix this up it will automcatically fix the glance issue as well18:22
ashishjainAny comments please.18:22
*** buzztroll has joined #openstack-glance18:24
*** buzztrol_ has quit IRC18:27
*** ankit_ag has joined #openstack-glance18:29
*** annashen has quit IRC18:29
*** flwang1 has quit IRC18:29
*** annashen has joined #openstack-glance18:29
*** spzala has quit IRC18:30
nikhil_kashishjain: hi18:33
*** ankit_ag has quit IRC18:33
nikhil_kashishjain: is this on a fresh install of devstack? Also, essentially are your db migrations in sync?18:34
nikhil_kprometheanfire: A review sounds good, you might get more feedback on the review18:35
ashishjainnikhil_k: ya it is on a fresh install of devstack18:36
ashishjainmay be 1 day old18:36
prometheanfirenikhil_k: fair enough, I'm fairly sure this is the only place we have that as a dependency as well18:36
nikhil_kprometheanfire: cool18:37
ashishjainnikhil_k:  do you mean I shall use glance-manage to sync the db agan18:38
nikhil_kashishjain: yeah, try and see if the dbis at latest version18:38
*** annashen has quit IRC18:38
*** annashen_ has joined #openstack-glance18:38
ashishjainnikhil_k: I finished running it result is same18:39
ashishjainnikhil_k: http://paste.openstack.org/show/193653/18:40
nikhil_kthanks18:40
ashishjainthis is the final error I see18:40
ashishjainPlease verify I can raise couple of bugs in that case.18:41
ashishjainActually I was working on my first contribution to open stack @https://bugs.launchpad.net/glance/+bug/141472518:41
openstackLaunchpad bug 1414725 in Glance "glance-manage does not reflect latest Juno / Kilo commands" [Medium,Confirmed] - Assigned to Ashish (ashish-jain14)18:41
ashishjainthat is when I hit this issue18:41
nikhil_kashishjain: ah nice, this is good effort for your first contribution! excellent, thanks18:42
ashishjainnikhil_k: thanks18:45
*** smc7 has joined #openstack-glance18:46
nikhil_kashishjain: ok, please raise a bug with the above details. Copy paste with removing of cruft should suffice. I see the same error, just don't see where it failed18:47
nikhil_kwhere == the file on which it failed18:47
nikhil_kashishjain: thanks (again)!18:47
nikhil_kashishjain: lemme know the bugs so that I can traige them right away and save someone18:49
nikhil_ksomeone's effort later18:49
ashishjainnikhil_k: thanks for verifying it. Sure I will do it now and let you  know.18:49
nikhil_kcool18:49
*** spzala has joined #openstack-glance18:52
*** vilobhmm has joined #openstack-glance18:57
*** thangp has quit IRC19:00
ashishjainhttps://bugs.launchpad.net/glance/+bug/143423719:00
openstackLaunchpad bug 1434237 in Glance "glance-manage db_export_metadefs fails with NoSuchColumnError" [Undecided,New]19:00
ashishjainnikhil_k: here is the bug link https://bugs.launchpad.net/glance/+bug/143423719:01
nikhil_kashishjain: cool, I've updated the status. Please feel free to assign it to yourself if needed19:02
ashishjainsure I will19:02
ashishjainnikhil_k: thanks19:07
*** vilobhmm1 has joined #openstack-glance19:09
*** vilobhmm has quit IRC19:11
*** alanf-mc has quit IRC19:14
*** ashishjain has quit IRC19:31
openstackgerritMerged openstack/glance_store: Add release notes for 0.4.0  https://review.openstack.org/16525019:41
openstackgerritMerged openstack/python-glanceclient: Add release notes for 0.17.0  https://review.openstack.org/16558719:44
*** sdake_ has joined #openstack-glance19:48
nikhil_keveryone: glance is tagged for k3. we're in FFE/RC period now. Please use the appropriate guidelines while merging stuff.19:48
*** vilobhmm1 has quit IRC19:50
nikhil_ksigmavirus24: mfedosin kragniz zhiyan flaper87 ativelkov mclaren flwang rosmaita hemanthm ^19:50
*** sdake has quit IRC19:51
*** sdake has joined #openstack-glance19:53
openstackgerritSteve McLellan proposed openstack/glance: WIP - Functional tests for catalog index service  https://review.openstack.org/15720919:53
openstackgerritSteve McLellan proposed openstack/glance: Catalog Index Service  https://review.openstack.org/13826919:53
*** flwang1 has joined #openstack-glance19:54
*** sdake_ has quit IRC19:55
*** mfedosin_ has joined #openstack-glance20:03
*** jmccrory has joined #openstack-glance20:03
*** vilobhmm has joined #openstack-glance20:07
*** alanf-mc has joined #openstack-glance20:09
*** gberginc has joined #openstack-glance20:10
*** jmccrory has quit IRC20:14
*** flwang1 has quit IRC20:29
*** flwang1 has joined #openstack-glance20:32
*** annashen_ has quit IRC20:38
*** annashen has joined #openstack-glance20:38
*** vilobhmm1 has joined #openstack-glance20:39
*** annashen has quit IRC20:43
*** vilobhmm has quit IRC20:43
*** vilobhmm1 has quit IRC20:45
*** annashen has joined #openstack-glance20:46
*** jaypipes has quit IRC20:50
*** vilobhmm has joined #openstack-glance20:59
*** stpierre has quit IRC21:16
*** peristeri has quit IRC21:46
*** jamielennox|away is now known as jamielennox22:09
openstackgerritSteve McLellan proposed openstack/glance: WIP - Functional tests for catalog index service  https://review.openstack.org/15720922:13
*** annashen has quit IRC22:18
*** annashen has joined #openstack-glance22:29
*** mjturek1 has quit IRC22:34
*** boris-42 has joined #openstack-glance22:36
openstackgerritIan Cordasco proposed openstack/glance: Register oslo.log's config options in tests  https://review.openstack.org/16581222:45
*** smc7 has quit IRC22:46
openstackgerritVictor Morales proposed openstack/python-glanceclient: Test unit for checking update active images  https://review.openstack.org/16603122:48
jamielennoxnikhil_k: thanks for raising my bp at the meeting - sorry i couldn't attend22:49
jamielennoxnikhil_k: i'll do the glance-spec but let me know if you've got any questions22:49
*** vijendar has quit IRC22:49
*** alanf-mc has quit IRC23:05
*** annashen has quit IRC23:06
*** alanf-mc has joined #openstack-glance23:07
*** chlong has joined #openstack-glance23:27
*** annashen has joined #openstack-glance23:39

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