SwiftAPI doesn't take region_name

Bug #1554933 reported by xiaobin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Undecided
xiaobin

Bug Description

When SwiftAPI(common/swift.py) is initialized, region_name is not specified, with multi-region setup, ironic may pick wrong swift endpoint.

xiaobin (jxiaobin)
Changed in ironic:
assignee: nobody → xiaobin (jxiaobin)
description: updated
xiaobin (jxiaobin)
summary: - SwiftAPI doesn't take os_region
+ SwiftAPI doesn't take region_name
description: updated
xiaobin (jxiaobin)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

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

Changed in ironic:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/291063
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=11db34a48ab9e5b98155a4ff9ec2bf2a11b3209f
Submitter: Jenkins
Branch: master

commit 11db34a48ab9e5b98155a4ff9ec2bf2a11b3209f
Author: Xiaobin Qu <email address hidden>
Date: Thu Mar 10 01:05:11 2016 -0800

    Pass region_name to SwiftAPI

    Currently when SwiftAPI(common/swift.py) is initialized, region_name
    is not specified; with multi-region setup, ironic may pick wrong swift
    endpoint.

    This fix loads region_name from keystone_authtoken/region_name, and
    pass the value to SwiftAPI

    Closes-Bug: #1554933

    Change-Id: I7295fc96c3b9ed50214576e80723d1d9db1a7e38

Changed in ironic:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ironic (stable/liberty)

Change abandoned by jxiaobin (<email address hidden>) on branch: stable/liberty
Review: https://review.openstack.org/291057

Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/ironic 5.1.0

This issue was fixed in the openstack/ironic 5.1.0 release.

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.