*** rydou has joined #openstack-glance | 00:07 | |
*** baojg has quit IRC | 00:16 | |
*** baojg has joined #openstack-glance | 00:17 | |
*** baojg has quit IRC | 00:21 | |
*** catintheroof has quit IRC | 00:25 | |
*** zhurong has joined #openstack-glance | 00:45 | |
*** mtanino has quit IRC | 01:03 | |
*** gcb has joined #openstack-glance | 01:36 | |
*** gcb has quit IRC | 02:12 | |
*** bkopilov has quit IRC | 02:13 | |
*** gcb has joined #openstack-glance | 02:15 | |
*** baojg has joined #openstack-glance | 02:23 | |
*** mvk_ has quit IRC | 02:25 | |
*** baojg has quit IRC | 02:28 | |
*** catintheroof has joined #openstack-glance | 02:30 | |
*** mvk_ has joined #openstack-glance | 02:36 | |
*** rosmaita has quit IRC | 02:39 | |
openstackgerrit | zhiguo.li proposed openstack/glance master: Optimize the way to serach file 'glance-api-paste.ini' https://review.openstack.org/496069 | 02:56 |
---|---|---|
*** nicolasbock has quit IRC | 02:57 | |
*** catintheroof has quit IRC | 02:57 | |
openstackgerrit | zhiguo.li proposed openstack/glance master: Optimize the way to serach file 'glance-api-paste.ini' https://review.openstack.org/496069 | 03:10 |
openstackgerrit | zhiguo.li proposed openstack/glance master: Optimize the way to serach file 'glance-api-paste.ini' https://review.openstack.org/496069 | 03:15 |
*** bkopilov has joined #openstack-glance | 03:31 | |
*** udesale has joined #openstack-glance | 03:42 | |
*** links has joined #openstack-glance | 03:51 | |
*** abhishekk has joined #openstack-glance | 04:00 | |
*** abhishek_k has joined #openstack-glance | 04:04 | |
*** abhishekk has quit IRC | 04:04 | |
*** abhishek_k is now known as abhishekk | 04:05 | |
*** abhishekk is now known as abhishekk|meetin | 04:48 | |
*** pdeore has joined #openstack-glance | 04:49 | |
*** markvoelker has quit IRC | 04:54 | |
*** masber has quit IRC | 05:02 | |
*** gcb has quit IRC | 05:21 | |
*** gcb has joined #openstack-glance | 05:23 | |
*** mkrcmari__ has joined #openstack-glance | 05:28 | |
*** links has quit IRC | 05:30 | |
*** mvk_ has quit IRC | 05:31 | |
*** links has joined #openstack-glance | 05:33 | |
*** hoonetorg has quit IRC | 05:34 | |
*** ratailor has joined #openstack-glance | 05:44 | |
*** hoonetorg has joined #openstack-glance | 05:49 | |
*** rydou has quit IRC | 05:51 | |
*** rydou has joined #openstack-glance | 05:52 | |
*** masber has joined #openstack-glance | 05:55 | |
*** groen692 has joined #openstack-glance | 05:56 | |
*** thefallenlad has joined #openstack-glance | 06:12 | |
*** abhishekk|meetin is now known as abhishekk | 06:13 | |
*** hoonetorg has quit IRC | 06:14 | |
*** abhishekk has quit IRC | 06:17 | |
*** hoonetorg has joined #openstack-glance | 06:21 | |
*** abhishekk has joined #openstack-glance | 06:24 | |
*** aavraham has joined #openstack-glance | 06:29 | |
*** abhishekk has quit IRC | 06:31 | |
*** abhishekk has joined #openstack-glance | 06:31 | |
*** rcernin has joined #openstack-glance | 06:45 | |
*** pcaruana has joined #openstack-glance | 06:45 | |
*** jistr is now known as jistr|trng | 06:53 | |
openstackgerrit | zhiguo.li proposed openstack/glance master: Optimize the way to serach file 'glance-api-paste.ini' https://review.openstack.org/496069 | 06:54 |
*** markvoelker has joined #openstack-glance | 06:55 | |
*** abhishekk has quit IRC | 07:03 | |
*** tshefi has joined #openstack-glance | 07:03 | |
*** abhishekk has joined #openstack-glance | 07:09 | |
*** tesseract has joined #openstack-glance | 07:20 | |
*** abhishekk is now known as abhishekk|lunch | 07:24 | |
*** belmoreira has joined #openstack-glance | 07:29 | |
*** markvoelker has quit IRC | 07:29 | |
-openstackstatus- NOTICE: Gerrit is going to be restarted due to slow performance | 07:36 | |
-openstackstatus- NOTICE: Gerrit has been restarted successfully | 07:40 | |
*** markvoelker has joined #openstack-glance | 08:26 | |
*** rydou has quit IRC | 08:32 | |
*** mvk_ has joined #openstack-glance | 08:39 | |
*** mkrcmari__ has quit IRC | 08:43 | |
*** abhishekk|lunch is now known as abhishekk | 08:47 | |
*** mkrcmari__ has joined #openstack-glance | 08:54 | |
*** mvk_ has quit IRC | 08:57 | |
*** markvoelker has quit IRC | 09:00 | |
*** mvk has joined #openstack-glance | 09:03 | |
*** mkrcmari__ has quit IRC | 09:06 | |
*** aavraham has quit IRC | 09:18 | |
openstackgerrit | zhiguo.li proposed openstack/glance master: Optimize the way to serach file 'glance-api-paste.ini' https://review.openstack.org/496069 | 09:22 |
*** baojg has joined #openstack-glance | 09:30 | |
*** e0ne has joined #openstack-glance | 09:33 | |
*** baojg has quit IRC | 09:34 | |
*** faizy has joined #openstack-glance | 09:40 | |
*** nicolasbock has joined #openstack-glance | 09:56 | |
*** markvoelker has joined #openstack-glance | 09:57 | |
*** nicolasbock has quit IRC | 10:01 | |
*** abhishekk has quit IRC | 10:08 | |
*** nicolasbock has joined #openstack-glance | 10:13 | |
*** abhishekk has joined #openstack-glance | 10:16 | |
*** zhurong has quit IRC | 10:17 | |
*** abhishekk has quit IRC | 10:20 | |
*** abhishekk has joined #openstack-glance | 10:20 | |
*** markvoelker has quit IRC | 10:31 | |
*** udesale has quit IRC | 10:36 | |
*** groen692 has quit IRC | 10:46 | |
*** mosulica has joined #openstack-glance | 10:52 | |
*** bkopilov has quit IRC | 10:56 | |
*** freerunner has quit IRC | 11:00 | |
*** ndonegan has quit IRC | 11:00 | |
*** junbo has quit IRC | 11:01 | |
*** e0ne has quit IRC | 11:01 | |
*** Dinesh_Bhor has quit IRC | 11:01 | |
*** e0ne has joined #openstack-glance | 11:02 | |
*** ndonegan has joined #openstack-glance | 11:02 | |
*** vryzhenkin has joined #openstack-glance | 11:04 | |
*** Dinesh_Bhor has joined #openstack-glance | 11:05 | |
*** junbo has joined #openstack-glance | 11:05 | |
*** thefallenlad has quit IRC | 11:05 | |
openstackgerrit | zhiguo.li proposed openstack/glance master: Optimize the way to serach file 'glance-api-paste.ini' https://review.openstack.org/496069 | 11:10 |
*** pdeore has quit IRC | 11:11 | |
*** markvoelker has joined #openstack-glance | 11:28 | |
*** groen692 has joined #openstack-glance | 11:29 | |
*** abhishekk has quit IRC | 11:41 | |
*** abhishekk has joined #openstack-glance | 11:48 | |
*** rosmaita has joined #openstack-glance | 11:49 | |
*** rosmaita has quit IRC | 11:50 | |
*** rosmaita has joined #openstack-glance | 11:51 | |
*** ratailor has quit IRC | 11:53 | |
*** faizy has quit IRC | 11:55 | |
*** faizy has joined #openstack-glance | 11:57 | |
*** faizy has quit IRC | 11:58 | |
*** faizy has joined #openstack-glance | 11:58 | |
*** markvoelker has quit IRC | 12:01 | |
*** rosmaita has quit IRC | 12:03 | |
*** rosmaita has joined #openstack-glance | 12:04 | |
*** faizy has quit IRC | 12:15 | |
*** markvoelker has joined #openstack-glance | 12:32 | |
*** udesale has joined #openstack-glance | 12:37 | |
*** bkopilov has joined #openstack-glance | 12:49 | |
*** mtanino has joined #openstack-glance | 12:55 | |
*** baojg has joined #openstack-glance | 12:56 | |
*** zhurong has joined #openstack-glance | 12:56 | |
*** rydou has joined #openstack-glance | 13:01 | |
*** mtanino has quit IRC | 13:07 | |
*** aavraham has joined #openstack-glance | 13:32 | |
*** lucasxu has joined #openstack-glance | 13:54 | |
*** rydou has quit IRC | 14:03 | |
*** rydou has joined #openstack-glance | 14:05 | |
*** zhurong has quit IRC | 14:19 | |
*** links has quit IRC | 14:20 | |
*** rosmaita has quit IRC | 14:24 | |
*** rosmaita has joined #openstack-glance | 14:32 | |
*** mtanino has joined #openstack-glance | 14:40 | |
*** udesale has quit IRC | 14:44 | |
*** gyee has joined #openstack-glance | 15:11 | |
*** thefallenlad has joined #openstack-glance | 15:13 | |
*** rcernin has quit IRC | 15:15 | |
*** rydou has quit IRC | 15:26 | |
*** mosulica has quit IRC | 15:32 | |
*** e0ne has quit IRC | 15:43 | |
*** abhishekk has quit IRC | 15:45 | |
*** belmoreira has quit IRC | 15:55 | |
*** groen692 has quit IRC | 15:58 | |
*** tshefi has quit IRC | 16:01 | |
*** tesseract has quit IRC | 16:04 | |
*** catintheroof has joined #openstack-glance | 16:10 | |
*** vryzhenkin is now known as freerunner | 16:25 | |
*** pcaruana has quit IRC | 16:37 | |
smcginnis | Looks like a few things pending for stable/pike yet: https://review.openstack.org/#/q/status:open+project:openstack/glance+branch:stable/pike | 16:41 |
rosmaita | smcginnis thanks for the push, might as well get them merged | 16:44 |
*** mvk_ has joined #openstack-glance | 16:45 | |
smcginnis | rosmaita: ;) | 16:45 |
*** mvk has quit IRC | 16:48 | |
*** baojg has quit IRC | 17:37 | |
*** baojg has joined #openstack-glance | 17:38 | |
*** guimaluf has joined #openstack-glance | 17:42 | |
guimaluf | hi 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 IRC | 18:18 | |
rosmaita | guimaluf: where exactly are you having a problem? | 18:21 |
guimaluf | rosmaita, 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 image | 18:24 |
guimaluf | Finally, 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 |
guimaluf | I need to set location for the image I'm creating :/ | 18:25 |
rosmaita | ok, but you were able to convert the image and store it directly in ceph? | 18:25 |
guimaluf | yes! | 18:25 |
guimaluf | but not create the image on glance :/ | 18:25 |
guimaluf | I tried but the image get queue state | 18:25 |
rosmaita | right, because glance doesn't know that you uploaded the image into ceph | 18:25 |
rosmaita | ok ... so ... there is a way to set locations in v2, but we don't recommend that it be exposed to end users | 18:26 |
rosmaita | but you could give yourself permissions as an admin | 18:26 |
rosmaita | what version of glance are you using? | 18:26 |
*** aavraham has left #openstack-glance | 18:28 | |
*** lin_yang has joined #openstack-glance | 18:41 | |
guimaluf | rosmaita, ocata with v2 api. But I'm making tests before deployment. So now I'm changing to use v1 api | 18:42 |
rosmaita | ok, up to you | 18:42 |
guimaluf | I'll make tests again and see if I'm succeed in launching an vm | 18:42 |
guimaluf | rosmaita, I would have to change the DB in order to fix location? | 18:43 |
*** kristaps_ has joined #openstack-glance | 18:43 | |
rosmaita | no, in v2 you just need to use some options and you can do it in the api | 18:43 |
kristaps_ | evening guys | 18:43 |
kristaps_ | i trying to deploy opensteck tripleO | 18:44 |
kristaps_ | and when trying upload any image to glance | 18:44 |
rosmaita | guimaluf: make sure you read this before messing with v2, though: https://wiki.openstack.org/wiki/OSSN/OSSN-0065 | 18:44 |
kristaps_ | image size is always 0 | 18:44 |
kristaps_ | any ideas? | 18:44 |
rosmaita | kristaps_ what version of glance? | 18:45 |
rosmaita | guimaluf 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 |
guimaluf | rosmaita, hmmm interesting. so I can still manage to use v2 and ceph imported images? | 18:48 |
rosmaita | yes, but you have to be careful | 18:48 |
guimaluf | rosmaita, I'm wondering how users would upload working images... they sould upload raw images? | 18:48 |
rosmaita | well, you really don't want users loading stuff directly to the backend, so yes, you should make them upload raw images | 18:49 |
rosmaita | that way they don't need to set the location | 18:49 |
rosmaita | except | 18:49 |
rosmaita | glance needs to be able to set the location using the user's credential | 18:49 |
rosmaita | so if you make set_location policy admin only, users won't be able to get the data uploaded to their images | 18:50 |
rosmaita | you really need to use two glances, one for users and one for admins, with different config and policy files | 18:51 |
rosmaita | or, wait until queens :( | 18:51 |
guimaluf | rosmaita, 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 |
guimaluf | I'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 |
rosmaita | kristaps_ i'm looking for an answer | 18:52 |
*** tshefi has joined #openstack-glance | 18:52 | |
rosmaita | are you using a packaged version of opensatck? | 18:53 |
rosmaita | kristaps_ ^^ | 18:53 |
kristaps_ | rosmaita: yes | 18:53 |
rosmaita | do you have glance_manage in your path? | 18:55 |
rosmaita | do "which glance_manage" and see if you get any response | 18:56 |
kristaps_ | rosmaita: [root@undercloud /]# which glance_manage | 18: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 helpfull | 19:00 |
kristaps_ | http://paste.openstack.org/raw/619077/ | 19:00 |
rosmaita | thanks, looking | 19:00 |
*** thefallenlad has quit IRC | 19:02 | |
guimaluf | rosmaita, can I have glance v1 and v2 coexisting? | 19:07 |
rosmaita | guimaluf: yes | 19:08 |
rosmaita | they'll use the same config and policy file | 19:08 |
guimaluf | hmmm nice! | 19:08 |
rosmaita | kristaps_ do you know if the image data is there? like for /v2/images/c4f402fd-f852-45e2-ba32-b836da0dadaf , glance says the checksum is d41d8cd98f00b204e9800998ecf8427e | 19:09 |
rosmaita | even though the size is 0 | 19:09 |
kristaps_ | rosmaita: i supose there is no data, because i cant boot from this image | 19:11 |
rosmaita | what backend are you using to store the images? | 19:11 |
kristaps_ | rosmaita:i think its simple lvm | 19:15 |
rosmaita | did 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 |
rosmaita | kristaps_ try 'grep ERROR' in that log | 19:28 |
kristaps_ | rosmaita: http://paste.openstack.org/raw/619086/ | 19:31 |
rosmaita | ty | 19:31 |
kristaps_ | <rosmaita: sorry? | 19:32 |
rosmaita | thank you | 19:32 |
rosmaita | nothing 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 properties | 19:35 |
kristaps_ | rosmaita: http://paste.openstack.org/raw/619088/ | 19:39 |
rosmaita | ok | 19:39 |
kristaps_ | rosmaita: maybe this will be more useful | 19: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:885 | 19:43 |
rosmaita | well, glance should keep track of the bytes it sends to swift and then be able to use that to set the size | 19:44 |
kristaps_ | rosmaita: thats means? :) | 19:44 |
kristaps_ | rosmaita: any ideas or thoughts on this? | 19:54 |
*** e0ne has joined #openstack-glance | 19:55 | |
kristaps_ | rosmaita: how i can resolve it or troubleshoot it? | 19:55 |
rosmaita | give me a few minutes, i need to look at the glance_store code | 19:56 |
kristaps_ | rosmaita: okey | 19:57 |
*** baojg has quit IRC | 20:09 | |
*** baojg has joined #openstack-glance | 20:09 | |
guimaluf | rosmaita, any hint on this? | 20:12 |
guimaluf | 2017-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 components | 20:12 |
guimaluf | 2017-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:591 | 20:12 |
rosmaita | that looks a bit odd ... it looks like in the log that the image is being uploaded to swift, but rbd:// is ceph | 20:14 |
rosmaita | you may need to ask in triple-o channel if anyone has seen this problem | 20:16 |
kristaps_ | rosmaita: mhmmmmm | 20:17 |
kristaps_ | rosmaita: thats looks is not a glance issue bet deployment issue? | 20:17 |
*** e0ne has quit IRC | 20:18 | |
rosmaita | i'm really not sure | 20:18 |
*** jokke_ has quit IRC | 20:18 | |
kristaps_ | rosmaita: thank you...maybe any other suggestions? | 20:20 |
rosmaita | maybe try tomorrow when jokke_ is here ... he's had more experience with triple-o deployments than me | 20:21 |
rosmaita | he is in ireland time zone | 20:21 |
kristaps_ | rosmaita: okey, than you!!! | 20:22 |
rosmaita | no problem, sorry not to be more helpful | 20:22 |
kristaps_ | rosmaita: now its clearer | 20:22 |
guimaluf | rosmaita, syntax erros in location... the pool name was missing | 20:30 |
rosmaita | that would do it! | 20:30 |
*** lucasxu has quit IRC | 20:31 | |
*** baojg has quit IRC | 20:38 | |
*** baojg has joined #openstack-glance | 20:38 | |
*** tshefi has quit IRC | 20:48 | |
*** rcernin has joined #openstack-glance | 20:50 | |
*** jmccrory has quit IRC | 21:13 | |
*** jmccrory has joined #openstack-glance | 21:14 | |
*** mtanino has quit IRC | 21:16 | |
*** catintheroof has quit IRC | 22:01 | |
*** baojg has quit IRC | 22:11 | |
*** baojg has joined #openstack-glance | 22:12 | |
*** mtanino has joined #openstack-glance | 22:18 | |
*** baojg has quit IRC | 22:20 | |
*** baojg has joined #openstack-glance | 22:20 | |
*** baojg has quit IRC | 22:25 | |
*** baojg has joined #openstack-glance | 22:25 | |
*** baojg has quit IRC | 22:30 | |
*** baojg has joined #openstack-glance | 22:30 | |
*** rcernin has quit IRC | 22:32 | |
*** baojg has quit IRC | 23:05 | |
*** baojg has joined #openstack-glance | 23:06 | |
*** baojg has quit IRC | 23:22 | |
*** baojg has joined #openstack-glance | 23:23 | |
*** rydou has joined #openstack-glance | 23:24 | |
*** rydou has quit IRC | 23:29 | |
*** rydou has joined #openstack-glance | 23:37 | |
*** rydou has quit IRC | 23:38 | |
*** baojg has quit IRC | 23:40 | |
*** baojg has joined #openstack-glance | 23:41 | |
*** efried has quit IRC | 23:42 | |
*** baojg has quit IRC | 23:45 | |
*** baojg has joined #openstack-glance | 23:46 | |
*** baojg has quit IRC | 23:50 | |
*** baojg has joined #openstack-glance | 23:52 | |
*** gyee has quit IRC | 23:53 | |
*** efried has joined #openstack-glance | 23:56 | |
*** gyee has joined #openstack-glance | 23:57 | |
*** baojg has quit IRC | 23:58 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!