| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2020-03-13 | |||
| 12:48:27 | mnaser | has anyne seen this in nova's ci? | |
| 12:48:30 | mnaser | libvirt.libvirtError: Requested operation is not valid: format of backing image '/var/lib/nova/instances/_base/791111176e5cb97db82b0a71a670431f65838a05' of image '/var/lib/nova/instances/ff811290-bbb0-4d30-b1e7-ee9aec4913ee/disk' was not specified in the image metadata (See https://libvirt.org/kbase/backing_chains.html for troubleshooting) | |
| 12:48:51 | mnaser | OSA's jobs are failing with that and i wonder if its because the libvirt version with bionic is different... maybe | |
| 12:50:21 | openstack | bugzilla.redhat.com bug 1798148 in libvirt "Regression: Requested operation is not valid: format of backing image ... was not specified in the image metadata" [Unspecified,On_qa] - Assigned to pkrempa | |
| 12:50:21 | mnaser | i fonud this - https://bugzilla.redhat.com/show_bug.cgi?id=1798148 | |
| 12:50:51 | openstack | Launchpad bug 1864020 in OpenStack Compute (nova) "libvirt.libvirtError: Requested operation is not valid: format of backing image %s of image %s was not specified in the image metadata (See https://libvirt.org/kbase/backing_chains.html for troubleshooting)" [Undecided,In progress] - Assigned to Lee Yarwood (lyarwood) | |
| 12:50:51 | mnaser | ok i see https://bugs.launchpad.net/nova/+bug/1864020 | |
| 13:03:19 | lyarwood | mnaser: yeah that should be resolved now | |
| 13:05:13 | mnaser | lyarwood: cool, we are bumping our versions which should help with this in OSA. thanks for looking into it! | |
| 13:06:58 | lyarwood | mnaser: np, which jobs hit this in OSA btw? You need a very recent version of libvirt to hit this. | |
| 13:10:10 | sean-k-mooney | gibi: efried_gone https://review.opendev.org/#/c/676522/44/nova/compute/resource_tracker.py@1738 i think that adresses the duplicate resouce provider definitons in different yaml files | |
| 13:10:47 | sean-k-mooney | also is efried_gone gone permently now or will erric be back before he finishes his current role | |
| 13:17:12 | gibi | sean-k-mooney: i will look at the provider series next week. thanks for taking it over | |
| 13:17:48 | sean-k-mooney | gibi: no rush bar m3, i still need to adress the final patch and then look at the testing | |
| 13:18:11 | sean-k-mooney | i think i covered the main funcitonal changes already however | |
| 13:18:48 | gibi | sean-k-mooney: ack | |
| 13:19:18 | gibi | m3 is in 4 weeks | |
| 13:19:39 | sean-k-mooney | yep so no rush | |
| 13:19:49 | gibi | sh*t i have to fix up the qos series too til | |
| 13:20:18 | gibi | anyhow I expect a rush of reviews at m3 as usual | |
| 13:22:18 | efried_gone | sean-k-mooney: I'm gone gone. Spending maybe a few minutes a day paying attention to OpenStack stuff. | |
| 13:22:56 | sean-k-mooney | cool good to know. ill miss having you around | |
| 13:48:20 | kashyap | efried_gone: Was good knowing you; see you on the Other Side(tm). | |
| 13:48:49 | kashyap | And thanks for all the outstanding (as in, excellent, not "remaining") work! ;-) | |
| 13:49:11 | kashyap | mnaser: Hey, yes... | |
| 13:49:42 | kashyap | mnaser: That issue known due to a libvirt regression, as lyarwood got a patch merged to solve it in Nova -- which is the right thing to do _anyway) | |
| 13:50:05 | kashyap | mnaser: See this one: | |
| 13:50:32 | stephenfin | lyarwood, smcginnis: Think you folks could hit this backport from elod today? It fixes issues with failing tests seen in other backports :) https://review.opendev.org/#/c/712751/ | |
| 13:50:36 | kashyap | mnaser: https://review.opendev.org/#/c/708745/ ("libvirt: Provide the backing file format when creating qcow2 disks") | |
| 13:50:44 | kashyap | mnaser: It's merged in master, Train backport in-progress. | |
| 13:50:45 | stephenfin | (like this one https://review.opendev.org/#/c/711670/) | |
| 13:51:02 | kashyap | Oh, lyarwood already answered it; silly me. I should read the scrollback in full before spamming the channel. | |
| 14:02:59 | lyarwood | kashyap: looking | |
| 14:03:04 | lyarwood | kashyap: ah this one | |
| 14:03:07 | brinzhang | stephenfin: https://review.opendev.org/#/c/712651/ could please check this patch of novaclient? I add a PATCH ``volume-patch`` CLI, debug it, and not found where is wrong | |
| 14:03:23 | kashyap | lyarwood: Yeah, sorry for the noise. | |
| 14:05:45 | lyarwood | stephenfin: ack I'll take a swing later today | |
| 14:10:28 | stephenfin | brinzhang: You need to add a 'patch_servers_1234_os_volume_attachments_Work' method to 'FakeSessionClient' in 'novaclient/tests/unit/v2/fakes.py' | |
| 14:11:04 | stephenfin | with a response mocking what you'd see from nova-api | |
| 14:13:17 | brinzhang | stephenfin: cools, thanks, yep, I will try, I missing that response in 'FakeSessionClient' | |
| 14:17:01 | sean-k-mooney | stephenfin: i cant cross link to source code form nova docs right | |
| 14:17:02 | brinzhang | stephenfin: thanks, I will complete its unit tests, and then update ^^ | |
| 14:17:36 | stephenfin | sean-k-mooney: Only if the code is autodoc'd somewhere, and I think only the notifier stuff falls in that bracket | |
| 14:18:02 | stephenfin | I _think_ you should still be able to use e.g. :py:method:`nova.foo.bar` but it won't resolve to anything | |
| 14:18:05 | sean-k-mooney | stephenfin: ok in that case i think ill have to link to opendev/github | |
| 14:18:47 | sean-k-mooney | stephenfin: context is https://review.opendev.org/#/c/693460/18/doc/source/admin/managing-resource-providers.rst,unified@66 | |
| 14:19:07 | sean-k-mooney | just trying to figure out how i would go ablout liking to the schem file for the provider.yaml validation | |
| 14:19:47 | sean-k-mooney | i think an external link is the only way to do it so ill figure out what the opendev path would be | |
| 14:19:49 | stephenfin | you could just '.. include' it | |
| 14:20:15 | sean-k-mooney | oh i didnt know you could do that am ill try | |
| 14:24:37 | brinzhang | johnthetubaguy: I resolved the os-instance-actions policy issue, and granular the GET API, pls review again. https://review.opendev.org/#/c/706470/ | |
| 14:55:01 | dansmith | brinzhang: assume you saw this right? https://review.opendev.org/#/c/712697/ | |
| 14:55:54 | brinzhang | dansmith: yeah, I have seen it, but I am not very understand why | |
| 14:56:14 | brinzhang | dansmith: so I am not update my patch :( | |
| 14:56:24 | dansmith | brinzhang: understand why what? | |
| 14:58:12 | openstackgerrit | Lee Yarwood proposed openstack/nova master: libvirt: Use virDomainBlockCopy to swap volumes with Libvirt >= 5.10.0 https://review.opendev.org/696834 | |
| 14:58:34 | dansmith | brinzhang: your patch needs to be rebased on top of that, but otherwise there isn't much you need to do I think | |
| 14:58:36 | brinzhang | dansmith: no, I am still confusing of that change ... | |
| 14:59:40 | brinzhang | I don't seem to grasp the main reason for doing this. | |
| 14:59:57 | brinzhang | I think that's why I am confusing | |
| 15:00:20 | dansmith | brinzhang: the main reason for doing the "format_message()" instead of just "str(e)" ? | |
| 15:00:21 | sean-k-mooney | brinzhang: to not leak sensitive infomation to end users when there are errors | |
| 15:01:09 | brinzhang | <sean-k-mooney> yeah, I know, but can you give me a example? | |
| 15:01:13 | dansmith | yes, | |
| 15:01:26 | brinzhang | I think I need a sample to understand this well | |
| 15:01:30 | dansmith | we had a ceph exception which was something like "Failed to connect to 12.34.56.78" | |
| 15:01:44 | brinzhang | s/example/sample | |
| 15:01:44 | kashyap | lyarwood: I just noticed I didn't hit send on my new comment; done. (See the regression mentioned there.) | |
| 15:01:45 | dansmith | which gets exposed out of the API and users get to see sensitive details like the internal ceph ip address | |
| 15:02:08 | dansmith | brinzhang: I think there was even a case where a credential got leaked.. mriedem might remember the bug(s) to point to | |
| 15:03:32 | brinzhang | dansmith: now we can get the exception only, and cannot get "Failed to connect to 12.34.56.78", right? | |
| 15:04:08 | dansmith | brinzhang: yeah so if the exception is not known (i.e. not inherited from NovaException) we just get the exception *name*, so FailedToConnectToCeph or ConnectionFailure or something like that | |
| 15:04:20 | brinzhang | In other words, we cannot get the details message for the sensitive | |
| 15:04:24 | dansmith | brinzhang: we can *log* it in the compute log for the admin, but we don't want to expose it to the user | |
| 15:04:26 | dansmith | right | |
| 15:05:51 | brinzhang | dansmith: ok, let me taste your changes again | |
| 15:05:56 | dansmith | lol | |
| 15:06:13 | dansmith | brinzhang: um, global pandemic going on right now.. probably best not to lick anything | |
| 15:06:28 | lyarwood | kashyap: ack, we aren't going to hit that FWIW | |
| 15:06:36 | lyarwood | kashyap: we don't use the shallow copy flag | |
| 15:06:37 | brinzhang | dansmith: haha | |
| 15:06:43 | dansmith | brinzhang: :) | |
| 15:06:47 | lyarwood | kashyap: but thanks for raising that | |
| 15:07:29 | brinzhang | dansmith: Thanks to a guy named Guo WeiPeng, I have been in quarantine for another 15 days at home | |
| 15:07:36 | kashyap | lyarwood: Yeah, was reading the details; just wanted to think through if there are any other places we need to bear in mind. | |
| 15:07:47 | dansmith | brinzhang: well, the definitely don't lick *my* patch :) | |
| 15:07:53 | brinzhang | dansmith: so I have too much time to talk with you | |
| 15:08:16 | dansmith | brinzhang: heh, well, I work from home all the time, so I'm pretty much on quarantine normally :) | |
| 15:08:58 | brinzhang | dansmith: you are happiness, it's my dream :) | |
| 15:09:11 | kashyap | Wauw, Dan _is_ Happiness; that's something. | |
| 15:09:59 | dansmith | heh | |
| 15:13:13 | openstackgerrit | Brin Zhang proposed openstack/nova master: Store instance action event exc_val fault details https://review.opendev.org/694428 | |
| 15:14:51 | dansmith | brinzhang: we might want to make sure we have some functional tests that raise both nova and non-nova exceptions in such a way that we can examine them from the API | |
| 15:17:07 | brinzhang | dansmith: I saw you add non-nova test exception in https://review.opendev.org/#/c/712697/1/nova/tests/unit/objects/test_objects.py@1003 | |
| 15:17:36 | mriedem | dansmith: brinzhang: i can look up the cve, but we were exposing credentials to the rbd backing a compute host via instance faults | |
| 15:17:36 | brinzhang | You mean, I should add some nova and non-nova exception for os-instance-actions API? | |
| 15:17:57 | mriedem | that's why i referred to the nova.compute.utils code that handles faults | |
| 15:17:57 | dansmith | brinzhang: yeah, but in a functional test I think | |
| 15:18:07 | dansmith | mriedem: ack yeah | |
| 15:18:08 | mriedem | you could build on the functional test i wrote for ^ | |