← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1751692] [NEW] os_region_name an unnecessary required option for placement

 

Public bug reported:

When configuring placement service for nova-computes it is required to
put in the region name for the placement services.

When talking to other services like neutron or cinder specifying a
region name isn't required and if you just have 1 region (possibly the
most common type of installation?) then it will pick that.

Would be nice if we didn't have to specify the region for placement too.


Code is in nova/compute/manager.py

        # NOTE(sbauza): We want the compute node to hard fail if it won't be                                                                                                                                
        # able to provide its resources to the placement API, or it will not                                                                                                                                
        # be able to be eligible as a destination.                                                                                                                                                          
        if CONF.placement.os_region_name is None:                                                                                                                                                           
            raise exception.PlacementNotConfigured()

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1751692

Title:
  os_region_name an unnecessary required option for placement

Status in OpenStack Compute (nova):
  New

Bug description:
  When configuring placement service for nova-computes it is required to
  put in the region name for the placement services.

  When talking to other services like neutron or cinder specifying a
  region name isn't required and if you just have 1 region (possibly the
  most common type of installation?) then it will pick that.

  Would be nice if we didn't have to specify the region for placement
  too.


  Code is in nova/compute/manager.py

          # NOTE(sbauza): We want the compute node to hard fail if it won't be                                                                                                                                
          # able to provide its resources to the placement API, or it will not                                                                                                                                
          # be able to be eligible as a destination.                                                                                                                                                          
          if CONF.placement.os_region_name is None:                                                                                                                                                           
              raise exception.PlacementNotConfigured()

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


Follow ups