Comment 4 for bug 1633096

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (stable/newton)

Reviewed: https://review.openstack.org/386099
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=adab86feb487694b729090969ab8607f73fa307a
Submitter: Jenkins
Branch: stable/newton

commit adab86feb487694b729090969ab8607f73fa307a
Author: Stan Lagun <email address hidden>
Date: Thu Oct 13 09:25:58 2016 -0700

    Remove getRegion() calls from network initializers

    .init methods of the components are called before
    the environment is initialized. Thus regions are not
    configured at this point. Thus if the object is not
    directly or indirectly owned by the CloudRegion
    it cannot call getRegion() from the initializer.

    Normally networks do belong to CloudRegion
    so there is no problem. However a Network instance
    such as ExistingNetwork might be passed to the Instance
    class which is not owned by the ClouydRegion and in this
    case an exception will be thrown.

    Change-Id: I1f3c4f53d4ebc92772c79c9991b19840aa0b0ed7
    Closes-Bug: #1633096