+++ This bug was initially created as a clone of Bug #1810372 +++
Description of problem:
Create a VM with custom vCPUs, after the VM or VM template is created, the vCPUs are doubled in detail page. It may caused by the CPU sockets are 2.
Edit the flavor and save, it shows the same value which is just inputed and the cpu socket changes to 1.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a VM with custom flavor.
2. Verify CPU in detail page.
verified on 4.4.0-0.nightly-2020-03-06-170328.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.