provider code doesn't account for regions

Bug #1517220 reported by Matt Fischer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-nova
Fix Released
High
Matt Fischer

Bug Description

The nova provider code does not account for or handle regions. I discovered this when using the nova host aggregate provider, it's creating all my aggregates in my first region and not at all in my second region. Do we have a pattern for supporting regions in our provider code?

Matt Fischer (mfisch)
Changed in puppet-nova:
assignee: nobody → Matt Fischer (mfisch)
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-nova (master)

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

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

Reviewed: https://review.openstack.org/246632
Committed: https://git.openstack.org/cgit/openstack/puppet-nova/commit/?id=b58a02139d362e510c6916da80e28898643e4fa3
Submitter: Jenkins
Branch: master

commit b58a02139d362e510c6916da80e28898643e4fa3
Author: Matt Fischer <email address hidden>
Date: Tue Nov 17 15:30:26 2015 -0700

    Add region support to nova providers

    Nova providers did not previously have region support, so things like
    the host aggregate provider do not work as expected in a multi-region
    environment. This change mirrors what puppet-neutron's providers do,
    they use the nova_region_name setting, this uses neutron/region_name.

    Change-Id: I1d5bddbe977352b0458115ab77b8129311b63453
    Closes-Bug: #1517220

Changed in puppet-nova:
status: In Progress → Fix Committed
Cody Herriges (ody-cat)
Changed in puppet-nova:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-nova (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-nova (master)

Reviewed: https://review.openstack.org/381295
Committed: https://git.openstack.org/cgit/openstack/puppet-nova/commit/?id=a0f2e78d88178260a6b4d0416450b51f1d529e80
Submitter: Jenkins
Branch: master

commit a0f2e78d88178260a6b4d0416450b51f1d529e80
Author: Clayton O'Neill <email address hidden>
Date: Mon Oct 3 20:11:25 2016 +0000

    Fix region support for nova providers

    When some of the providers (like nova_aggregate) were moved over to
    openstacklib, region support was missing. This fixes the base provider
    code to pass region_name into openstacklib if region_name is set.

    Change-Id: I6953c10ceab708402ce25a23d1f8d20f3288cbad
    Closes-Bug: #1517220
    Depends-On: I3345dac8bebd68f93290c1d45aa9a4d80bf3fb34

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-nova 10.0.0

This issue was fixed in the openstack/puppet-nova 10.0.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.