| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2020-04-01 | |||
| 17:27:56 | gmann | gibi: brinzhang_ dansmith commented on policy enforcement for PUT attachments. showed example for covering all cases- https://review.opendev.org/716679 | |
| 17:52:08 | _erlon_ | hi guys, is the Nova meeting for tomorrow up? I don't see any topics on the agenda: https://wiki.openstack.org/wiki/Meetings/Nova | |
| 17:54:56 | gmann | _erlon_: i think yes (it is not explicitly cancneld). may be gibi will update agenda and dates soon . | |
| 17:55:24 | _erlon_ | gmann: ok, thanks, Ill fill up my topic tomorrow | |
| 18:53:39 | openstackgerrit | Merged openstack/nova master: libvirt: Always provide the size in bytes when calling virDomainBlockResize https://review.opendev.org/707590 | |
| 18:53:45 | openstackgerrit | Merged openstack/nova master: images: Remove Libvirt specific configurable use from qemu_img_info https://review.opendev.org/707591 | |
| 18:54:54 | openstackgerrit | Merged openstack/nova master: libvirt: Remove QEMU_VERSION_REQ_SHARED https://review.opendev.org/710239 | |
| 18:55:00 | openstackgerrit | Merged openstack/nova master: Pass the actual target in os-hypervisors policy https://review.opendev.org/715074 | |
| 18:55:06 | openstackgerrit | Merged openstack/nova master: Correct limits policy check_str https://review.opendev.org/715672 | |
| 18:57:48 | openstackgerrit | Victor Coutellier proposed openstack/python-novaclient master: Microversion 2.83 - Add more filters for the nova list command https://review.opendev.org/713089 | |
| 19:58:26 | openstackgerrit | Ghanshyam Mann proposed openstack/nova master: Combine the limits policies in single place https://review.opendev.org/715678 | |
| 20:02:27 | openstackgerrit | Ghanshyam Mann proposed openstack/nova master: Add new default roles in remote console policies https://review.opendev.org/716484 | |
| 21:30:12 | openstackgerrit | Ghanshyam Mann proposed openstack/nova master: Add test coverage of existing security groups policies https://review.opendev.org/716779 | |
| 22:12:50 | rs91 | Has anyone run into this os-brick issue with multipath failure reported in https://bugs.launchpad.net/nova/+bug/1414527? Is there any known workaround for this issue or plan to fix it in nova? | |
| 22:12:51 | openstack | Launchpad bug 1414527 in OpenStack Compute (nova) "The multipath device descriptors remove failed when the volume has partition" [Undecided,Confirmed] | |
| 22:26:11 | openstackgerrit | Ghanshyam Mann proposed openstack/nova master: Correct secutrity groups policy check_str https://review.opendev.org/716782 | |
| 22:27:41 | openstackgerrit | Ghanshyam Mann proposed openstack/nova master: Add test coverage of existing security groups policies https://review.opendev.org/716779 | |
| 22:41:48 | openstackgerrit | Ghanshyam Mann proposed openstack/nova master: Add test coverage of existing security groups policies https://review.opendev.org/716779 | |
| 23:10:18 | openstackgerrit | Ghanshyam Mann proposed openstack/nova master: Introduce scope_types in security groups policy https://review.opendev.org/716786 | |
| 23:30:00 | openstackgerrit | Merged openstack/nova master: Add new default roles in rescue server policies https://review.opendev.org/716496 | |
| 23:57:40 | openstackgerrit | Ghanshyam Mann proposed openstack/nova master: Add new default roles in security group policies https://review.opendev.org/716793 | |
| 23:58:37 | openstackgerrit | Ghanshyam Mann proposed openstack/nova master: Add test coverage of existing security groups policies https://review.opendev.org/716779 | |
| 23:58:53 | openstackgerrit | Ghanshyam Mann proposed openstack/nova master: Introduce scope_types in security groups policy https://review.opendev.org/716786 | |
| 23:59:52 | openstackgerrit | Ghanshyam Mann proposed openstack/nova master: Add new default roles in security group policies https://review.opendev.org/716793 | |
| #openstack-nova - 2020-04-02 | |||
| 00:13:30 | openstackgerrit | Ghanshyam Mann proposed openstack/nova master: Add new default roles in security group policies https://review.opendev.org/716797 | |
| 00:37:46 | openstackgerrit | Ghanshyam Mann proposed openstack/nova master: Add test coverage of existing server diagnostics policies https://review.opendev.org/716800 | |
| 00:39:10 | brinzhang_ | gmann:I think you mean I should merged https://review.opendev.org/#/c/716679 to https://review.opendev.org/#/c/716679, right? | |
| 00:40:25 | gmann | brinzhang_: that is just example patch i showed instead of comment which was little hard to explain. i will abandon this once you do those changes in your patch. | |
| 00:42:15 | brinzhang_ | gmann: I think I know what you want to say, if the user want to swap, need to check the v2.85 and swap policy, | |
| 00:43:24 | brinzhang_ | gmann: if the user want to swap + update, they should check update policy for d-o-t, because of other parameters we doesnot allow to update (update only) | |
| 00:43:30 | gmann | brinzhang_: swap policy check for swap only or update+swap both. swap only can be with any microversion | |
| 00:43:51 | brinzhang_ | yes | |
| 00:44:02 | gmann | brinzhang_: correct. because that is place where we know request is for update | |
| 00:45:10 | brinzhang_ | and I can say, swap policy can do anything in update api, contains update policy | |
| 00:47:12 | brinzhang_ | gmann: I will update and add the these test said by gibi | |
| 00:48:55 | gmann | brinzhang_: yeah, tests covering all those cases will be good | |
| 00:57:46 | openstackgerrit | Ghanshyam Mann proposed openstack/nova master: Introduce scope_types in server diagnostics https://review.opendev.org/716803 | |
| 01:05:31 | openstackgerrit | Ghanshyam Mann proposed openstack/nova master: Add new default roles in security group policies https://review.opendev.org/716793 | |
| 01:08:45 | openstackgerrit | Ghanshyam Mann proposed openstack/nova master: Add new default roles in server diagnostics policies https://review.opendev.org/716805 | |
| 01:30:51 | brinzhang_ | gmann: context.can(va_policies.POLICY_ROOT % 'swap') this policy check, does we need to add target={} in it? | |
| 01:31:33 | openstackgerrit | Ghanshyam Mann proposed openstack/nova master: Pass the actual target in server diagnostics policy https://review.opendev.org/716810 | |
| 01:36:45 | openstackgerrit | melanie witt proposed openstack/nova master: Move nova-manage placement heal_allocations to nova-audit https://review.opendev.org/708788 | |
| 01:51:10 | melwitt | gmann: hey, just to clarify, if I understand correctly we're going to address the warning log issue in a later patch before FF with the plan being to remove the warning log and use Upgrade reno instead? and we'll have a nova doc page explaining the detail of the change in defaults with instructions for users on how to review the new defaults and use them? (enforce_scope = True and how to generate new defaults for review)? | |
| 03:45:05 | openstackgerrit | Brin Zhang proposed openstack/nova master: Separate update and swap volume policies https://review.opendev.org/711194 | |
| 03:46:37 | openstackgerrit | Guo Jingyu proposed openstack/nova master: WIP: nova supports password encrypted VNC https://review.opendev.org/622336 | |
| 03:48:35 | brinzhang_ | gibi, gmann: I addressed your comments in https://review.opendev.org/#/c/711194/11, but when I want to add the "policy check fails for swap + update due to update policy failure" case, that cannot get what I want, see http://paste.openstack.org/show/791501/ | |
| 03:48:56 | brinzhang_ | gibi, gmann: Anything I missed? | |
| 07:08:08 | gibi | good morning nova | |
| 07:08:16 | gibi | brinzhang_: will get to it soon | |
| 07:08:47 | brinzhang_ | good morning gibi | |
| 07:08:48 | gibi | _erlon_: it is up as usual. I update the agenda as soon | |
| 07:08:58 | brinzhang_ | gibi: thanks, wait for your check | |
| 07:11:24 | brinzhang_ | gibi: the noVnc feature, my colleague pushed the PoC code, maybe we can done of that feature, I will give him help as soon as possiable https://review.opendev.org/#/c/622336/ | |
| 07:12:06 | brinzhang_ | gibi: you dont too review now, when it's ready, I will respin | |
| 07:14:14 | gibi | brinzhang_: ack, I saw the patch getting up | |
| 07:49:34 | gibi | brinzhang_: regarding http://paste.openstack.org/show/791501/ the test fails as the calls https://review.opendev.org/#/c/711194/11/nova/api/openstack/compute/volumes.py@488 raises instead of returns False | |
| 07:51:05 | gibi | so somehow you setting @ for swap policy does not pass | |
| 07:51:17 | brinzhang_ | but I overwrite to self.policy_root % "swap": "@", | |
| 07:51:21 | gibi | yeah | |
| 07:51:30 | brinzhang_ | why? | |
| 07:51:40 | gibi | I have no clue yet | |
| 07:53:53 | gibi | there are 3 test classes all inheriting the unit test 2 of the fails 1 passes | |
| 07:54:01 | gibi | so something is different in those classes | |
| 07:55:14 | gibi | this passes VolumeAttachPolicyTest | |
| 07:55:30 | gibi | VolumeAttachNoLegacyPolicyTest and .VolumeAttachScopeTypePolicyTest fails | |
| 07:55:37 | brinzhang_ | yes, it's ok in VolumeAttachPolicyTest class, and not ok in VolumeAttachScopeTypePolicyTest and VolumeAttachNoLegacyPolicyTest class | |
| 07:56:32 | brinzhang_ | I tried move it to VolumeAttachScopeTypePolicyTest class, but I think I cannot do that, I should keep them in the base class, I think | |
| 07:56:49 | brinzhang_ | of course, in VolumeAttachScopeTypePolicyTest it's also failed | |
| 08:13:20 | gibi | I gave up, we need gmann to look at these tests | |
| 08:17:33 | brinzhang_ | gibi: yeah, thanks also ^^ | |
| 08:32:09 | gibi | stephenfin: just to double check is this bp done now? https://blueprints.launchpad.net/nova/+spec/remove-nova-network-ussuri | |
| 08:32:21 | gibi | I don't see any open patches | |
| 08:32:48 | gibi | stephenfin: nvm, I see that the bp is in Implemented state | |
| 08:52:55 | stephenfin | Yeah, I updated that last week | |
| 08:53:34 | gibi | stephenfin: thanks | |
| 08:54:14 | gibi | I'm going through the BPs targeted to ussuri just by eye skipped a line an thought nova-net bp is not closed | |
| 08:54:21 | gibi | s/by/my | |
| 08:54:46 | gibi | stephenfin: how familiar you are with the oslo policy stuff? | |
| 08:55:04 | stephenfin | I've been learning it slowly | |
| 08:55:05 | gibi | stephenfin: brinzhang_ has a test that fails on policy problem and I didn't find the solution | |
| 08:56:33 | gibi | stephenfin: this is the problematic test (in the comment in the paste) https://review.opendev.org/#/c/711194/11/nova/tests/unit/policies/test_volumes.py@176 if you have time. If not then no worries we will ping gmann later | |
| 08:59:34 | brinzhang_ | gibi, thanks mention these, if stephenfin can give some help, I will be appreciate | |
| 09:03:07 | stephenfin | will do | |
| 09:03:35 | luyao | stephenfin: Hi, I hope you could continue looking at vpmem live migration support https://review.opendev.org/#/c/687856/ if you have time. :) | |
| 09:17:03 | brinzhang_ | gibi, dansmith: I will modify the SPEC in 2020/4/4 or 2020/4/5, to show the new PUT api changes, I think it's not later | |
| 09:17:38 | gibi | brinzhang_: sure. doc changes can go in after FF. and the spec repo is not even released so that is OK to update even later | |
| 09:20:55 | brinzhang_ | gibi: thank, if so, I will update that while I have more free time ^^ | |
| 09:21:10 | gibi | brinzhang_: thanks | |
| 09:21:17 | brinzhang_ | gibi: np | |
| 09:39:11 | openstackgerrit | Stephen Finucane proposed openstack/nova master: hacking: force explicit import of python's mock https://review.opendev.org/708768 | |
| 09:39:11 | openstackgerrit | Stephen Finucane proposed openstack/nova master: Use unittest.mock instead of third party mock https://review.opendev.org/714676 | |
| 09:39:11 | openstackgerrit | Stephen Finucane proposed openstack/nova master: Remove future imports https://review.opendev.org/714675 | |
| 10:28:51 | stephenfin | gibi, brinzhang_: RE: https://review.opendev.org/#/c/711194/11/nova/tests/unit/policies/test_volumes.py@176 - you're using the wrong HTTPRequest object | |
| 10:29:56 | stephenfin | you're modifying 'nova.context' on 'self.req' and then calling things with a local 'req' that doesn't have 'nova.context' configured | |
| 10:30:41 | brinzhang_ | stephenfin: I should add v2.85 support, what I do to change req = fakes.HTTPRequest.blank('', version='2.85')? | |
| 10:30:58 | gibi | stephenfin: good eyes! thanks! | |
| 10:31:23 | stephenfin | brinzhang_: I'm guessing but I think think self.req.version = '2.85' should do the trick?? | |
| 10:31:37 | stephenfin | If not, you need to do req = fakes.HTTPRequest.blank('', version='2.85') | |
| 10:31:46 | brinzhang_ | stephenfin: let me try | |
| 10:31:57 | stephenfin | and the do e.g. req.environ['nova.context'] = self.system_foo_context | |