Comment 14 for bug 1393268

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to heat (master)

Reviewed: https://review.openstack.org/154429
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=2971d8a345fb953aeff076bbce8bbfd420bbebd2
Submitter: Jenkins
Branch: master

commit 2971d8a345fb953aeff076bbce8bbfd420bbebd2
Author: Pavlo Shchelokovskyy <email address hidden>
Date: Mon Feb 2 19:17:20 2015 +0000

    Do not use volume objects in volume resources

    This patch is a prerequiste for moving away from TaskRunner instances.

    Currently our mocking in tests relies heavily on our code using the rich cinder
    objects returned by cinderclient. The purpose of this patch then is to
    first move away from using those and modify mocking in tests accordingly,
    so that subsequent patch that removes TaskRunner instances from volume
    resources will modify as few tests as possible, which will better prove
    its correctness.

    Also, modified all deprecated rsrc.cinder() calls to rsrc.client() calls
    (using default_client_name) and optimized reuse of clients inside single
    methods.

    Change-Id: I10c991f9949149c2f4d4b7de00f17ddc4980ae96
    Related-Bug: #1393268