*** ducttape_ has quit IRC | 00:00 | |
*** mitz has joined #openstack-glance | 00:47 | |
*** dims__ has quit IRC | 01:06 | |
*** jamielennox|away is now known as jamielennox | 01:07 | |
*** aix has quit IRC | 01:26 | |
*** annashen has joined #openstack-glance | 01:45 | |
*** dims_ has joined #openstack-glance | 01:58 | |
*** dims_ has quit IRC | 02:03 | |
*** julim has joined #openstack-glance | 02:50 | |
*** dims_ has joined #openstack-glance | 03:03 | |
*** aswadr has joined #openstack-glance | 03:04 | |
*** dims_ has quit IRC | 03:09 | |
*** annashen has quit IRC | 03:12 | |
*** annashen has joined #openstack-glance | 03:18 | |
*** stevelle has quit IRC | 03:27 | |
*** stevelle has joined #openstack-glance | 03:28 | |
*** julim has quit IRC | 03:31 | |
*** annashen has quit IRC | 03:31 | |
*** annashen has joined #openstack-glance | 03:32 | |
*** annashen has quit IRC | 03:37 | |
*** annashen has joined #openstack-glance | 03:38 | |
*** annashen has quit IRC | 03:43 | |
*** annashen has joined #openstack-glance | 03:54 | |
*** annashen has quit IRC | 04:23 | |
*** annashen has joined #openstack-glance | 04:23 | |
*** annashen has quit IRC | 04:25 | |
*** annashen has joined #openstack-glance | 04:25 | |
*** annashen has quit IRC | 04:26 | |
*** annashen has joined #openstack-glance | 04:26 | |
*** annashen has quit IRC | 04:27 | |
*** annashen has joined #openstack-glance | 04:33 | |
*** annashen has quit IRC | 05:09 | |
*** belmoreira has joined #openstack-glance | 05:20 | |
*** nlevinki has joined #openstack-glance | 05:33 | |
*** groen692 has joined #openstack-glance | 05:46 | |
*** arnaud____ has joined #openstack-glance | 05:47 | |
*** sgotliv has quit IRC | 05:50 | |
*** belmoreira has quit IRC | 06:06 | |
*** gberginc has joined #openstack-glance | 06:13 | |
*** arnaud____ has quit IRC | 06:13 | |
*** arnaud____ has joined #openstack-glance | 06:20 | |
*** flaper87 has joined #openstack-glance | 06:31 | |
flaper87 | flwang: ping | 06:31 |
---|---|---|
flaper87 | flwang: did you restore the patch? | 06:31 |
flaper87 | (nova+glance patch) | 06:31 |
flaper87 | s/restore/rebased/ | 06:31 |
*** tobe has joined #openstack-glance | 06:45 | |
*** mordred has quit IRC | 06:46 | |
*** arnaud____ has quit IRC | 06:47 | |
*** abhishekk has joined #openstack-glance | 06:49 | |
*** ajayaa has joined #openstack-glance | 06:51 | |
*** arnaud____ has joined #openstack-glance | 07:05 | |
*** GB21 has joined #openstack-glance | 07:08 | |
*** markus_z has joined #openstack-glance | 07:16 | |
*** flaper87 has quit IRC | 07:18 | |
*** arnaud____ has quit IRC | 07:28 | |
*** sgotliv has joined #openstack-glance | 07:31 | |
GB21 | hello! anyone there? | 07:41 |
kragniz | morning | 07:42 |
GB21 | can anyone help me with the task api | 07:42 |
GB21 | morning kragniz | 07:42 |
GB21 | how are you? | 07:42 |
kragniz | good thanks | 07:43 |
kragniz | yourself? | 07:43 |
GB21 | I am well, thank you :D | 07:43 |
GB21 | Kragniz, I was trying to work with the tasks api, and I see that there is a need of a json schema in it, I read that we can use a python json tool | 07:46 |
GB21 | I have a some questions regarding the tasks schema, if I want to do this python -m json.tool | 07:48 |
GB21 | srry | 07:48 |
GB21 | want to do this http://paste.openstack.org/show/273463/ | 07:49 |
GB21 | here in the import from sectâ€ion, example is of swift | 07:49 |
GB21 | can I give address of any glance images here, to create a task | 07:50 |
GB21 | ? | 07:50 |
kragniz | I'm afraid I'm not too familiar with the tasks api | 07:52 |
*** jistr has joined #openstack-glance | 07:52 | |
kragniz | you want to create an import task from an image already stored in glance? | 07:52 |
GB21 | umm, I want to create tasks, but since I am not using any other openstack service, so I was thinking how do I create them, when I found this example, I saw that the address is from swift cloud. | 07:54 |
GB21 | basically what I know about tasks is that they dont let us store images untill it is definite that it is an actual image. | 07:55 |
GB21 | what should I do then? | 07:55 |
*** belmoreira has joined #openstack-glance | 08:00 | |
*** sgotliv has quit IRC | 08:03 | |
*** annashen has joined #openstack-glance | 08:10 | |
*** annashen has quit IRC | 08:14 | |
*** sgotliv has joined #openstack-glance | 08:20 | |
sabari | gb21: you can also give a http url where you have the image data. | 08:24 |
GB21 | sabari, even if the image is already stored in glance? | 08:25 |
sabari | gb21: we only have one type of task i.e import. So it only creates new images :). | 08:27 |
sabari | if you know the location of the existing image, you can use it to create a new image. | 08:27 |
GB21 | sabari, if I do glance image-list, I get the list of images | 08:28 |
*** dims_ has joined #openstack-glance | 08:28 | |
GB21 | and now in json schema, how should I use these | 08:28 |
*** sgotliv has quit IRC | 08:30 | |
sabari | gb21: I assume you intent is to create a new import task ? In that case, the import_from should be a location like a swift url or http. | 08:32 |
sabari | gb21: you cannot reference an existing image when creating a task. | 08:33 |
*** dims_ has quit IRC | 08:33 | |
GB21 | sabari, so far what I understand is that tasks help to store the definite images for example of nova which are used to boot a VM, right? | 08:34 |
GB21 | So, do I need to learn to create an image in nova first to create a task? | 08:35 |
sabari | gb21: tasks in glance are used to create images in glance. You just need to provide a location from which the image data can be imported. | 08:39 |
sabari | http://paste.openstack.org/show/273570/ | 08:39 |
sabari | ^ that should help you create a glance image using import tasks. | 08:40 |
GB21 | sabari, ohk thanks :D | 08:40 |
sabari | gb21: np | 08:41 |
*** aix has joined #openstack-glance | 08:41 | |
*** sgotliv has joined #openstack-glance | 08:44 | |
*** MattMan has quit IRC | 08:56 | |
*** e0ne has joined #openstack-glance | 08:56 | |
*** MattMan has joined #openstack-glance | 08:56 | |
*** ajayaa has quit IRC | 09:00 | |
*** flaper87 has joined #openstack-glance | 09:01 | |
flaper87 | kragniz: sigmavirus24_awa can I get your input here: https://bugs.launchpad.net/glance-store/+bug/1462937 | 09:01 |
openstack | Launchpad bug 1462937 in glance_store "Remove jsonschema as a dependency" [Undecided,New] - Assigned to Flavio Percoco (flaper87) | 09:01 |
*** e0ne is now known as e0ne_ | 09:10 | |
kragniz | flaper87: sure thing | 09:10 |
*** ajayaa has joined #openstack-glance | 09:16 | |
*** e0ne_ has quit IRC | 09:20 | |
*** e0ne has joined #openstack-glance | 09:29 | |
openstackgerrit | Louis Taylor proposed openstack/glance_store: Move python-cinderclient to test-requirements.txt https://review.openstack.org/189237 | 09:36 |
kragniz | flaper87: from looking at the glance_store requirements.txt ^ | 09:37 |
flaper87 | kragniz: ah, good catch | 09:37 |
openstackgerrit | Flavio Percoco proposed openstack/glance-specs: Add support for automatic task triggering https://review.openstack.org/188388 | 09:57 |
*** boris-42 has joined #openstack-glance | 10:04 | |
*** jsheeren has joined #openstack-glance | 10:07 | |
*** openstackgerrit has quit IRC | 10:09 | |
*** openstackgerrit has joined #openstack-glance | 10:09 | |
*** dims_ has joined #openstack-glance | 10:09 | |
*** jsheeren has quit IRC | 10:11 | |
openstackgerrit | Stuart McLaren proposed openstack/glance: Fix typo in the code https://review.openstack.org/188811 | 10:28 |
*** arnaud____ has joined #openstack-glance | 10:29 | |
*** arnaud____ has quit IRC | 10:33 | |
*** ajayaa has quit IRC | 10:46 | |
*** e0ne is now known as e0ne_ | 10:56 | |
*** e0ne_ is now known as e0ne | 10:57 | |
*** ajayaa has joined #openstack-glance | 10:58 | |
*** GB21 has quit IRC | 11:15 | |
*** ajayaa has quit IRC | 11:18 | |
*** fesp has joined #openstack-glance | 11:20 | |
*** cpallares has joined #openstack-glance | 11:22 | |
*** tobe has quit IRC | 11:26 | |
*** ajayaa has joined #openstack-glance | 11:37 | |
*** e0ne is now known as e0ne_ | 11:38 | |
*** e0ne_ is now known as e0ne | 11:39 | |
*** flwang1 has joined #openstack-glance | 11:57 | |
*** ala_ has joined #openstack-glance | 12:07 | |
*** ajayaa has quit IRC | 12:07 | |
*** annegentle has joined #openstack-glance | 12:09 | |
*** GB21 has joined #openstack-glance | 12:11 | |
*** raildo has joined #openstack-glance | 12:11 | |
*** zz_jgrimm is now known as jgrimm | 12:17 | |
*** flaper87 has quit IRC | 12:25 | |
*** fesp is now known as flaper87 | 12:25 | |
*** flaper87 has quit IRC | 12:25 | |
*** flaper87 has joined #openstack-glance | 12:25 | |
*** pdb has quit IRC | 12:41 | |
*** pdb has joined #openstack-glance | 12:42 | |
*** gberginc has quit IRC | 12:43 | |
*** raildo has quit IRC | 12:50 | |
*** flwang1 has quit IRC | 12:51 | |
*** GeetikaBatra__ has joined #openstack-glance | 12:57 | |
*** GB21 has quit IRC | 12:57 | |
*** GeetikaBatra__ is now known as GB21 | 12:58 | |
*** primechuck has joined #openstack-glance | 13:05 | |
*** raildo has joined #openstack-glance | 13:06 | |
openstackgerrit | Louis Taylor proposed openstack/glance_store: Add base for functional tests https://review.openstack.org/188145 | 13:08 |
openstackgerrit | Louis Taylor proposed openstack/glance_store: Add swift store functional testing support https://review.openstack.org/189289 | 13:08 |
*** peristeri has joined #openstack-glance | 13:17 | |
*** spzala has joined #openstack-glance | 13:25 | |
*** abhishekk has quit IRC | 13:26 | |
*** ayoung has joined #openstack-glance | 13:29 | |
*** stpierre has joined #openstack-glance | 13:36 | |
*** julim has joined #openstack-glance | 13:36 | |
*** mtanino has quit IRC | 13:40 | |
flaper87 | sabari: I should be around today by the time you will. Please ping me, it's about the tasks thing. | 13:41 |
flaper87 | sabari: thanks for your feedback | 13:41 |
*** ducttape_ has joined #openstack-glance | 13:46 | |
*** e0ne is now known as e0ne_ | 13:56 | |
*** jaypipes has joined #openstack-glance | 14:01 | |
openstackgerrit | Inessa Vasilevskaya proposed openstack/glance: Artifacts custom logic support https://review.openstack.org/157099 | 14:04 |
openstackgerrit | Inessa Vasilevskaya proposed openstack/glance: Json schema generation for Artifact Type https://review.openstack.org/132253 | 14:04 |
*** e0ne_ has quit IRC | 14:07 | |
*** e0ne has joined #openstack-glance | 14:08 | |
*** sigmavirus24_awa is now known as sigmavirus24 | 14:11 | |
*** bpoulos has joined #openstack-glance | 14:12 | |
*** dvorak is now known as clayton | 14:13 | |
sigmavirus24 | flaper87: fun fact: when that was proposed (jsonschema in glance_store) I was against it and was told it wasn't a big deal | 14:14 |
flaper87 | sigmavirus24: let me guess, I told you that | 14:16 |
flaper87 | :D | 14:16 |
sigmavirus24 | flaper87: honestly, I don't recall who told me that | 14:16 |
sigmavirus24 | I just remember mentioning that it was overkill | 14:16 |
flaper87 | I really hope it was me... this would be an epic troll | 14:17 |
flaper87 | :D | 14:17 |
sigmavirus24 | lol | 14:18 |
openstackgerrit | Merged openstack/glance: Fix typo in the code https://review.openstack.org/188811 | 14:18 |
sigmavirus24 | flaper87: you did +2 it | 14:18 |
*** annegentle has quit IRC | 14:29 | |
*** jamielennox is now known as jamielennox|away | 14:38 | |
*** jgrimm is now known as zz_jgrimm | 14:38 | |
*** freerunner has joined #openstack-glance | 14:45 | |
*** annegentle has joined #openstack-glance | 14:52 | |
*** TravT_ has quit IRC | 14:52 | |
openstackgerrit | Inessa Vasilevskaya proposed openstack/glance: Fix DbError when image params are out of range https://review.openstack.org/182703 | 14:52 |
*** TravT has joined #openstack-glance | 14:53 | |
*** sgotliv has quit IRC | 15:00 | |
openstackgerrit | Inessa Vasilevskaya proposed openstack/glance: Fix DbError when image params are out of range https://review.openstack.org/182703 | 15:01 |
*** sgotliv has joined #openstack-glance | 15:02 | |
*** spzala has quit IRC | 15:06 | |
*** belmoreira has quit IRC | 15:06 | |
*** spzala has joined #openstack-glance | 15:06 | |
*** ala_ has quit IRC | 15:20 | |
openstackgerrit | Inessa Vasilevskaya proposed openstack/glance: Fix DbError when image params are out of range https://review.openstack.org/182703 | 15:27 |
ivasilevskaya1 | Sorry guys, a real Monday =( took me 3 PS to commit the final version of bugfix | 15:28 |
*** markus_z has quit IRC | 15:29 | |
sigmavirus24 | ivasilevskaya1: no need to apologize! If you saw some of the PS chains I've made in Bandit, you'd think "3 is an awfully low number" ;) | 15:29 |
sigmavirus24 | ivasilevskaya1: wasn't there another bug for that 2^31 bug? | 15:31 |
ivasilevskaya1 | sigmavirus24: hm.. none that I know of | 15:32 |
sigmavirus24 | yeah there was one and people were having trouble verifying it iirc | 15:32 |
sigmavirus24 | let me search | 15:32 |
sigmavirus24 | https://bugs.launchpad.net/glance/+bug/1460060 | 15:32 |
openstack | Launchpad bug 1460060 in python-glanceclient "Glance v1 and v2 api returns 500 while passing --min-ram and --min-disk greater than 2^(31) max value" [Undecided,New] | 15:32 |
sigmavirus24 | nope nevermind, that failure to verify was something else =P | 15:32 |
sigmavirus24 | ivasilevskaya1: can you update your Commit Message to close that bug too? | 15:33 |
ivasilevskaya1 | sigmavirus24, ok. 2 bugs fixed in 1 PS are better than 1 =) | 15:34 |
ivasilevskaya1 | s/PS/patch | 15:34 |
sigmavirus24 | DOUBLE THE POINTS! ;) | 15:34 |
*** aix has quit IRC | 15:36 | |
openstackgerrit | Inessa Vasilevskaya proposed openstack/glance: Fix DbError when image params are out of range https://review.openstack.org/182703 | 15:37 |
*** mtanino has joined #openstack-glance | 15:38 | |
openstackgerrit | Stuart McLaren proposed openstack/python-glanceclient: Remove custom SSL compression handling https://review.openstack.org/189344 | 15:40 |
*** nlevinki has quit IRC | 15:42 | |
openstackgerrit | Stuart McLaren proposed openstack/python-glanceclient: Remove custom SSL compression handling https://review.openstack.org/189344 | 15:42 |
*** tsekiyama has joined #openstack-glance | 15:44 | |
*** bpoulos has left #openstack-glance | 15:55 | |
openstackgerrit | Stuart McLaren proposed openstack/python-glanceclient: Remove custom SSL compression handling https://review.openstack.org/189344 | 15:58 |
openstackgerrit | Inessa Vasilevskaya proposed openstack/glance: Fix DbError when image params are out of range https://review.openstack.org/182703 | 16:01 |
*** sgotliv has quit IRC | 16:02 | |
openstackgerrit | Inessa Vasilevskaya proposed openstack/glance: Fix DbError when image params are out of range https://review.openstack.org/182703 | 16:02 |
*** groen692 has quit IRC | 16:04 | |
*** annegentle has quit IRC | 16:06 | |
*** GB21 has quit IRC | 16:07 | |
*** sjmc7 has joined #openstack-glance | 16:08 | |
*** jistr has quit IRC | 16:10 | |
*** groen692 has joined #openstack-glance | 16:14 | |
*** groen692 has quit IRC | 16:17 | |
*** GB21 has joined #openstack-glance | 16:33 | |
*** freerunner has quit IRC | 16:36 | |
*** annashen has joined #openstack-glance | 16:37 | |
*** belmoreira has joined #openstack-glance | 16:44 | |
*** freerunner has joined #openstack-glance | 16:50 | |
*** freerunner has quit IRC | 16:50 | |
*** e0ne has quit IRC | 17:06 | |
*** annegentle has joined #openstack-glance | 17:06 | |
*** freerunner has joined #openstack-glance | 17:06 | |
*** dims has joined #openstack-glance | 17:07 | |
*** dims_ has quit IRC | 17:10 | |
*** annegentle has quit IRC | 17:12 | |
*** gberginc has joined #openstack-glance | 17:17 | |
*** annegentle has joined #openstack-glance | 17:20 | |
*** annashen has quit IRC | 17:21 | |
*** annashen has joined #openstack-glance | 17:22 | |
openstackgerrit | Inessa Vasilevskaya proposed openstack/glance: REST API layer for Artifact Repository https://review.openstack.org/136629 | 17:30 |
*** freerunner has quit IRC | 17:39 | |
*** freerunner has joined #openstack-glance | 17:47 | |
*** annashen has quit IRC | 17:48 | |
*** primechuck has quit IRC | 17:50 | |
*** aswadr has quit IRC | 17:51 | |
*** zz_jgrimm is now known as jgrimm | 17:53 | |
*** annegentle has quit IRC | 17:55 | |
*** freerunner has quit IRC | 17:56 | |
*** annegentle has joined #openstack-glance | 17:56 | |
*** freerunner has joined #openstack-glance | 17:58 | |
*** freerunner has quit IRC | 17:58 | |
*** dontalton has joined #openstack-glance | 18:00 | |
*** freerunner has joined #openstack-glance | 18:01 | |
*** gberginc has quit IRC | 18:03 | |
flaper87 | nikhil_k: were the dates July 1-3 considered for the mid-cycle ? | 18:03 |
*** freerunner has quit IRC | 18:05 | |
*** freerunner has joined #openstack-glance | 18:06 | |
*** e0ne has joined #openstack-glance | 18:08 | |
*** openstackgerrit has quit IRC | 18:09 | |
*** openstackgerrit has joined #openstack-glance | 18:09 | |
sigmavirus24 | flaper87: were the dates announced + location? | 18:12 |
flaper87 | sigmavirus24: not yet, the voting is here: https://docs.google.com/spreadsheets/d/1w0eI6SPCA2IrOyHiEYC2uDO3fbYGzahZRUQSva0UD3Y/edit#gid=0 | 18:13 |
flaper87 | sigmavirus24: well, not that I'm aware | 18:13 |
sigmavirus24 | ah right | 18:14 |
*** freerunner has quit IRC | 18:15 | |
*** e0ne is now known as e0ne_ | 18:25 | |
openstackgerrit | Inessa Vasilevskaya proposed openstack/glance: Fix DbError when image params are out of range https://review.openstack.org/182703 | 18:28 |
*** e0ne_ has quit IRC | 18:30 | |
*** sgotliv has joined #openstack-glance | 18:34 | |
sabari | flaper87: I just wobbled into work :D. Are you still around ? | 18:35 |
*** sjmc7 has quit IRC | 18:36 | |
*** freerunner has joined #openstack-glance | 18:40 | |
*** e0ne has joined #openstack-glance | 18:46 | |
nikhil_k | flaper87: umm, no. I initially thought about them however, 4th july is national holiday in the us | 18:46 |
*** sgotliv has quit IRC | 18:46 | |
nikhil_k | people like to take vacation and would grumble to have kept mid-cycle around the same | 18:46 |
nikhil_k | flaper87: why do you ask? | 18:47 |
*** annashen has joined #openstack-glance | 18:49 | |
nikhil_k | (and 4th being sat, holiday is on 6th but it's independence day so not a good time) | 18:52 |
nikhil_k | s/not a good time/not a good time for scheduling summit/g | 18:53 |
*** annashen has quit IRC | 18:54 | |
*** gberginc has joined #openstack-glance | 18:55 | |
*** freerunner has quit IRC | 18:56 | |
*** ayoung has quit IRC | 18:58 | |
sigmavirus24 | but it's just a mini summit ;) | 18:59 |
* sigmavirus24 kids | 18:59 | |
openstackgerrit | Alexey Galkin proposed openstack/glance: Refactoring registry tests for v2 https://review.openstack.org/189399 | 19:00 |
*** annashen has joined #openstack-glance | 19:01 | |
*** gberginc has quit IRC | 19:02 | |
*** annegentle has quit IRC | 19:06 | |
*** annegentle has joined #openstack-glance | 19:06 | |
nikhil_k | sigmavirus24: oh yes. | 19:09 |
nikhil_k | s/scheduling summit/scheduling mini-summit/g | 19:09 |
sigmavirus24 | It's just a wafer thin summit | 19:12 |
sigmavirus24 | Just the one | 19:12 |
nikhil_k | sigmavirus24: so you won't mind it being near 4th you mean? I think it may be tough to get that approved now with close to just 3 weeks left... | 19:13 |
sigmavirus24 | nikhil_k: no that's not what I meant at all | 19:13 |
sigmavirus24 | I was just joking around | 19:13 |
nikhil_k | I am curious what people thing in general. | 19:13 |
nikhil_k | Ah | 19:14 |
nikhil_k | I was told by something to avoid that period | 19:14 |
nikhil_k | someone** | 19:14 |
* nikhil_k had heavy lunch and is sleepy | 19:14 | |
nikhil_k | well, I be back.. coffee time | 19:16 |
*** sjmc7 has joined #openstack-glance | 19:19 | |
*** annashen has quit IRC | 19:28 | |
*** freerunner has joined #openstack-glance | 19:42 | |
*** freerunner has quit IRC | 19:55 | |
*** ayoung has joined #openstack-glance | 20:00 | |
*** GB21 has quit IRC | 20:02 | |
openstackgerrit | Alexey Galkin proposed openstack/glance: Refactoring registry tests for v2 https://review.openstack.org/189399 | 20:08 |
*** annashen has joined #openstack-glance | 20:28 | |
*** annashen has quit IRC | 20:34 | |
*** annegentle has quit IRC | 20:44 | |
*** freerunner has joined #openstack-glance | 20:45 | |
*** spzala has quit IRC | 20:50 | |
*** belmoreira has quit IRC | 20:56 | |
openstackgerrit | Merged openstack/glance: Fixed glance.tests.unit.test_artifacts_plugin_loader unit-test https://review.openstack.org/170637 | 20:59 |
*** raildo has quit IRC | 21:00 | |
flwang | flaper87: re ' did you restore the patch?', yes, i'm working on that | 21:00 |
*** jdurgin has quit IRC | 21:03 | |
*** freerunner has quit IRC | 21:04 | |
*** annashen has joined #openstack-glance | 21:04 | |
*** freerunner has joined #openstack-glance | 21:04 | |
*** annegentle has joined #openstack-glance | 21:11 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/glance: Updated from global requirements https://review.openstack.org/186114 | 21:13 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/glance_store: Updated from global requirements https://review.openstack.org/186941 | 21:13 |
*** julim has quit IRC | 21:16 | |
*** jgrimm is now known as zz_jgrimm | 21:17 | |
*** jdurgin has joined #openstack-glance | 21:23 | |
*** peristeri has quit IRC | 21:28 | |
*** jdurgin has quit IRC | 21:30 | |
openstackgerrit | Tomoki Sekiyama proposed openstack/glance_store: Implement get, add and delete for cinder store https://review.openstack.org/166414 | 21:39 |
*** EmilienM is now known as EmilienM|afk | 21:41 | |
flwang | nikhil_k: ping | 21:42 |
*** jdurgin has joined #openstack-glance | 21:48 | |
flaper87 | nikhil_k: hey, I asked because of the same reason basically | 21:58 |
flaper87 | :P | 21:58 |
flaper87 | I'll be on vacation on the 11th | 21:59 |
flaper87 | not big deal, I can still make it happen | 21:59 |
flaper87 | sabari: around? | 21:59 |
flaper87 | sabari: will we ever be able to overlap ? | 21:59 |
flaper87 | :D | 21:59 |
flaper87 | sabari: when you are around, could you pls elaborate a bit more on the spec about what your idea w.r.t the trigger field is? | 22:00 |
flaper87 | sabari: I wanted to chat about this but I guess you're not here | 22:01 |
flaper87 | sabari: my concern is that I don't think we'll be able to do away with the trigger field | 22:02 |
flaper87 | let me know | 22:02 |
flaper87 | :) | 22:02 |
sabari | flaper87: I am here now :). | 22:03 |
flaper87 | sabari: lets chat | 22:04 |
sabari | flaper87: I usually stay late my time (at least till 12:00 AM PST), so we can even chat during your early mornings | 22:04 |
flaper87 | sabari: DISCLAIMER: my brain is not working properly | 22:04 |
sabari | flaper87: lol :), mine too, just had my lunch ;) | 22:04 |
flaper87 | sabari: it's pretty much that time here | 22:04 |
sabari | I read your comment on the review | 22:04 |
flaper87 | ok | 22:04 |
sabari | I am trying to understand why you want the trigger field on the task instance, would that mean you always have a task that's waiting for the trigger ? | 22:05 |
sabari | My point was , if you have that at the task type, then you can create a task when the action occurs. | 22:06 |
sabari | flaper87: ^ | 22:06 |
flaper87 | sabari: the point behind adding the trigger field is that we can explicitly say: "Don't run this task, let it there until this happens" | 22:07 |
flaper87 | re-using the type field doesn't sound good to me (remember, brain not working) | 22:07 |
flaper87 | because `on_image_create` is not the type, it's what triggers the task | 22:07 |
flaper87 | does that make sense? | 22:07 |
sabari | flaper87: hmm, am okay as long as that trigger is only for that task instance, but the spec hinted about duplicating the task instance to listen for future actions. | 22:08 |
flaper87 | I could have (just dump, non real work example) an import task that is triggered on image_create | 22:08 |
flaper87 | ah no no | 22:08 |
flaper87 | sorry, I can reword that | 22:08 |
sabari | flaper87 : Okay, I get it now :) | 22:08 |
flaper87 | the task does need to be duplicated when the action *happens*, though | 22:08 |
flaper87 | because we have the status field in the task | 22:08 |
sabari | flaper87: oh wait | 22:08 |
flaper87 | and if we use the same task, we'd confuse people | 22:09 |
flaper87 | In other words | 22:09 |
*** stpierre has quit IRC | 22:09 | |
flaper87 | We need to simulate an user's task creation by clonning the 'trigger' task into a normal task | 22:09 |
sabari | am still thinking hard on why we can't resume the same task ? | 22:09 |
flaper87 | because it's not the same task, I could run that task twice in parallel | 22:10 |
flaper87 | what'd the status be? | 22:10 |
*** annegentle has quit IRC | 22:10 | |
sabari | how would u run it twice ? Guess am missing something | 22:10 |
flaper87 | if 2 images are created at the same time and we 're-use' the task, we'd be overwritting the status of that task | 22:10 |
sabari | hmm, that's what I was getting to | 22:10 |
sabari | so, if the action happens again, the task is already triggered, don't we need a new task ? | 22:11 |
flaper87 | sabari: nope | 22:11 |
flaper87 | that's not the point | 22:11 |
flaper87 | the point is to have a task that is triggered *every* time an action happens | 22:11 |
flaper87 | I guess I need to make it clearer | 22:11 |
flaper87 | I added use cases to the spec | 22:11 |
flaper87 | does any of those help understanding why ? | 22:12 |
sabari | yeah,that was my original understanding too, that you wanted a new task created during every trigger | 22:12 |
sabari | so I thought it will be best to assosciate with the task type. | 22:12 |
flaper87 | sorry for confusing you :D | 22:12 |
sabari | hehe :) np | 22:12 |
flaper87 | sabari: yeah but trigger != type | 22:12 |
flaper87 | and if we re-use the type we'll kind of break backwards compatibility | 22:13 |
flaper87 | we need an explicit way to tell glance: "Don't run this now, do it when X happens" | 22:13 |
flaper87 | and that's what the trigger field is for | 22:13 |
sabari | hmm, ok let me think again. But I still feel the task instance may not be the right place for trigger. | 22:13 |
flaper87 | It's the only way I could find that didn't imply re-structuring the models further | 22:14 |
sabari | but again just my opinion, i will think little hard today :D | 22:14 |
sabari | hmm | 22:14 |
flaper87 | sabari: while you think about that | 22:14 |
flaper87 | keep in mind that one of the goals is to not break backwards compatibility and to not add new API's | 22:14 |
flaper87 | At the very end, this is just a task | 22:14 |
sabari | yeah, got that. | 22:14 |
flaper87 | the only difference is that it's not run right away | 22:14 |
flaper87 | it's just excuted when X happens | 22:14 |
flaper87 | that said, take your time :) | 22:14 |
*** annegentle has joined #openstack-glance | 22:15 | |
sabari | how would u compute the input for each task when triggering it ? | 22:15 |
flaper87 | looking forward to your comments tomorrow morning at 9am (or earlier) my time | 22:15 |
flaper87 | but hey, no preassure at all | 22:15 |
flaper87 | :P | 22:15 |
sabari | other words, what does the task achieve by getting triggered ? :) | 22:15 |
sabari | sorry if am confusing you now :D | 22:15 |
flaper87 | sabari: the input is given on task creation and then passed down | 22:15 |
flaper87 | if you look at the current image_conversion it takes the destination format | 22:16 |
flaper87 | that's static | 22:16 |
sabari | so it's just a deferred task and needs no runtime input ? | 22:16 |
flaper87 | for dynamic input, we'll need something smarter but that's a separate spec, IMHO | 22:16 |
flaper87 | sabari: yup | 22:16 |
sabari | may be it needs the image location and stuff right ? | 22:16 |
flaper87 | sabari: not the image conversion | 22:16 |
flaper87 | Look at the other examples in the spec | 22:17 |
flaper87 | For the replication case or the backup case: One could have the number of replicas | 22:17 |
flaper87 | which is still static | 22:17 |
flaper87 | Just making some examples up | 22:17 |
sabari | flaper87: hmm okay, I will try to wire up the parts in the spec and comment on it | 22:17 |
flaper87 | sabari: awesome, thanks :) | 22:18 |
sabari | flaper87: np :), I thought of something bigger in the spec. Like using it to move some workflows into internal tasks. etc :) | 22:18 |
sabari | guess we need to wait for that | 22:19 |
sabari | :) | 22:19 |
flaper87 | sabari: yeah, trying to take small steps to be able to divide work as well | 22:19 |
flaper87 | and help with reviews etc | 22:19 |
flaper87 | sabari: but I do believe this is a step towards that | 22:19 |
sabari | yeah, I like the idea of triggering tasks automatically, i am just not very clear on the use case for use-defined tasks. | 22:20 |
sabari | I totally understand it from internal tasks point of view | 22:20 |
flaper87 | sabari: think of it as ops-defined tasks and it'll make more sense | 22:20 |
flaper87 | That's why the policy is required | 22:20 |
sabari | like glance creating system tasks to do some specific piece of its workflow | 22:20 |
flaper87 | ops will have to allow users for using the 'trigger' bit | 22:20 |
flaper87 | through the policy file | 22:21 |
sabari | flaper87: hmm, yeah, I get that part | 22:21 |
*** spzala has joined #openstack-glance | 22:21 | |
flaper87 | kk | 22:21 |
flaper87 | gtg now | 22:21 |
flaper87 | :) | 22:21 |
flaper87 | sabari: thanks for your time | 22:22 |
sabari | flaper87: np :) I will ping you in your morning :) | 22:22 |
flaper87 | coolio | 22:22 |
*** diegows has joined #openstack-glance | 22:27 | |
flwang | flaper87: still around? | 22:43 |
*** sjmc7 has quit IRC | 22:58 | |
*** ducttape_ has quit IRC | 23:01 | |
*** annegentle has quit IRC | 23:02 | |
*** e0ne has quit IRC | 23:05 | |
*** EmilienM|afk is now known as EmilienM | 23:20 | |
*** annegentle has joined #openstack-glance | 23:22 | |
*** flwang has quit IRC | 23:27 | |
*** jaypipes has quit IRC | 23:35 | |
*** chlong has joined #openstack-glance | 23:36 | |
*** annegentle has quit IRC | 23:37 | |
*** flwang has joined #openstack-glance | 23:39 | |
*** dontalton has quit IRC | 23:45 | |
*** annegentle has joined #openstack-glance | 23:51 | |
*** annegentle has quit IRC | 23:54 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!