| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2017-03-31 | |||
| 06:17:48 | openstackgerrit | Zhenyu Zheng proposed openstack/nova-specs master: Add os-traits reference https://review.openstack.org/447401 | |
| 06:19:06 | openstackgerrit | Zhenyu Zheng proposed openstack/nova master: Make metadata doc more readable https://review.openstack.org/450551 | |
| 06:19:07 | gibi | xgerman: hi! I saw you are trying to use soft-anti-affinity | |
| 06:20:50 | gibi | xgerman: The error you linked here https://www.irccloud.com/pastebin/zfgU1sJu/ seems to come from something outside of nova. Do you have more details about what you try to do with nova and how that action fails on nova side? | |
| 06:22:53 | openstackgerrit | Dinesh Bhor proposed openstack/nova master: Trivial: Remove unused method https://review.openstack.org/452054 | |
| 06:22:56 | openstackgerrit | Ghanshyam Mann proposed openstack/nova master: Add api sample tests for security group rules https://review.openstack.org/452055 | |
| 07:00:42 | openstackgerrit | Gergely Csatari proposed openstack/nova master: api-ref: adminPass is optional in Create Server https://review.openstack.org/451497 | |
| 07:06:41 | openstackgerrit | Balazs Gibizer proposed openstack/nova master: remove ugly local import https://review.openstack.org/450787 | |
| 07:06:53 | openstackgerrit | Balazs Gibizer proposed openstack/nova master: remove get_nw_info_for_instance from compute.utils https://review.openstack.org/451387 | |
| 07:14:53 | openstackgerrit | Gergely Csatari proposed openstack/nova master: api-ref: networks is mandatory in Create Server https://review.openstack.org/452069 | |
| 07:16:39 | openstackgerrit | Balazs Gibizer proposed openstack/nova master: remove get_nw_info_for_instance from compute.utils https://review.openstack.org/451387 | |
| 07:17:56 | openstackgerrit | Huan Xie proposed openstack/nova master: XenAPI: Create linux bridge in dest host during live migration https://review.openstack.org/451657 | |
| 07:36:31 | openstackgerrit | Ghanshyam Mann proposed openstack/nova master: Add empty flavor object info in server api-ref https://review.openstack.org/452078 | |
| 07:38:31 | openstackgerrit | Béla Vancsics proposed openstack/nova master: Reduced the complexity of the _init_instance method (4) https://review.openstack.org/420632 | |
| 07:58:53 | openstackgerrit | Jianghua Wang proposed openstack/nova-specs master: Support VGPU https://review.openstack.org/450122 | |
| 08:06:52 | openstackgerrit | Jianghua Wang proposed openstack/nova-specs master: Support VGPU https://review.openstack.org/450122 | |
| 08:38:14 | zyun | Hi all | |
| 08:38:20 | zyun | May I ask a question here? | |
| 08:39:24 | zyun | when running the "nova image-create" in vmware env, could I specify this created template stored into specificy datastore? | |
| 08:39:44 | zyun | Many thanks for any clue :) | |
| 08:47:09 | openstackgerrit | Gábor Antal proposed openstack/nova master: Transform instance.volume_attach notification https://review.openstack.org/401992 | |
| 09:12:47 | lyarwood | johnthetubaguy / mdbooth ; Matt is +2 on this now but I'd be happy to respin with the nits corrected this morning if you think it's worthwhile | |
| 09:13:50 | lyarwood | sfinucan: https://review.openstack.org/#/c/451870/ - if you have time, just a silly docs lift and shift to make it easier to find the releasenote guide in dev-ref | |
| 09:16:44 | johnthetubaguy | lyarwood: I think I was +2 before, minus the conf nit, will take a peak | |
| 09:24:12 | lyarwood | we are removing _L*?! I missed that memo. | |
| 09:24:44 | lyarwood | ah found the thread, sorry. | |
| 09:25:14 | sfinucan | lyarwood: Yup, that's an easy win | |
| 09:25:57 | johnthetubaguy | lyarwood: yeah, its kinda new, I am just upset we added that logging nonsense it in the first place | |
| 09:26:59 | lyarwood | sfinucan: :D good to know thanks, I'll follow up with the nits when I get time | |
| 09:29:38 | johnthetubaguy | lyarwood: did you see the detach patch, I think we might need another refactor in between | |
| 09:29:46 | lyarwood | sfinucan: btw this only came up thanks to my inability to find the releasenote docs while looking into writing one for https://review.openstack.org/#/c/391597/ (encryptor class removal from nova), still can't decide if one is really needed here, any thoughts? | |
| 09:31:06 | lyarwood | johnthetubaguy: yeah I did, what did you have in mind? | |
| 09:31:35 | lyarwood | johnthetubaguy: I don't understand the need for the connection_info['attachment_id'] stuff in the driver bdm tbh | |
| 09:31:47 | johnthetubaguy | lyarwood: FWIW, I always consider my self an operator, and try work out if I want to know anything about the change when I upgrade the system (under the assumption I the operator depend on that thing that just got tweaked) | |
| 09:32:32 | johnthetubaguy | lyarwood: you got a link to file you see that attachement_id stuff being done? | |
| 09:32:48 | johnthetubaguy | oh, I see it now | |
| 09:33:17 | lyarwood | johnthetubaguy: https://review.openstack.org/#/c/438750/4/nova/virt/block_device.py | |
| 09:33:23 | lyarwood | urgh my vps is lagging | |
| 09:34:21 | johnthetubaguy | lyarwood: honestly, that might just be a poor rebase thing | |
| 09:36:01 | lyarwood | johnthetubaguy: true, what did you have in mind for the additional refactor before the detach changes? | |
| 09:37:09 | johnthetubaguy | lyarwood: I was expecting all this to happen inside the bdm if you call "detach" or something like that: https://review.openstack.org/#/c/438750/4/nova/compute/api.py | |
| 09:39:42 | lyarwood | johnthetubaguy: understood, volume_api or just another method in the driver bdm? | |
| 09:40:02 | johnthetubaguy | lyarwood: good point, probably bdm I guess | |
| 09:40:11 | johnthetubaguy | I could go either way | |
| 09:40:23 | jaosorior | owalsh: alright, oh, so from what I can see in that LP. It seems that there is still a need for the URI there | |
| 09:40:28 | lyarwood | kk, I'll take a look at that and the attach stuff today | |
| 09:40:39 | jaosorior | owalsh: so, why is was that URI being deprecated in the first place? | |
| 09:41:13 | owalsh | jaosorior: not sure | |
| 09:41:38 | johnthetubaguy | lyarwood: actually how do BDMs fit in the non-libvirt drivers these days? | |
| 09:41:56 | jaosorior | seems like it was quite useful and would save a lot of configuration hassles, as opposed to needing to split the config to several options | |
| 09:42:03 | johnthetubaguy | owalsh: jaosorior: I am curious, which URI? | |
| 09:42:17 | owalsh | johnthetubaguy: live_migration_uri | |
| 09:42:59 | johnthetubaguy | owalsh: oh, so bits of that URL are best defaulted by the driver, based on what sort of live-migration you are doing, if I remember correctly, pkoniszewski has more context on that | |
| 09:43:22 | owalsh | johnthetubaguy: https://bugs.launchpad.net/nova/+bug/1671288 | |
| 09:43:23 | openstack | Launchpad bug 1671288 in OpenStack Compute (nova) "live_migration_uri to live_migration_scheme SSH settings" [Undecided,Confirmed] | |
| 09:43:26 | lyarwood | johnthetubaguy: they should all use bdms and driver bdms now AFAIK | |
| 09:43:42 | johnthetubaguy | lyarwood: OK, fingers crossed | |
| 09:43:43 | owalsh | johnthetubaguy: i need to set the ssh user and key | |
| 09:44:50 | johnthetubaguy | owalsh: I see "live_migration_scheme = None" in that configuration reference | |
| 09:45:26 | jaosorior | johnthetubaguy: so, the main issue is not the scheme or the IP. But the extra configurations one can give as query parameters in the URI | |
| 09:45:36 | jaosorior | johnthetubaguy: which vary depending on the scheme used. | |
| 09:47:08 | johnthetubaguy | jaosorior: owalsh: so the aim was to make it easier to use, so the defaults are correct for all the different hypervisors, if thats not going to work out, totally up for reversing the deprecation | |
| 09:47:47 | johnthetubaguy | jaosorior: owalsh: could you just write out like a before and after, to see how bad it looks? | |
| 09:48:32 | pkoniszewski | so live_migration_uri is mostly used to hack QEMU rather than for "extra configuration" | |
| 09:49:16 | pkoniszewski | I understand your problem but I'd like to know your use case for this ssh key | |
| 09:49:26 | jaosorior | pkoniszewski: I wouldn't say that specifying the known hosts, key locations or ssh keys are "hacking qemu" | |
| 09:49:34 | pkoniszewski | does QEMU use root's ssh key? not sure i remember that correctly | |
| 09:50:25 | owalsh | pkoniszewski: it's libvirt, running as root ,so yes | |
| 09:50:28 | pkoniszewski | jaosorior: so mostly operators used this URI to force QEMU to use different link for live migrations | |
| 09:50:44 | pkoniszewski | not to specify keys etc. | |
| 09:51:24 | owalsh | pkoniszewski: I'm adding SSH key setup for the nova user for cold-migration, want to resuse this for live migration to DRY | |
| 09:51:45 | pkoniszewski | got it | |
| 09:51:54 | johnthetubaguy | ah, that makes sense | |
| 09:52:13 | johnthetubaguy | sounds like we should do that out of the box | |
| 09:52:21 | owalsh | pkoniszewski: so qemu+ssh://nova@%s/system?keyfile=/var/lib/nova/.ssh/id_rsa | |
| 09:53:57 | johnthetubaguy | pkoniszewski: whats the best way to do that QEMU? | |
| 09:53:58 | pkoniszewski | well, adding conf option to specify username for SSH makes sense to me | |
| 09:54:21 | pkoniszewski | by default it uses root, this might be a security issue for ome | |
| 09:54:38 | johnthetubaguy | feels like we are adding lots of options at that point... but that might be easiest. | |
| 09:55:24 | pkoniszewski | we can do any, teach people (or let them google it) how to configure URI by themselves, or break it into few options | |
| 09:55:24 | johnthetubaguy | owalsh: I guess migration just uses that key because of the user you are running Nova with, its not a config as such? | |
| 09:55:52 | johnthetubaguy | yeah, I am just curious what folks would prefer | |
| 09:56:06 | owalsh | johnthetubaguy: yea, /var/lib/nova is the nova home dir | |
| 09:56:19 | pkoniszewski | by default LM uses TCP, SSH is just an option | |
| 09:56:25 | openstack | Launchpad bug 1677913 in OpenStack Compute (nova) "percent must be escaped in live_migration_uri" [Undecided,New] | |
| 09:56:25 | owalsh | pkoniszewski, johnthetubaguy: there is also this https://bugs.launchpad.net/nova/+bug/1677913 | |
| 09:56:45 | johnthetubaguy | pkoniszewski: ssh just gives you the secure transport here? | |
| 09:56:57 | pkoniszewski | yes | |
| 09:57:11 | owalsh | johnthetubaguy: ssh + nc is used to tunnel the libvirt unix socket | |
| 09:58:16 | johnthetubaguy | owalsh: that bug about the % needing to be escaped really makes we want us to addd extra config options for the ssl config (and we keep the URL for an extra cycle while that is added) | |
| 09:58:31 | johnthetubaguy | owalsh: would that work for you all? | |
| 09:59:03 | openstackgerrit | Roman Podoliaka proposed openstack/osc-placement master: WIP: implement API version 1.0 https://review.openstack.org/451877 | |
| 09:59:04 | openstackgerrit | Roman Podoliaka proposed openstack/osc-placement master: tests: add a hook for functional testing in the gate https://review.openstack.org/452122 | |
| 10:00:02 | owalsh | johnthetubaguy: yea, might end up with a lot of params though | |
| 10:00:46 | johnthetubaguy | owalsh: but most folks don't need to tweak any of them, and at least it much more discoverable what you can do | |
| 10:01:35 | johnthetubaguy | the alternative seems to involve string substitutions, etc, which is just a bit funky. | |
| 10:05:16 | johnthetubaguy | pkoniszewski: I am curious on the URL substitution, is there a reason why its not the destination host that just provides its whole URL? | |
| 10:06:05 | owalsh | johnthetubaguy: you suggesting we could set it to user@host:port? | |
| 10:07:00 | johnthetubaguy | owalsh: you probably could set that as the host... I guess | |
| 10:07:09 | johnthetubaguy | owalsh: not sure I like that though | |