The code in compute scheduler is incorrect
The code in compute scheduler is incorrect

When reading the doc, I noticed the following:
import random
from oslo.config import cfg
The code update frequently, however this doc is not.
It would be better to update the way to import cfg for a good tutorial.

Change-Id: I263eb04a0c6abfc5c914dab054cdb9e456fd2cb3
closes-bug:#1597678

AlekhyaMallina-Vedams/openstack-manuals,AlekhyaMallina-Vedams/openstack-manuals,openstack/openstack-manuals,openstack/openstack-manuals,AlekhyaMallina-Vedams/openstack-manuals,openstack/openstack-manuals,openstack/openstack-manuals