Skip to content
  • Mike Christie's avatar
    iscsi: Fix crashes during rolling update · c2a93974
    Mike Christie authored
    During a rolling update we will run the ceph iscsigw tasks that start
    the daemons then run the configure_iscsi.yml tasks which can create
    iscsi objects like targets, disks, clients, etc. The problem is that
    once the daemons are started they will accept confifguration requests,
    or may want to update the system themself. Those operations can then
    conflict with the configure_iscsi.yml tasks that setup objects and we
    can end up in crashes due to the kernel being in a unsupported state.
    
    This could also happen during creation, but is less likely due to no
    objects being setup yet, so there are no watchers or users accessing the
    gws yet. The fix in this patch works for both update and initial setup.
    
    Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1795806
    
    
    
    Signed-off-by: default avatarMike Christie <mchristi@redhat.com>
    (cherry picked from commit 77f3b5d5)
    c2a93974