Add an instance-locality filter

Bug #1408387 reported by OpenStack Infra
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Medium
KATO Tomoyuki

Bug Description

https://review.openstack.org/118310
commit 0269a26f13ed36b670e55b92f7645fb989cbce86
Author: Adrien Vergé <email address hidden>
Date: Fri Dec 5 16:09:10 2014 +0100

    Add an instance-locality filter

    Having an instance and an attached volume on the same physical host
    (i.e. data locality) can be desirable in some configurations, in order
    to achieve high-performance disk I/O.

    This patch adds an InstanceLocalityFilter filter that allow users to
    request creation of volumes 'local' to an existing instance, without
    specifying the hypervisor's hostname, and without any knowledge of the
    underlying back-ends.

    In order to work:
    - At least one physical host should run both nova-compute and
      cinder-volume services.
    - The Extended Server Attributes extension needs to be active in Nova
      (this is by default), so that the 'OS-EXT-SRV-ATTR:host' property is
      returned when requesting instance info.
    - The user making the call needs to have sufficient rights for the
      property to be returned by Nova. This can be achieved either by
      changing Nova's policy.json (the 'extended_server_attributes' option),
      or by setting an account with privileged rights in Cinder conf.

    For example:
      Instance 01234567-89ab-cdef is running in a hypervisor on the physical
      host 'my-host'.

      To create a 42 GB volume in a back-end hosted by 'my-host':
        cinder create --hint local_to_instance=01234567-89ab-cdef 42

    Note:
      Currently it is not recommended to allow instance migrations for
      hypervisors where this hint will be used. In case of instance
      migration, a previously locally-created volume will not be
      automatically migrated. Also in case of instance migration during the
      volume's scheduling, the result is unpredictable.

    DocImpact: New Cinder scheduler filter
    Change-Id: Id428fa2132c1afed424443083645787ee3cb0399

Tags: cinder
Tom Fifield (fifieldt)
Changed in openstack-manuals:
milestone: none → kilo
importance: Undecided → Medium
status: New → Confirmed
Tom Fifield (fifieldt)
Changed in openstack-manuals:
milestone: kilo → liberty
Changed in openstack-manuals:
assignee: nobody → jelly (coding1314)
Changed in openstack-manuals:
assignee: Kuo-tung Kao (jelly) (coding1314) → nobody
Changed in openstack-manuals:
assignee: nobody → venkatamahesh (venkatamaheshkotha)
Changed in openstack-manuals:
milestone: liberty → none
milestone: none → mitaka
Changed in openstack-manuals:
assignee: venkatamahesh (venkatamaheshkotha) → nobody
Changed in openstack-manuals:
milestone: mitaka → newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (master)

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

Changed in openstack-manuals:
assignee: nobody → KATO Tomoyuki (kato-tomoyuki)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/386877
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=6b19fff383e3e2790feb0cca4d18624462c9d3df
Submitter: Jenkins
Branch: master

commit 6b19fff383e3e2790feb0cca4d18624462c9d3df
Author: KATO Tomoyuki <email address hidden>
Date: Sat Oct 15 10:17:55 2016 +0900

    [config-ref] add Block Storage schedulers

    Also, rename compute schdulers to avoid confusion

    Change-Id: I1b1f319a98e47af14061d4ca2b563882265acb37
    Closes-Bug: #1408387

Changed in openstack-manuals:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-manuals 15.0.0

This issue was fixed in the openstack/openstack-manuals 15.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.