Wednesday, 2018-08-15

openstackgerritxhzhf proposed openstack/nova master: [vmware] add missing os types in vSphere sdk 6.5  https://review.openstack.org/59177100:20
*** dklyle has quit IRC00:20
*** slagle has joined #openstack-nova00:24
*** takashin has joined #openstack-nova00:28
mriedemmelwitt: ack, just got online00:29
*** Nel1x has joined #openstack-nova00:31
*** slaweq_ has joined #openstack-nova00:32
mriedemdansmith: lyarwood: fwiw, i backported the live migration revert from master to stable/rocky b/c i was sure that would be clean since we just cut stable/rocky, but assumed we'd have to revert per-branch for queens and pike00:35
*** yedongcan has joined #openstack-nova00:35
*** slaweq_ has quit IRC00:36
mriedemefried: re: https://github.com/openstack/nova/blob/61f854ff6445dd7bc797fdde7361e47f3dc3b1bd/nova/tests/functional/compute/test_resource_tracker.py#L215 have we removed the compat code in the RT for that yet? or are you saying we can now because master is stein? i would hold off on merging any big code removals this early until we've cut rc200:39
*** gyee has quit IRC00:39
openstackgerritMatt Riedemann proposed openstack/nova stable/rocky: placement: ignore policy scope check failures if not enforcing scope  https://review.openstack.org/59187200:43
*** hongbin has joined #openstack-nova00:44
mriedemmelwitt: on backporting https://review.openstack.org/#/c/591129/ to rc2, idk, would ask the release team (smcginnis or dhellmann)00:44
mriedemor maybe ajaegar00:45
*** brinzhang has joined #openstack-nova00:47
*** slagle has quit IRC00:48
*** slaweq_ has joined #openstack-nova00:53
*** slaweq_ has quit IRC00:57
mriedemmelwitt: we don't need to backport the translations00:59
*** sapd1 has joined #openstack-nova01:15
*** mhen has quit IRC01:18
*** mhen has joined #openstack-nova01:21
*** mrsoul has joined #openstack-nova01:28
*** slaweq_ has joined #openstack-nova01:32
*** slaweq_ has quit IRC01:37
*** gbarros has joined #openstack-nova01:51
*** hemna_ has quit IRC01:59
openstackgerritMerged openstack/nova master: Make Xen code py3-compatible  https://review.openstack.org/59106102:01
openstackgerritMerged openstack/nova master: Update really old comments about vmware hosts managing multiple nodes  https://review.openstack.org/58966602:01
openstackgerritMerged openstack/nova master: Ironic: report 0 for vcpus/memory_mb/disk_gb resources  https://review.openstack.org/56584102:01
*** tetsuro has joined #openstack-nova02:01
mriedemefried: ok i guess https://review.openstack.org/#/c/565841/ is merged... note there are other things to cleanup related to this from the ptg etherpad, ~L25 https://etherpad.openstack.org/p/nova-ptg-stein02:04
*** yedongcan has quit IRC02:07
*** yedongcan has joined #openstack-nova02:07
*** hemna_ has joined #openstack-nova02:09
*** lei-zh has joined #openstack-nova02:09
*** slaweq_ has joined #openstack-nova02:11
*** slaweq_ has quit IRC02:15
*** dave-mccowan has quit IRC02:19
*** openstack has joined #openstack-nova02:34
*** ChanServ sets mode: +o openstack02:34
alex_xuKevin_Zheng: few comments on https://review.openstack.org/#/c/48685002:46
alex_xuKevin_Zheng: I think using PATH_INFO is right. just need refine the code a little bit. And I found we will strip any work start with 'v', if we have a url called '/volume', then it will be stripped. although we don't have it, but it is trap for any url start with 'v'02:48
alex_xuin the future02:48
*** lei-zh has quit IRC02:50
*** slaweq_ has joined #openstack-nova02:53
*** lei-zh has joined #openstack-nova02:55
*** slaweq_ has quit IRC02:57
*** takashin has left #openstack-nova03:00
*** mardim has quit IRC03:07
*** skatsaounis_ has quit IRC03:08
*** Nel1x has quit IRC03:11
melwittmriedem: thanks. I guess I don't know what all the hubbub about "rc2 translations" used to be about then03:14
Kevin_Zhengalex_xu, thanks alot, I will look into that03:14
*** hemna_ has quit IRC03:15
*** gbarros has quit IRC03:18
sapd1melwitt: Can I workaround to attach SR-IOV to exist instance? :D03:22
*** hongbin has quit IRC03:23
melwittsapd1: not that I know of. I haven't gotten around to asking artom about the bug https://bugs.launchpad.net/nova/+bug/170843303:26
openstackLaunchpad bug 1708433 in OpenStack Compute (nova) "Attaching sriov nic VM fail with keyError pci_slot" [Undecided,New]03:26
*** hongbin has joined #openstack-nova03:28
*** tetsuro has quit IRC03:31
alex_xumriedem: enjoy...Xi'an food :)03:31
mriedemalex_xu: biang biang noodle!03:32
mriedemchinese hamburger03:32
*** slaweq_ has joined #openstack-nova03:32
alex_xumriedem: hahaha03:32
mriedemsapd1: you can't attach sriov ports to existing instances03:33
mriedembeyond just the KeyError03:33
mriedemwe should likely just 400 those types of requestse03:34
melwittyeah, sean-k-mooney was saying he thought it used to 400 but that artom might know about patch(es) that might have inadvertently changed it?03:34
sapd1mriedem: so we don't have any way to attach sriov ports, do you?03:34
mriedemsapd1: it's not currently supported no03:36
mriedemsee https://review.openstack.org/#/c/139910/03:36
*** slaweq_ has quit IRC03:37
mriedemit would definitely be a microversion to start saying we support that type of attach03:38
mriedemso i think we essentially need to check the vnic_type on the port and if it's not 'normal' we need to fail03:39
mriedemsean-k-mooney: nova never pre-creates sriov ports right because you have to specify that in the binding:vnic_type when creating the port03:41
mriedemtherefore if a user tries to attach a port to a server by passing a network id rather than a port id and nova creates the port on the network, it will always be vnic_type 'normal' today03:42
openstackgerritMatt Riedemann proposed openstack/nova master: WIP: Force refresh instance info_cache during heal  https://review.openstack.org/59160703:48
*** hongbin_ has joined #openstack-nova03:48
*** hongbin has quit IRC03:50
*** slaweq_ has joined #openstack-nova03:53
*** slaweq_ has quit IRC03:57
*** Dinesh_Bhor has joined #openstack-nova03:58
*** lei-zh has quit IRC04:01
openstackgerritChen proposed openstack/nova master: Revisons on notifications doc  https://review.openstack.org/59162104:11
sapd1mriedem: I saw in neutron-sriov-agent log, When launch instance It update profile of sr-iov port, But when attach port to exist instance It does not.04:12
*** hongbin_ has quit IRC04:14
*** eharney has quit IRC04:15
*** liuyulong has joined #openstack-nova04:23
*** eharney has joined #openstack-nova04:27
*** slaweq_ has joined #openstack-nova04:32
*** oanson has quit IRC04:33
*** slaweq_ has quit IRC04:36
gmannalex_xu: do you have anything for today API office hour ? i am little busy on QA releases so if nothing much i would like to skip it.04:58
*** oanson has joined #openstack-nova05:00
mriedemsapd1: because attaching sriov interfaces to existing instances is not supported in nova05:04
mriedemthe api might say the interface is attached, but nova-compute doesn't actually allocate any pci device05:04
*** slaweq_ has joined #openstack-nova05:11
*** hemna_ has joined #openstack-nova05:12
*** pcaruana has joined #openstack-nova05:12
*** slaweq_ has quit IRC05:16
*** hemna_ has quit IRC05:17
*** Bhujay has joined #openstack-nova05:18
*** lei-zh has joined #openstack-nova05:27
alex_xugmann: we can skip it today05:31
*** slaweq_ has joined #openstack-nova05:32
*** slaweq_ has quit IRC05:37
openstackgerritMatt Riedemann proposed openstack/nova master: WIP: Explicitly fail if trying to attach SR-IOV port  https://review.openstack.org/59189805:40
gmannok05:48
*** mriedem has quit IRC06:03
*** slaweq_ has joined #openstack-nova06:11
*** slaweq_ has quit IRC06:16
*** mriedem has joined #openstack-nova06:19
*** jaosorior has joined #openstack-nova06:25
*** jaosorior has quit IRC06:40
*** adrianc has joined #openstack-nova06:41
*** slaweq_ has joined #openstack-nova06:53
mriedemso quiet in here06:54
mriedemis everyone on wechat?06:54
*** slaweq_ has quit IRC06:57
*** alexchadin has joined #openstack-nova06:59
*** mriedem has quit IRC07:05
sapd1mriedem: I'm still here07:09
openstackgerritMerged openstack/nova master: Remove blacklisted py3 xen tests  https://review.openstack.org/59141907:10
brinzhangmriedem: If we use wechat, we can speak Chinese?  :)07:10
*** s10 has joined #openstack-nova07:11
brinzhanganyone know a project of masakari? It has too few document.07:14
*** jaosorior has joined #openstack-nova07:15
*** s10 has quit IRC07:22
*** alex_xu has quit IRC07:50
*** davidsha has joined #openstack-nova07:53
*** yedongcan has quit IRC08:06
openstackgerritBalazs Gibizer proposed openstack/nova master: consumer gen: move_allocations  https://review.openstack.org/59181008:07
openstackgerritBalazs Gibizer proposed openstack/nova master: consumer gen: more tests for delete allocation cases  https://review.openstack.org/59181108:07
openstackgerritBalazs Gibizer proposed openstack/nova master: consumer gen: support claim_resources  https://review.openstack.org/58366708:07
*** sgordon has quit IRC08:08
*** Dinesh_Bhor has quit IRC08:14
*** cdent has joined #openstack-nova08:14
*** dtantsur|afk is now known as dtantsur08:26
*** derekh has joined #openstack-nova08:31
*** rha has quit IRC08:34
*** tssurya has joined #openstack-nova08:35
*** lennyb has joined #openstack-nova08:35
*** alex_xu has joined #openstack-nova08:48
*** Dinesh_Bhor has joined #openstack-nova08:48
sean-k-mooneymriedem i noticed the same thing for the last week or so08:59
*** alexchadin has quit IRC09:00
sean-k-mooneybasically since we started requireing registered nics that chat has been much more quite, and there have been less nics i  have not seen before09:00
*** josecastroleon has quit IRC09:00
*** josecastroleon has joined #openstack-nova09:00
openstackgerritBrin Zhang proposed openstack/nova-specs master: Resource retrieving: add change-before filter  https://review.openstack.org/59197609:04
*** samueldmq_ has joined #openstack-nova09:16
*** andreaf has quit IRC09:16
*** andreaf has joined #openstack-nova09:17
*** alexchadin has joined #openstack-nova09:17
*** bzhao__ has quit IRC09:18
*** samueldmq has quit IRC09:18
*** xgerman_ has quit IRC09:18
*** samueldmq_ is now known as samueldmq09:18
*** mriedem has joined #openstack-nova09:18
*** liuyulong has quit IRC09:19
*** johnthetubaguy has quit IRC09:21
*** johnthetubaguy has joined #openstack-nova09:24
*** rtjure has joined #openstack-nova09:35
*** Dinesh_Bhor has quit IRC09:42
*** mriedem has quit IRC09:44
*** Dinesh_Bhor has joined #openstack-nova09:57
*** lei-zh has quit IRC10:01
*** josecastroleon has quit IRC10:09
*** dave-mccowan has joined #openstack-nova10:12
openstackgerritBrin Zhang proposed openstack/nova-specs master: Resource retrieving: add change-before filter  https://review.openstack.org/59197610:14
*** adrianc has quit IRC10:30
openstackgerritBrin Zhang proposed openstack/nova-specs master: Resource retrieving: add change-before filter  https://review.openstack.org/59197610:39
*** s10 has joined #openstack-nova10:41
*** priteau has joined #openstack-nova10:45
*** Dinesh_Bhor has quit IRC10:49
*** adrianc has joined #openstack-nova10:50
*** alexchadin has quit IRC10:59
*** sapd1 has quit IRC10:59
*** alexchadin has joined #openstack-nova11:00
*** alexchadin has quit IRC11:00
*** alexchadin has joined #openstack-nova11:01
*** alexchadin has quit IRC11:01
*** alexchadin has joined #openstack-nova11:01
*** alexchadin has quit IRC11:02
*** pvc has joined #openstack-nova11:03
pvchi guys11:03
pvcVolume size extension is not supported by the hypervisor.: ExtendVolumeNotSupported: Volume size extension is not supported by the hypervisor.11:03
openstackgerritGhanshyam Mann proposed openstack/nova master: Remove the deprecated API extensions policies  https://review.openstack.org/58687211:15
openstackgerritGhanshyam Mann proposed openstack/nova master: Remove the deprecated API extensions policies  https://review.openstack.org/58687211:16
pvchi guys11:22
pvcanyone11:22
pvchere11:22
*** panda|ruck is now known as panda|ruck|lunch11:25
*** alexchadin has joined #openstack-nova11:33
*** alexchadin has quit IRC11:38
*** brinzhang has quit IRC11:39
openstackgerritGhanshyam Mann proposed openstack/nova master: Merge extended availability zone response into server controller  https://review.openstack.org/50285911:49
*** panda|ruck|lunch is now known as panda|ruck11:53
*** alexchadin has joined #openstack-nova11:56
*** eharney has quit IRC11:58
*** josecastroleon has joined #openstack-nova12:00
openstackgerritGhanshyam Mann proposed openstack/nova master: Merge config drive extension response into server controller  https://review.openstack.org/58422312:03
*** slaweq_ has joined #openstack-nova12:15
sean-k-mooneysorry for the delay, alot of people are on vacation in europe and most of the us folks are not online yet12:18
sean-k-mooneypvc: ^12:18
sean-k-mooneypvc: alot of eu people that are working today are also gone to lunch12:19
*** gcb_ has joined #openstack-nova12:19
sean-k-mooneypvc: you were getting an error with exetending voluems "ExtendVolumeNotSupported"12:19
*** slaweq_ has quit IRC12:20
sean-k-mooneypvc: im not sure i can help but if you have a specifc question/issue i might at least be able to point you in the right direction12:21
*** alexchadin has quit IRC12:23
*** alexchadin has joined #openstack-nova12:30
openstackgerritGhanshyam Mann proposed openstack/nova master: Merge extended server attributes extension response  https://review.openstack.org/58459012:31
*** erlon has joined #openstack-nova12:34
edmondswpvc which virt driver are you using?12:47
openstackgerritGhanshyam Mann proposed openstack/nova master: Merge keypair extension response into server view builder  https://review.openstack.org/58474812:47
gibibtw I will take Thursday and Friday afternoon off and then Monday is public holiday here and I will take Tuesday out as well12:47
*** josecastroleon has quit IRC12:54
*** josecastroleon has joined #openstack-nova12:54
openstackgerritGhanshyam Mann proposed openstack/nova master: Merge server usage extension response into server view builder  https://review.openstack.org/58526213:00
*** eharney has joined #openstack-nova13:09
*** mvkr has quit IRC13:10
openstackgerritJay Pipes proposed openstack/nova master: [placement] split gigantor SQL query, add logging  https://review.openstack.org/59004113:14
efriedmriedem: I was approaching it from "I just happened to notice this while I was doing something else," not, "Hey, we need to clean up a big thing and this is one of the pieces." I'm sure it makes sense to go looking for the chunk of code that guy tests...13:20
efriedjaypipes: Did you run that locally? I'm wondering if you need to do list(traits.keys()) else you'd wind up with output like <Generator at 0x0a7e0a> etc.13:22
efriedwhoops, wrong channel.13:23
openstackgerritJay Pipes proposed openstack/nova master: [placement] split gigantor SQL query, add logging  https://review.openstack.org/59004113:25
openstackgerritJay Pipes proposed openstack/nova master: [placement] split gigantor SQL query, add logging  https://review.openstack.org/59004113:29
*** dklyle has joined #openstack-nova13:31
openstackgerritMerged openstack/nova master: api-ref: fix GET /flavors?is_public description  https://review.openstack.org/58809213:33
efriedmriedem: Why are we waiting until rocky rc2 to merge things into stein?13:36
efrieddansmith: maybe you know this answer?13:36
dansmithefried: um we're not?13:36
dansmithstable/rocky exists which means master is stein13:37
efriedokay. Matt said something weird earlier.13:37
dansmithwhich was what?13:37
efriedhttp://eavesdrop.openstack.org/irclogs/%23openstack-nova/%23openstack-nova.2018-08-15.log.html#t2018-08-15T00:39:0313:37
dansmithwell, first off,13:37
dansmithhe said master was stein,13:38
dansmithbut his point was that if you do big removals or refactors,13:38
dansmithand we then suddenly need to backport a fix,13:38
dansmithit may be much uglier13:38
dansmithwhen the big code removal shouldn't be any huge rush13:38
efriedokay, I figured if it was anything it was that.13:38
dansmithI imagine that was his point13:38
efriedfair enuf13:38
efriedthough I think that one probably could have been removed in rocky anyway.13:38
efriedsince it was testing an ocata->pike thing.13:39
*** mriedem has joined #openstack-nova13:39
mriedemslurm13:39
*** mvkr has joined #openstack-nova13:40
openstackgerritGaudenz Steinlin proposed openstack/nova master: Ignore some updates from virt driver  https://review.openstack.org/52300613:43
*** gbarros has joined #openstack-nova13:43
openstackgerritGhanshyam Mann proposed openstack/nova master: Merge security groups extension response into server view builder  https://review.openstack.org/58547513:45
*** david-lyle has joined #openstack-nova13:48
openstackgerritEric Fried proposed openstack/nova master: [placement] Regex consts for placement schema  https://review.openstack.org/59186313:48
*** dklyle has quit IRC13:49
*** david-lyle has quit IRC13:49
*** david-lyle has joined #openstack-nova13:49
openstackgerritMatthew Booth proposed openstack/nova master: Add regression test for bug 1550919  https://review.openstack.org/59173313:52
openstackbug 1550919 in OpenStack Compute (nova) "[Libvirt]Evacuate fail may cause disk image be deleted" [Medium,In progress] https://launchpad.net/bugs/1550919 - Assigned to Matthew Booth (mbooth-9)13:52
*** alex_xu has quit IRC13:52
*** hvvcben has joined #openstack-nova13:53
lyarwooddansmith: https://review.openstack.org/#/c/591761/ is good to go right?13:53
lyarwooddansmith: you didn't want to wait until your other backport was ready or anything?13:53
openstackgerritMatthew Booth proposed openstack/nova master: Py3 fix in fake image service  https://review.openstack.org/59205613:54
dansmithlyarwood: no, I don't think we should wait and yes I think it's good to go13:54
lyarwooddansmith: ack thanks13:54
mriedemdansmith: just replied in the other13:58
mriedemwill check it over in the morning13:58
dansmithmriedem: coolt hanks13:59
gmannmriedem: melwitt can either of you approve this BP. i have rebased the patches and added stein BP link  - https://blueprints.launchpad.net/nova/+spec/api-extensions-merge-stein13:59
openstackgerritxhzhf proposed openstack/nova master: VMware: add missing os types in vSphere sdk 6.5  https://review.openstack.org/59177113:59
*** hvvcben has quit IRC14:00
gmanntssurya: done, 3 more view builder left which i am working and push soon - https://review.openstack.org/#/q/topic:bp/api-extensions-merge-stein+(status:open+OR+status:merged)14:00
mriedemgmann: done14:00
gmannmriedem: thanks14:01
*** awaugama has joined #openstack-nova14:02
*** davidsha has quit IRC14:02
openstackgerritGhanshyam Mann proposed openstack/nova master: Remove the deprecated API extensions policies  https://review.openstack.org/58687214:07
openstackgerritGhanshyam Mann proposed openstack/nova master: Merge extended availability zone response into server controller  https://review.openstack.org/50285914:08
openstackgerritGhanshyam Mann proposed openstack/nova master: Merge config drive extension response into server controller  https://review.openstack.org/58422314:09
openstackgerritGhanshyam Mann proposed openstack/nova master: Merge extended server attributes extension response  https://review.openstack.org/58459014:09
openstackgerritGhanshyam Mann proposed openstack/nova master: Merge keypair extension response into server view builder  https://review.openstack.org/58474814:09
openstackgerritGhanshyam Mann proposed openstack/nova master: Merge server usage extension response into server view builder  https://review.openstack.org/58526214:10
*** tbachman has joined #openstack-nova14:17
mriedemdansmith: anything i should fast approve before going to bed?14:18
dansmithmriedem: sounds like a recipe for disaster14:18
dansmithbut nothing that I know of this morning.. you got the revert backports I think14:18
mriedemyup14:18
dansmithI'll have this real backport up in a little while, but if you can look tomorrow I think that's fine14:18
mriedemyeah i will14:19
dansmith祝你晚安14:19
mriedemo/ then14:19
mriedemha14:20
mriedemtai gui14:20
dansmithg'nite14:20
*** mriedem has quit IRC14:20
*** erlon has quit IRC14:21
dansmithtoo expensive?14:21
dansmithhmm14:21
openstackgerritGhanshyam Mann proposed openstack/nova master: Merge security groups extension response into server view builder  https://review.openstack.org/58547514:21
*** erlon has joined #openstack-nova14:24
openstackgerritDan Smith proposed openstack/nova stable/queens: Wait for network-vif-plugged before starting live migration  https://review.openstack.org/59173514:27
openstackgerritDan Smith proposed openstack/nova stable/queens: DNM: Debug patch to test live migration waiting  https://review.openstack.org/59177514:27
*** gbarros has quit IRC14:28
mdboothEurgh14:28
openstackgerritMatthew Booth proposed openstack/nova master: Add regression test for bug 1550919  https://review.openstack.org/59173314:30
openstackbug 1550919 in OpenStack Compute (nova) "[Libvirt]Evacuate fail may cause disk image be deleted" [Medium,In progress] https://launchpad.net/bugs/1550919 - Assigned to Matthew Booth (mbooth-9)14:30
openstackgerritMatthew Booth proposed openstack/nova master: Py3 fix in fake image service  https://review.openstack.org/59205614:30
openstackgerritMatthew Booth proposed openstack/nova master: Don't delete disks on shared storage during evacuate  https://review.openstack.org/57884614:30
mdboothmelwitt: ^^^ No refactor, change is confined to libvirt driver, no need to look at task state :)14:31
*** alexchadin has quit IRC14:32
mdboothGrr, I forgot to re-run pep8 after fixing tests :/14:32
*** Bhujay has quit IRC14:33
*** _ix has joined #openstack-nova14:33
openstackgerritMatthew Booth proposed openstack/nova master: Don't delete disks on shared storage during evacuate  https://review.openstack.org/57884614:34
efriedjaypipes: Would you please cast your eye upon https://review.openstack.org/#/c/468560/ when you get a chance? update_provider_tree for PowerVM driver.14:39
openstackgerritEric Fried proposed openstack/nova master: [placement] Add /reshaper handler for POST  https://review.openstack.org/57692714:47
openstackgerritEric Fried proposed openstack/nova master: reshaper: Look up provider if not in inventories  https://review.openstack.org/58503314:47
openstackgerritEric Fried proposed openstack/nova master: Make get_allocations_for_resource_provider sane  https://review.openstack.org/58459814:47
openstackgerritEric Fried proposed openstack/nova master: Report client: Real get_allocs_for_consumer  https://review.openstack.org/58459914:47
openstackgerritEric Fried proposed openstack/nova master: Report client: get_allocations_for_provider_tree  https://review.openstack.org/58464814:47
openstackgerritEric Fried proposed openstack/nova master: Report client: _reshape helper, placement min bump  https://review.openstack.org/58503414:47
openstackgerritEric Fried proposed openstack/nova master: Report client: update_from_provider_tree w/reshape  https://review.openstack.org/58504914:47
openstackgerritEric Fried proposed openstack/nova master: Compute: Handle reshaped provider trees  https://review.openstack.org/57623614:47
openstackgerritEric Fried proposed openstack/nova master: [placement] Regex consts for placement schema  https://review.openstack.org/59186314:47
*** sapd1 has joined #openstack-nova14:48
sapd1melwitt: I would like to develop this feature (https://review.openstack.org/#/c/139910/) How can I start? Because I would like to use SR-IOV with Octavia.14:54
sean-k-mooneysapd1: specifcally you wish to enale sriov atach/detach14:55
sapd1In Octavia flow, Port in VIP Network was created after instance launched, If I use SR-IOV Network for VIP Network, I can't attach VIP Port.14:56
sapd1sean-k-mooney: Yep. I wish14:56
sean-k-mooneysapd1: by sriov network you mean sriov port14:56
sean-k-mooneyour rather vnic_type=dircet,macvtap or drict-phyical14:57
sean-k-mooneysapd1: the first thing you would need to do is repropose the spec for stien14:57
sapd1sean-k-mooney: yes. Because in this flow (https://github.com/openstack/octavia/blob/master/octavia/network/drivers/neutron/allowed_address_pairs.py#L87)14:58
openstackgerritMatthew Booth proposed openstack/nova master: Add regression test for bug 1550919  https://review.openstack.org/59173314:58
openstackbug 1550919 in OpenStack Compute (nova) "[Libvirt]Evacuate fail may cause disk image be deleted" [Medium,In progress] https://launchpad.net/bugs/1550919 - Assigned to Matthew Booth (mbooth-9)14:58
openstackgerritMatthew Booth proposed openstack/nova master: Py3 fix in fake image service  https://review.openstack.org/59205614:58
openstackgerritMatthew Booth proposed openstack/nova master: Don't delete disks on shared storage during evacuate  https://review.openstack.org/57884614:58
sapd1octavia-lb-vrrp port is created and attached to amphora instance after instance is created.14:59
sean-k-mooneysapd1: right. so im personally ok with adding attach/detach for sriov interfaces but are you aware that the process is more complicated now then it was in newton15:00
sean-k-mooneyone of the hopes for stien is that we would start tracking VFs in placement, so you would have to update the instance allocation in placement15:01
*** david-lyle is now known as dklyle15:01
*** betherly-afk is now known as betherly_15:02
sean-k-mooneyaddtionaly assuming the vm is on a host that has an available VF attached to the correct physnet15:02
sapd1sean-k-mooney: yep. It's more complicated with me15:02
sean-k-mooneythe vm may or may not have enough pci slots available for the VF to be attached. this also changes depending on if the vm is using the qemu Q35 chipset in the libvirt driver case15:03
efriedsapd1: keep an eye on https://review.openstack.org/#/c/591898/ -- I'm hoping this evolves to make SRIOV hot (un)plug based on a driver capability, but either way you'll need to work with it to do your support.15:04
*** tikitavi__ has joined #openstack-nova15:04
sean-k-mooneyefried: we used to hard fail in old releases for sriov attach15:05
sean-k-mooneyefried: do you know if the current attach api call is blocking15:05
efriedsean-k-mooney: According to that patch, which *adds* a hard fail...15:06
sean-k-mooneyefried: we used to have an api check at some point before this15:07
sapd1sean-k-mooney: yep. I think we have to check number of pci slots available when attach.15:07
sean-k-mooneysapd1: yes my concern with that is is attach blocking or async15:08
sean-k-mooneysapd1: if its a blocking call that means the api must wait for the hyperviror to try to attach the interface to the guest before returning assuming a device is available to attach15:09
tssuryagmann: thanks a ton!15:09
*** masayukig has joined #openstack-nova15:10
sean-k-mooneysapd1: well that is it would have to wait if we wanted to comunicate a good error message as to why the attach failed15:10
sapd1sean-k-mooney: So we have to save number of pci slots available in database like CPU and ram. as you said, in placement database15:11
sapd1then when attach port, we have to check in database.15:11
sean-k-mooneysapd1: that is virtdriver specific. we cannot track that in placement15:11
sean-k-mooneysapd1: we may be able to recored that in the nova db but im not sure it would apply to all drivers15:12
sapd1sean-k-mooney: But I don't know how to push profile of sriov port from nova-api to nova-compute15:13
jaypipesefried: done15:13
sean-k-mooneysapd1: profile?15:13
sean-k-mooneysapd1: as in vif:binding_profile?15:13
sapd1sean-k-mooney: http://paste.openstack.org/show/726723/15:14
sapd1I saw the profile of the port is not updated15:14
*** cdent_ has joined #openstack-nova15:15
sean-k-mooneyya that is because we dont generate it in the api on attach.15:15
*** cdent has quit IRC15:15
*** cdent_ is now known as cdent15:15
sean-k-mooneysapd1: you wil not be able to set that value form neutron or nova apis15:16
sapd1sean-k-mooney: how can I generate it?15:16
sean-k-mooneysapd1: normally that is set by the virt_driver on the compute node during instace spawn when it does a port bind15:17
sean-k-mooneysapd1: the virt driver is the only thing that can generate it15:17
sapd1sean-k-mooney: I think so, But in this (https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/drivers/mech_sriov/agent/sriov_nic_agent.py#L70)15:18
sapd1nova notify port update to neutron, but port has not profile (pci_slot) so It can't update port15:19
sean-k-mooneyyou cannot set this in neutron. neuton does not know what hypervior th vm is booting on15:19
sean-k-mooneysapd1: correct.15:19
sapd1so I'm confusing because where can I write a patch to fix this. :D15:21
sean-k-mooneysapd1: you would need several patches :) but the pci_slot is extracted from the pci_request_spec here https://github.com/openstack/nova/blob/c9b7c3577f373477d003706bb5ca748a51bbf023/nova/network/neutronv2/api.py#L1367-L137715:23
openstackgerritDan Smith proposed openstack/nova stable/queens: Wait for network-vif-plugged before starting live migration  https://review.openstack.org/59173515:25
openstackgerritDan Smith proposed openstack/nova stable/queens: DNM: Debug patch to test live migration waiting  https://review.openstack.org/59177515:25
openstackgerritDan Smith proposed openstack/nova stable/queens: Fix cancel_all_events event name parsing  https://review.openstack.org/59208615:26
sean-k-mooneysapd1: that gets indrectly called from _populate_neutron_extension_values whcih is called form _update_ports_for_instance which is called from allocate_for_instance on vm boot15:27
sapd1sean-k-mooney: too complicated15:28
sean-k-mooneysapd1: i looked at doing this a few year ago. its non trival. the point is _populate_neutron_extension_values when we are doing an attach15:30
*** derekh has quit IRC15:30
sean-k-mooneywe also dont genartate a pci_request_spec object and ask the resouce tracker for a VF15:31
sapd1sean-k-mooney: Can you help me with path which can generate port profile I don't need update allocated database because I would like to use with octavia only.15:32
*** gyee has joined #openstack-nova15:32
sean-k-mooneysapd1: the first step is to reporpose the spec for stien.15:33
sean-k-mooneyto add this fuctionality so that octavia can use it it will need to be done properly end to end15:34
openstackgerritGhanshyam Mann proposed openstack/nova master: Merge extended_status extension response into server view builder  https://review.openstack.org/59209215:35
sapd1sean-k-mooney: wait me15:35
*** gbarros has joined #openstack-nova15:37
openstackgerritMerged openstack/python-novaclient master: Replace os-client-config to openstacksdk  https://review.openstack.org/59014115:38
*** mvkr has quit IRC15:46
*** adrianc has quit IRC15:48
*** adrianc has joined #openstack-nova15:48
openstackgerritChen proposed openstack/nova master: Revisons on notifications doc  https://review.openstack.org/59162115:50
*** pvc_ has joined #openstack-nova15:52
pvc_hi15:52
*** itlinux has joined #openstack-nova15:52
pvc_im currently using ceph backend for my voluems15:52
pvc_but when i extending it on a attached state it have an error15:52
pvc_Hypervisor is not supported the volume extension15:53
*** FracKen has joined #openstack-nova15:55
openstackgerritDan Smith proposed openstack/nova stable/queens: Wait for network-vif-plugged before starting live migration  https://review.openstack.org/59173516:04
openstackgerritDan Smith proposed openstack/nova stable/queens: DNM: Debug patch to test live migration waiting  https://review.openstack.org/59177516:04
tikitavi__Hi, can anybody help me with starting an instance with fake driver
?16:08
tikitavi__I have devstack with VIRT_DRIVER=fake in localrc, when I’m trying to start instance it fails with error “{"message": "Binding failed for port c38ac68b-3417-4443-b10d-a0d65647e9bd, please check neutron logs for more information.", "code": 400, "created": "2018-08-13T12:55:26Z”}”16:08
tikitavi__The error in neutron sac logs is neutron-server[23609]: ERROR neutron.plugins.ml2.managers [None req-a779fdba-0b67-4ac1-983e-551bd58cc566 service neutron] Failed to bind port c38ac68b-3417-4443-b10d-a0d65647e9bd on host ubuntu-xenial-ovh-bhs1-00012954471 for vnic_type normal using segments [{'network_id': '755c91d8-76ef-4ff4-8997-717897309695', 'segmentation_id': 86, 'physical_network': None, 'id': 'e1fb3dff-bf9c-41df-8916:09
*** tikitavi_ has joined #openstack-nova16:11
*** cdent has quit IRC16:14
*** tikitavi__ has quit IRC16:15
*** sayalilunkad has quit IRC16:16
*** tikitavi_ has quit IRC16:18
*** sayalilunkad has joined #openstack-nova16:20
*** panda|ruck is now known as panda|off16:22
sapd1pvc_: you have to detach volume from instance then extend volume16:22
*** Tikitavi has joined #openstack-nova16:24
pvc_my goal is to extend it even if it is in attached state16:25
*** Tikitavi has quit IRC16:28
*** efried is now known as efried_rollin16:28
prometheanfirelooks like only pike remains :D https://review.openstack.org/#/c/59176216:29
*** sayalilunkad has quit IRC16:32
*** Bhujay has joined #openstack-nova16:33
sapd1pvc_:     * only iscsi and fibre channel volume types are supported on the nova side currently.16:35
sapd1https://review.openstack.org/#/c/454287/23/releasenotes/notes/support-extend-inuse-volume-9e4atf8912qaye99.yaml16:35
pvc_is there a blueprint for rbd?16:36
mdboothmelwitt: Looks like there's a bug in the functional test for https://review.openstack.org/#/c/578846/ as it's failing non-deterministically. I'll try to get to the bottom of that tomorrow. However, if you could take a view on the patch itself, if only at a high level, I'd be very grateful.16:40
melwittmdbooth: sure, will take a look16:40
openstackgerritDoug Hellmann proposed openstack/nova master: use static pages for mitaka and newton release notes  https://review.openstack.org/59215016:41
mdboothmelwitt: Thanks16:41
melwittsapd1: if you are interested in developing the attach/detach feature, you must first propose it as a spec for the stein release, where it can be reviewed. here is the docs on how to submit a spec: https://specs.openstack.org/openstack/nova-specs/readme.html16:44
*** pvc_ has quit IRC16:45
*** sayalilunkad has joined #openstack-nova16:47
dansmithmelwitt: tssurya: I'm assuming no cells meeting, matt is in china and I have nothing16:50
dansmithpresumably we just need to get back on the down-cell reviews...16:50
tssuryadansmith: me neither, yea working on tests for the API stuff ^16:50
melwittI don't have anything either. my server group patch has been receiving review16:51
dansmithschweeeeet16:51
*** sayalilunkad has quit IRC16:51
melwittwe still have those other bugs around build request/instance mapping getting out-of-sync so we should get thinking about and reviewing those too16:51
*** sayalilunkad has joined #openstack-nova16:52
*** openstackstatus has joined #openstack-nova16:57
*** ChanServ sets mode: +v openstackstatus16:57
*** priteau has quit IRC17:06
*** sayalilunkad has quit IRC17:09
*** s10 has quit IRC17:11
sapd1melwitt: I'm trying to repropose .17:17
melwittsapd1: oh, hm, it looks like we don't yet have the stein directory available in nova-specs17:18
melwittdansmith: could you hit this to add the stein directory to nova-specs? https://review.openstack.org/57360217:20
dansmithcha17:20
melwittthx17:20
*** eharney has quit IRC17:26
openstackgerritMerged openstack/nova-specs master: Create specs directory for Stein  https://review.openstack.org/57360217:27
*** tssurya has quit IRC17:28
melwittsapd1: okay, you'll just need to rebase to get the stein directory ^ and then you'll be able to copy the spec file there for proposal17:30
melwitt*copy the spec into the stein directory17:30
sapd1Thanks melwitt17:30
openstackgerritMerged openstack/nova stable/queens: Revert "libvirt: slow live-migration to ensure network is ready"  https://review.openstack.org/59176117:32
prometheanfire:D17:36
*** gbarros has quit IRC17:38
*** sapd1 has quit IRC17:39
openstackgerritDmitry Sutyagin proposed openstack/nova master: libvirt: add disabling KSM via flavor extra specs  https://review.openstack.org/59185417:40
*** dtantsur is now known as dtantsur|afk17:40
dansmithprometheanfire: pike one is in the queue now17:42
prometheanfireyep, I'm watching it17:43
*** gyee has quit IRC17:54
*** mvkr has joined #openstack-nova17:56
*** slaweq_ has joined #openstack-nova18:07
prometheanfiream I right in thinking that this patch makes it so that images with the hypervisor_type of qemu will not boot on nova nodes having virt_type=kvm?       https://git.openstack.org/cgit/openstack/nova/commit/?id=eaa766ee2093c24fd61c61e52f46bdd9ff9e93d218:09
*** slaweq_ has quit IRC18:15
*** eharney has joined #openstack-nova18:19
melwittI think so. dansmith? ^18:26
dansmiththat's the point I think yeah18:26
melwittprometheanfire ^18:29
*** gbarros has joined #openstack-nova18:31
dansmithI think the goal was kindof the opposite, to make sure that kvm-requiring instances didn't boot on qemu-only hosts, but the result for your case is the same I think18:32
prometheanfiredansmith: ok, it sounds like that means I'll have to upload images twice (once for each hypervisor_type) if I want the image to boot on both (I have other images that are ironic, which is why I need to specify type in the first place)18:33
dansmithprometheanfire: why do you ever have images that specify qemu?18:33
*** burt has joined #openstack-nova18:33
*** priteau has joined #openstack-nova18:37
prometheanfiregating on hosts that don't allow nested virt18:38
prometheanfireit's for that reason alone18:38
dansmithum18:40
dansmithjust because something uses kvm type doesn't mean it supports nested virt18:41
*** adrianc has quit IRC18:41
prometheanfirethat's not what I was trying to say18:41
prometheanfireI was trying to say some of our hosts don't have kvm18:41
dansmith...really?18:41
dansmithby policy or soemthing?18:42
dansmithI mean running in actual qemu mode is so slow, it's hard to make any real-world use case for it18:42
prometheanfireya18:42
prometheanfireit's stupid18:42
dansmithalright :D18:42
*** gbarros has quit IRC18:43
prometheanfireok, looks like just uploading the cirros image twice will work for this usage at least18:45
*** gbarros has joined #openstack-nova18:49
dansmithprometheanfire: you and your crazy requests.. next I'm sure you'll be asking us to run live migrations at more than 1MB/s!18:55
prometheanfiredansmith: well, that would be nice, but seems you already did that :P18:56
dansmithhehe18:56
*** gbarros has quit IRC18:58
*** slaweq_ has joined #openstack-nova19:13
*** openstackgerrit has quit IRC19:19
*** rosey99_ has joined #openstack-nova19:21
*** mdbooth has quit IRC19:32
*** gbarros has joined #openstack-nova19:33
*** awaugama has quit IRC19:38
*** hamzy has quit IRC19:43
*** hamzy has joined #openstack-nova19:46
*** efried_rollin is now known as efried19:53
*** priteau has quit IRC20:05
efriedcfriesen: Re https://review.openstack.org/#/c/590041/ -- do the examples in the commit message look appropriately useful to you? Any suggestions for improvement or whatever?20:30
*** openstackgerrit has joined #openstack-nova20:50
openstackgerritDoug Hellmann proposed openstack/nova master: use static pages for mitaka and newton release notes  https://review.openstack.org/59215020:50
openstackgerritDmitry Sutyagin proposed openstack/nova master: libvirt: add disabling KSM via flavor extra specs  https://review.openstack.org/59185420:54
*** gbarros has quit IRC20:58
*** gbarros has joined #openstack-nova20:59
*** masayukig has quit IRC21:12
*** rcernin has joined #openstack-nova21:29
cfriesenefried: that looks useful.  It occurs to me that it might be useful to list *which* providers were found to see which ones were ruled out at each step.  (Not sure if that'd be too verbose or not.)21:29
efriedcfriesen: Yeah, and we'd probably be talking about printing a bunch of UUIDs, which might not be especially readable anyway.21:30
efriedcfriesen: Though something like that could be considered for TRACE level...21:30
cfriesensounds reasonable.  what you've got is still a significant improvement21:32
*** gbarros has quit IRC21:40
*** slaweq_ has quit IRC21:42
*** gbarros has joined #openstack-nova21:43
*** erlon has quit IRC21:50
openstackgerritMerged openstack/nova master: Add placement perf info gathering hook to end of nova-next  https://review.openstack.org/59136721:52
*** EmilienM has joined #openstack-nova22:03
*** EmilienM has left #openstack-nova22:03
*** gbarros has quit IRC22:18
*** masayukig has joined #openstack-nova22:18
*** FracKen has left #openstack-nova22:21
efriedmelwitt: Agree that https://review.openstack.org/#/c/591854/ should have a reno?22:21
*** itlinux has quit IRC22:22
openstackgerritKen'ichi Ohmichi proposed openstack/nova master: Merge extended availability zone response into server controller  https://review.openstack.org/50285922:25
melwittefried: looking22:31
melwittefried: I agree it should have a reno to signal the availability of something new people can use. but I'm not clear on whether this is proposing a brand new extra spec? if it is, I think that would need at least a specless blueprint22:35
efriedmelwitt: Okay, swhat I thought on the reno. You da boss on the bp.22:35
efriedthanks22:36
efriedmelwitt: And yes, IIUC it's a brand new extra_spec.22:36
melwittokay. I'll ask mriedem about it when he's around, to get his input22:36
efriedmelwitt: Okay, I added a note to that effect, with a reference to the doc.22:38
*** imacdonn has quit IRC22:38
*** imacdonn has joined #openstack-nova22:38
melwittok, thanks22:38
efriedmelwitt: Based on what I'm reading at https://docs.openstack.org/nova/latest/contributor/blueprints.html and https://specs.openstack.org/openstack/nova-specs/readme.html#trivial-specifications I think you're probably right.22:39
melwittefried: thanks. yeah, was also looking at the git blame to see how other extra specs were added, for example one was from https://specs.openstack.org/openstack/nova-specs/specs/ocata/approved/libvirt-emulator-threads-policy.html22:41
efriedmm, that one clearly not specless22:42
melwittyeah. but for this one, it seems small enough that specless is my expectation, but I'll run it by mriedem and dansmith because sometimes a lot of questions arise and if that happens, a spec would be more appropriate22:43
melwittI can't say I know anyting about KSM myself22:44
melwitt*anything22:44
*** erlon has joined #openstack-nova22:52
efriedmelwitt: Oh, technically I'm relying on sahid and sean-k-mooney to vet it. Procedurally... yeah, Matt and Dan.22:59
dansmithI dunno about the claim that windows crashes when KSM is used.. can't really think of any reason that would be23:00
dansmithnormally I think of KSM as being a host decision or not,23:00
dansmithso I'm kinda unsure about why we'd want it to be per-flavor23:00
dansmithespecially since it would affect your memory overcommit calculations23:01
dansmithI would think you'd want to keep KSMing and non-KSMing instances separated by aggregate anyway23:01
*** _ix has quit IRC23:01
dansmithso I mean, that all leads me to think that it's probably worth a spec just on that basis23:01
dansmiththe other being that we want to make sure that we're not just plumbing a libvirt feature straight out the API23:02
melwittack, thanks dansmith23:02
dansmithand we should get input from the other virt drivers on whether they have similar technologies and make sure we can drive them with the same tunable23:02
dansmithlike, whether or not they allow it per-VM or only per-host23:02
dansmithand whether it's just on or off, ro, rw, off, etc23:03
dansmithI'd surely not want to add this just because someone thinks windows is destabilized by KSM, or because they have some weird unstable driver and turning KSM off changes some race semantics or something23:04
cfriesenI could see KSM causing brief interruptions to the guest, but I wouldn't expect it to cause actual hangs.23:05
dansmithright,23:06
dansmithit can change timing semantics for sure23:06
dansmithhence the buggy driver example23:07
dansmithbut so can swapping on the host to a much larger degree23:07
openstackgerritDmitry Sutyagin proposed openstack/nova master: libvirt: add disabling KSM via flavor extra specs  https://review.openstack.org/59185423:08
openstackgerritMerged openstack/nova stable/pike: Revert "libvirt: slow live-migration to ensure network is ready"  https://review.openstack.org/59176223:16
*** rcernin has quit IRC23:18
*** rcernin has joined #openstack-nova23:19
*** gbarros has joined #openstack-nova23:20
dansmithprometheanfire: ^23:24
prometheanfire:D23:26
*** takashin has joined #openstack-nova23:53

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!