Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RHV requires disconnect_storage before ems #18330

Merged

Conversation

agrare
Copy link
Member

@agrare agrare commented Jan 4, 2019

RHV disconnect_storage has to perform an API call to the provider to
check if the underlying disks are still on the datastore. In order to
do this it must still have its ext_management_system link to be able to
connect. This means that disconnect_storage must be called prior to
disconnect_ems.

Introduced by cleanup done in ManageIQ/manageiq-providers-ovirt#310

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1659340

RHV disconnect_storage has to perform an API call to the provider to
check if the underlying disks are still on the datastore.  In order to
do this it must still have its ext_management_system link to be able to
connect.  This means that disconnect_storage must be called prior to
disconnect_ems.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1659340
@gtanzillo gtanzillo self-assigned this Jan 4, 2019
@gtanzillo gtanzillo added this to the Sprint 102 Ending Jan 7, 2019 milestone Jan 4, 2019
@gtanzillo gtanzillo merged commit be1857c into ManageIQ:master Jan 4, 2019
@agrare agrare deleted the bz_1659340_fix_storage_disconnect_order branch January 4, 2019 14:51
simaishi pushed a commit that referenced this pull request Jan 7, 2019
…ct_order

RHV requires disconnect_storage before ems

(cherry picked from commit be1857c)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1659340
@simaishi
Copy link
Contributor

simaishi commented Jan 7, 2019

Hammer backport details:

$ git log -1
commit 24b77e3edf503e9eebd7e31696dd9dd04755e7e5
Author: Gregg Tanzillo <gtanzill@redhat.com>
Date:   Fri Jan 4 09:50:34 2019 -0500

    Merge pull request #18330 from agrare/bz_1659340_fix_storage_disconnect_order
    
    RHV requires disconnect_storage before ems
    
    (cherry picked from commit be1857c218b1e4232ed0582d5b52dbe095943cc8)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1659340

simaishi pushed a commit that referenced this pull request Jan 8, 2019
…ct_order

RHV requires disconnect_storage before ems

(cherry picked from commit be1857c)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1664470
@simaishi
Copy link
Contributor

simaishi commented Jan 8, 2019

Gaprindashvili backport details:

$ git log -1
commit c0d03d6496870dde5d43ba917ec9e54fafa45233
Author: Gregg Tanzillo <gtanzill@redhat.com>
Date:   Fri Jan 4 09:50:34 2019 -0500

    Merge pull request #18330 from agrare/bz_1659340_fix_storage_disconnect_order
    
    RHV requires disconnect_storage before ems
    
    (cherry picked from commit be1857c218b1e4232ed0582d5b52dbe095943cc8)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1664470

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants