glance_store has wrong region

Bug #1504017 reported by Nikita Koshikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Nikita Koshikov
7.0.x
Won't Fix
High
Sergii Golovatiuk

Bug Description

Steps to reproduce:

Create hiera override file, that changes default openstack region - 'RegionOne' to something else. Here is example
region: region_eu
nova:
  region: region_eu
glance:
  region: region_eu
cinder:
  region: region_eu
quantum_settings:
  region: region_eu
swift:
  region: region_eu
sahara_hash:
  region: region_eu
heat:
  region: region_eu
ceilometer:
  region: region_eu

Deploy cluster - or just glance.pp task. After deployment:

/etc/glance/glance-registry.conf.sample:#os_region_name = <None>
/etc/glance/glance-cache.conf:os_region_name=region_eu
/etc/glance/glance-cache.conf:os_region_name=RegionOne
/etc/glance/glance-api.conf:auth_region = region_eu
/etc/glance/glance-api.conf:os_region_name=region_eu
/etc/glance/glance-api.conf:os_region_name = RegionOne
/etc/glance/glance-api.conf:swift_store_region = region_eu
/etc/glance/glance-registry.conf:#os_region_name = <None>

Also - as you can see glance-registry also has commented os_region_name.

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "7.0"
  openstack_version: "2015.1.0-7.0"
  api: "1.0"
  build_number: "301"
  build_id: "301"
  nailgun_sha: "4162b0c15adb425b37608c787944d1983f543aa8"
  python-fuelclient_sha: "486bde57cda1badb68f915f66c61b544108606f3"
  fuel-agent_sha: "50e90af6e3d560e9085ff71d2950cfbcca91af67"
  fuel-nailgun-agent_sha: "d7027952870a35db8dc52f185bb1158cdd3d1ebd"
  astute_sha: "6c5b73f93e24cc781c809db9159927655ced5012"
  fuel-library_sha: "5d50055aeca1dd0dc53b43825dc4c8f7780be9dd"
  fuel-ostf_sha: "2cd967dccd66cfc3a0abd6af9f31e5b4d150a11c"
  fuelmain_sha: "a65d453215edb0284a2e4761be7a156bb5627677"

Tags: area-library
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/232424

Changed in fuel:
assignee: nobody → Nikita Koshikov (nkoshikov)
status: New → In Progress
Changed in fuel:
milestone: none → 8.0
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/232424
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=7972a9fdaa232bb6b5df74f118a477cd723d5a6d
Submitter: Jenkins
Branch: master

commit 7972a9fdaa232bb6b5df74f118a477cd723d5a6d
Author: Nikita Koshikov <email address hidden>
Date: Thu Oct 8 11:59:26 2015 +0300

    Add region name to glance for glance_store section

    Closes-Bug: #1504017

    Change-Id: I44b6f033ad4f8b09fd19b495008037b8f0abe425

Changed in fuel:
status: In Progress → Fix Committed
Dmitry Pyzhov (dpyzhov)
tags: added: area-library
Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
Sergey Novikov (snovikov) wrote :

Verified on MOS 8.0 RC#1

STV:

1. Deploy cluster with controller and compute nodes
2. Go to controller node
3. Add /etc/hiera/override/openstack-region.yaml with content:
region: region_eu
nova:
  region: region_eu
glance:
  region: region_eu
cinder:
  region: region_eu
quantum_settings:
  region: region_eu
swift:
  region: region_eu
sahara_hash:
  region: region_eu
heat:
  region: region_eu
ceilometer:
  region: region_eu
4. Add "override/openstack-region" in /etc/hiera.yaml
5. execute
# puppet apply /etc/puppet/modules/osnailyfacter/modular/modular/glance/glance.pp
6. Check glance config files that there is a new value of region

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.