tonyb | Can I upload the same image twice with different names? or will glance detect they have the same hash and tell me to go away? | 00:31 |
---|---|---|
rosmaita | tonyb glance would never tell you to go away | 00:38 |
rosmaita | you can store as many copies of the same image as you want as long as you're willing to pay for the storage :) | 00:38 |
rosmaita | glance does no de-duping | 00:38 |
tonyb | rosmaita: okay cool. That makes my life slightly easier | 00:39 |
tonyb | rosmaita: life was so much easier when the only OpenStack I dealt with was devstack ;P | 00:39 |
rosmaita | in fact, i believe you can upload the same image with the same name | 00:39 |
rosmaita | it will have a different id | 00:39 |
tonyb | rosmaita: Oh wow | 00:39 |
rosmaita | no uniqueness constraint on names | 00:39 |
* tonyb will try not to do that ;P | 00:40 | |
* tonyb was sure at soem point I got an error like an image with that name already exists but is happy to be wrong | 00:41 | |
rosmaita | +--------------------------------------+--------------------------+ | 00:43 |
rosmaita | | ID | Name | | 00:43 |
rosmaita | +--------------------------------------+--------------------------+ | 00:43 |
rosmaita | | 9460bb68-4f17-4558-bbe9-43f21f576cdc | cirros-0.3.5-x86_64-disk | | 00:43 |
rosmaita | | 58f1b252-5427-4fb1-935c-3282e2edbb71 | fred | | 00:43 |
rosmaita | | f8d5d240-cbd7-48c2-859c-f76e51e172e8 | fred | | 00:43 |
rosmaita | | f5a2cd19-170c-4e5d-a471-1f40351b4417 | fred | | 00:43 |
rosmaita | | 2ad71d70-9708-421c-8da3-eec88fcc1e63 | 瞰形像案卷實驗 | | 00:43 |
rosmaita | +--------------------------------------+--------------------------+ | 00:43 |
rosmaita | challenge accepted! | 00:43 |
rosmaita | glance is like George Foreman ... you can name all your sons 'George' | 00:45 |
tonyb | rosmaita: LOL | 00:51 |
*** lbragstad has joined #openstack-glance | 01:09 | |
*** zhurong has joined #openstack-glance | 01:30 | |
*** dalgaaf has quit IRC | 01:52 | |
*** dalgaaf has joined #openstack-glance | 01:53 | |
*** kukacz_ has quit IRC | 02:00 | |
*** kukacz_ has joined #openstack-glance | 02:01 | |
*** rosmaita has quit IRC | 02:25 | |
*** gcb has joined #openstack-glance | 02:28 | |
*** harlowja has quit IRC | 02:31 | |
*** namnh has joined #openstack-glance | 02:40 | |
*** btully has joined #openstack-glance | 02:43 | |
*** btully has quit IRC | 02:47 | |
*** threestrands_ has joined #openstack-glance | 02:49 | |
*** threestrands_ has quit IRC | 02:49 | |
*** threestrands_ has joined #openstack-glance | 02:49 | |
*** threestrands has quit IRC | 02:51 | |
*** lbragstad has quit IRC | 03:08 | |
*** AlexeyAbashkin has joined #openstack-glance | 03:44 | |
*** jappleii__ has joined #openstack-glance | 03:44 | |
*** jappleii__ has quit IRC | 03:45 | |
*** jappleii__ has joined #openstack-glance | 03:45 | |
*** jappleii__ has quit IRC | 03:46 | |
*** threestrands_ has quit IRC | 03:46 | |
*** lbragstad has joined #openstack-glance | 03:46 | |
*** jappleii__ has joined #openstack-glance | 03:47 | |
*** jappleii__ has quit IRC | 03:48 | |
*** AlexeyAbashkin has quit IRC | 03:48 | |
*** jappleii__ has joined #openstack-glance | 03:48 | |
*** rcernin has quit IRC | 03:49 | |
*** rcernin has joined #openstack-glance | 03:49 | |
*** lbragstad has quit IRC | 04:02 | |
*** abhishekk has joined #openstack-glance | 04:07 | |
*** pdeore has joined #openstack-glance | 04:18 | |
*** links has joined #openstack-glance | 04:37 | |
*** namnh has quit IRC | 04:38 | |
*** zhurong has quit IRC | 04:39 | |
*** udesale has joined #openstack-glance | 04:51 | |
*** ratailor has joined #openstack-glance | 05:06 | |
*** zhurong has joined #openstack-glance | 05:19 | |
*** harlowja has joined #openstack-glance | 05:21 | |
openstackgerrit | Deepak Mourya proposed openstack/glance master: Handle TZ change in iso8601 >=1.12.0 https://review.openstack.org/535608 | 05:47 |
*** jappleii__ has quit IRC | 05:52 | |
*** f0o has quit IRC | 06:07 | |
*** f0o has joined #openstack-glance | 06:14 | |
*** btully has joined #openstack-glance | 06:20 | |
*** arcolife has joined #openstack-glance | 06:24 | |
*** arcolife has quit IRC | 06:24 | |
*** arcolife has joined #openstack-glance | 06:24 | |
*** btully has quit IRC | 06:25 | |
*** harlowja has quit IRC | 06:29 | |
*** pcaruana has joined #openstack-glance | 06:44 | |
*** mosulica has joined #openstack-glance | 06:55 | |
*** arcolife has quit IRC | 06:55 | |
*** arcolife has joined #openstack-glance | 06:56 | |
*** namnh has joined #openstack-glance | 07:03 | |
openstackgerrit | John L. Villalovos proposed openstack/glance master: DNM/WIP: Prove that parent change fixes oslo.serialization issue https://review.openstack.org/535168 | 07:31 |
*** rcernin has quit IRC | 07:43 | |
*** AlexeyAbashkin has joined #openstack-glance | 08:13 | |
*** markvoelker has quit IRC | 08:14 | |
*** tesseract has joined #openstack-glance | 08:16 | |
*** alexchadin has joined #openstack-glance | 08:16 | |
*** harlowja has joined #openstack-glance | 08:17 | |
openstackgerrit | Andreas Jaeger proposed openstack/glance master: Add doc8 to pep8 check for glance project https://review.openstack.org/520337 | 08:20 |
openstackgerrit | Andreas Jaeger proposed openstack/glance master: Add doc8 to pep8 check for glance project https://review.openstack.org/520337 | 08:20 |
*** namnh_ has joined #openstack-glance | 08:26 | |
*** jmccrory has quit IRC | 08:26 | |
*** namnh has quit IRC | 08:28 | |
*** jmccrory has joined #openstack-glance | 08:33 | |
*** harlowja has quit IRC | 08:37 | |
*** namnh has joined #openstack-glance | 08:40 | |
*** namnh_ has quit IRC | 08:43 | |
*** jmccrory has quit IRC | 08:50 | |
*** jmccrory has joined #openstack-glance | 08:52 | |
*** namnh has quit IRC | 08:54 | |
*** e0ne has joined #openstack-glance | 09:10 | |
*** e0ne has quit IRC | 09:10 | |
openstackgerrit | Deepak Mourya proposed openstack/glance master: Handle TZ change in iso8601 >=1.12.0 https://review.openstack.org/535608 | 09:41 |
*** alexchadin has quit IRC | 09:46 | |
*** alexchadin has joined #openstack-glance | 09:47 | |
*** pcaruana has quit IRC | 09:50 | |
*** pcaruana has joined #openstack-glance | 09:53 | |
*** pcaruana has quit IRC | 09:53 | |
*** pcaruana has joined #openstack-glance | 09:54 | |
*** mosulica has quit IRC | 09:57 | |
*** markvoelker has joined #openstack-glance | 10:15 | |
*** alexchadin has quit IRC | 10:21 | |
*** arcolife has quit IRC | 10:26 | |
*** arcolife_ has joined #openstack-glance | 10:26 | |
*** arcolife_ has quit IRC | 10:27 | |
*** arcolife has joined #openstack-glance | 10:27 | |
*** udesale_ has joined #openstack-glance | 10:28 | |
*** udesale has quit IRC | 10:28 | |
*** alexchadin has joined #openstack-glance | 10:31 | |
*** e0ne has joined #openstack-glance | 10:32 | |
*** e0ne has quit IRC | 10:37 | |
*** zhurong has quit IRC | 10:41 | |
*** alexchadin has quit IRC | 10:46 | |
*** markvoelker has quit IRC | 10:49 | |
*** abhishekk has quit IRC | 10:53 | |
*** dtantsur|afk is now known as dtantsur | 10:54 | |
*** e0ne has joined #openstack-glance | 10:55 | |
*** alexchadin has joined #openstack-glance | 11:07 | |
*** ratailor has quit IRC | 11:15 | |
*** mosulica has joined #openstack-glance | 11:17 | |
*** udesale_ has quit IRC | 11:30 | |
*** pdeore has quit IRC | 11:34 | |
*** markvoelker has joined #openstack-glance | 11:46 | |
*** mosulica has quit IRC | 11:50 | |
*** mosulica has joined #openstack-glance | 11:56 | |
*** e0ne has quit IRC | 12:12 | |
*** markvoelker has quit IRC | 12:20 | |
*** hogepodge has quit IRC | 12:26 | |
*** andreykurilin has quit IRC | 12:27 | |
*** jdurgin has quit IRC | 12:27 | |
*** arcolife_ has joined #openstack-glance | 12:27 | |
*** d34dh0r53 has quit IRC | 12:27 | |
*** gcb has quit IRC | 12:28 | |
*** d34dh0r53 has joined #openstack-glance | 12:28 | |
*** arcolife_ has quit IRC | 12:28 | |
*** arcolife has quit IRC | 12:28 | |
*** hogepodge has joined #openstack-glance | 12:28 | |
*** andreykurilin has joined #openstack-glance | 12:29 | |
*** jdurgin has joined #openstack-glance | 12:29 | |
*** szaher has quit IRC | 13:07 | |
*** arcolife has joined #openstack-glance | 13:12 | |
*** markvoelker has joined #openstack-glance | 13:17 | |
*** alexchadin has quit IRC | 13:22 | |
*** MattMan has quit IRC | 13:22 | |
*** MattMan has joined #openstack-glance | 13:22 | |
*** alexchadin has joined #openstack-glance | 13:27 | |
*** links has quit IRC | 13:28 | |
*** arcolife has quit IRC | 13:29 | |
*** markvoelker has quit IRC | 13:29 | |
*** markvoelker has joined #openstack-glance | 13:29 | |
*** rosmaita has joined #openstack-glance | 13:38 | |
*** udesale has joined #openstack-glance | 13:47 | |
*** udesale has quit IRC | 13:52 | |
*** e0ne has joined #openstack-glance | 13:55 | |
bhagyashris | rosmaita: Hi, Thanks for keeping patch https://review.openstack.org/#/c/527635 in priorities. abhishekk and nikhil has review patch given +2 but there is one minor comment given by nikhil so i just want to discussed with you should i addressed this or keep as it is? | 14:01 |
*** alexchadin has quit IRC | 14:04 | |
rosmaita | bhagyashris i'll be reviewing your patch this morning (New York time), will put comments | 14:07 |
*** mosulica has quit IRC | 14:08 | |
rosmaita | bhagyashris i think it is end of day where you are now? | 14:08 |
*** lbragstad has joined #openstack-glance | 14:10 | |
bhagyashris | rosmaita: ok thank you :) | 14:13 |
*** Shilpa has quit IRC | 14:13 | |
bhagyashris | rosmaita: i am working IST time zone in office | 14:14 |
rosmaita | so almost 8pm where you are | 14:14 |
*** alexchadin has joined #openstack-glance | 14:14 | |
rosmaita | i think that is end of day | 14:14 |
rosmaita | have a good weekend! | 14:14 |
rosmaita | bhagyashris since your patch has 2 +2, if i don't think you need to address nikhil's point right away, i'll just +A | 14:15 |
bhagyashris | rosmaita: yes thank you very much :) Happy weekend :) | 14:17 |
rosmaita | bhagyashris just looked at nikhil's comment, it's a good idea, might as well hit that if you have a minute | 14:17 |
rosmaita | it's such a minor change that if i don't have any issues during review, i will carry over nikhil & abhishek's +2s | 14:17 |
rosmaita | (so it won't hold you up) | 14:18 |
rosmaita | (i mean won't hold up the patch) | 14:18 |
bhagyashris | rosmaita: ok i will hit immediately | 14:18 |
rosmaita | bhagyashris: you are the best! have a good weekend | 14:18 |
*** arcolife has joined #openstack-glance | 14:21 | |
*** arcolife has quit IRC | 14:21 | |
*** alexchadin has quit IRC | 14:25 | |
*** alexchadin has joined #openstack-glance | 14:29 | |
*** jistr is now known as jistr|mtg | 14:30 | |
openstackgerrit | Bhagyashri Shewale proposed openstack/glance master: Implementation of Inject metadata properties https://review.openstack.org/527635 | 14:31 |
bhagyashris | rosmaita: Done. | 14:32 |
*** alexchadin has quit IRC | 14:32 | |
rosmaita | bhagyashris: great! enjoy your weekend | 14:34 |
bhagyashris | rosmaita: yup :) | 14:34 |
*** alexchadin has joined #openstack-glance | 14:34 | |
*** mosulica has joined #openstack-glance | 14:39 | |
*** bhagyashris has quit IRC | 14:46 | |
*** alexchadin has quit IRC | 14:50 | |
*** jistr|mtg is now known as jistr | 15:04 | |
*** stephenfin is now known as finucannot | 15:38 | |
*** kukacz_ has quit IRC | 15:58 | |
*** kukacz has joined #openstack-glance | 15:59 | |
*** jlvillal has quit IRC | 16:04 | |
*** jlvillal has joined #openstack-glance | 16:14 | |
*** cfriesen has joined #openstack-glance | 16:16 | |
cfriesen | hey all...I've got a question about https://github.com/openstack/glance/blob/master/glance/api/v2/images.py#L316 As described in the last comment in https://bugs.launchpad.net/glance/+bug/1595335 there's a scenario where nova creates an empty image, creates a file directly in ceph, then wants to update the location of the image in glance. | 16:21 |
openstack | Launchpad bug 1595335 in Glance "Add image location fails when show_multiple_locations = false" [Undecided,Confirmed] | 16:21 |
cfriesen | If CONF.show_multiple_locations is False (the default) that fails. | 16:21 |
cfriesen | would it be reasonable to allow setting the location of an rbd image if the location has not yet been set? | 16:21 |
*** mosulica has quit IRC | 16:29 | |
*** AlexeyAbashkin has quit IRC | 16:35 | |
rosmaita | cfriesen: you mean as a way to fix the issue? | 16:55 |
*** gyee has joined #openstack-glance | 16:58 | |
jlvillal | rosmaita, I thought I would ping you about: https://review.openstack.org/#/c/535166/ | 17:00 |
jlvillal | rosmaita, That is the patch which fixes the issue when moving to the new version of oslo.serialization | 17:00 |
openstackgerrit | Brianna Poulos proposed openstack/glance master: Update Signature Documentation https://review.openstack.org/535856 | 17:02 |
rosmaita | jlvillal thanks for the reminder, that's on my list for today ... we have verified that the oslo change doesn't seem to impact glance_store or python-glanceclient | 17:02 |
jlvillal | rosmaita, Great and thanks. | 17:03 |
rosmaita | (at least it doesn't break any tests) | 17:03 |
cfriesen | rosmaita: yes....or if not do you have any other suggestions on how to deal with this scenario? | 17:05 |
jungleboyj | rosmaita: Have time for a newbie question? | 17:08 |
*** e0ne has quit IRC | 17:25 | |
*** mvenesio has joined #openstack-glance | 17:27 | |
*** pcaruana has quit IRC | 17:36 | |
*** r-daneel has joined #openstack-glance | 17:59 | |
*** AlexeyAbashkin has joined #openstack-glance | 18:16 | |
*** AlexeyAbashkin has quit IRC | 18:20 | |
*** dtantsur is now known as dtantsur|afk | 18:24 | |
rosmaita | cfriesen, jungleboyj just got back | 18:28 |
jungleboyj | rosmaita: Hey. Question for you about how 'architecture' is handled on images. | 18:29 |
rosmaita | cfriesen best way to deal with it short term is to have a dedicated "service" glance node that only nova (or other services) can access, then you can show locations on that node without exposing them to end users, who have to use a different glance node with show locations off | 18:29 |
jungleboyj | Seeing a strange issue with RHOSP where if I don't have x86_64 set for the architecture for an image it tells me there are no hosts available. | 18:29 |
jungleboyj | I can't figure out how to show what is set on an image. | 18:30 |
rosmaita | if you don't see 'architecture' in the image-show response, then it's not set | 18:31 |
rosmaita | it's a "common image property", so optional | 18:32 |
rosmaita | but its value is enforced by the image schema | 18:32 |
rosmaita | not sure that answers your question? | 18:32 |
jungleboyj | Weird. Ok. And I tried doing an explict set of openstack image set --property architecture=x86_64 | 18:32 |
rosmaita | not sure about the osc, but with glanceclient you do glance image-update --architecture x86_64 <image_id> | 18:34 |
jungleboyj | rosmaita: Oh, ok I see it in properties on one that does boot. | 18:34 |
rosmaita | looks like osc uses --architecture , too | 18:35 |
jungleboyj | Ok, it did get set so there must be something else wrong with the image. | 18:35 |
rosmaita | you'd have to check the nova logs, probably the api if it uses the property for scheduling a build | 18:36 |
jungleboyj | Yeah, I was digging through those and didn't find much helpful but I didn't want to fight with that too much before I learned more. | 18:38 |
rosmaita | jungleboyj yeah, there's a lot of stuff in those logs ... maybe grepping the image id? | 18:48 |
jungleboyj | Yeah, I will have to go dig into that further. I am not sure what is going on here. | 18:51 |
jungleboyj | Have other battles to fight in the mean time. | 18:51 |
jungleboyj | rosmaita: Thanks for the pointers. | 18:51 |
rosmaita | np | 18:52 |
*** btully has joined #openstack-glance | 19:02 | |
*** btully has quit IRC | 19:07 | |
*** mvenesio has quit IRC | 19:08 | |
cfriesen | rosmaita: I've got no problems patching glance locally, just wondering whether there's a reasonable code change I could propose upstream to fix the problem. (Since otherwise we're talking about complicated documentation changes.) | 19:10 |
cfriesen | rosmaita: if no location has been set yet, it seems not-totally-insane to allow the location to be set by the user. | 19:11 |
*** e0ne has joined #openstack-glance | 19:12 | |
*** e0ne has quit IRC | 19:17 | |
rosmaita | cfriesen: unfortunately, you pretty much never want the location set by an actual end user | 19:17 |
rosmaita | i think the solution will involve modifying glance to recognize keystone "service tokens" (i believe they are a thing) | 19:18 |
rosmaita | glance needs to know that a request is coming from a service before it can allow location mods | 19:18 |
*** harlowja has joined #openstack-glance | 19:31 | |
cfriesen | rosmaita: why wouldn't you allow an admin user to upload something directly into ceph, then create a blank image and update the location? | 19:42 |
*** AlexeyAbashkin has joined #openstack-glance | 19:45 | |
*** e0ne has joined #openstack-glance | 19:47 | |
rosmaita | cfriesen: i think that would be ok if the admin user is using the isolated "service" node | 19:47 |
cfriesen | I think the idea of needing a separate glance node is silly...I do like the idea of using service tokens though. | 19:48 |
rosmaita | well, the difference is that you can use a separate node right now, using service tokens requires some code changes | 19:49 |
*** AlexeyAbashkin has quit IRC | 19:49 | |
cfriesen | we patch our stuff locally, so that's no problem. I'm just looking at what the proper solution would be for upstream. | 19:50 |
rosmaita | i don't think it will be an easy patch solution. here's a large part of the problem: https://review.openstack.org/#/c/528021/ | 19:51 |
rosmaita | cfriesen but i don't mean to discourage you from working on this! in fact, i would welcome it immensely. just want you to understand the scope of the problem | 19:55 |
cfriesen | rosmaita: hmm...yes that does throw a wrench in the works. I'm more used to the nova policies. | 19:55 |
rosmaita | cfriesen yeah, the way glance did it looked like a good idea at the time, but it has caused some ... complications | 19:56 |
rosmaita | but i think some combination of policy reform + service tokens (or whatever keystone has on offer like them) is the way to go to fix this | 19:57 |
cfriesen | rosmaita: although, in this particular case the check is in _do_add_locations() in glance/api/v2/images.py where it explicitly checks CONF.show_multiple_locations. Would it be that hard to check the service token here? | 19:58 |
rosmaita | yeah, but the actual location property getter/setters are protected by policies ... somehow the info has to get "down there" | 20:00 |
cfriesen | rosmaita: could you make a service role, add the role to the nova user, and use that role on the policy for setting location? | 20:10 |
cfriesen | another question...the "direct_url" field already seems to show the location of the file in ceph, so what do we gain hiding the location? | 20:16 |
*** e0ne has quit IRC | 20:21 | |
*** AlexeyAbashkin has joined #openstack-glance | 20:27 | |
rosmaita | cfriesen: show_direct_url is False by default | 20:30 |
*** AlexeyAbashkin has quit IRC | 20:31 | |
rosmaita | cfriesen: about your nova policy idea ... i'm pretty sure nova uses the user's credentials when it interacts with glance, it's not a special nova user | 20:32 |
rosmaita | cfriesen: some of the discussion on this review may be helpful: https://review.openstack.org/#/c/444540/ | 20:34 |
*** e0ne has joined #openstack-glance | 20:35 | |
*** e0ne has quit IRC | 20:37 | |
*** mvenesio has joined #openstack-glance | 20:42 | |
*** mvenesio has quit IRC | 20:46 | |
*** mvenesio has joined #openstack-glance | 20:47 | |
cfriesen | looks like nova has the option (which defaults to false) of sending a service token along with the user token | 20:53 |
rosmaita | cfriesen that's good, then glance needs to be made service-token-aware | 21:01 |
*** e0ne has joined #openstack-glance | 21:04 | |
*** e0ne has quit IRC | 21:05 | |
*** edmondsw has joined #openstack-glance | 21:22 | |
*** mvenesio has quit IRC | 21:29 | |
*** e0ne has joined #openstack-glance | 21:29 | |
*** e0ne has quit IRC | 21:33 | |
*** tesseract has quit IRC | 22:01 | |
*** edmondsw has quit IRC | 22:37 | |
*** btully has joined #openstack-glance | 22:40 | |
*** btully has quit IRC | 22:44 | |
*** AlexeyAbashkin has joined #openstack-glance | 23:22 | |
*** AlexeyAbashkin has quit IRC | 23:26 | |
-openstackstatus- NOTICE: Zuul will be offline over the next 20 minutes to perform maintenance; active changes will be reenqueued once work completes, but new patch sets or approvals during that timeframe may need to be rechecked or reapplied as appropriate | 23:42 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!