Menu

#2767 pyosaf: Fix invoke_admin_operation() method of ImmOmAgent

5.21.06
fixed
None
defect
pyosaf
-
major
False
2021-05-20
2018-01-22
Danh Vo
No

An error occurs when using the invoke_admin_operation() method to perform an admin operation which resturns operation_rc that is not SA_AIS_OK.

line: 292
log_err("Administrative operation(%s) on %s FAILED - %s" %
(op_id, object_dn, eSaAisErrorT.whatis(operation_rc)))

Related

Wiki: ChangeLog-5.21.06

Discussion

  • Anders Widell

    Anders Widell - 2018-02-02
    • Milestone: 5.18.01 --> 5.18.04
     
  • Gary Lee

    Gary Lee - 2018-09-29
    • Milestone: 5.18.04 --> 5.18.12
     
  • Gary Lee

    Gary Lee - 2019-01-09
    • Milestone: 5.19.01 --> future
     
  • Thien Minh Huynh

    • status: unassigned --> accepted
    • assigned_to: Thien Minh Huynh
     
  • Thien Minh Huynh

    • status: accepted --> review
    • Milestone: future --> 5.21.06
     
  • Thien Minh Huynh

    • status: review --> fixed
     
  • Thien Minh Huynh

    commit f938c0c375bbd77c4343d4bf3bed57abd45b58aa (HEAD -> develop, origin/develop)
    Author: thien.m.huynh thien.m.huynh@dektech.com.au
    Date: Tue May 11 09:50:58 2021 +0700

    pyosaf: Correct input for eSaAisErrorT.whatis() [#2767]
    
    There is a problem in process return code:
    operation_rc return type as object (cint) but
    eSaAisErrorT.whatis require input type interger.
    This fix is Correct input for eSaAisErrorT.whatis()
    
    In addition, this ticket allow immadm python tool can run
    without argument params.
    
     

Log in to post a comment.