*** tetsuro has joined #openstack-nova | 00:01 | |
*** zhanglong has joined #openstack-nova | 00:04 | |
*** tetsuro_ has joined #openstack-nova | 00:06 | |
*** tetsuro has quit IRC | 00:10 | |
*** tetsuro_ has quit IRC | 00:16 | |
*** zhanglong has quit IRC | 00:18 | |
*** zhanglong has joined #openstack-nova | 00:20 | |
*** brinzhang_ has joined #openstack-nova | 00:24 | |
*** brinzhang0 has quit IRC | 00:27 | |
*** mvorwerk_ has joined #openstack-nova | 00:29 | |
*** mvorwerk has quit IRC | 00:30 | |
*** songwenping__ has joined #openstack-nova | 00:41 | |
*** songwenping_ has quit IRC | 00:44 | |
*** songwenping_ has joined #openstack-nova | 01:01 | |
openstackgerrit | Merged openstack/nova master: Removes the delta file once image is extracted https://review.opendev.org/734421 | 01:01 |
---|---|---|
openstackgerrit | Merged openstack/nova stable/rocky: Remove 'test_cold_migrate_with_physnet_fails' test https://review.opendev.org/703115 | 01:01 |
*** songwenping__ has quit IRC | 01:04 | |
*** jangutter_ has joined #openstack-nova | 01:43 | |
*** jangutter_ has quit IRC | 01:43 | |
*** jangutter_ has joined #openstack-nova | 01:43 | |
*** jangutter has quit IRC | 01:44 | |
*** gyee has quit IRC | 01:49 | |
*** sapd1 has joined #openstack-nova | 01:51 | |
*** zhanglong has quit IRC | 01:59 | |
*** zhanglong has joined #openstack-nova | 02:00 | |
*** brinzhang0 has joined #openstack-nova | 02:14 | |
*** songwenping__ has joined #openstack-nova | 02:14 | |
*** brinzhang_ has quit IRC | 02:17 | |
*** songwenping_ has quit IRC | 02:18 | |
*** songwenping_ has joined #openstack-nova | 02:25 | |
*** mkrai has joined #openstack-nova | 02:25 | |
openstackgerrit | Merged openstack/nova stable/rocky: Block rebuild when NUMA topology changed https://review.opendev.org/703116 | 02:28 |
*** songwenping__ has quit IRC | 02:28 | |
openstackgerrit | Merged openstack/nova stable/rocky: Disable NUMATopologyFilter on rebuild https://review.opendev.org/703117 | 02:30 |
openstackgerrit | Merged openstack/nova stable/rocky: FUP for in-place numa rebuild https://review.opendev.org/703118 | 02:30 |
openstackgerrit | Merged openstack/nova stable/pike: Fix os-simple-tenant-usage result order https://review.opendev.org/709600 | 02:36 |
*** songwenping__ has joined #openstack-nova | 02:44 | |
*** zhanglong has quit IRC | 02:46 | |
*** songwenping_ has quit IRC | 02:47 | |
*** zhanglong has joined #openstack-nova | 02:51 | |
*** sapd1 has quit IRC | 02:52 | |
*** hongbin has joined #openstack-nova | 03:15 | |
openstackgerrit | Xinliang Liu proposed openstack/nova master: Always pass image source info to ironic https://review.opendev.org/746626 | 03:16 |
*** songwenping_ has joined #openstack-nova | 03:34 | |
*** songwenping__ has quit IRC | 03:37 | |
*** zhanglong has quit IRC | 03:37 | |
*** psachin has joined #openstack-nova | 03:37 | |
*** dave-mccowan has quit IRC | 03:47 | |
*** mkrai has quit IRC | 03:47 | |
*** mkrai has joined #openstack-nova | 03:55 | |
*** sapd1 has joined #openstack-nova | 04:17 | |
*** tbachman has quit IRC | 04:20 | |
*** songwenping__ has joined #openstack-nova | 04:21 | |
*** songwenping_ has quit IRC | 04:24 | |
*** ratailor has joined #openstack-nova | 04:30 | |
*** evrardjp has quit IRC | 04:33 | |
*** evrardjp has joined #openstack-nova | 04:33 | |
*** hongbin has quit IRC | 04:39 | |
*** vishalmanchanda has joined #openstack-nova | 04:47 | |
*** zhanglong has joined #openstack-nova | 04:50 | |
*** tbachman has joined #openstack-nova | 05:18 | |
*** links has joined #openstack-nova | 05:26 | |
*** sapd1 has quit IRC | 05:28 | |
*** ociuhandu has joined #openstack-nova | 05:43 | |
*** songwenping_ has joined #openstack-nova | 05:44 | |
*** songwenping__ has quit IRC | 05:47 | |
*** ociuhandu has quit IRC | 05:47 | |
*** belmoreira has joined #openstack-nova | 05:56 | |
*** jsuchome has joined #openstack-nova | 06:24 | |
*** songwenping__ has joined #openstack-nova | 06:27 | |
*** happyhemant has joined #openstack-nova | 06:28 | |
*** songwenping_ has quit IRC | 06:31 | |
*** mvorwerk has joined #openstack-nova | 06:36 | |
*** mvorwerk_ has quit IRC | 06:38 | |
*** zhanglong has quit IRC | 06:43 | |
*** zhanglong has joined #openstack-nova | 06:45 | |
*** maciejjozefczyk has joined #openstack-nova | 06:46 | |
*** tetsuro has joined #openstack-nova | 06:51 | |
*** tetsuro has quit IRC | 07:01 | |
*** rcernin has quit IRC | 07:02 | |
*** sapd1 has joined #openstack-nova | 07:03 | |
*** zhanglong has quit IRC | 07:03 | |
*** rcernin has joined #openstack-nova | 07:03 | |
*** songwenping_ has joined #openstack-nova | 07:04 | |
*** maciejjozefczyk has quit IRC | 07:05 | |
*** slaweq has joined #openstack-nova | 07:06 | |
*** zhanglong has joined #openstack-nova | 07:07 | |
*** songwenping__ has quit IRC | 07:07 | |
*** tesseract has joined #openstack-nova | 07:07 | |
*** slaweq has quit IRC | 07:11 | |
*** kashyap has joined #openstack-nova | 07:11 | |
*** dklyle has quit IRC | 07:13 | |
*** zhanglong has quit IRC | 07:15 | |
*** slaweq has joined #openstack-nova | 07:16 | |
*** zhanglong has joined #openstack-nova | 07:18 | |
*** lpetrut has joined #openstack-nova | 07:23 | |
*** maciejjozefczyk has joined #openstack-nova | 07:24 | |
*** sapd1 has quit IRC | 07:38 | |
*** hongbin has joined #openstack-nova | 07:39 | |
*** tosky has joined #openstack-nova | 07:40 | |
*** tetsuro has joined #openstack-nova | 07:42 | |
*** hongbin has quit IRC | 07:43 | |
openstackgerrit | Luigi Toscano proposed openstack/python-novaclient master: zuul functional job: drop the custom playbooks https://review.opendev.org/746649 | 07:44 |
*** xek has joined #openstack-nova | 07:51 | |
*** tetsuro has quit IRC | 08:00 | |
*** songwenping__ has joined #openstack-nova | 08:01 | |
*** tetsuro has joined #openstack-nova | 08:01 | |
*** songwenping_ has quit IRC | 08:04 | |
*** tetsuro has quit IRC | 08:06 | |
*** ociuhandu has joined #openstack-nova | 08:06 | |
*** ociuhandu has quit IRC | 08:11 | |
*** sapd1 has joined #openstack-nova | 08:23 | |
*** songwenping_ has joined #openstack-nova | 08:24 | |
*** songwenping__ has quit IRC | 08:27 | |
*** rcernin has quit IRC | 08:34 | |
*** zhanglong has quit IRC | 08:34 | |
*** zhanglong has joined #openstack-nova | 08:34 | |
*** martinkennelly has joined #openstack-nova | 08:35 | |
*** priteau has joined #openstack-nova | 08:36 | |
*** ociuhandu has joined #openstack-nova | 08:37 | |
*** zhanglong has quit IRC | 08:38 | |
*** zhanglong has joined #openstack-nova | 08:40 | |
*** zhanglong has quit IRC | 08:51 | |
*** tetsuro has joined #openstack-nova | 08:52 | |
*** k_mouza has joined #openstack-nova | 08:55 | |
*** zhanglong has joined #openstack-nova | 08:55 | |
*** tetsuro_ has joined #openstack-nova | 08:57 | |
*** tetsuro has quit IRC | 08:59 | |
*** tetsuro has joined #openstack-nova | 09:03 | |
*** tetsuro_ has quit IRC | 09:06 | |
*** sapd1 has quit IRC | 09:09 | |
*** admin0 has joined #openstack-nova | 09:14 | |
*** songwenping__ has joined #openstack-nova | 09:14 | |
*** songwenping_ has quit IRC | 09:17 | |
admin0 | hi all .. in one new setup with ceph, in the logs, i see the claim successful .. but the instance is just kind of stuck in the spawn/build state .. i don't see any errors in nova .. this is the log from the hypervisor .. https://gist.github.com/a1git/c14bc9268f429f48169c6c050a605d0c | 09:20 |
admin0 | the instance stays in spawning state for hours like this . and is never created | 09:21 |
admin0 | system is all ubuntu 18.04 .. | 09:23 |
*** mvorwerk has quit IRC | 09:24 | |
*** mvorwerk has joined #openstack-nova | 09:25 | |
*** mkrai_ has joined #openstack-nova | 09:26 | |
*** mkrai has quit IRC | 09:29 | |
*** brinzhang_ has joined #openstack-nova | 09:34 | |
*** songwenping_ has joined #openstack-nova | 09:34 | |
lyarwood | admin0: Aug 18 04:09:12 h3 nova-compute[75006]: 2020-08-18 04:09:12.789 75006 DEBUG oslo_concurrency.processutils [req-61d78385-6bb2-4af2-aea9-f0942ef497b7 1be712988728425ea0060d3bf7ed7a1e 594a25f5acc346518cd6340ec8c36945 - default default] Running cmd (subprocess): rbd import --pool vms /var/lib/nova/instances/_base/ | 09:35 |
lyarwood | 85e55585a75fa020bfd46e25ab7aad9c7d360a41 fd14724b-8e52-49c9-b906-9f9a5ab5a651_disk --image-format=2 --id cinder --conf /etc/ceph/ceph.conf execute /openstack/venvs/nova-20.1.4/lib/python3.6/site-packages/oslo_concurrency/processutils.py: | 09:35 |
*** jangutter has joined #openstack-nova | 09:35 | |
lyarwood | ^ that's where it appears to get stuck | 09:35 |
lyarwood | importing the image into the local imagecache | 09:35 |
lyarwood | the env isn't using rbd for images FWIW, I'm not sure if you assume it is | 09:36 |
lyarwood | ah wait it is | 09:36 |
*** tetsuro has quit IRC | 09:36 | |
lyarwood | so it's importing into rbd from the imagecache | 09:37 |
*** tetsuro has joined #openstack-nova | 09:37 | |
*** brinzhang0 has quit IRC | 09:37 | |
admin0 | and the files are present in base | 09:37 |
lyarwood | stupid question but how big is /var/lib/nova/instances/_base/85e55585a75fa020bfd46e25ab7aad9c7d360a41 | 09:37 |
*** songwenping__ has quit IRC | 09:37 | |
admin0 | 1.1G | 09:38 |
*** martinkennelly has quit IRC | 09:38 | |
lyarwood | so nothing huge | 09:38 |
*** jangutter_ has quit IRC | 09:38 | |
admin0 | nothing .. i even tried it with a cirros image . stuck in the same way | 09:38 |
*** tetsuro has quit IRC | 09:39 | |
*** tetsuro has joined #openstack-nova | 09:39 | |
lyarwood | admin0: is glance using ceph as well? | 09:39 |
admin0 | it is | 09:39 |
admin0 | i have no issues uploading images to glance .. which i validated | 09:39 |
*** songwenping__ has joined #openstack-nova | 09:39 | |
lyarwood | admin0: try converting this image or the cirros image to RAW from qcow2 | 09:39 |
admin0 | creating volumes is also having no issues | 09:39 |
admin0 | hmm.. | 09:40 |
admin0 | ok .. let me try that way | 09:40 |
admin0 | i found a snippet : https://gist.github.com/winggundamth/7fe69a99ffcd1dfd14471101497b1407 | 09:40 |
lyarwood | yup so with RAW we can clone directly between rbd pools | 09:41 |
lyarwood | with qcow2 in stable/train that you appear to be using we download the image to the compute and upload to the vms pool | 09:41 |
*** songwenping_ has quit IRC | 09:42 | |
openstackgerrit | Mamduh proposed openstack/os-vif master: Update linux_net - Refactor code of linux_net to more cleaner and increase performace https://review.opendev.org/746673 | 09:46 |
*** tetsuro has quit IRC | 09:48 | |
*** Luzi has joined #openstack-nova | 09:53 | |
admin0 | lyarwood, https://gist.githubusercontent.com/a1git/78adef462d99eb88829006f36b988f6b/raw/03ffff0d17a94200f6ce4d2594c76f9c2f130890/gistfile1.txt -- this is using a 112mb cirros raw image | 09:54 |
admin0 | still in spawning state | 09:54 |
admin0 | i can confirm that from this server, if i copy a command like ceph df --format=json --id cinder --conf /etc/ceph/ceph.conf .. it works | 09:56 |
*** tkajinam has quit IRC | 09:58 | |
lyarwood | admin0: looks like the final thing it's doing again is a rbd import | 09:59 |
lyarwood | admin0: Aug 18 05:47:41 h1 nova-compute[74659]: 2020-08-18 05:47:41.882 74659 DEBUG oslo_concurrency.processutils [req-f72a63da-329e-45c4-b4dc-7728bb8d2b93 1be712988728425ea0060d3bf7ed7a1e 594a25f5acc346518cd6340ec8c36945 - default default] Running cmd (subprocess): rbd import --pool vms /var/lib/nova/instances/9ea7d4 | 09:59 |
lyarwood | admin0: I think that's the config drive | 10:00 |
lyarwood | hmmm odd | 10:00 |
admin0 | so removing config drive will fix this ? | 10:00 |
admin0 | i can give that a try also | 10:01 |
lyarwood | well it will allow an instance to spawn but there's an underlying issue with rbd import to address | 10:01 |
lyarwood | btw to keep the log snippets sane try grepping for the request-id listed in `openstack server event list $instance` next time | 10:03 |
lyarwood | it should limit the logs you need to look at to that instance and request to spawn etc | 10:04 |
lyarwood | brb | 10:04 |
*** zhanglong has quit IRC | 10:05 | |
admin0 | i only saw delete and create in the event | 10:07 |
admin0 | events: [{'event': 'compute__do_build_and_run_instance', 'start_time': '2020-08-18T09:47:36.000000', 'finish_time': None, 'result': None, 'traceback': None}] | 10:09 |
*** sapd1 has joined #openstack-nova | 10:14 | |
*** martinkennelly has joined #openstack-nova | 10:15 | |
*** ociuhandu has quit IRC | 10:17 | |
*** ociuhandu has joined #openstack-nova | 10:18 | |
admin0 | got it | 10:20 |
admin0 | how to grep using that specific instanceid | 10:20 |
lyarwood | admin0: it's the request-id that you want | 10:28 |
lyarwood | openstack server event list $instance | grep create | awk '{ print $2 }' | 10:28 |
*** songwenping_ has joined #openstack-nova | 10:34 | |
*** songwenping__ has quit IRC | 10:37 | |
admin0 | i am making change to remove the config drive to retry again | 10:42 |
admin0 | so config drives are not compatible with ceph ? | 10:42 |
lyarwood | admin0: they are but there's something broken in your env with regards to importing disks into rbd | 10:43 |
admin0 | is there any manual command i can try to validate this ? | 10:43 |
lyarwood | I'm not sure how you've deployed your env but try using rbd --import as the same user as is running nova-compute | 10:44 |
admin0 | its done using openstack-ansible | 10:44 |
admin0 | so the standard osa install | 10:45 |
admin0 | which has quiet frankly worked well in all past deployments .. but in this new one, it suddenly does not work and i am unable to figure out why | 10:45 |
lyarwood | kk I've never actually used OSA but that would be my way forward here, run the command as the same user and in the same place as nova-compute is running it | 10:46 |
lyarwood | and then throw on some additional -v flags (or whatever rbd uses) to debug | 10:46 |
lyarwood | sean-k-mooney: ^ when you're about | 10:47 |
admin0 | so basically will be to change nova.conf debug = true, grep the subprocess to capture the commands and then run the same commands again .. | 10:47 |
admin0 | i will give it a shot | 10:47 |
lyarwood | admin0: looks like you're already logging in DEBUG, but yeah. | 10:47 |
admin0 | its because it failed here :D | 10:48 |
lyarwood | admin0: you just need to be sure you're running the commands under the same user and path (assuming OSA isn't deploying containers?) | 10:48 |
admin0 | it is not | 10:48 |
lyarwood | kk | 10:48 |
admin0 | the containers are only in the controllers . but as far as i have seen the api does its job and its the hypervisor where its stuck | 10:48 |
lyarwood | yeah it's just the rbd import that's borked | 10:48 |
admin0 | is this the file which is the source of all these commands? https://opendev.org/openstack/nova/src/branch/master/nova/virt/libvirt/storage/rbd_utils.py | 10:52 |
lyarwood | admin0: https://opendev.org/openstack/nova/src/branch/stable/train/nova/virt/libvirt/storage/rbd_utils.py for the version you are running | 10:58 |
*** jangutter_ has joined #openstack-nova | 10:59 | |
admin0 | i removed the configdrive option .. checking once more | 10:59 |
admin0 | and all images are raw | 11:00 |
admin0 | lyarwood, it worked | 11:02 |
admin0 | finally its active now | 11:02 |
admin0 | removing config drive did the trick | 11:02 |
*** jangutter has quit IRC | 11:02 | |
admin0 | so if ceph is being used ( and cinder/glance/nova ) is in the same cluster, its recommended to use raw instead of qcow2 ? | 11:03 |
lyarwood | Yeah RAW instead of qcow2 to avoid the download and import | 11:04 |
lyarwood | but for config drives you can't avoid it, but they should be small and quick enough to import that it shouldn't be an issue | 11:04 |
*** mkrai_ has quit IRC | 11:05 | |
lyarwood | melwitt / johnthetubaguy / dansmith ; https://review.opendev.org/#/c/699291/ - thoughts on finally landing this from mriedem? | 11:07 |
jsuchome | lyarwood: hi, me again ... any chance for that job testing direct-rbd-download? | 11:08 |
lyarwood | jsuchome: yup still on my list | 11:09 |
admin0 | so 2 observations .. if i use a qcow image, they do not boot at all .. if i change to raw images, they show active in the horizon, and i can see the console, but they are stuck on boot "booting from hard drive .. " | 11:18 |
lyarwood | admin0: and these are cirros images? | 11:20 |
admin0 | yes | 11:20 |
admin0 | one is bionic, but the output is kind of similar | 11:20 |
admin0 | they are stuck on boot | 11:20 |
lyarwood | admin0: that smells like there's something really wrong with your ceph env then | 11:21 |
lyarwood | jsuchome: I think I'm going to try to test your change locally first instead of insisting on a job to exercise it | 11:22 |
lyarwood | jsuchome: so I don't hold this up any longer | 11:22 |
jsuchome | cool | 11:23 |
*** songwenping__ has joined #openstack-nova | 11:24 | |
* lyarwood deploys devstack with ENABLE_CEPH_NOVA=false | 11:25 | |
lyarwood | that I expect to fail tbh | 11:25 |
lyarwood | as the rbd devstack plugin is held togther with tape and chewing gum | 11:25 |
*** songwenping_ has quit IRC | 11:27 | |
openstackgerrit | Lee Yarwood proposed openstack/nova master: [goal] Prepare for job migration to Ubuntu Focal (20.04) https://review.opendev.org/738126 | 11:28 |
*** brinzhang0 has joined #openstack-nova | 11:34 | |
*** brinzhang_ has quit IRC | 11:36 | |
*** maciejjozefczyk has quit IRC | 11:45 | |
*** maciejjozefczyk has joined #openstack-nova | 11:46 | |
*** raildo has joined #openstack-nova | 11:48 | |
mnaser | lyarwood: we actually use it quite often for CI and it's been running quite OK for us | 12:01 |
mnaser | happy to help clean it up if need be | 12:01 |
*** dave-mccowan has joined #openstack-nova | 12:01 | |
lyarwood | mnaser: yeah apologies I didn't mean anything by that just that it has failed with a few non-standard deployment configs I've given it in the past :) | 12:03 |
lyarwood | this however worked AFAICT | 12:03 |
mnaser | Oh yeah no i agree that is is held together by tape though | 12:04 |
mnaser | I think it deploys Ceph 12.x | 12:04 |
mnaser | 3 major releases behind | 12:04 |
mnaser | Which isn’t ideal but eh, I don’t think anyone would like it if i made it implemented the latest release using cephadm which requires docker :p | 12:05 |
lyarwood | there appears to be some logic for that already in the plugin iirc | 12:05 |
lyarwood | but not for the latest and greatest release | 12:06 |
lyarwood | just the container part | 12:06 |
* lyarwood needs to drop offline, back later \o | 12:06 | |
*** songwenping_ has joined #openstack-nova | 12:14 | |
*** songwenping__ has quit IRC | 12:18 | |
*** zzzeek has quit IRC | 12:19 | |
*** zzzeek has joined #openstack-nova | 12:23 | |
*** songwenping__ has joined #openstack-nova | 12:39 | |
*** songwenping_ has quit IRC | 12:42 | |
*** psachin has quit IRC | 12:57 | |
stephenfin | sean-k-mooney: Have you any idea what sets this field during live migration? https://github.com/openstack/nova/blob/master/nova/objects/migrate_data.py#L41 | 13:06 |
*** priteau has quit IRC | 13:06 | |
kashyap | He should definitely know ... in the not-too-distant past I've seen Sean talk about VIF types. | 13:09 |
sean-k-mooney | oh hi one sec | 13:11 |
sean-k-mooney | stephenfin: yes i responed in the code review | 13:11 |
stephenfin | code review? | 13:11 |
sean-k-mooney | its set in the conducrot live migration task | 13:11 |
sean-k-mooney | there is a patch up related to a bug | 13:12 |
sean-k-mooney | i assume you were reviewing https://review.opendev.org/#/c/742180/ | 13:12 |
sean-k-mooney | for https://bugs.launchpad.net/nova/+bug/1888395 | 13:12 |
openstack | Launchpad bug 1888395 in OpenStack Compute (nova) "shared live migration of a vm with a vif is broken in train" [Undecided,In progress] - Assigned to Kirill Egorov (kegorov-progmaticlab) | 13:12 |
sean-k-mooney | the current patch makes incorrect assumtions | 13:12 |
stephenfin | ah, no, I'm trying to add functional tests for SR-IOV live migration | 13:12 |
sean-k-mooney | ah ok | 13:12 |
sean-k-mooney | stephenfin: https://github.com/openstack/nova/blob/d4c857dfcb1ccfa5410de55671e69c722bbc990e/nova/conductor/tasks/live_migrate.py#L377-L383 | 13:13 |
*** brinzhang_ has joined #openstack-nova | 13:13 | |
sean-k-mooney | we create new vifs that have the old vif object inside them then we populate the vif_type form the dest port binding | 13:13 |
sean-k-mooney | stephenfin: so its set here https://github.com/openstack/nova/blob/d4c857dfcb1ccfa5410de55671e69c722bbc990e/nova/conductor/tasks/live_migrate.py#L433-L436 | 13:14 |
sean-k-mooney | but since that uses setattr you would find it with grep | 13:14 |
stephenfin | setattr | 13:14 |
stephenfin | gfdi | 13:14 |
stephenfin | sean-k-mooney++ Thanks. Try as I may, I couldn't find that /o\ | 13:15 |
sean-k-mooney | three are only 4 fileds you could replace that with 4 lines | 13:15 |
stephenfin | I think I might. setattr kills discoverability | 13:15 |
sean-k-mooney | if there were more filed i might argue for settattr but its just vnic_type, vif_type, profile and details | 13:16 |
*** brinzhang0 has quit IRC | 13:17 | |
sean-k-mooney | thats not going to change without a neutron api change and a new microversion which will require a nova code change to use anyway | 13:17 |
*** sapd1 has quit IRC | 13:20 | |
sean-k-mooney | stephenfin: if your going to refactor it might be nice to drop this too https://github.com/openstack/nova/blob/d4c857dfcb1ccfa5410de55671e69c722bbc990e/nova/conductor/tasks/live_migrate.py#L372-L379 | 13:20 |
stephenfin | agreed | 13:20 |
sean-k-mooney | lyarwood: sorry you pinged me eairlier but i didnt have irc up on my monitor this morning. did you figure it out? | 13:26 |
sean-k-mooney | oh im not connected downstream either i must not have connect to the vpn | 13:26 |
*** mvorwerk has quit IRC | 13:27 | |
*** mvorwerk has joined #openstack-nova | 13:29 | |
*** Luzi has quit IRC | 13:34 | |
*** hongbin has joined #openstack-nova | 13:35 | |
*** nweinber has joined #openstack-nova | 13:39 | |
sean-k-mooney | stephenfin: https://review.opendev.org/#/c/728037/6 is in merge conflict so ill adress your nit and ping you to re review once done. | 13:41 |
sean-k-mooney | if im rebasing i might as well fix them now | 13:42 |
stephenfin | sean-k-mooney: cool | 13:44 |
stephenfin | sean-k-mooney: another question for you. The NeutronFixture isn't returning a vif_type key in the response to 'POST /v2.0/ports/{port_id}/bindings' | 13:45 |
stephenfin | Is that neutron's responsibility? Feel free to tell me to RTFM (I don't have an SR-IOV deployment to hand to experiment :() | 13:45 |
sean-k-mooney | yes the vif type can technicaly change on a migration but the vif type is set by the ml2 driver when it binds the port | 13:46 |
sean-k-mooney | stephenfin: can you show me the line | 13:46 |
stephenfin | This piece you linked earlier https://github.com/openstack/nova/blob/d4c857dfcb1ccfa5410de55671e69c722bbc990e/nova/conductor/tasks/live_migrate.py#L433-L436 | 13:47 |
sean-k-mooney | i ment the line in the fixture | 13:47 |
sean-k-mooney | i wanted to see what you have acess too | 13:47 |
stephenfin | Ohh | 13:47 |
stephenfin | Sec while I figure that out | 13:47 |
sean-k-mooney | you could copy it form the soruce vif | 13:47 |
sean-k-mooney | in the migrate vif objects | 13:48 |
sean-k-mooney | it can change but only if your migrating from like linux bridge hosts to ovs | 13:48 |
sean-k-mooney | for sriov it should not change although its techincially possible | 13:48 |
stephenfin | sean-k-mooney: https://github.com/openstack/nova/blob/master/nova/tests/fixtures.py#L1659-L1676 | 13:48 |
stephenfin | That's what the fixture is doing. It's rather dumb | 13:49 |
sean-k-mooney | if you went from say a hardware offloaded ovs to sriov host | 13:49 |
stephenfin | Okay, I have the port_id so I can use the stored details | 13:49 |
sean-k-mooney | ya it does jus tthe minium it needed too | 13:49 |
stephenfin | with a big note saying that stub doesn't allow you to switch backends | 13:49 |
stephenfin | if that sounds reasonable | 13:49 |
sean-k-mooney | self._port_bindings[port_id][host] | 13:49 |
*** tkajinam has joined #openstack-nova | 13:50 | |
sean-k-mooney | so you you likely can just look it up assuming [host] also has another entry for the souce node | 13:50 |
sean-k-mooney | so loop over self._port_bindings[port_id] and fine the one where the key is not euqal to host | 13:51 |
sean-k-mooney | then grab the info from that | 13:51 |
*** k_mouza has quit IRC | 13:51 | |
stephenfin | Good call | 13:51 |
* stephenfin tries that | 13:51 | |
*** k_mouza has joined #openstack-nova | 13:53 | |
sean-k-mooney | that wont always work but it should work in the migration case | 13:53 |
sean-k-mooney | so you will need to guard it with an if and only do it if the vif_type is not in the binding data i guess | 13:54 |
sean-k-mooney | actully it might work because reasons. | 13:56 |
sean-k-mooney | https://github.com/openstack/nova/blob/master/nova/tests/fixtures.py#L1573 that is where the vif_type is currently coming form in the fixture | 13:56 |
sean-k-mooney | well i guess htere are other places too | 13:57 |
sean-k-mooney | like here https://github.com/openstack/nova/blob/master/nova/tests/fixtures.py#L1357 | 13:57 |
sean-k-mooney | we build new ports form port 2 ^ https://github.com/openstack/nova/blob/master/nova/tests/fixtures.py#L1836-L1837 | 13:58 |
sean-k-mooney | the current sriov_port does not have the vif_type set | 13:59 |
sean-k-mooney | https://github.com/openstack/nova/blob/master/nova/tests/fixtures.py#L1448-L1469 | 13:59 |
*** mlavalle has joined #openstack-nova | 14:01 | |
stephenfin | turns out we don't currently set that self._port_bindings field for the first binding | 14:02 |
stephenfin | big TODOs from gibi | 14:02 |
* stephenfin goes to close off that TODO first | 14:02 | |
sean-k-mooney | actully looking at the neutron code the VIF_TYPE for sriov depned on the vnic_type | 14:03 |
sean-k-mooney | https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/drivers/mech_sriov/mech_driver/mech_driver.py#L81-L85 | 14:03 |
luyao | stephenfin: I split the vpmem enhencement patch to three and polish them with Alex's help, I'll appreciate that you review it again if you have time, thanks. https://review.opendev.org/#/c/714653/ | 14:03 |
stephenfin | luyao: Thanks for the reminder. I'll try get to that this evening or tomorrow :) | 14:04 |
luyao | stephenfin: Thank you in advance. :) | 14:04 |
sean-k-mooney | stephenfin: so its "hostdev_physical" for PFs and "hw_veb" for everyting else | 14:04 |
sean-k-mooney | VIF_TYPE_MACVTAP = 'macvtap' is not used for sriov its for the macvtap backend | 14:05 |
sean-k-mooney | so you can ignore that | 14:05 |
*** bbowen has joined #openstack-nova | 14:08 | |
*** bbowen_ has quit IRC | 14:10 | |
openstackgerrit | sean mooney proposed openstack/os-vif master: update tox envs and support pdf docs https://review.opendev.org/728037 | 14:13 |
*** brinzhang0 has joined #openstack-nova | 14:19 | |
*** davee_ has joined #openstack-nova | 14:20 | |
*** brinzhang_ has quit IRC | 14:21 | |
*** davee_ has quit IRC | 14:22 | |
*** songwenping_ has joined #openstack-nova | 14:24 | |
*** songwenping__ has quit IRC | 14:27 | |
*** bbowen_ has joined #openstack-nova | 14:28 | |
*** bbowen has quit IRC | 14:29 | |
*** mvorwerk has quit IRC | 14:33 | |
*** mvorwerk has joined #openstack-nova | 14:34 | |
iurygregory | hey nova folks =) in ironic we are trying to create specific flavors (according to the boot_option that is set on capabilities) and I'm facing some problems with No valid host since nova filters doesn't match https://zuul.opendev.org/t/openstack/build/65e4cb538b7149d48f0942e8639b9bb3/log/controller/logs/screen-n-sch.txt#864 any ideas on how I can solve this? =) | 14:35 |
iurygregory | I have the feeling I need to do something on tempest to make it work, https://review.opendev.org/741445 this is the patch I have | 14:35 |
iurygregory | and this one https://review.opendev.org/741886 tests the changes from tempest | 14:36 |
stephenfin | sean-k-mooney: that's correct XML for an SR-IOV VIF, right? http://paste.openstack.org/show/796916/ | 14:39 |
*** links has quit IRC | 14:42 | |
*** dklyle has joined #openstack-nova | 14:44 | |
*** songwenping__ has joined #openstack-nova | 14:44 | |
*** ratailor has quit IRC | 14:45 | |
sean-k-mooney | stephenfin: for vnic_type=direct yes that is the minimal xml although for a flat network | 14:46 |
sean-k-mooney | stephenfin: you can just create an instance of the config object and get it to render the xml if you want | 14:47 |
*** songwenping_ has quit IRC | 14:48 | |
*** lpetrut has quit IRC | 14:48 | |
stephenfin | So how is this supposed to work? https://github.com/openstack/nova/blob/master/nova/virt/libvirt/migration.py#L378 | 14:48 |
stephenfin | interface_dev is the lxml.etree representation of http://paste.openstack.org/show/796916/ | 14:49 |
stephenfin | so '.find('address') should read '.find('source/address')' (or whatever the correct incantation is), no? | 14:50 |
* stephenfin assumes not to say this works elsewhere | 14:50 | |
sean-k-mooney | stephenfin: let me check the libvirt docs | 14:50 |
sean-k-mooney | <interface type='bridge'> | 14:51 |
sean-k-mooney | <source bridge='br1'/> | 14:51 |
sean-k-mooney | <target dev='vnet7'/> | 14:51 |
sean-k-mooney | <mac address="00:11:22:33:44:55"/> | 14:51 |
sean-k-mooney | </interface> | 14:51 |
sean-k-mooney | addrss is in the mac eleemnt for linux bridge too | 14:51 |
sean-k-mooney | oh that is proably looking up the device by pci adress? | 14:53 |
stephenfin | yeah, this is PCI address | 14:53 |
sean-k-mooney | the target pci adress? | 14:53 |
sean-k-mooney | something like this <address type='pci' domain='0' bus='0' slot='4' function='0' multifunction='on'/> | 14:54 |
stephenfin | yup | 14:54 |
stephenfin | The comment says "Save off the hw address and MTU presented to the guest since that can't change during live migration." | 14:54 |
stephenfin | but the place it's getting the hw address from seems wrong :-\ | 14:54 |
sean-k-mooney | the hardware adress normaly means mac address | 14:54 |
sean-k-mooney | interface_nodes = xml_doc.findall('./devices/interface') | 14:55 |
sean-k-mooney | so ya that looking for an address element in the interface | 14:55 |
sean-k-mooney | but they could be saving the guest pci address | 14:55 |
sean-k-mooney | this is populated by libvirt | 14:55 |
sean-k-mooney | let me check a vm quickly | 14:56 |
stephenfin | ah, so there are multiple address. Okay, that makes sense. | 14:56 |
stephenfin | *address elements | 14:56 |
sean-k-mooney | yes there is a top level one for the target adress to present the device in the guest | 14:56 |
sean-k-mooney | and then a sub elemen inside the source element which is the host address | 14:56 |
stephenfin | and parsing code for it here https://github.com/openstack/nova/blob/master/nova/virt/libvirt/config.py#L1891-L1893 | 14:57 |
*** mkrai has joined #openstack-nova | 14:57 | |
stephenfin | so bad mocks again | 14:57 |
* stephenfin keeps digging | 14:57 | |
sean-k-mooney | http://paste.openstack.org/show/796917/ | 14:57 |
*** belmoreira has quit IRC | 14:57 | |
sean-k-mooney | that is what an ovs interface looks like | 14:57 |
sean-k-mooney | if needed i can stack my sriov host but it will looke more or less the same | 14:58 |
sean-k-mooney | its getting the element as line 11 | 14:58 |
stephenfin | sean-k-mooney++ ta | 14:59 |
stephenfin | definitely bad mocks so | 14:59 |
sean-k-mooney | stephenfin: the xml will be different depeing on what vnic type your dealing with by the way | 15:00 |
sean-k-mooney | vnic_type=direct use <interface type=hostdev> with a source address and top level address | 15:01 |
sean-k-mooney | vnic_type=macvtap use <interface type=direct> with a source netdev and top level address | 15:01 |
stephenfin | there's our incomplete mock https://github.com/openstack/nova/blob/master/nova/tests/unit/virt/libvirt/fakelibvirt.py#L1132-L1140 | 15:01 |
sean-k-mooney | vnic_type=direct-physical uses <hostdev> with two addresses | 15:02 |
sean-k-mooney | stephenfin: well its not incomplete | 15:02 |
sean-k-mooney | stephenfin: we dont set the adress elements | 15:02 |
sean-k-mooney | stephenfin: libvirt adds them | 15:02 |
sean-k-mooney | so for unit tests that actully correct | 15:03 |
stephenfin | Fair | 15:03 |
sean-k-mooney | that said you can poroably just add the address element and increment the pci address for each device | 15:03 |
sean-k-mooney | i dont think that matters too much | 15:04 |
openstackgerrit | Luigi Toscano proposed openstack/python-novaclient master: zuul functional job: drop the custom playbooks https://review.opendev.org/746649 | 15:04 |
*** priteau has joined #openstack-nova | 15:04 | |
sean-k-mooney | stephenfin: if it helps with the functial tests and its not too intrusive you might as well make it emulate the populated behvior we see when w read it back | 15:05 |
*** vishalmanchanda has quit IRC | 15:06 | |
*** mkrai has quit IRC | 15:10 | |
*** mkrai_ has joined #openstack-nova | 15:10 | |
*** jangutter_ is now known as jangutter | 15:12 | |
*** sapd1 has joined #openstack-nova | 15:12 | |
*** gyee has joined #openstack-nova | 15:16 | |
*** lpetrut has joined #openstack-nova | 15:23 | |
*** mvorwerk has quit IRC | 15:24 | |
mnaser | lyarwood: i jinxed it, it's broken -- python3-rbd : Depends: librbd1 (>= 14.2.11-1bionic) but 12.2.13-0ubuntu0.18.04.2 is to be installed | 15:32 |
*** songwenping_ has joined #openstack-nova | 15:33 | |
*** songwenping_ has quit IRC | 15:34 | |
*** songwenping_ has joined #openstack-nova | 15:35 | |
*** songwenping__ has quit IRC | 15:37 | |
*** hongbin has quit IRC | 15:40 | |
*** songwenping_ has quit IRC | 15:43 | |
*** songwenping_ has joined #openstack-nova | 15:44 | |
*** brinzhang_ has joined #openstack-nova | 15:48 | |
*** songwenping__ has joined #openstack-nova | 15:48 | |
*** songwenping_ has quit IRC | 15:51 | |
*** brinzhang0 has quit IRC | 15:51 | |
sean-k-mooney | stephenfin: just passed zull https://review.opendev.org/#/c/728037/ when you have time to re+2 | 15:54 |
stephenfin | sean-k-mooney: done | 16:14 |
*** tesseract has quit IRC | 16:19 | |
sean-k-mooney | stephenfin: thanks :) | 16:30 |
*** mkrai_ has quit IRC | 16:34 | |
*** brinzhang0 has joined #openstack-nova | 16:39 | |
*** brinzhang_ has quit IRC | 16:42 | |
openstackgerrit | Douglas Mendizábal proposed openstack/nova master: Fix indentation nits https://review.opendev.org/746765 | 16:44 |
*** sapd1 has quit IRC | 16:54 | |
*** ociuhandu has quit IRC | 17:03 | |
*** k_mouza has quit IRC | 17:04 | |
*** songwenping_ has joined #openstack-nova | 17:14 | |
*** mkrai has joined #openstack-nova | 17:15 | |
*** songwenping__ has quit IRC | 17:17 | |
*** ociuhandu has joined #openstack-nova | 17:17 | |
*** ociuhandu has quit IRC | 17:22 | |
*** lpetrut has quit IRC | 17:29 | |
*** songwenping__ has joined #openstack-nova | 17:34 | |
*** songwenping_ has quit IRC | 17:38 | |
*** mkrai has quit IRC | 17:54 | |
openstackgerrit | Merged openstack/nova master: Remove six.PY2 and six.PY3 https://review.opendev.org/726512 | 17:58 |
openstackgerrit | Merged openstack/nova master: Remove six.add_metaclass https://review.opendev.org/726565 | 17:58 |
openstackgerrit | Merged openstack/nova master: Remove six.reraise https://review.opendev.org/726898 | 17:58 |
*** mriedem has joined #openstack-nova | 18:09 | |
*** _erlon_ has joined #openstack-nova | 18:17 | |
*** songwenping_ has joined #openstack-nova | 18:24 | |
*** songwenping__ has quit IRC | 18:27 | |
*** songwenping__ has joined #openstack-nova | 18:34 | |
*** songwenping_ has quit IRC | 18:37 | |
*** luyao has quit IRC | 19:01 | |
*** arne_wiebalck has quit IRC | 19:01 | |
lyarwood | stephenfin: still about? | 19:03 |
lyarwood | stephenfin: https://review.opendev.org/#/c/746210/ can you yank that out of the gate and I'll address the style nits | 19:03 |
*** jsuchome has quit IRC | 19:04 | |
lyarwood | hmm actually if I just push another PS that should do it | 19:05 |
*** luyao has joined #openstack-nova | 19:05 | |
*** arne_wiebalck has joined #openstack-nova | 19:09 | |
openstackgerrit | Lee Yarwood proposed openstack/nova master: libvirt: Do not reference VIR_ERR_DEVICE_MISSING when libvirt is < v4.1.0 https://review.opendev.org/746210 | 19:10 |
lyarwood | ^ melwitt / dansmith / stephenfin ; ^ dropped the newline stuff, something to talk about at the PTG anyway as we've landed lots of this from stephenfin already this cycle :) | 19:12 |
lyarwood | there doesn't appear to be a pep8 rule for this btw so I'm not sure how we'd enforce this either way | 19:13 |
*** k_mouza has joined #openstack-nova | 19:14 | |
*** k_mouza has quit IRC | 19:17 | |
*** suryasingh has quit IRC | 19:26 | |
*** mriedem has left #openstack-nova | 19:37 | |
*** dustinc has joined #openstack-nova | 19:39 | |
*** mvorwerk has joined #openstack-nova | 19:41 | |
*** priteau has quit IRC | 19:44 | |
openstackgerrit | Lee Yarwood proposed openstack/nova master: DNM zuul: Enable [glance]/allowed_direct_url_schemes within nova-ceph-multistore https://review.opendev.org/743220 | 19:44 |
*** brinzhang_ has joined #openstack-nova | 19:44 | |
*** brinzhang0 has quit IRC | 19:47 | |
*** ociuhandu has joined #openstack-nova | 19:58 | |
*** ociuhandu has quit IRC | 20:02 | |
*** martinkennelly has quit IRC | 20:04 | |
*** martinkennelly has joined #openstack-nova | 20:04 | |
*** happyhemant has quit IRC | 20:11 | |
iurygregory | hey nova folks =) in ironic we are trying to create specific flavors (according to the boot_option that is set on capabilities) and I'm facing some problems with No valid host since nova filters doesn't match https://zuul.opendev.org/t/openstack/build/65e4cb538b7149d48f0942e8639b9bb3/log/controller/logs/screen-n-sch.txt#864 any ideas on how I can solve this? =) | 20:22 |
iurygregory | I have the feeling I need to do something on tempest to make it work but I have no idea what it would be =) (metadata didn't work) , https://review.opendev.org/741445 | 20:22 |
iurygregory | in this one https://review.opendev.org/741886 I'm testing the changes from tempest | 20:23 |
*** songwenping_ has joined #openstack-nova | 20:24 | |
*** brinzhang0 has joined #openstack-nova | 20:25 | |
*** songwenping__ has quit IRC | 20:26 | |
*** brinzhang_ has quit IRC | 20:28 | |
*** nweinber has quit IRC | 20:30 | |
*** songwenping_ has quit IRC | 20:31 | |
*** songwenping_ has joined #openstack-nova | 20:32 | |
sean-k-mooney | iurygregory: what did the flavor look like | 20:51 |
sean-k-mooney | "cpu_arch"="$ironic_node_arch" | 20:52 |
sean-k-mooney | that is proaby the issue | 20:52 |
sean-k-mooney | that has no prifix so the compute capablity filter will match on it | 20:52 |
sean-k-mooney | using un namespaced extra specs is discuraged | 20:52 |
sean-k-mooney | it should not be done if usign either the compute capablity filter or aggreate instance extra specs filter | 20:53 |
sean-k-mooney | iurygregory: did you add the capablites to the host. can you point to them in any of the logs | 20:55 |
sean-k-mooney | it just looks like they dont match but there is very little to go on | 20:56 |
*** martinkennelly has quit IRC | 20:57 | |
*** mvorwerk has quit IRC | 20:59 | |
openstackgerrit | Douglas Mendizábal proposed openstack/nova stable/train: Allow TLS ciphers/protocols to be configurable for console proxies https://review.opendev.org/746798 | 21:06 |
iurygregory | shummm | 21:12 |
iurygregory | let me check here sean-k-mooney | 21:12 |
*** _erlon_ has quit IRC | 21:12 | |
iurygregory | we are creating the flavors in https://review.opendev.org/#/c/741886/9/devstack/lib/ironic | 21:12 |
sean-k-mooney | yep but where are you setting the capablities on the compute nodes | 21:13 |
sean-k-mooney | i assume that is done via ironic | 21:13 |
iurygregory | the additional thing is that now our flavors will have the capabilities:boot_option=local/netboot | 21:13 |
iurygregory | we also set in the ironic node | 21:13 |
sean-k-mooney | right which will enable the computecablities filter | 21:13 |
iurygregory | so it would match | 21:13 |
sean-k-mooney | can you show in the logs that they are being set | 21:14 |
*** raildo has quit IRC | 21:14 | |
sean-k-mooney | https://zuul.opendev.org/t/openstack/build/65e4cb538b7149d48f0942e8639b9bb3/log/controller/logs/devstacklog.txt#30847 | 21:16 |
openstackgerrit | Douglas Mendizábal proposed openstack/nova stable/stein: Allow TLS ciphers/protocols to be configurable for console proxies https://review.opendev.org/746800 | 21:16 |
sean-k-mooney | iurygregory: uefi is beeing set | 21:16 |
iurygregory | sean-k-mooney, this job is with uefi | 21:17 |
sean-k-mooney | iurygregory: but i dont see the boot_option | 21:17 |
iurygregory | oh O.o | 21:17 |
sean-k-mooney | https://zuul.opendev.org/t/openstack/build/65e4cb538b7149d48f0942e8639b9bb3/log/controller/logs/devstacklog.txt#31101 | 21:18 |
*** rcernin has joined #openstack-nova | 21:18 | |
sean-k-mooney | that is the only use of capabilities:boot_option=netboot | 21:18 |
iurygregory | oh it's because tempest was suposed to update ... | 21:19 |
iurygregory | with the patch https://review.opendev.org/#/c/741445/23/ironic_tempest_plugin/tests/scenario/baremetal_manager.py | 21:19 |
iurygregory | I thought this was working o.o | 21:19 |
sean-k-mooney | the ironic_tempest_plugin was installed form pip | 21:20 |
sean-k-mooney | https://zuul.opendev.org/t/openstack/build/65e4cb538b7149d48f0942e8639b9bb3/log/controller/logs/devstacklog.txt#32985-32988 | 21:20 |
sean-k-mooney | i think | 21:20 |
sean-k-mooney | actully maybe not | 21:21 |
sean-k-mooney | iurygregory: what repo is this job defined in | 21:21 |
sean-k-mooney | ironic? | 21:21 |
iurygregory | sean-k-mooney, yeah | 21:21 |
sean-k-mooney | im wondiering it it listed as a require_project | 21:22 |
sean-k-mooney | withiout that depends-on does not work | 21:22 |
iurygregory | it does have Depends-On | 21:22 |
iurygregory | ironic has Depends-On on the ironic-tempest-plugin change | 21:22 |
iurygregory | tempest https://review.opendev.org/#/c/741445 ironic https://review.opendev.org/#/c/741886 | 21:23 |
sean-k-mooney | yep but yyou need to add https://github.com/openstack/ironic/blob/master/zuul.d/ironic-jobs.yaml#L13 to the job or it does not work | 21:23 |
sean-k-mooney | in this case its there | 21:23 |
sean-k-mooney | so this plugin is being instealled in the tempet virtual env | 21:25 |
sean-k-mooney | https://zuul.opendev.org/t/openstack/build/65e4cb538b7149d48f0942e8639b9bb3/log/controller/logs/devstacklog.txt#32903-32924 | 21:25 |
iurygregory | yeah, seems like tempest is not updating the node with the boot_option... | 21:26 |
sean-k-mooney | i think its correctly installing it tox -evenv-tempest -- pip install -c /tmp/tempest_u_c_m.37WJbEB0sa /opt/stack/ironic-tempest-plugin | 21:26 |
sean-k-mooney | that using the version cloned by zuul | 21:26 |
*** xek has quit IRC | 21:26 | |
sean-k-mooney | iurygregory: have you defiend the required tempest config options | 21:28 |
iurygregory | yeah the version installed is correct (at least the logs shows "23adec07f1d5998951fe841cd68989c6d85f7d98 Update basic_ops" | 21:28 |
iurygregory | yeah, I checked the config and it does look correct | 21:28 |
iurygregory | I double checked with the job-output.txt the flavors are correct | 21:30 |
sean-k-mooney | https://zuul.opendev.org/t/openstack/build/65e4cb538b7149d48f0942e8639b9bb3/log/controller/logs/tempest_conf.txt#141-144 | 21:30 |
iurygregory | uuid etc | 21:30 |
sean-k-mooney | so ya it looks like they are set correctly | 21:30 |
sean-k-mooney | so this is what is ment to set the caps https://review.opendev.org/#/c/741445/23/ironic_tempest_plugin/tests/scenario/baremetal_manager.py@205 | 21:31 |
sean-k-mooney | https://review.opendev.org/#/c/741445/23/ironic_tempest_plugin/tests/scenario/baremetal_manager.py@174 | 21:32 |
sean-k-mooney | by default it does not set teh caps | 21:32 |
iurygregory | yeah, but the test sends True | 21:33 |
iurygregory | https://review.opendev.org/#/c/741445/23/ironic_tempest_plugin/tests/scenario/test_baremetal_basic_ops.py@208 | 21:33 |
*** songwenping__ has joined #openstack-nova | 21:33 | |
sean-k-mooney | yes https://review.opendev.org/#/c/741445/23/ironic_tempest_plugin/tests/scenario/test_baremetal_basic_ops.py@208 | 21:33 |
iurygregory | at least it should send =) | 21:34 |
sean-k-mooney | does the compute capablity filter requrie all cap to be requested | 21:35 |
*** rcernin has quit IRC | 21:35 | |
iurygregory | this information I don't know =) | 21:35 |
sean-k-mooney | i was wonderinf it the default falvor was failing but no | 21:36 |
sean-k-mooney | the only failing tests are teh new ones | 21:36 |
*** songwenping_ has quit IRC | 21:36 | |
sean-k-mooney | well actully | 21:36 |
sean-k-mooney | https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_65e/741886/9/check/ironic-tempest-ipa-partition-uefi-pxe_ipmitool/65e4cb5/testr_results.html | 21:36 |
sean-k-mooney | only 2 tests failed | 21:36 |
iurygregory | yeah | 21:37 |
iurygregory | the ones I did the changes and require the new flavor etc =) | 21:37 |
sean-k-mooney | well you added https://review.opendev.org/#/c/741445/23/ironic_tempest_plugin/tests/scenario/test_baremetal_basic_ops.py@320 | 21:38 |
sean-k-mooney | whic passed | 21:38 |
sean-k-mooney | that looks like it can use the new code | 21:38 |
sean-k-mooney | oh that was skipped | 21:39 |
iurygregory | I'm not sure where did you see that test_baremetal_server_ops_wholedisk_image passed o.o | 21:39 |
iurygregory | oh =) | 21:40 |
sean-k-mooney | im guessing rescure is not enabled or something like that | 21:40 |
iurygregory | because rescue wasn't enable so it will skip | 21:40 |
sean-k-mooney | yep | 21:40 |
iurygregory | we are trying to make our jobs test partition and wholedisk images at the same time, so we can remove some jobs | 21:41 |
sean-k-mooney | so this is wehre the caps are currently configured | 21:43 |
sean-k-mooney | https://github.com/openstack/ironic/blob/master/devstack/lib/ironic#L2293-L2307 | 21:43 |
sean-k-mooney | staticly in devstack | 21:43 |
sean-k-mooney | well it goes on longer | 21:43 |
sean-k-mooney | https://github.com/openstack/ironic/blob/master/devstack/lib/ironic#L2293-L2344 | 21:43 |
iurygregory | yeah | 21:45 |
iurygregory | but tempest should be able to just go and update | 21:45 |
iurygregory | .-. | 21:45 |
sean-k-mooney | well | 21:45 |
iurygregory | or nope? | 21:45 |
sean-k-mooney | its updating them after it creates the instance | 21:45 |
sean-k-mooney | https://review.opendev.org/#/c/741445/23/ironic_tempest_plugin/tests/scenario/baremetal_manager.py@190 | 21:46 |
sean-k-mooney | https://review.opendev.org/#/c/741445/23/ironic_tempest_plugin/tests/scenario/baremetal_manager.py@197 | 21:46 |
sean-k-mooney | the node is not update until 205 | 21:46 |
sean-k-mooney | so you need to do it before creating the nova instance | 21:47 |
sean-k-mooney | so move it to 183 | 21:47 |
iurygregory | wow | 21:47 |
sean-k-mooney | am i reading that right | 21:48 |
iurygregory | this would be strange | 21:48 |
iurygregory | since nova is doing the things with the ironic virt driver | 21:49 |
iurygregory | the node is only ready on line 228 | 21:49 |
sean-k-mooney | how do you mean | 21:49 |
iurygregory | when nova is enable it uses the nova.virt.ironic https://opendev.org/openstack/nova/src/branch/master/nova/virt/ironic/ | 21:50 |
sean-k-mooney | well right now everything that happens after 200 | 21:50 |
sean-k-mooney | is waiting for ironcit to finish proviioning the servier | 21:50 |
sean-k-mooney | but you need to add the cabpiltiy before calling nova | 21:50 |
iurygregory | hummm | 21:51 |
sean-k-mooney | so the cap need to be set on one of the hosts before nova tries to find a node using the flavor | 21:51 |
iurygregory | so if I set on devstack/lib/ironic to grab one node and set it will work | 21:52 |
sean-k-mooney | this test also cant run in parallel with other tests since its cahanging capablities | 21:52 |
*** rcernin has joined #openstack-nova | 21:52 | |
sean-k-mooney | sure it proably will work | 21:52 |
sean-k-mooney | to test both case in 1 job you would need two ironic compute nodes | 21:53 |
sean-k-mooney | then hard code one to each boot mode | 21:53 |
*** brinzhang_ has joined #openstack-nova | 21:54 | |
iurygregory | yeah | 21:55 |
iurygregory | tks for the help sean-k-mooney =) | 21:55 |
*** brinzhang0 has quit IRC | 21:56 | |
*** rcernin has quit IRC | 21:57 | |
*** rcernin has joined #openstack-nova | 22:09 | |
*** rcernin has quit IRC | 22:09 | |
*** brinzhang0 has joined #openstack-nova | 22:14 | |
*** brinzhang_ has quit IRC | 22:17 | |
*** tosky has quit IRC | 22:18 | |
*** songwenping_ has joined #openstack-nova | 22:24 | |
*** songwenping__ has quit IRC | 22:28 | |
*** rcernin has joined #openstack-nova | 22:33 | |
*** mlavalle has quit IRC | 22:33 | |
*** pas-ha has quit IRC | 22:42 | |
*** csatari has quit IRC | 22:43 | |
*** knikolla has quit IRC | 22:43 | |
*** csatari has joined #openstack-nova | 22:55 | |
*** pas-ha has joined #openstack-nova | 22:55 | |
*** knikolla has joined #openstack-nova | 22:56 | |
*** JamesBenson has joined #openstack-nova | 23:10 | |
*** songwenping__ has joined #openstack-nova | 23:24 | |
*** songwenping_ has quit IRC | 23:27 | |
*** slaweq has quit IRC | 23:33 | |
*** songwenping_ has joined #openstack-nova | 23:43 | |
*** brinzhang_ has joined #openstack-nova | 23:44 | |
*** songwenping__ has quit IRC | 23:46 | |
*** brinzhang0 has quit IRC | 23:47 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!