Tuesday, 2017-08-22

*** rydou has joined #openstack-glance00:07
*** baojg has quit IRC00:16
*** baojg has joined #openstack-glance00:17
*** baojg has quit IRC00:21
*** catintheroof has quit IRC00:25
*** zhurong has joined #openstack-glance00:45
*** mtanino has quit IRC01:03
*** gcb has joined #openstack-glance01:36
*** gcb has quit IRC02:12
*** bkopilov has quit IRC02:13
*** gcb has joined #openstack-glance02:15
*** baojg has joined #openstack-glance02:23
*** mvk_ has quit IRC02:25
*** baojg has quit IRC02:28
*** catintheroof has joined #openstack-glance02:30
*** mvk_ has joined #openstack-glance02:36
*** rosmaita has quit IRC02:39
openstackgerritzhiguo.li proposed openstack/glance master: Optimize the way to serach file 'glance-api-paste.ini'  https://review.openstack.org/49606902:56
*** nicolasbock has quit IRC02:57
*** catintheroof has quit IRC02:57
openstackgerritzhiguo.li proposed openstack/glance master: Optimize the way to serach file 'glance-api-paste.ini'  https://review.openstack.org/49606903:10
openstackgerritzhiguo.li proposed openstack/glance master: Optimize the way to serach file 'glance-api-paste.ini'  https://review.openstack.org/49606903:15
*** bkopilov has joined #openstack-glance03:31
*** udesale has joined #openstack-glance03:42
*** links has joined #openstack-glance03:51
*** abhishekk has joined #openstack-glance04:00
*** abhishek_k has joined #openstack-glance04:04
*** abhishekk has quit IRC04:04
*** abhishek_k is now known as abhishekk04:05
*** abhishekk is now known as abhishekk|meetin04:48
*** pdeore has joined #openstack-glance04:49
*** markvoelker has quit IRC04:54
*** masber has quit IRC05:02
*** gcb has quit IRC05:21
*** gcb has joined #openstack-glance05:23
*** mkrcmari__ has joined #openstack-glance05:28
*** links has quit IRC05:30
*** mvk_ has quit IRC05:31
*** links has joined #openstack-glance05:33
*** hoonetorg has quit IRC05:34
*** ratailor has joined #openstack-glance05:44
*** hoonetorg has joined #openstack-glance05:49
*** rydou has quit IRC05:51
*** rydou has joined #openstack-glance05:52
*** masber has joined #openstack-glance05:55
*** groen692 has joined #openstack-glance05:56
*** thefallenlad has joined #openstack-glance06:12
*** abhishekk|meetin is now known as abhishekk06:13
*** hoonetorg has quit IRC06:14
*** abhishekk has quit IRC06:17
*** hoonetorg has joined #openstack-glance06:21
*** abhishekk has joined #openstack-glance06:24
*** aavraham has joined #openstack-glance06:29
*** abhishekk has quit IRC06:31
*** abhishekk has joined #openstack-glance06:31
*** rcernin has joined #openstack-glance06:45
*** pcaruana has joined #openstack-glance06:45
*** jistr is now known as jistr|trng06:53
openstackgerritzhiguo.li proposed openstack/glance master: Optimize the way to serach file 'glance-api-paste.ini'  https://review.openstack.org/49606906:54
*** markvoelker has joined #openstack-glance06:55
*** abhishekk has quit IRC07:03
*** tshefi has joined #openstack-glance07:03
*** abhishekk has joined #openstack-glance07:09
*** tesseract has joined #openstack-glance07:20
*** abhishekk is now known as abhishekk|lunch07:24
*** belmoreira has joined #openstack-glance07:29
*** markvoelker has quit IRC07:29
-openstackstatus- NOTICE: Gerrit is going to be restarted due to slow performance07:36
-openstackstatus- NOTICE: Gerrit has been restarted successfully07:40
*** markvoelker has joined #openstack-glance08:26
*** rydou has quit IRC08:32
*** mvk_ has joined #openstack-glance08:39
*** mkrcmari__ has quit IRC08:43
*** abhishekk|lunch is now known as abhishekk08:47
*** mkrcmari__ has joined #openstack-glance08:54
*** mvk_ has quit IRC08:57
*** markvoelker has quit IRC09:00
*** mvk has joined #openstack-glance09:03
*** mkrcmari__ has quit IRC09:06
*** aavraham has quit IRC09:18
openstackgerritzhiguo.li proposed openstack/glance master: Optimize the way to serach file 'glance-api-paste.ini'  https://review.openstack.org/49606909:22
*** baojg has joined #openstack-glance09:30
*** e0ne has joined #openstack-glance09:33
*** baojg has quit IRC09:34
*** faizy has joined #openstack-glance09:40
*** nicolasbock has joined #openstack-glance09:56
*** markvoelker has joined #openstack-glance09:57
*** nicolasbock has quit IRC10:01
*** abhishekk has quit IRC10:08
*** nicolasbock has joined #openstack-glance10:13
*** abhishekk has joined #openstack-glance10:16
*** zhurong has quit IRC10:17
*** abhishekk has quit IRC10:20
*** abhishekk has joined #openstack-glance10:20
*** markvoelker has quit IRC10:31
*** udesale has quit IRC10:36
*** groen692 has quit IRC10:46
*** mosulica has joined #openstack-glance10:52
*** bkopilov has quit IRC10:56
*** freerunner has quit IRC11:00
*** ndonegan has quit IRC11:00
*** junbo has quit IRC11:01
*** e0ne has quit IRC11:01
*** Dinesh_Bhor has quit IRC11:01
*** e0ne has joined #openstack-glance11:02
*** ndonegan has joined #openstack-glance11:02
*** vryzhenkin has joined #openstack-glance11:04
*** Dinesh_Bhor has joined #openstack-glance11:05
*** junbo has joined #openstack-glance11:05
*** thefallenlad has quit IRC11:05
openstackgerritzhiguo.li proposed openstack/glance master: Optimize the way to serach file 'glance-api-paste.ini'  https://review.openstack.org/49606911:10
*** pdeore has quit IRC11:11
*** markvoelker has joined #openstack-glance11:28
*** groen692 has joined #openstack-glance11:29
*** abhishekk has quit IRC11:41
*** abhishekk has joined #openstack-glance11:48
*** rosmaita has joined #openstack-glance11:49
*** rosmaita has quit IRC11:50
*** rosmaita has joined #openstack-glance11:51
*** ratailor has quit IRC11:53
*** faizy has quit IRC11:55
*** faizy has joined #openstack-glance11:57
*** faizy has quit IRC11:58
*** faizy has joined #openstack-glance11:58
*** markvoelker has quit IRC12:01
*** rosmaita has quit IRC12:03
*** rosmaita has joined #openstack-glance12:04
*** faizy has quit IRC12:15
*** markvoelker has joined #openstack-glance12:32
*** udesale has joined #openstack-glance12:37
*** bkopilov has joined #openstack-glance12:49
*** mtanino has joined #openstack-glance12:55
*** baojg has joined #openstack-glance12:56
*** zhurong has joined #openstack-glance12:56
*** rydou has joined #openstack-glance13:01
*** mtanino has quit IRC13:07
*** aavraham has joined #openstack-glance13:32
*** lucasxu has joined #openstack-glance13:54
*** rydou has quit IRC14:03
*** rydou has joined #openstack-glance14:05
*** zhurong has quit IRC14:19
*** links has quit IRC14:20
*** rosmaita has quit IRC14:24
*** rosmaita has joined #openstack-glance14:32
*** mtanino has joined #openstack-glance14:40
*** udesale has quit IRC14:44
*** gyee has joined #openstack-glance15:11
*** thefallenlad has joined #openstack-glance15:13
*** rcernin has quit IRC15:15
*** rydou has quit IRC15:26
*** mosulica has quit IRC15:32
*** e0ne has quit IRC15:43
*** abhishekk has quit IRC15:45
*** belmoreira has quit IRC15:55
*** groen692 has quit IRC15:58
*** tshefi has quit IRC16:01
*** tesseract has quit IRC16:04
*** catintheroof has joined #openstack-glance16:10
*** vryzhenkin is now known as freerunner16:25
*** pcaruana has quit IRC16:37
smcginnisLooks like a few things pending for stable/pike yet: https://review.openstack.org/#/q/status:open+project:openstack/glance+branch:stable/pike16:41
rosmaitasmcginnis thanks for the push, might as well get them merged16:44
*** mvk_ has joined #openstack-glance16:45
smcginnisrosmaita: ;)16:45
*** mvk has quit IRC16:48
*** baojg has quit IRC17:37
*** baojg has joined #openstack-glance17:38
*** guimaluf has joined #openstack-glance17:42
guimalufhi guys, I'm struggling to make glance v2 work with ceph backend... after 4 days debbuging and research I find out that qcow2 images should be imported to ceph in order to integrated with glance. But I can't see how to define imported ceph image on glance. Anyone could help me? I followed this: http://ceph.com/planet/importing-an-existing-ceph-rbd-image-into-glance/17:44
*** mvk_ has quit IRC18:18
rosmaitaguimaluf: where exactly are you having a problem?18:21
guimalufrosmaita, glance v2 doesn't support the ceph importation disk :( https://www.hastexo.com/resources/hints-and-kinks/importing-rbd-into-glance/18:24
guimaluf"Making Glance aware of the image18:24
guimalufFinally, we can let Glance know about this image. Now, there's a catch to this: this trick only works with the Glance v1 API, and thus you must use the glance client to do it. Your Glance is v2 only? Sorry. Insist on using the openstack client? Out of luck."18:24
guimalufI need to set location for the image I'm creating :/18:25
rosmaitaok, but you were able to convert the image and store it directly in ceph?18:25
guimalufyes!18:25
guimalufbut not create the image on glance :/18:25
guimalufI tried but the image get queue state18:25
rosmaitaright, because glance doesn't know that you uploaded the image into ceph18:25
rosmaitaok ... so ... there is a way to set locations in v2, but we don't recommend that it be exposed to end users18:26
rosmaitabut you could give yourself permissions as an admin18:26
rosmaitawhat version of glance are you using?18:26
*** aavraham has left #openstack-glance18:28
*** lin_yang has joined #openstack-glance18:41
guimalufrosmaita, ocata with v2 api. But I'm making tests before deployment. So now I'm changing to use v1 api18:42
rosmaitaok, up to you18:42
guimalufI'll make tests again and see if I'm succeed in launching an vm18:42
guimalufrosmaita, I would have to change the DB in order to fix location?18:43
*** kristaps_ has joined #openstack-glance18:43
rosmaitano, in v2 you just need to use some options and you can do it in the api18:43
kristaps_evening guys18:43
kristaps_i trying to deploy opensteck tripleO18:44
kristaps_and when trying upload any image to glance18:44
rosmaitaguimaluf: make sure you read this before messing with v2, though: https://wiki.openstack.org/wiki/OSSN/OSSN-006518:44
kristaps_image size is always 018:44
kristaps_any ideas?18:44
rosmaitakristaps_ what version of glance?18:45
rosmaitaguimaluf basically, you set show_multiple_locations true and then you can set the location in v2 using the PATCH API call on v2/images/{image_id}18:46
kristaps_rosmaita: sorry, how can i check it?18:46
guimalufrosmaita, hmmm interesting. so I can still manage to use v2 and ceph imported images?18:48
rosmaitayes, but you have to be careful18:48
guimalufrosmaita, I'm wondering how users would upload working images... they sould upload raw images?18:48
rosmaitawell, you really don't want users loading stuff directly to the backend, so yes, you should make them upload raw images18:49
rosmaitathat way they don't need to set the location18:49
rosmaitaexcept18:49
rosmaitaglance needs to be able to set the location using the user's credential18:49
rosmaitaso if you make set_location policy admin only, users won't be able to get the data uploaded to their images18:50
rosmaitayou really need to use two glances, one for users and one for admins, with different config and policy files18:51
rosmaitaor, wait until queens :(18:51
guimalufrosmaita, I'm struggling with this cause I tried to upload a cirros image but was unsuccessful to launch an instance. cause glance could not clone the qcow2 image.18:51
guimalufI'm lost now !hahahah I don't know if I set v1 api on glance or keep on v2 :/18:51
kristaps_rosmaita: ?18:51
rosmaitakristaps_ i'm looking for an answer18:52
*** tshefi has joined #openstack-glance18:52
rosmaitaare you using a packaged version of opensatck?18:53
rosmaitakristaps_ ^^18:53
kristaps_rosmaita: yes18:53
rosmaitado you have glance_manage in your path?18:55
rosmaitado "which glance_manage" and see if you get any response18:56
kristaps_rosmaita: [root@undercloud /]# which glance_manage18:56
kristaps_ no glance_manage in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)18:57
kristaps_rosmaita: this is debug when i tryied upload images, maybe this will be more helpfull19:00
kristaps_http://paste.openstack.org/raw/619077/19:00
rosmaitathanks, looking19:00
*** thefallenlad has quit IRC19:02
guimalufrosmaita, can I have glance v1 and v2 coexisting?19:07
rosmaitaguimaluf: yes19:08
rosmaitathey'll use the same config and policy file19:08
guimalufhmmm nice!19:08
rosmaitakristaps_ do you know if the image data is there? like for /v2/images/c4f402fd-f852-45e2-ba32-b836da0dadaf , glance says the checksum is d41d8cd98f00b204e9800998ecf8427e19:09
rosmaitaeven though the size is 019:09
kristaps_rosmaita: i supose there is no data, because i cant boot from this image19:11
rosmaitawhat backend are you using to store the images?19:11
kristaps_rosmaita:i think its simple lvm19:15
rosmaitadid you see anything in the glance log?19:17
kristaps_rosmaita: i grep errors there is only http://paste.openstack.org/raw/619084/19:22
rosmaitakristaps_ try 'grep ERROR' in that log19:28
kristaps_rosmaita: http://paste.openstack.org/raw/619086/19:31
rosmaitaty19:31
kristaps_<rosmaita: sorry?19:32
rosmaitathank you19:32
rosmaitanothing useful there either ... can you find part of the log where the image data is being uploaded? if you search for the uuid of one of your images, you should be able to find a line where glance reports that it's processing a PUT v2/images/UUID/file , and then see what it says after that.  should be some stuff about uploading the image and then updating image properties19:35
kristaps_rosmaita: http://paste.openstack.org/raw/619088/19:39
rosmaitaok19:39
kristaps_rosmaita: maybe this will be more useful19:42
kristaps_http://paste.openstack.org/raw/619090/19:42
kristaps_this is our case?19:43
kristaps_Cannot determine image size because it is either not provided in the request or chunked-transfer encoding is used. Adding image as a segmented object to Swift. add /usr/lib/python2.7/site-packages/glance_store/_drivers/swift/store.py:88519:43
rosmaitawell, glance should keep track of the bytes it sends to swift and then be able to use that to set the size19:44
kristaps_rosmaita: thats means? :)19:44
kristaps_rosmaita: any ideas or thoughts on this?19:54
*** e0ne has joined #openstack-glance19:55
kristaps_ rosmaita: how i can resolve it or troubleshoot it?19:55
rosmaitagive me a few minutes, i need to look at the glance_store code19:56
kristaps_rosmaita: okey19:57
*** baojg has quit IRC20:09
*** baojg has joined #openstack-glance20:09
guimalufrosmaita, any hint on this?20:12
guimaluf2017-08-22 20:08:28.646 9154 INFO glance_store._drivers.rbd [req-da16f2a4-1c35-42a2-842f-c98c27dfb607 85fc1fc0c1a14521bccab790f67b3e6f dcc406082a86492688777b3f66c3ae16 - default default] Invalid URI: URI must have exactly 1 or 4 components20:12
guimaluf2017-08-22 20:08:28.647 9154 DEBUG glance.api.v1.images [req-da16f2a4-1c35-42a2-842f-c98c27dfb607 85fc1fc0c1a14521bccab790f67b3e6f dcc406082a86492688777b3f66c3ae16 - default default] Invalid location rbd://8606f3b2-c18a-442e-90da-9ec2417fc0a4/94ec40f3-1513-4df1-a89d-1d565919534d/snap _reserve /usr/lib/python2.7/dist-packages/glance/api/v1/images.py:59120:12
rosmaitathat looks a bit odd ... it looks like in the log that the image is being uploaded to swift, but rbd:// is ceph20:14
rosmaitayou may need to ask in triple-o channel if anyone has seen this problem20:16
kristaps_rosmaita: mhmmmmm20:17
kristaps_rosmaita: thats looks is not a glance issue bet deployment issue?20:17
*** e0ne has quit IRC20:18
rosmaitai'm really not sure20:18
*** jokke_ has quit IRC20:18
kristaps_rosmaita: thank you...maybe any other suggestions?20:20
rosmaitamaybe try tomorrow when jokke_ is here ... he's had more experience with triple-o deployments than me20:21
rosmaitahe is in ireland time zone20:21
kristaps_rosmaita: okey, than you!!!20:22
rosmaitano problem, sorry not to be more helpful20:22
kristaps_rosmaita: now its clearer20:22
guimalufrosmaita, syntax erros in location... the pool name was missing20:30
rosmaitathat would do it!20:30
*** lucasxu has quit IRC20:31
*** baojg has quit IRC20:38
*** baojg has joined #openstack-glance20:38
*** tshefi has quit IRC20:48
*** rcernin has joined #openstack-glance20:50
*** jmccrory has quit IRC21:13
*** jmccrory has joined #openstack-glance21:14
*** mtanino has quit IRC21:16
*** catintheroof has quit IRC22:01
*** baojg has quit IRC22:11
*** baojg has joined #openstack-glance22:12
*** mtanino has joined #openstack-glance22:18
*** baojg has quit IRC22:20
*** baojg has joined #openstack-glance22:20
*** baojg has quit IRC22:25
*** baojg has joined #openstack-glance22:25
*** baojg has quit IRC22:30
*** baojg has joined #openstack-glance22:30
*** rcernin has quit IRC22:32
*** baojg has quit IRC23:05
*** baojg has joined #openstack-glance23:06
*** baojg has quit IRC23:22
*** baojg has joined #openstack-glance23:23
*** rydou has joined #openstack-glance23:24
*** rydou has quit IRC23:29
*** rydou has joined #openstack-glance23:37
*** rydou has quit IRC23:38
*** baojg has quit IRC23:40
*** baojg has joined #openstack-glance23:41
*** efried has quit IRC23:42
*** baojg has quit IRC23:45
*** baojg has joined #openstack-glance23:46
*** baojg has quit IRC23:50
*** baojg has joined #openstack-glance23:52
*** gyee has quit IRC23:53
*** efried has joined #openstack-glance23:56
*** gyee has joined #openstack-glance23:57
*** baojg has quit IRC23:58

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