Earlier  
Posted Nick Remark
#openstack-nova - 2021-07-07
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 +-----------+-----------+----------+
13:13:00 sean-k-mooney very odd indeed
13:13:37 ralonsoh do I need any service on the second node?
13:13:44 ralonsoh devstack@n-cond-cell1.service
13:13:47 stephenfin bauzas: Trivial bugfix here if you have a moment? https://review.opendev.org/c/openstack/nova/+/794006
13:13:57 bauzas stephenfin: I can do
13:14:29 stephenfin ta
13:14:59 bauzas stephenfin: same thought than gmann
13:15:10 stephenfin oh, missed that comment
13:15:16 bauzas wow, takes a lot of time to update
13:28:29 opendevreview Stephen Finucane proposed openstack/nova master: api: Handle invalid volume UUIDs during spawn https://review.opendev.org/c/openstack/nova/+/794006
13:28:34 stephenfin bauzas: ^
13:28:45 bauzas ta, looking
13:28:50 stephenfin gmann, lyarwood: either of you care to re-review also. Super trivial ^
13:29:18 opendevreview Stephen Finucane proposed openstack/nova master: docs: Replace 'nova boot' with 'openstack server create' https://review.opendev.org/c/openstack/nova/+/794007
13:29:28 stephenfin lyarwood: I also addressed your comments on that doc
13:48:01 lyarwood ack looking
14:00:33 lyarwood stephenfin: I'm sure you still need --bootable when creating the volume
14:01:12 stephenfin Possibly in the past, but I tested it locally with a basic DevStack deployment and you didn't
14:02:02 lyarwood I've just copy pasted from my env, it's failing for me
14:03:27 lyarwood unless cinder is somehow automatically setting this under a later microversion
14:03:37 lyarwood or we are somehow updating the bootable flag
14:03:43 lyarwood I can't see how this ever worked
14:04:32 stephenfin What I was seeing was that the bootable flag would be False in the response returned from the create request, but then True when I did a show call
14:04:44 stephenfin so cinder was changing things under the good
14:04:47 stephenfin *hood
14:05:15 stephenfin I'm pretty sure I traced through cinder to find what was setting it too, but it seems I didn't take notes on the patch like I usually would
14:05:42 lyarwood weird
14:07:49 lyarwood oh wait that's with the --bootable flag
14:08:02 lyarwood haha nice, I bet the osc command does it in two calls or something weird
14:08:40 stephenfin wdym?
14:10:12 lyarwood https://docs.openstack.org/api-ref/block-storage/v3/index.html?expanded=create-a-volume-detail#volumes-volumes - because c-api doesn't take bootable as an arg when creating the volume
14:12:34 lyarwood https://github.com/openstack/python-openstackclient/blob/4f358367986525625157bee164c694e65573c30c/openstackclient/volume/v2/volume.py#L231-L232 and yeah osc creates and then optionally marks it as bootable if you pass the flag
14:13:48 lyarwood https://github.com/openstack/nova/blob/dfda0c0482acf579452742860cec2bdd64ac616a/nova/block_device.py#L685-L686 is where n-api rejects it btw
14:21:22 stephenfin lyarwood: I'm still seeing the same behavior http://paste.openstack.org/show/807231/
14:22:12 stephenfin So if I create a volume from an image then the initial response from cinder is bootable='false', but this changes to bootable='true' once the volume is fully created
14:22:30 lyarwood yeah osc must be doing that
14:22:38 lyarwood that makes sense if you've passed --image
14:23:38 stephenfin Not that I can see
14:23:46 stephenfin and python-cinderclient isn't doing anything too funky either
14:23:53 lyarwood yeah weird, maybe c-api then, TIL
14:24:06 lyarwood and I wasn't passing --image so that's why I didn't see it
14:24:24 stephenfin ah, yes, I explicitly called that fact out https://review.opendev.org/c/openstack/nova/+/794007/4/doc/source/user/launch-instance-from-volume.rst#265
14:24:29 stephenfin Cinder makes a volume bootable when ``--image`` parameter is passed.

Earlier   Later