Flavors in nova - hw_rng:rate_period should be in milliseconds

Bug #1843541 reported by Jordan Ansell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Confirmed
Medium
Takashi Natsume

Bug Description

This doc is inaccurate in this way:
"hw_rng:rate_period" is actually in *milliseconds*

See https://libvirt.org/formatdomain.html#elementsRng

-----------------------------------
Release: 16.1.9.dev7 on 2019-08-23 17:35
SHA: 6e2ec5c5a397b508cddb646e865b6f4d2132f1d6
Source: https://git.openstack.org/cgit/openstack/nova/tree/doc/source/admin/flavors.rst
URL: https://docs.openstack.org/nova/pike/admin/flavors.html

Revision history for this message
Matt Riedemann (mriedem) wrote :
tags: added: doc
summary: - Flavors in nova
+ Flavors in nova - hw_rng:rate_period should be in milliseconds
Revision history for this message
Matt Riedemann (mriedem) wrote :

Looking at the libvirt driver code it does not do any conversion from seconds to milliseconds so yeah the docs are wrong when looking at the libvirt docs. The flavor extra spec docs should also mention that is a libvirt-only spec at the moment, no other compute driver is using that spec.

Changed in nova:
importance: Undecided → Medium
status: New → Confirmed
tags: added: libvirt low-hanging-fruit
Changed in nova:
assignee: nobody → Takashi NATSUME (natsume-takashi)
Revision history for this message
Takashi Natsume (natsume-takashi) wrote :

Fix proposed to branch: stable/pike
Review: https://review.opendev.org/689158

Revision history for this message
Jordan Ansell (jordancat) wrote : Re: [Bug 1843541] Re: Flavors in nova - hw_rng:rate_period should be in milliseconds

Hi Takashi,

Thank you so much for handling this change. I'm new to openstack and
working in opensource, so I appreciate that the process has been taken
care of after I encountered this documentation error, and for your work
on this.

Regards :)
Jordan Ansell

On 18/10/19 2:48 AM, Takashi NATSUME wrote:
> *** This bug is a duplicate of bug 1843542 ***
> https://bugs.launchpad.net/bugs/1843542
>
> Fix proposed to branch: stable/pike
> Review: https://review.opendev.org/689158
>
>
> ** This bug has been marked a duplicate of bug 1843542
> Flavor property "hw_rng:rate_period" should be milliseconds
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.