← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1712809] [NEW] Glance compute-vcputopology defs names are missing underscore

 

Public bug reported:

In file glance/etc/metadefs/compute-vcputopology.json

One can find following properties
 "cpu_sockets"
 "cpu_cores"
 "cpu_threads"
 "cpu_maxsockets"
 "cpu_maxcores"
 "cpu_maxthreads"

But the correct names are as in https://review.openstack.org/#/c/196080/2/nova/virt/hardware.py
 "cpu_sockets"
 "cpu_cores"
 "cpu_threads"
 "cpu_max_sockets"
 "cpu_max_cores"
 "cpu_max_threads"

Underscores are missing

https://github.com/openstack/glance/blob/master/etc/metadefs/compute-vcputopology.json#L38
https://github.com/openstack/nova/blob/master/nova/virt/hardware.py#L265

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1712809

Title:
  Glance compute-vcputopology defs names are missing underscore

Status in Glance:
  New

Bug description:
  In file glance/etc/metadefs/compute-vcputopology.json

  One can find following properties
   "cpu_sockets"
   "cpu_cores"
   "cpu_threads"
   "cpu_maxsockets"
   "cpu_maxcores"
   "cpu_maxthreads"

  But the correct names are as in https://review.openstack.org/#/c/196080/2/nova/virt/hardware.py
   "cpu_sockets"
   "cpu_cores"
   "cpu_threads"
   "cpu_max_sockets"
   "cpu_max_cores"
   "cpu_max_threads"

  Underscores are missing

  https://github.com/openstack/glance/blob/master/etc/metadefs/compute-vcputopology.json#L38
  https://github.com/openstack/nova/blob/master/nova/virt/hardware.py#L265

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1712809/+subscriptions