[openstack-dev] [nova][qa] Testing with ephemeral/swap disks

Chris Friesen chris.friesen at windriver.com
Mon Nov 7 18:33:01 UTC 2016


On 11/07/2016 10:03 AM, Matt Riedemann wrote:
> Nova has a known gap in integration testing of ephemeral/swap disks, especially
> around resizes and migrations.
>
> In Newton, Diana Clarke worked on a Tempest patch to verify the size of disks
> before and after a resize:
>
> https://review.openstack.org/#/c/338411/
>
> The QA team took issue with that patch because it creates specific flavors which
> might not work in all clouds, which is a valid concern.
>
> At the summit some of the Nova people talked about what if we just added
> ephemeral/swap to the flavors that devstack creates and puts in tempest.conf -
> then we'd get some implicit coverage of those by default. That doesn't really
> help non-devstack CI systems, but I'm not entirely sure it matters, at least
> right now.
>
> If we did have a specific test for this, like Diana's above, then we could just
> skip the test if the flavors in tempest.conf don't have ephemeral/swap defined.
> That would allow us to test this in the upstream CI, and external CI could also
> test it if they wanted to, but it wouldn't break external CI.
>
> Would that be OK? Or are there other issues with that approach?

This sounds like a start...given that we default to no preallocation, the real 
increased disk consumption should be minimal.

Chris



More information about the OpenStack-dev mailing list