*** sean-k-mooney1 has joined #openstack-nova | 00:00 | |
*** sean-k-mooney has quit IRC | 00:01 | |
*** sean-k-mooney2 has joined #openstack-nova | 00:29 | |
*** sean-k-mooney1 has quit IRC | 00:32 | |
*** dlbewley has quit IRC | 00:32 | |
*** dlbewley has joined #openstack-nova | 00:32 | |
*** swp20 has joined #openstack-nova | 00:34 | |
*** artom has quit IRC | 00:39 | |
*** artom has joined #openstack-nova | 00:40 | |
*** xiaolin has joined #openstack-nova | 00:43 | |
*** artom has quit IRC | 00:45 | |
openstackgerrit | Merged openstack/nova stable/train: Check cherry-pick hashes in pep8 tox target https://review.opendev.org/737279 | 00:47 |
---|---|---|
*** dlbewley has quit IRC | 00:57 | |
*** dlbewley has joined #openstack-nova | 00:57 | |
openstackgerrit | Ghanshyam Mann proposed openstack/nova stable/train: DNM: testing virtualenv not found fix https://review.opendev.org/737400 | 00:57 |
*** hamalq has joined #openstack-nova | 01:16 | |
*** hamalq has quit IRC | 01:18 | |
*** Liang__ has joined #openstack-nova | 01:18 | |
*** gyee has quit IRC | 01:23 | |
*** lseki has quit IRC | 01:31 | |
*** ociuhandu has joined #openstack-nova | 01:31 | |
*** hamalq has joined #openstack-nova | 01:33 | |
*** ociuhandu has quit IRC | 01:35 | |
*** hamalq has quit IRC | 01:39 | |
*** dlbewley has quit IRC | 01:39 | |
*** dlbewley has joined #openstack-nova | 01:40 | |
*** sean-k-mooney has joined #openstack-nova | 01:58 | |
*** sean-k-mooney2 has quit IRC | 01:59 | |
*** swp20 has quit IRC | 02:15 | |
*** swp20 has joined #openstack-nova | 02:15 | |
*** dlbewley has quit IRC | 02:25 | |
*** dlbewley has joined #openstack-nova | 02:26 | |
*** hamalq has joined #openstack-nova | 02:32 | |
*** dlbewley has quit IRC | 02:34 | |
*** dlbewley has joined #openstack-nova | 02:35 | |
*** hamalq has quit IRC | 02:36 | |
*** rcernin has quit IRC | 02:41 | |
*** rcernin has joined #openstack-nova | 02:43 | |
*** hamalq has joined #openstack-nova | 02:48 | |
*** swp20 has quit IRC | 02:51 | |
*** hamalq has quit IRC | 02:52 | |
*** markvoelker has joined #openstack-nova | 03:06 | |
*** markvoelker has quit IRC | 03:11 | |
*** vishalmanchanda has joined #openstack-nova | 03:15 | |
*** hamalq has joined #openstack-nova | 03:25 | |
*** hamalq has quit IRC | 03:30 | |
*** hamalq has joined #openstack-nova | 03:54 | |
*** hamalq has quit IRC | 03:58 | |
*** hamalq has joined #openstack-nova | 04:10 | |
*** hamalq has quit IRC | 04:15 | |
*** rchurch has quit IRC | 04:23 | |
*** rchurch has joined #openstack-nova | 04:24 | |
*** evrardjp has quit IRC | 04:33 | |
*** evrardjp has joined #openstack-nova | 04:33 | |
*** udesale has joined #openstack-nova | 04:41 | |
*** markvoelker has joined #openstack-nova | 04:44 | |
*** markvoelker has quit IRC | 04:49 | |
*** dlbewley has quit IRC | 04:57 | |
*** dlbewley has joined #openstack-nova | 04:58 | |
*** markvoelker has joined #openstack-nova | 05:04 | |
*** ratailor has joined #openstack-nova | 05:08 | |
*** markvoelker has quit IRC | 05:09 | |
*** dtantsur|afk has quit IRC | 05:14 | |
*** dtantsur has joined #openstack-nova | 05:15 | |
*** Liang__ has quit IRC | 05:17 | |
*** Liang__ has joined #openstack-nova | 05:18 | |
*** links has joined #openstack-nova | 05:24 | |
*** cataling has quit IRC | 05:45 | |
*** mgariepy has quit IRC | 05:52 | |
*** mgariepy has joined #openstack-nova | 06:10 | |
*** jsuchome has joined #openstack-nova | 06:11 | |
*** damien_r has joined #openstack-nova | 06:13 | |
*** damien_r has quit IRC | 06:18 | |
*** mgariepy has quit IRC | 06:22 | |
*** mgariepy has joined #openstack-nova | 06:24 | |
*** dklyle has quit IRC | 06:26 | |
*** rpittau|afk is now known as rpittau | 06:34 | |
*** ralonsoh has joined #openstack-nova | 06:37 | |
*** nightmare_unreal has joined #openstack-nova | 06:38 | |
*** hamalq has joined #openstack-nova | 06:46 | |
*** hamalq has quit IRC | 06:47 | |
*** belmoreira has joined #openstack-nova | 06:49 | |
*** dlbewley has quit IRC | 06:54 | |
*** dlbewley has joined #openstack-nova | 06:55 | |
*** ccamacho has joined #openstack-nova | 07:02 | |
*** tesseract has joined #openstack-nova | 07:03 | |
*** hamalq has joined #openstack-nova | 07:03 | |
*** markvoelker has joined #openstack-nova | 07:05 | |
openstackgerrit | Wenping Song proposed openstack/nova master: Delete resource provider in tree by top-down traversable order https://review.opendev.org/719163 | 07:07 |
*** maciejjozefczyk has joined #openstack-nova | 07:08 | |
*** hamalq has quit IRC | 07:08 | |
*** ttsiouts has joined #openstack-nova | 07:09 | |
*** dlbewley has quit IRC | 07:09 | |
*** dlbewley has joined #openstack-nova | 07:10 | |
*** markvoelker has quit IRC | 07:11 | |
*** xek has joined #openstack-nova | 07:11 | |
openstackgerrit | Wenping Song proposed openstack/nova master: Delete resource provider in tree by top-down traversable order https://review.opendev.org/719163 | 07:25 |
*** tosky has joined #openstack-nova | 07:35 | |
*** xek has quit IRC | 07:36 | |
*** xek has joined #openstack-nova | 07:36 | |
*** markvoelker has joined #openstack-nova | 07:49 | |
*** dlbewley has quit IRC | 07:51 | |
*** dlbewley has joined #openstack-nova | 07:52 | |
*** damien_r has joined #openstack-nova | 07:53 | |
*** markvoelker has quit IRC | 07:54 | |
*** dlbewley has quit IRC | 08:02 | |
*** dlbewley has joined #openstack-nova | 08:03 | |
*** ttsiouts has quit IRC | 08:03 | |
*** ttsiouts has joined #openstack-nova | 08:07 | |
*** hamalq has joined #openstack-nova | 08:08 | |
*** hamalq has quit IRC | 08:12 | |
*** arjunbaindur has quit IRC | 08:13 | |
*** rcernin has quit IRC | 08:18 | |
*** martinkennelly has joined #openstack-nova | 08:21 | |
*** dlbewley has quit IRC | 08:21 | |
*** dlbewley has joined #openstack-nova | 08:22 | |
*** hamalq has joined #openstack-nova | 08:24 | |
*** hamalq has quit IRC | 08:29 | |
*** jcath has joined #openstack-nova | 08:30 | |
*** hamalq has joined #openstack-nova | 08:30 | |
*** hamalq has quit IRC | 08:30 | |
jcath | hello,friends, how I can attach a volume to an exist instance as an ide disk/cdrom? whatever you set hw_disk_bus/hw_cdrom_bus in the image metadata, it does not work | 08:31 |
*** hamalq has joined #openstack-nova | 08:46 | |
*** hamalq has quit IRC | 08:51 | |
*** ociuhandu has joined #openstack-nova | 08:52 | |
*** dlbewley has quit IRC | 08:55 | |
*** dlbewley has joined #openstack-nova | 08:56 | |
*** priteau has joined #openstack-nova | 08:58 | |
*** owalsh has quit IRC | 09:08 | |
*** tobiash has quit IRC | 09:08 | |
*** janno has quit IRC | 09:08 | |
*** owalsh_ has joined #openstack-nova | 09:08 | |
*** janno has joined #openstack-nova | 09:10 | |
*** tobiash has joined #openstack-nova | 09:12 | |
*** xek has quit IRC | 09:12 | |
*** xek has joined #openstack-nova | 09:14 | |
*** hamalq has joined #openstack-nova | 09:21 | |
*** hamalq has quit IRC | 09:26 | |
*** derekh has joined #openstack-nova | 09:30 | |
*** dlbewley has quit IRC | 09:30 | |
*** dlbewley has joined #openstack-nova | 09:30 | |
*** fumesover3 has joined #openstack-nova | 09:31 | |
openstackgerrit | Hervé Beraud proposed openstack/nova master: Remove elementtree deprecated methods https://review.opendev.org/737472 | 09:34 |
*** tetsuro has quit IRC | 09:39 | |
*** udesale_ has joined #openstack-nova | 09:46 | |
*** udesale has quit IRC | 09:49 | |
*** markvoelker has joined #openstack-nova | 09:50 | |
*** ratailor_ has joined #openstack-nova | 09:51 | |
*** ratailor has quit IRC | 09:54 | |
*** markvoelker has quit IRC | 09:55 | |
*** dlbewley has quit IRC | 09:57 | |
*** dlbewley has joined #openstack-nova | 09:57 | |
*** jcath has quit IRC | 09:58 | |
*** rpittau is now known as rpittau|bbl | 10:12 | |
*** tkajinam has quit IRC | 10:17 | |
*** Liang__ has quit IRC | 10:23 | |
*** jhesketh has quit IRC | 10:36 | |
*** jhesketh has joined #openstack-nova | 10:37 | |
nightmare_unreal | a quick question can a cell have multiple compute nodes ? | 10:48 |
*** dlbewley has quit IRC | 10:49 | |
*** dlbewley has joined #openstack-nova | 10:50 | |
*** ttsiouts has quit IRC | 10:58 | |
*** ttsiouts has joined #openstack-nova | 11:01 | |
*** ociuhandu has quit IRC | 11:04 | |
gibi | nightmare_unreal: yes a cell is a set of computes that has its own cell conductor, a cell db, and a cell message bus | 11:06 |
nightmare_unreal | thanks gibi , I forgot some stuff/terms | 11:07 |
gibi | stephenfin: I have a question in https://review.opendev.org/#/c/737026/ | 11:18 |
*** raildo has joined #openstack-nova | 11:18 | |
*** xek has quit IRC | 11:20 | |
stephenfin | gibi: I'll trade https://review.opendev.org/#/c/736964/6 | 11:22 |
gibi | stephenfin: thanks | 11:23 |
openstackgerrit | Hervé Beraud proposed openstack/nova master: Remove lxml deprecated methods https://review.opendev.org/737472 | 11:30 |
*** jawad_axd has joined #openstack-nova | 11:43 | |
nightmare_unreal | how can i get list of all compute nodes in a cell ? | 11:47 |
*** lpetrut has joined #openstack-nova | 11:51 | |
*** markvoelker has joined #openstack-nova | 11:52 | |
*** markvoelker has quit IRC | 11:57 | |
*** dlbewley has quit IRC | 11:59 | |
gibi | nightmare_unreal: nova-manage cell_v2 list_hosts | 11:59 |
*** dlbewley has joined #openstack-nova | 12:00 | |
nightmare_unreal | Yeah found it . I am now looking to do it programatically is nova-manage part of python-novaclient ? | 12:01 |
gibi | nightmare_unreal: no. the cell is a deployment level thing, it is not exposed via the REST API | 12:08 |
*** damien_r has quit IRC | 12:09 | |
*** dlbewley has quit IRC | 12:09 | |
nightmare_unreal | Ah, okay !! | 12:09 |
*** dlbewley has joined #openstack-nova | 12:10 | |
*** xek has joined #openstack-nova | 12:12 | |
*** rpittau|bbl is now known as rpittau | 12:14 | |
openstackgerrit | Balazs Gibizer proposed openstack/nova master: Prevent libvirt driver to start on non Linux platform https://review.opendev.org/737508 | 12:14 |
gibi | stephenfin: ^^ | 12:15 |
openstackgerrit | Dirk Mueller proposed openstack/nova master: Switch from unittest2 compat methods to Python 3.x methods https://review.opendev.org/737511 | 12:16 |
*** ociuhandu has joined #openstack-nova | 12:19 | |
*** dlbewley has quit IRC | 12:19 | |
*** dlbewley has joined #openstack-nova | 12:20 | |
gibi | stephenfin: responeded in https://review.opendev.org/#/c/736964 I don't get your comment about st_blocks | 12:25 |
*** hamalq has joined #openstack-nova | 12:30 | |
*** hamalq has quit IRC | 12:35 | |
*** martinkennelly has quit IRC | 12:35 | |
*** dlbewley has quit IRC | 12:36 | |
*** damien_r has joined #openstack-nova | 12:37 | |
*** dlbewley has joined #openstack-nova | 12:37 | |
*** derekh has quit IRC | 12:40 | |
*** derekh has joined #openstack-nova | 12:40 | |
*** ratailor_ has quit IRC | 12:44 | |
*** chenhaw has joined #openstack-nova | 12:45 | |
*** chenhaw has quit IRC | 12:46 | |
*** chenhaw has joined #openstack-nova | 12:46 | |
*** hamalq has joined #openstack-nova | 12:46 | |
*** efried has quit IRC | 12:51 | |
*** hamalq has quit IRC | 12:51 | |
*** grandchild has joined #openstack-nova | 12:52 | |
*** efried has joined #openstack-nova | 12:54 | |
*** nweinber has joined #openstack-nova | 12:54 | |
*** dklyle has joined #openstack-nova | 12:58 | |
*** dlbewley has quit IRC | 13:01 | |
*** dlbewley has joined #openstack-nova | 13:01 | |
stephenfin | gibi: Ah, ignore me: momentary lapse | 13:01 |
gibi | stephenfin: no worries. Thanks for reviewing | 13:07 |
*** sangeet has joined #openstack-nova | 13:10 | |
*** jsuchome has quit IRC | 13:15 | |
*** dlbewley has quit IRC | 13:15 | |
*** dlbewley has joined #openstack-nova | 13:15 | |
*** eharney has joined #openstack-nova | 13:16 | |
*** sangeet has quit IRC | 13:18 | |
*** bbowen has joined #openstack-nova | 13:21 | |
*** dlbewley has quit IRC | 13:25 | |
*** dlbewley has joined #openstack-nova | 13:26 | |
*** markvoelker has joined #openstack-nova | 13:53 | |
*** jsuchome has joined #openstack-nova | 13:53 | |
*** markvoelker has quit IRC | 13:57 | |
aarents | dansmith: Let me know if those changes are ok: https://review.opendev.org/#/c/736169/ https://review.opendev.org/#/c/734776/ | 14:07 |
openstackgerrit | Dan Smith proposed openstack/nova master: DNM: Try to make a glance multistore job https://review.opendev.org/734184 | 14:14 |
*** bnemec has quit IRC | 14:16 | |
*** bnemec has joined #openstack-nova | 14:20 | |
dansmith | aarents: looks like it from a high level.. will try to get back to those today if I can | 14:25 |
aarents | dansmith: thks | 14:27 |
*** dave-mccowan has joined #openstack-nova | 14:30 | |
sean-k-mooney | dansmith: so based on https://review.opendev.org/#/c/737548/ | 14:35 |
sean-k-mooney | dansmith: are we only going to then copy the image if we own it | 14:35 |
sean-k-mooney | or do you intned to have nova fall back to admin credetials | 14:35 |
dansmith | we're only going to be allowed to copy it if we own it at the moment, and we should not copy it with admin credentials | 14:35 |
dansmith | so basically, much less useful | 14:36 |
sean-k-mooney | ya that is what i was worreid about | 14:36 |
sean-k-mooney | but it also makes sense | 14:36 |
dansmith | the argument is that the owner of the image, despite being viewable, is "charged" to the owner for each location | 14:36 |
dansmith | although there isn't a resource usage report to convey this | 14:36 |
sean-k-mooney | yep | 14:36 |
dansmith | it seems to me that if an image is made public, charging the owner for it doesn't make much sense, | 14:36 |
*** dlbewley has quit IRC | 14:36 | |
sean-k-mooney | that is what i was wondering yesterday re billing | 14:37 |
*** dlbewley has joined #openstack-nova | 14:37 | |
sean-k-mooney | dansmith: the image can only be public if you are an admi | 14:37 |
dansmith | I think this is a very leaky concept unfortunately | 14:37 |
sean-k-mooney | communtiy images are also more or less public | 14:37 |
sean-k-mooney | those can be uploaded by non admins | 14:37 |
sean-k-mooney | but are not in the defualt image list i think | 14:38 |
dansmith | so my example is that you own an image, you push it to a site, get charged for it being there, I boot an instance from it, you delete it from that store, but my instance is still backed, so I'm still consuming the space, although glance can't reflect that, so I get it for free | 14:38 |
dansmith | it doesn't matter, if I can see an image I don't own, and can boot instances from it, then I can consume resources you're charged for | 14:38 |
*** mlavalle has joined #openstack-nova | 14:39 | |
sean-k-mooney | ya so that model does nto really work though | 14:39 |
sean-k-mooney | are you still chared for the glance image after its deleted | 14:39 |
*** markvoelker has joined #openstack-nova | 14:39 | |
sean-k-mooney | if you have vms that were booted form it? | 14:39 |
sean-k-mooney | that seams like double billing | 14:39 |
dansmith | the question is whether *other* users have instances | 14:40 |
sean-k-mooney | well even if the dont | 14:40 |
dansmith | I would hope that if you try to remove an image from a store, you fail if there are instances booted from it | 14:40 |
sean-k-mooney | if you upload an iamge boot a vm and delete the image | 14:40 |
sean-k-mooney | you should not be changed for the iamge storage right | 14:40 |
dansmith | which means if I push an image to an edge site and am charged for it, and someone *else* boots an image to pin it there, I can't delete it and stop being billed until this other user I don't know stops using it | 14:40 |
sean-k-mooney | dansmith: removing a image in genrall we would not block removing an image form the store maybe | 14:41 |
dansmith | in that case, we leak it and either have no way to delete it later, or have no way to charge it to anyone | 14:41 |
sean-k-mooney | the glance store concept is also problemeatinc in this regrad | 14:41 |
dansmith | it's broken in one of three ways I think | 14:41 |
sean-k-mooney | well for the file backend once i boot a vm form it i dont need the glance copy right | 14:42 |
sean-k-mooney | for the rbd backedn or cinder backend then that is different | 14:42 |
dansmith | yeah, I'm talking about rbd or any other managed shared backend type | 14:42 |
sean-k-mooney | because we are doing a shallow snapshot fo the new volume | 14:42 |
dansmith | but the copy-to-store functionality was added for this rbd edge case specifically | 14:43 |
sean-k-mooney | but i dont think i should be change for that backing volume since im paying for the space via the vm | 14:43 |
sean-k-mooney | and in the case where you use my iamge you are paying for the space with your image | 14:43 |
dansmith | that's another good point, I'm not sure how that works either.. | 14:43 |
sean-k-mooney | because without this we would have flatened it | 14:44 |
dansmith | basically, I thought image billing was done by just listing the images and counting up the image_size attributes, which would not include the multiple copies | 14:44 |
dansmith | which I understand might not be right, in terms of actual bytes used | 14:44 |
*** markvoelker has quit IRC | 14:44 | |
sean-k-mooney | dansmith: that i assuemd would be the case too | 14:44 |
sean-k-mooney | multi sotre potentally changes that | 14:45 |
dansmith | yeah | 14:45 |
sean-k-mooney | but i dont think it should nessisarly | 14:45 |
sean-k-mooney | is this something we would want to expose to an operator via a nova config option | 14:45 |
dansmith | well, one argument is you could be consuming 10x your image size in multiple stores, so I get that, but... it all breaks down somewhere if multiple users can see an image | 14:46 |
sean-k-mooney | so they could choie if we do the copy via admin or not or no | 14:46 |
dansmith | I think what will have to happen is we will have some property on an image that determines if it's a public free-for-all image, and nova will only copy it if that attribute is set (or they are the owner) | 14:46 |
sean-k-mooney | it would have to be supported on shared, public and community images | 14:47 |
sean-k-mooney | shared are shared by adding other tenats to a member list | 14:47 |
sean-k-mooney | comunity is visable to everyone but only in the default image list if you are added to the image member-list | 14:47 |
dansmith | I think it would be any image with that set, and then we'd use admin creds to copy it | 14:47 |
dansmith | regardless of the sharing mode | 14:48 |
sean-k-mooney | ya | 14:48 |
sean-k-mooney | that should work | 14:48 |
sean-k-mooney | i was wondigin if we need to chagne the error code however | 14:48 |
dansmith | I don't like it because it means nova will never be able to decide if you can boot an image on a node until it is starting to build it | 14:48 |
dansmith | since only the compute node knows what rbd store it is connected to (without a lot more work) | 14:48 |
sean-k-mooney | so if glance should assert you are allows to copy it by virute fo being in the member list or not | 14:49 |
dansmith | but yeah, better than nothing | 14:49 |
sean-k-mooney | dansmith: does this affct the ablity to boot on a node. i guess if we have that never donwlaod config? | 14:49 |
sean-k-mooney | otherwise we could fall back right | 14:49 |
sean-k-mooney | if we cant do an import and just flatten the image | 14:50 |
dansmith | import and flatten is never the answer | 14:50 |
sean-k-mooney | well that is what we woudl do today right | 14:50 |
dansmith | yes | 14:50 |
dansmith | never the *right* answer I mean :) | 14:51 |
sean-k-mooney | :) | 14:51 |
sean-k-mooney | the behavior of the new config option is to treate the need to flatten as an error right | 14:51 |
sean-k-mooney | leadign to a reshdule | 14:51 |
*** jawad_axd has quit IRC | 14:51 | |
dansmith | well, (a) we never reschedule anymore, we consume one of the alternates, but (b) yes, the workaround makes it an error | 14:52 |
*** priteau has quit IRC | 14:52 | |
sean-k-mooney | dansmith: sorry yes you are right about the alternive hosts | 14:52 |
sean-k-mooney | dansmith: although that does cause issues for mutlicreate and anti affinity groups but thats another matter | 14:52 |
dansmith | we also can't download it and upload it as a new base and add it to the image as a location because... we don't own the image and if we did that as admin, we'd start charging the owner, which is a roundabout way to do what we could already do as admin | 14:53 |
sean-k-mooney | dansmith: well i was not suggesting uplaoad as a new location | 14:53 |
sean-k-mooney | i ment jus tdo want we do today download it localy the stream it into the rbd volume | 14:54 |
sean-k-mooney | which sucks because we loose copy on write | 14:54 |
dansmith | no, I know, but that is never the right answer.. I'm saying we couldn't make nova do the slightly smarter thing of uploading it as a new base image | 14:54 |
sean-k-mooney | dansmith: ah right | 14:54 |
dansmith | import and flatten means you consume N*size for N instances, which defeats the whole point and consumes a lot of expensive storage | 14:54 |
sean-k-mooney | well i think the image metadat property for allow_multistore_copy=true|false makes sense | 14:55 |
sean-k-mooney | what would the default be. i would like it to be true but i guess it has to be false if not set | 14:55 |
dansmith | I'm having a hard time understanding how "public" isn't a good enough flag to use, honestly | 14:56 |
dansmith | unsure about shared/community, but.. public images for sure seem like they should be copyable | 14:57 |
sean-k-mooney | i guess its allow_admin_multistore_copy too rather then allow_multistore_copy | 14:57 |
sean-k-mooney | ya so maybe it coudl be based on visablity | 14:57 |
sean-k-mooney | e.g. the default | 14:57 |
sean-k-mooney | so true for public by defualt not sure baout shared or commuity iehter | 14:57 |
sean-k-mooney | shared i would be tempetd to say false by default and comunnity false would be conservitive but true might make sense | 14:59 |
sean-k-mooney | dansmith: the other angel to this is geofenceing | 15:00 |
sean-k-mooney | dansmith: moving it to another store might move it to another geo which may be an export violation altough in the curent case we do that indirectly so not sure it a problem or not | 15:00 |
dansmith | that's a glance policy enforcement problem separate from this I think | 15:01 |
*** dlbewley has quit IRC | 15:01 | |
sean-k-mooney | ya i think so too | 15:01 |
*** dlbewley has joined #openstack-nova | 15:02 | |
sean-k-mooney | ok i better go get some work done. thanks for bring me up to speed o/ | 15:02 |
dansmith | yup | 15:03 |
*** owalsh_ is now known as owalsh | 15:07 | |
*** belmoreira has quit IRC | 15:09 | |
*** artom has joined #openstack-nova | 15:12 | |
*** dlbewley has quit IRC | 15:21 | |
*** dlbewley has joined #openstack-nova | 15:22 | |
*** _mlavalle_1 has joined #openstack-nova | 15:23 | |
*** mlavalle has quit IRC | 15:25 | |
*** JamesBenson has joined #openstack-nova | 15:26 | |
*** hamalq has joined #openstack-nova | 15:28 | |
*** links has quit IRC | 15:30 | |
*** dlbewley has quit IRC | 15:32 | |
*** mriedem has joined #openstack-nova | 15:36 | |
*** lpetrut has quit IRC | 15:44 | |
*** maciejjozefczyk has quit IRC | 15:50 | |
*** hamalq has quit IRC | 15:55 | |
*** hamalq has joined #openstack-nova | 15:55 | |
*** hamalq_ has joined #openstack-nova | 15:57 | |
*** gyee has joined #openstack-nova | 15:59 | |
*** rpittau is now known as rpittau|afk | 16:00 | |
*** hamalq has quit IRC | 16:00 | |
*** ociuhandu_ has joined #openstack-nova | 16:09 | |
gibi | public announcement: I will be off tomorrow but will be back on Thurstday | 16:11 |
*** gibi is now known as gibi_off | 16:11 | |
sean-k-mooney | gibi_off: enjoy | 16:12 |
gibi_off | sean-k-mooney: thanks | 16:12 |
*** ociuhandu has quit IRC | 16:12 | |
*** ociuhandu_ has quit IRC | 16:14 | |
*** mgoddard has quit IRC | 16:15 | |
*** dave-mccowan has quit IRC | 16:17 | |
*** ociuhandu has joined #openstack-nova | 16:19 | |
*** mgoddard has joined #openstack-nova | 16:21 | |
*** ociuhandu has quit IRC | 16:23 | |
*** dave-mccowan has joined #openstack-nova | 16:27 | |
*** dtantsur is now known as dtantsur|afk | 16:29 | |
*** markvoelker has joined #openstack-nova | 16:40 | |
*** markvoelker has quit IRC | 16:45 | |
*** udesale_ has quit IRC | 17:05 | |
*** spatel has joined #openstack-nova | 17:09 | |
*** ircuser-1 has joined #openstack-nova | 17:15 | |
*** derekh has quit IRC | 17:15 | |
*** ociuhandu has joined #openstack-nova | 17:18 | |
sean-k-mooney | efried: not sure if you are about but do you know if there is any reason we have not made provider trees or proviers to be iterable over there childeren? | 17:23 |
sean-k-mooney | i know that is not stirctly need but it would be nice to be able to pretty print them and it makes some operation nicer | 17:24 |
*** factor has quit IRC | 17:25 | |
efried | Yes, there's a function to iterate over them in order. We use it in the master update_provider_tree loop. | 17:25 |
sean-k-mooney | efried: oh ok we just did not implement __iter__ | 17:26 |
efried | I would believe that. | 17:26 |
efried | It recently came up here: https://review.opendev.org/#/c/719163/18/nova/scheduler/client/report.py | 17:26 |
sean-k-mooney | that gives use the provider uuids but not the provider objects but ok i was looking at that | 17:27 |
*** ralonsoh has quit IRC | 17:28 | |
sean-k-mooney | efried: thanks im trying to think how i will go about the transfroamtion for modeling nuam in placement and i want a nice way to visualise the tree | 17:28 |
*** mgariepy has quit IRC | 17:28 | |
openstackgerrit | Stephen Finucane proposed openstack/nova master: hardware: Invert order of NUMA topology generation https://review.opendev.org/714701 | 17:32 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: hardware: Remove '_numa_fit_instance_cell_with_pinning' https://review.opendev.org/714703 | 17:32 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: hardware: Allow 'hw:cpu_realtime_mask' to be omitted https://review.opendev.org/737026 | 17:32 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: hardware: Tweak the 'cpu_realtime_mask' handling slightly https://review.opendev.org/461456 | 17:32 |
efried | I thought gibi_off wrote some kind of tool to prettyprint those trees. | 17:33 |
sean-k-mooney | maybe | 17:33 |
efried | I don't have it in front of me, but looking provider_tree.py for that iterator function. | 17:33 |
efried | It's not __iter__ but I'm pretty sure I made a getter that gives them to you in a predictable order. | 17:33 |
sean-k-mooney | it looks like its doing a depth frist traversal from the root with childern lexically sorted by uuid | 17:33 |
sean-k-mooney | efried: ya its fine ill figure it out. i might make it iterable jsut to make it spelper and immperment __repr__ for provier | 17:35 |
sean-k-mooney | *simpler and implement | 17:35 |
*** mgariepy has joined #openstack-nova | 17:41 | |
*** xek_ has joined #openstack-nova | 17:46 | |
*** xek has quit IRC | 17:48 | |
*** ttsiouts has quit IRC | 17:51 | |
sean-k-mooney | efried: so ya i just need to add | 17:51 |
sean-k-mooney | def __iter__(self): | 17:51 |
sean-k-mooney | for uuid in self.get_provider_uuids(): | 17:51 |
sean-k-mooney | yield self._find_with_lock(uuid) | 17:51 |
*** ttsiouts has joined #openstack-nova | 17:52 | |
sean-k-mooney | but i might invert the logic an make get_provier_uuids use the iterator | 17:52 |
sean-k-mooney | it would avoid the need to call fine_with_lock twice once in get_provier_uuids and then again in the iterator | 17:53 |
sean-k-mooney | thanks for the pointer | 17:53 |
*** markvoelker has joined #openstack-nova | 17:54 | |
*** xiaolin has quit IRC | 17:59 | |
*** markvoelker has quit IRC | 17:59 | |
efried | sean-k-mooney: feel free to add me to review if you spin up something there. | 18:01 |
efried | Here's where that thing is used https://github.com/openstack/nova/blob/f1ebc15dfc8ffb7f23b2cb9879f0ca9376931a90/nova/scheduler/client/report.py#L1348-L1349 (and IIRC the reason it was written) | 18:03 |
efried | so whatever you change, please keep in mind that that ^ is going to run every periodic -- so don't slow it down too much :P | 18:03 |
sean-k-mooney | ya it should not be any slower | 18:04 |
*** tesseract has quit IRC | 18:05 | |
sean-k-mooney | but sure ill add you to the review | 18:05 |
stephenfin | melwitt: could you hit this trivial requirements patch, please https://review.opendev.org/#/c/730960/ ? | 18:07 |
*** markvoelker has joined #openstack-nova | 18:11 | |
*** markvoelker has quit IRC | 18:15 | |
*** ttsiouts has quit IRC | 18:16 | |
*** ttsiouts has joined #openstack-nova | 18:17 | |
*** markvoelker has joined #openstack-nova | 18:21 | |
*** ttsiouts has quit IRC | 18:22 | |
openstackgerrit | sean mooney proposed openstack/nova master: [WIP] make provider tree and proviers iterable https://review.opendev.org/737594 | 18:25 |
sean-k-mooney | efried: that is the version where i have not inverted the logic ^ | 18:25 |
sean-k-mooney | which im testign with http://paste.openstack.org/show/795116/ | 18:25 |
*** spatel has quit IRC | 18:29 | |
sean-k-mooney | which if i execute it looks like this http://paste.openstack.org/show/795117/ | 18:29 |
efried | ++ | 18:31 |
*** markvoelker has quit IRC | 18:31 | |
sean-k-mooney | i should be able to make the provider tee actully do indenting too but that the quick hack for now | 18:32 |
*** nightmare_unreal has quit IRC | 18:44 | |
*** jawad_axd has joined #openstack-nova | 18:50 | |
*** ebbex has quit IRC | 19:00 | |
*** ebbex has joined #openstack-nova | 19:02 | |
*** jsuchome has quit IRC | 19:06 | |
*** lseki has joined #openstack-nova | 19:07 | |
*** lbragstad has quit IRC | 19:14 | |
*** ebbex has quit IRC | 19:16 | |
*** ebbex has joined #openstack-nova | 19:17 | |
*** lbragstad has joined #openstack-nova | 19:21 | |
melwitt | gmann: did you see the author's reply on this patch? https://review.opendev.org/#/c/730960/1//COMMIT_MSG@9 | 19:22 |
gmann | melwitt: checking | 19:22 |
gmann | melwitt: i forgot to test it locally and if any things we need to adjust from jsonschema FormatChecker. let me do it and review again. thanks for reminder | 19:27 |
melwitt | gmann: sweet thanks | 19:27 |
melwitt | stephenfin: gmann is gonna review ^ again, there was a local test he wanted to do | 19:29 |
*** spatel has joined #openstack-nova | 20:15 | |
spatel | sean-k-mooney: hey! | 20:15 |
*** xek_ has quit IRC | 20:24 | |
*** markvoelker has joined #openstack-nova | 20:25 | |
*** rchurch has quit IRC | 20:28 | |
*** markvoelker has quit IRC | 20:29 | |
*** nweinber has quit IRC | 20:30 | |
*** rchurch has joined #openstack-nova | 20:30 | |
*** vishalmanchanda has quit IRC | 20:54 | |
*** spatel has quit IRC | 21:29 | |
*** factor has joined #openstack-nova | 21:42 | |
*** mriedem has left #openstack-nova | 21:44 | |
*** lbragstad has quit IRC | 21:50 | |
*** damien_r has quit IRC | 22:33 | |
*** artom has quit IRC | 22:41 | |
*** tosky has quit IRC | 22:42 | |
*** tkajinam has joined #openstack-nova | 22:53 | |
*** _mlavalle_1 has quit IRC | 22:56 | |
*** rcernin has joined #openstack-nova | 23:02 | |
*** ttsiouts has joined #openstack-nova | 23:05 | |
*** rcernin has quit IRC | 23:08 | |
*** rcernin has joined #openstack-nova | 23:08 | |
*** ttsiouts has quit IRC | 23:10 | |
*** markvoelker has joined #openstack-nova | 23:29 | |
*** markvoelker has quit IRC | 23:34 | |
*** raildo has quit IRC | 23:35 | |
*** ttsiouts has joined #openstack-nova | 23:43 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!