Tuesday, 2015-02-10

*** jordandh has quit IRC00:00
*** jordandh has joined #openstack-glance00:02
*** lnxnut_ has quit IRC00:06
*** chlong has joined #openstack-glance00:08
*** lnxnut_ has joined #openstack-glance00:08
*** lnxnut_ has quit IRC00:12
*** r-daneel has quit IRC00:12
*** Longgeek has joined #openstack-glance00:56
*** gokrokve has quit IRC01:14
*** Longgeek has quit IRC01:15
*** wayne_ has quit IRC01:15
*** annashen has quit IRC01:18
*** gokrokve has joined #openstack-glance01:22
*** diegows has quit IRC01:53
*** gokrokve has quit IRC01:54
*** rwsu is now known as rwsu-afk02:02
*** Longgeek has joined #openstack-glance02:12
*** spandhe has quit IRC02:15
*** cpallares has joined #openstack-glance02:18
*** spzala has quit IRC02:18
*** lnxnut has joined #openstack-glance02:26
*** gokrokve has joined #openstack-glance02:27
*** Longgeek has quit IRC02:37
*** lnxnut has quit IRC02:39
*** lnxnut has joined #openstack-glance02:40
*** annashen has joined #openstack-glance02:43
*** rackertom has joined #openstack-glance02:45
*** gokrokve_ has joined #openstack-glance02:49
*** gokrokve_ has quit IRC02:50
*** gokrokve_ has joined #openstack-glance02:51
*** gokrokve has quit IRC02:52
*** plaurin_ has joined #openstack-glance02:54
*** lnxnut has quit IRC03:17
*** boris-42 has quit IRC03:22
*** spzala has joined #openstack-glance03:22
*** gokrokve_ has quit IRC03:25
*** david-lyle is now known as david-lyle_afk03:29
*** lnxnut has joined #openstack-glance03:29
*** Longgeek has joined #openstack-glance03:37
*** gokrokve has joined #openstack-glance03:42
*** Longgeek has quit IRC04:14
*** annashen has quit IRC04:16
*** spzala has quit IRC04:27
*** annashen has joined #openstack-glance04:27
*** flwang has quit IRC04:33
*** harlowja is now known as harlowja_away04:34
*** bkopilov has joined #openstack-glance04:46
*** lnxnut has quit IRC04:50
*** lnxnut has joined #openstack-glance04:51
*** lnxnut has quit IRC04:56
*** gokrokve_ has joined #openstack-glance04:56
*** gokrokve has quit IRC04:59
*** gokrokve_ has quit IRC05:00
*** cpallares has quit IRC05:04
*** annashen has quit IRC05:13
*** spandhe has joined #openstack-glance05:15
*** annashen has joined #openstack-glance05:20
*** lnxnut has joined #openstack-glance05:21
*** junhongl has joined #openstack-glance05:22
*** lnxnut has quit IRC05:38
*** annashen has quit IRC05:42
*** annashen has joined #openstack-glance05:52
*** harlowja_away has quit IRC06:01
*** annashen has quit IRC06:08
openstackgerritOpenStack Proposal Bot proposed openstack/glance: Imported Translations from Transifex  https://review.openstack.org/14676506:13
*** annashen has joined #openstack-glance06:16
*** krykowski has joined #openstack-glance06:39
openstackgerritAbhishek Kekane proposed openstack/glance-specs: log request id mappings from cinder  https://review.openstack.org/15435606:47
*** lnxnut has joined #openstack-glance06:51
*** lnxnut has quit IRC06:56
krykowski#morning Should we get rid of the parentheses in https://review.openstack.org/#/c/154104/1/glance/api/v1/images.py & https://review.openstack.org/#/c/154104/1/glance/api/v2/images.py or leave as is - looking for opinion ;)06:58
*** buzztroll has joined #openstack-glance07:02
*** pkoniszewski has joined #openstack-glance07:06
*** spandhe has quit IRC07:11
*** spandhe has joined #openstack-glance07:12
*** Longgeek has joined #openstack-glance07:15
*** Longgeek has quit IRC07:16
openstackgerritKamil Rykowski proposed openstack/glance: Remove redundant parentheses in conditional statements  https://review.openstack.org/15410407:20
*** bkopilov has quit IRC07:21
*** abhishekk has joined #openstack-glance07:35
*** belmoreira has joined #openstack-glance07:45
*** lnxnut has joined #openstack-glance07:52
*** chlong has quit IRC07:54
*** lnxnut has quit IRC07:57
*** fifieldt has joined #openstack-glance08:03
*** annashen has quit IRC08:06
*** aix has joined #openstack-glance08:07
*** annashen has joined #openstack-glance08:07
*** spandhe has quit IRC08:08
*** Longgeek has joined #openstack-glance08:14
*** annashen has quit IRC08:19
*** gokrokve has joined #openstack-glance08:43
*** jistr has joined #openstack-glance08:47
*** gokrokve has quit IRC08:54
*** gokrokve has joined #openstack-glance08:55
*** spandhe has joined #openstack-glance08:56
*** gokrokve has quit IRC09:00
*** jpich has joined #openstack-glance09:02
*** markus_z has joined #openstack-glance09:03
*** nellysmitt has joined #openstack-glance09:10
*** pdb has joined #openstack-glance09:19
*** MattMan has quit IRC09:30
*** buzztroll has quit IRC09:35
*** MattMan has joined #openstack-glance09:36
*** sgotliv has joined #openstack-glance09:37
*** bkopilov has joined #openstack-glance09:47
*** nlevinki has joined #openstack-glance09:50
openstackgerrithzrandd proposed openstack/glance: Typos fixed in the comments  https://review.openstack.org/15112910:14
*** boris-42 has joined #openstack-glance10:29
openstackgerritJamie Lennox proposed openstack/python-glanceclient: Replace mox in tests with requests-mock  https://review.openstack.org/14198210:33
openstackgerritJamie Lennox proposed openstack/python-glanceclient: Stub authentication requests rather than plugins  https://review.openstack.org/14199310:33
openstackgerritJamie Lennox proposed openstack/python-glanceclient: Remove keystoneclient mocks  https://review.openstack.org/14199210:33
openstackgerritJamie Lennox proposed openstack/python-glanceclient: Don't accept *args for client  https://review.openstack.org/14169910:33
*** Longgeek has quit IRC10:37
*** Longgeek has joined #openstack-glance10:45
*** flwang has joined #openstack-glance10:51
*** sgotliv has quit IRC10:59
*** spandhe has quit IRC11:01
*** haomaiwang has quit IRC11:11
*** EmilienM|afk is now known as EmilienM11:21
*** buzztroll has joined #openstack-glance11:24
*** aix has quit IRC11:26
*** diegows has joined #openstack-glance11:26
*** buzztroll has quit IRC11:28
*** diegows has quit IRC11:32
*** chlong has joined #openstack-glance11:59
flwangnikhil_k: ping12:10
*** aix has joined #openstack-glance12:11
*** Longgeek has quit IRC12:13
*** aix has quit IRC12:20
*** belmoreira has quit IRC12:24
*** changbl has quit IRC12:29
*** flwang has quit IRC12:34
openstackgerritDanny Al-Gaaf proposed openstack/glance: unify some messages  https://review.openstack.org/15444512:36
*** sgotliv has joined #openstack-glance12:41
*** sgotliv has quit IRC12:43
*** sgotliv has joined #openstack-glance12:44
*** groen692 has joined #openstack-glance12:49
*** jasondotstar has quit IRC12:49
*** jasondotstar has joined #openstack-glance12:50
*** lnxnut has joined #openstack-glance12:53
*** groen693 has joined #openstack-glance12:56
openstackgerritKamil Rykowski proposed openstack/glance: Catalog Index Service  https://review.openstack.org/13826912:57
*** takedakn has joined #openstack-glance12:57
ndoneganMay have found another "interesting" issue with glance-replicator/glance-api interaction.12:58
*** lnxnut has quit IRC12:58
*** groen692 has quit IRC12:58
*** takedakn has quit IRC12:59
*** takedakn has joined #openstack-glance12:59
*** tshefi has joined #openstack-glance13:02
*** groen692 has joined #openstack-glance13:06
*** groen693 has quit IRC13:08
*** buzztroll has joined #openstack-glance13:13
*** groen693 has joined #openstack-glance13:14
*** groen692 has quit IRC13:14
ndoneganLooks like it's possible to partially upload an image, have ceph return the incorrect checksum, and the the checksum gets clobbered when the meta-data file gets pushed up by glance-replicator.13:15
kragnizndonegan: would you mind filing a bug?13:17
kragnizndonegan: I'd quite like to burn a lot of glance-replicator and having bugs would help my case :P13:17
*** buzztroll has quit IRC13:18
ndonegankragniz: Will do once I've managed to verify 100%13:19
kragnizthanks!13:19
openstackgerritInessa Vasilevskaya proposed openstack/glance: Artifacts API  https://review.openstack.org/13662913:19
openstackgerritInessa Vasilevskaya proposed openstack/glance: Artifacts Domain  https://review.openstack.org/13289813:19
ndonegankragniz: Actually, any quick and easy way to compare ceph checksums to what's in glance?13:20
kragniznot that I know of13:21
ndoneganCan't see anything handy in rbd to show checksume13:21
kragnizI'm not very familiar with the ceph backend, sorry13:21
ndonegannp13:22
*** spzala has joined #openstack-glance13:24
*** groen692 has joined #openstack-glance13:25
*** groen693 has quit IRC13:26
ndonegankragniz: Making good use of glance-replicator here, and finding some very odd bugs along the way!13:34
*** groen693 has joined #openstack-glance13:34
kragnizndonegan: hehe13:35
*** groen692 has quit IRC13:35
*** groen693 has quit IRC13:44
*** abhishekk has quit IRC13:45
*** cpallares has joined #openstack-glance13:45
*** cpallares has quit IRC13:46
*** fifieldt has quit IRC14:02
openstackgerritKamil Rykowski proposed openstack/glance: Catalog Index Service  https://review.openstack.org/13826914:03
*** annegentle has joined #openstack-glance14:06
*** david-lyle_afk is now known as david-lyle14:07
*** mjturek1 has joined #openstack-glance14:09
*** jasondot_ has joined #openstack-glance14:14
*** hemanth__ has joined #openstack-glance14:14
*** lnxnut has joined #openstack-glance14:17
*** lnxnut has quit IRC14:22
*** peristeri has joined #openstack-glance14:29
*** takedakn has quit IRC14:31
openstackgerritMerged openstack/python-glanceclient: Updated from global requirements  https://review.openstack.org/14997714:37
nikhil_kflwang1: o/14:38
*** aix has joined #openstack-glance14:48
*** vijendar has joined #openstack-glance14:54
*** cpallares has joined #openstack-glance14:58
*** r-daneel has joined #openstack-glance15:00
*** buzztroll has joined #openstack-glance15:02
*** buzztroll has quit IRC15:06
*** zz_jgrimm is now known as jgrimm15:10
*** Longgeek has joined #openstack-glance15:14
*** Longgeek has quit IRC15:16
*** thangp has joined #openstack-glance15:16
*** sigmavirus24_awa is now known as sigmavirus2415:20
*** gokrokve has joined #openstack-glance15:21
*** lnxnut has joined #openstack-glance15:29
*** lnxnut has quit IRC15:29
*** nlevinki has quit IRC15:30
*** lnxnut has joined #openstack-glance15:30
*** nlevinki has joined #openstack-glance15:45
*** rwsu-afk is now known as rwsu15:52
*** jaypipes has quit IRC16:01
*** annashen has joined #openstack-glance16:04
*** annashen has quit IRC16:18
*** drewfisher314 has joined #openstack-glance16:19
drewfisher314good morning, folks.  We're working on glance 2014.2.2 and we're tripping over https://bugs.launchpad.net/glance/+bug/1411489 .  This was fixed for Icehouse in https://bugs.launchpad.net/glance/+bug/1279000 but we're seeing similar issues for Juno.  Does anybody have a workaround for it?16:20
openstackLaunchpad bug 1411489 in Glance "ValueError: Tables "task_info,tasks" have non utf8 collation, please make sure all tables are CHARSET=utf8" [Undecided,New]16:20
openstackLaunchpad bug 1279000 in oslo-incubator "db migrate script to set charset=utf8 for all tables" [High,Fix released] - Assigned to Zhi Yan Liu (lzy-dev)16:20
*** breitz has joined #openstack-glance16:21
*** chlong has quit IRC16:30
*** nlevinki has quit IRC16:40
*** bkopilov has quit IRC16:41
*** buzztroll has joined #openstack-glance16:51
openstackgerritDavid Wilde proposed openstack/python-glanceclient: Strip json and html from error messages  https://review.openstack.org/14838716:52
*** buzztroll has quit IRC16:55
*** sgotliv has quit IRC17:00
*** sgotliv has joined #openstack-glance17:01
*** spandhe has joined #openstack-glance17:06
*** jistr has quit IRC17:07
*** krykowski has quit IRC17:07
*** gokrokve_ has joined #openstack-glance17:09
*** pkoniszewski has quit IRC17:10
*** gokrokve has quit IRC17:12
*** spandhe_ has joined #openstack-glance17:14
*** spandhe has quit IRC17:17
*** spandhe_ is now known as spandhe17:17
*** buzztroll has joined #openstack-glance17:17
*** jpich has quit IRC17:22
*** jasondot_ has quit IRC17:31
*** annegentle has quit IRC17:32
*** lnxnut_ has joined #openstack-glance17:41
*** jlk has left #openstack-glance17:43
*** lnxnut has quit IRC17:44
*** aix has quit IRC17:47
*** pdb has quit IRC17:48
*** annashen has joined #openstack-glance17:49
*** changbl has joined #openstack-glance17:58
drewfisher314repinging since I didn't get an answer earlier - We're working on glance 2014.2.2 and we're tripping over https://bugs.launchpad.net/glance/+bug/1411489 .  This was fixed for Icehouse in https://bugs.launchpad.net/glance/+bug/1279000 but we're seeing similar issues for Juno.  Does anybody have a workaround for it?18:00
openstackLaunchpad bug 1411489 in Glance "ValueError: Tables "task_info,tasks" have non utf8 collation, please make sure all tables are CHARSET=utf8" [Undecided,New]18:00
openstackLaunchpad bug 1279000 in oslo-incubator "db migrate script to set charset=utf8 for all tables" [High,Fix released] - Assigned to Zhi Yan Liu (lzy-dev)18:00
*** eglynn has quit IRC18:01
*** sgotliv has quit IRC18:06
*** gokrokve_ has quit IRC18:07
sigmavirus24drewfisher314: looks like zhiyan would be the best person to answer those questions but they're not around at the moment18:07
drewfisher314ok, thanks18:08
*** nellysmitt has quit IRC18:09
*** harlowja has joined #openstack-glance18:10
*** MattMan has quit IRC18:14
*** jaypipes has joined #openstack-glance18:15
*** diegows has joined #openstack-glance18:16
*** diegows has quit IRC18:18
*** openstackgerrit has quit IRC18:22
*** openstackgerrit has joined #openstack-glance18:22
*** annashen has quit IRC18:26
*** gokrokve has joined #openstack-glance18:47
*** annashen has joined #openstack-glance18:49
*** markus_z has quit IRC18:51
*** bkopilov has joined #openstack-glance18:55
*** nellysmitt has joined #openstack-glance18:55
openstackgerritDavid Wilde proposed openstack/python-glanceclient: Strip json and html from error messages  https://review.openstack.org/14838719:03
*** EmilienM is now known as EmilienM|afk19:11
*** pkoniszewski has joined #openstack-glance19:20
*** wayne_ has joined #openstack-glance19:32
*** eglynn has joined #openstack-glance19:49
*** nellysmitt has quit IRC19:56
*** eglynn has quit IRC20:01
*** flwang has joined #openstack-glance20:07
*** jlk has joined #openstack-glance20:10
*** annashen has quit IRC20:19
*** eglynn has joined #openstack-glance20:19
*** changbl has quit IRC20:21
*** eglynn has quit IRC20:31
*** EmilienM|afk is now known as EmilienM20:35
*** nellysmitt has joined #openstack-glance20:42
*** gokrokve has quit IRC20:46
*** eglynn has joined #openstack-glance20:46
*** gokrokve has joined #openstack-glance20:46
*** gokrokve has quit IRC20:51
*** annashen has joined #openstack-glance21:02
*** pkoniszewski has quit IRC21:04
*** sgotliv has joined #openstack-glance21:05
*** pkoniszewski has joined #openstack-glance21:10
flwang1nikhil_k: ping21:17
*** pkoniszewski has quit IRC21:18
flwang1flaper87: ping21:21
nikhil_kflwang1: o/21:22
flwang1nikhil_k: I'm working on the owner update bug of v2, and I saw this line https://github.com/openstack/glance/blob/master/glance/api/v2/images.py#L30621:23
flwang1nikhil_k: i just can't remember why we keep 'is_public' as reserved attribute in v2, given we're using 'visibility'21:24
flwang1or it's another bug?21:24
ndoneganThis may be only a v1 bug, but should a client be able to update the checksum of an image via the api?21:26
nikhil_khmm, not sure why21:26
nikhil_kflwang1: worth filing it, I may not be able to get to it until friday21:27
*** annashen has quit IRC21:27
flwang1nikhil_k: ok, I will file a bug and submit a patch for that, cheers21:28
nikhil_kflwang1: cheers21:28
nikhil_kndonegan: should not be able to21:32
nikhil_kit's immutable prop21:33
ndonegannikhil_k: Will test with newer version, but seem to have managed it :)21:33
sigmavirus24uh21:37
sigmavirus24that is far from good21:37
stevelleyeah21:37
sigmavirus24ndonegan: did you check the image info after that/21:38
sigmavirus24Like did it actually accept the new checksum?21:38
ndoneganLet me verify that what I think is happening is actually happening, but it's the only thing that matches the behaviour seen.21:39
sigmavirus24Can you expand on "the behaviour seen"?21:39
ndoneganUsing glance replicator to copy between installs. And in 3 cases out of ~600 today, we got 500 errors from glance.21:40
ndoneganWhen we looked in it was checksum mismatches between what glance siad, and what was in ceph.21:41
ndoneganAnd it looks very much like glance-replicator ran into something when uploading the image which caused a trunated image to get loaded into Ceph, but then the checksum from the json was accepted.21:42
ndoneganHaving fun with VPN at the moment, as soon as I have it sorted, I'll see if I can test it with a single image with the checksum deliberately broken.21:42
sigmavirus24ndonegan: also, is this Havanna, Icehouse, Juno?21:48
ndoneganComplicated, Havana glance with glance-replicator from Icehouse.21:50
flaper87flwang1: yo21:51
ndoneganVPN has started behaving. Trying to prove what I'm seeing.21:51
ndonegan(or prove that I'm barking up the wrong tree.21:52
sigmavirus24So actually this looks plausible ndonegan if you're using an admin role/context21:52
sigmavirus24ndonegan: apparently in v1 it's possible to modify some metadata if your'e an admin (if this comment is correct) https://github.com/openstack/glance/blob/44e607df7c5c8e3e4d4b7e4f68f33bda51435869/glance/api/v1/__init__.py#L2221:54
*** annashen has joined #openstack-glance21:55
sigmavirus24https://github.com/openstack/glance/blob/90a9cc3cc8d7ba350db013a127a65b03cd6c0d2f/glance/api/v1/images.py#L890 only raises 403 if you're not an admin who's trying to update those two attributes21:55
sigmavirus24nikhil_k: Perhaps it's immutable in v2 but it appears to only be protected in v121:56
ndonegansigmavirus24: Don't think the user I'm using is admin, but will check.21:56
sigmavirus24ndonegan: also that assumption relies on the image being active21:57
sigmavirus24If it's not active, it would appear any person can modify it21:57
nikhil_kyes, it's active immutable21:57
sigmavirus24nikhil_k: no it's active protected since the check for updating those attributes seems to only apply to non-admins21:57
nikhil_kso, the image is immutable only at the tail states21:58
nikhil_ksigmavirus24: oh right, admin may be able to21:58
sigmavirus24nikhil_k: my reading of the code seems to imply an admin can21:58
sigmavirus24or anyone can if it's not active21:58
nikhil_kyes21:58
sigmavirus24(anyone with access to the image that is)21:58
sigmavirus24(the latter I have no issue with ;))21:58
nikhil_kit's a trixy one21:58
ndoneganstatus:active is one of the fields uploaded from the json21:59
nikhil_kyou can't do that21:59
nikhil_kwell21:59
ndoneganRight, testcase in progress.22:02
*** spandhe has quit IRC22:02
ndoneganVPN finally up.22:02
*** nellysmitt has quit IRC22:03
ndoneganRight, that's theory killed.22:03
ndoneganSupplied checksum (0000000000000000000000000000000) and checksum generated from uploaded image (37f537587a72bccf87793c1b87dc7606) did not match. Setting image status to 'killed'.22:03
ndoneganSo, now I need to figure out why the checksum in Ceph and what's in Glance don't match.22:04
ndoneganApologies for the noise :/22:04
stevellegood luck on that next part ndonegan22:04
ndoneganI'm going to have to dig deep into Ceph :(22:05
nikhil_kndonegan: try looking into the driver in glance_store to begin with22:05
ndonegannikhil_k: Will do. Thanks.22:06
sigmavirus24*whew*22:06
sigmavirus24I was really nervous there22:06
ndonegansigmavirus24: Good :)22:07
ndoneganYou can blame dodgy wifi, and VPN. If it wasn't for that, I've have done the above ages ago!22:07
sigmavirus24ndonegan: no. I blame you =P22:08
ndoneganDon't worry, I'm always blamed, it's all good!22:08
openstackgerritDavid Wilde proposed openstack/python-glanceclient: Strip json and html from error messages  https://review.openstack.org/14838722:11
*** sgotliv_ has joined #openstack-glance22:11
*** sgotliv has quit IRC22:14
*** thangp has quit IRC22:15
ndonegannikhil_k: Looks like it's the rbd driver. Going to see if I can replicate this in the morn.22:38
sigmavirus24ndonegan: what timezone are you in?22:41
ndoneganGMT22:41
kragnizndonegan: hi GMT buddy!22:42
ndoneganYay!22:42
*** diegows has joined #openstack-glance22:43
*** sgotliv__ has joined #openstack-glance22:44
openstackgerritFei Long Wang proposed openstack/glance: Fix image owner can't be changed issue in v2  https://review.openstack.org/15469522:44
*** peristeri has quit IRC22:44
sigmavirus24kragniz: you sleep now22:45
kragnizsigmavirus24: no22:45
kragnizsigmavirus24: I python now22:45
sigmavirus24kragniz: growing developers need their rest22:45
sigmavirus24kragniz: IPython later, sleep now22:45
kragnizshush22:45
sigmavirus24CPython. CPython run. Run Python Run.22:46
*** sgotliv_ has quit IRC22:47
kragnizRPython. RPython22:48
kragnizyou are a pirate22:48
flwang1flaper87: can you help confirm if it's a bug? https://bugs.launchpad.net/glance/+bug/142050122:55
openstackLaunchpad bug 1420501 in Glance "is_public should not be a reserved attribute in v2" [Undecided,New] - Assigned to Fei Long Wang (flwang)22:55
*** breitz has quit IRC22:56
*** breitz has joined #openstack-glance22:57
*** annashen has quit IRC23:02
*** vijendar has quit IRC23:13
openstackgerritFei Long Wang proposed openstack/glance: Remove is_public from reserved attribute in v2  https://review.openstack.org/15470423:17
openstackgerritDavid Wilde proposed openstack/python-glanceclient: Strip json and html from error messages  https://review.openstack.org/14838723:23
*** eglynn has quit IRC23:24
*** annashen has joined #openstack-glance23:35
*** chlong has joined #openstack-glance23:39
*** spandhe has joined #openstack-glance23:45
*** spandhe_ has joined #openstack-glance23:45
*** spandhe has quit IRC23:49
*** spandhe_ is now known as spandhe23:49
*** annashen has quit IRC23:56

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