Earlier  
Posted Nick Remark
#openstack-nova - 2021-07-07
09:33:52 sean-k-mooney[m] today the port exits on the source and dest for a period of time its just shorter
09:34:10 ralonsoh sean-k-mooney[m], in OVN we don't have, for example, the concept of multiple port binding
09:34:23 ralonsoh and could be difficult to introduce it
09:35:03 ralonsoh could be possible, just an idea, to monitor this multiple port binding
09:35:16 ralonsoh and provide routing for the older one
09:35:28 ralonsoh when the scr port is deleted, the destination port will prevail
09:35:41 ralonsoh this will also prevent errors if the migration fails
09:35:47 ralonsoh anyway, this is not supported
09:37:28 sean-k-mooney[m] this is not related to multiple port bindings
09:37:46 ralonsoh I was making a parallelism
09:37:46 sean-k-mooney[m] this willl happen with just libvirt and ovn without openstack
09:37:51 ralonsoh with OVN backend
09:38:12 ralonsoh this is what OVN should support or something similar
09:38:30 sean-k-mooney[m] ovn needs to monitor the packets
09:38:47 ralonsoh what for?
09:38:53 sean-k-mooney[m] and when it receives new packets on the dest host swap that to to the primary port
09:39:13 ralonsoh could be an idea yes
09:39:18 sean-k-mooney[m] basically if need to activate the dest port when it receives the mac learning RARP packets
09:39:25 ralonsoh but should be aware of the multiple port locations
09:39:32 sean-k-mooney[m] yes
09:39:42 ralonsoh in any case, this is very similar to what we have now
09:39:58 sean-k-mooney[m] anyway in post-copy mode the vm today is potentially in this state for several minutes
09:40:03 ralonsoh that means OVN will configure the backend when the VM is unpaused
09:40:07 sean-k-mooney[m] so this is not new to this spec
09:40:53 ralonsoh in any case, I didn't think about this problem
09:41:21 ralonsoh and now I don't see what's the benefit using this feature
09:41:38 sean-k-mooney[m] ya but its not related to any of the change we are making and it happens already today without them so while we should bring it up with the ovn team
09:41:48 sean-k-mooney[m] its not a blocker for this change
09:42:16 ralonsoh but it is a relevant OVN behavior change we need to document in the spec
09:42:26 sean-k-mooney[m] its not
09:42:32 sean-k-mooney[m] this already happens today
09:42:54 sean-k-mooney[m] so its not a behaviour change
09:43:01 ralonsoh right
09:43:20 ralonsoh in any case, to make this work properly, we need this OVN change
09:43:26 ralonsoh of course
09:43:32 ralonsoh the feature is still valid
09:43:35 ralonsoh and the spec
09:43:57 sean-k-mooney[m] perhaps. if ovn is installing teh correct flows on the dest in this sate
09:44:11 sean-k-mooney[m] then the only issue we have is with packets getting sent to the vm right
09:44:34 ralonsoh yes
09:44:42 sean-k-mooney[m] ovn proably should be mirroring the packet flow to both ports
09:45:09 ralonsoh let me ask again: how much time could it take to copy the VM to dest?
09:45:20 sean-k-mooney[m] multiple minutes
09:45:40 ralonsoh so we can have this network disconnection time, right?
09:46:00 sean-k-mooney[m] with ml2 ovs it wont have downtime
09:46:13 sean-k-mooney[m] the mac learning packets fix this issue
09:46:19 sean-k-mooney[m] i’m not sure how ovn will work
09:47:14 ralonsoh OVN will block any traffic from src port
09:47:25 ralonsoh because the port_binding is changed
09:47:44 sean-k-mooney[m] that is ok
09:48:10 sean-k-mooney[m] i assume it is blocking packets form the dest until the port binding is activated on the dest
09:48:49 ralonsoh do you have 5 mins via meet?
09:48:53 ralonsoh or this afternoon
09:49:00 ralonsoh whenever you can
09:49:14 sean-k-mooney[m] are you free at the top of the hour
09:49:25 ralonsoh yes
09:49:33 sean-k-mooney[m] i was just going to grab coffee but i’m free then
09:49:33 ralonsoh ping me then
09:49:37 ralonsoh perfect
09:56:20 opendevreview Lee Yarwood proposed openstack/nova master: zuul: Add CentOS 8 stream integrated compute tempest job to gate https://review.opendev.org/c/openstack/nova/+/797616
10:03:23 sean-k-mooney ralonsoh: https:/meet.google.com/izr-tezp-qab whenever you are free
10:56:26 opendevreview Stephen Finucane proposed openstack/nova master: Remove the redundant code for attach interface https://review.opendev.org/c/openstack/nova/+/796208
10:56:37 opendevreview Merged openstack/os-traits master: setup.cfg: Replace dashes with underscores https://review.opendev.org/c/openstack/os-traits/+/791133
11:36:15 viks_ hi, suppose if i have a preconfigured physical system which already have an os installed, can i make it as a openstack instance so that i can control that machine... i.e. assign an ip via neutron, boot, shutdown, restart, inject ssh etc ?
11:40:30 lyarwood viks_: https://docs.openstack.org/ironic/latest/
11:43:57 viks_ lyarwood: Thanks... but In ironic it installs OS on the given baremetal... but i do not need to install anything, just add a machine and control it...
11:45:03 lyarwood viks_: https://docs.openstack.org/ironic/latest/admin/adoption.html I thought it didn't need to do that?
11:46:37 viks_ lyarwood: ok.. thanks... i'll check.. i have not gone through it before...
12:18:39 opendevreview Merged openstack/nova master: [ironic] Minimize window for a resource provider to be lost https://review.opendev.org/c/openstack/nova/+/799327
12:48:33 opendevreview Lee Yarwood proposed openstack/nova-specs master: Store and allow libvirt instance device buses and models to be updated https://review.opendev.org/c/openstack/nova-specs/+/799811
12:56:11 lyarwood Does anyone know of an API where we change the response for admins based on a microversion?
12:56:34 lyarwood Oh events, instance faults etc me--
13:07:21 ralonsoh hi folks, do you know why if I have two compute node hosts (opentack host list)
13:07:32 ralonsoh I can't map the second one to cell1?
13:07:47 ralonsoh "nova-manage cell_v2 discover_hosts", then "nova-manage cell_v2 list_hosts"
13:07:52 ralonsoh +-----------+--------------------------------------+----------+
13:07:53 ralonsoh +-----------+--------------------------------------+----------+
13:07:53 ralonsoh | cell1 | db04030a-5cca-439d-b1c8-df1aa8d53d4f | u20ovn |
13:07:53 ralonsoh | Cell Name | Cell UUID | Hostname |
13:08:03 ralonsoh one is missing
13:09:10 sean-k-mooney you need to run discover hosts
13:09:20 sean-k-mooney nova-manage cellv2 discover_hosts
13:09:24 ralonsoh I did
13:09:44 sean-k-mooney from the controler
13:09:47 ralonsoh yes
13:10:04 sean-k-mooney can you run that with -v or --debug and past the output somewhere
13:10:09 ralonsoh let me check
13:11:26 ralonsoh sean-k-mooney, nothing, no output
13:12:06 sean-k-mooney does it show up in openstack hyperviors list
13:12:20 ralonsoh yes
13:12:30 sean-k-mooney the os-host api is deprecated by the way so im not sure it works proerly
13:12:35 ralonsoh | u20ovn | conductor | internal |
13:12:35 ralonsoh | u20ovn | scheduler | internal |
13:12:35 ralonsoh +-----------+-----------+----------+
13:12:35 ralonsoh | Host Name | Service | Zone |
13:12:35 ralonsoh stack@u20ovn:/opt/stack$ openstack host list
13:12:37 ralonsoh | u20ovn | conductor | internal |
13:12:39 ralonsoh | u20ovn | compute | nova |
13:12:41 ralonsoh | u20ovn2 | compute | nova |
13:12:43 ralonsoh +-----------+-----------+----------+

Earlier   Later