nova.conf does not have os_region_name parameter

Bug #1621984 reported by Fedor Tarasenko
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Ivan Berezovskiy
Mitaka
Fix Released
High
Ivan Berezovskiy
Newton
Fix Released
High
Ivan Berezovskiy

Bug Description

For the multiple region support, in nova.conf we need to add parameter "os_region_name" to specify the region_name for controller's region, otherwise, nova can not find the right cinder service to call. w/o this configuration, volume attach fails.

Here is the community bug and fix for this in nova code:
https://bugs.launchpad.net/nova/+bug/1087735

tags: added: customer-found
Dmitry Klenov (dklenov)
tags: added: area-mos
Changed in fuel:
milestone: none → 9.1
assignee: nobody → MOS Nova (mos-nova)
importance: Undecided → High
status: New → Incomplete
status: Incomplete → Confirmed
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

Fedor refers to option "os_region_name" in group "cinder" (http://docs.openstack.org/liberty/config-reference/content/list-of-compute-config-options.html)

MOS Puppet team, could you please take a look at this?

At the same time, I'm not convinced this deserves High importance as the option can easily be set after deployment.

Changed in fuel:
assignee: MOS Nova (mos-nova) → MOS Puppet Team (mos-puppet)
importance: High → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/369495

Changed in fuel:
assignee: MOS Puppet Team (mos-puppet) → Ivan Berezovskiy (iberezovskiy)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/369500

Revision history for this message
Andrey Maximov (maximov) wrote :

Guys, you will need to change nova.conf on all compute nodes, so I cannot say that it is easily can be done from user perspective. raising it to high

Changed in fuel:
importance: Medium → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/369495
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=131080c3058f89532f2de9b239a002a8b07fe441
Submitter: Jenkins
Branch: master

commit 131080c3058f89532f2de9b239a002a8b07fe441
Author: iberezovskiy <email address hidden>
Date: Tue Sep 13 17:30:28 2016 +0300

    Explicitly configure os_region_name for nova

    For the multiple region support, in nova.conf
    we need to add parameter "os_region_name" to
    specify the region_name for controller's region,
    otherwise, nova can not find the right cinder
    service to call and volume attach fails.

    Change-Id: I7a1497368085380f4a55a66b6f770d3f24cdf7e9
    Closes-bug: #1621984

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Andrey Maximov (maximov) wrote :

moving to 9.2

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-library 10.0.0rc1

This issue was fixed in the openstack/fuel-library 10.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/mitaka)

Reviewed: https://review.openstack.org/369500
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=eec80dbd5a6e915f2b368080b048f9249babcb08
Submitter: Jenkins
Branch: stable/mitaka

commit eec80dbd5a6e915f2b368080b048f9249babcb08
Author: iberezovskiy <email address hidden>
Date: Tue Sep 13 17:30:28 2016 +0300

    Explicitly configure os_region_name for nova

    For the multiple region support, in nova.conf
    we need to add parameter "os_region_name" to
    specify the region_name for controller's region,
    otherwise, nova can not find the right cinder
    service to call and volume attach fails.

    Change-Id: I7a1497368085380f4a55a66b6f770d3f24cdf7e9
    Closes-bug: #1621984

tags: added: on-verification
Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Verified on 9.2 snapshot #464.

Steps to verify:
https://paste.mirantis.net/show/2776/

Actual results:
Volume is attached to instance successfully when Cinder endpoint exists in two different regions (RegionOne and RegionTwo). Nova API log doesn't contain any errors.

tags: removed: on-verification
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-library 10.0.0

This issue was fixed in the openstack/fuel-library 10.0.0 release.

tags: added: on-verification
Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Verified on 10.0 build #1569.

tags: removed: on-verification
Changed in fuel:
status: Fix Committed → Fix Released
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.