Menu

#444 osafdtmd needs to exit with failure rather than rebooting the system in case of missing configurations

future
accepted
nobody
None
defect
dtm
-
major
False
2017-08-28
2013-06-06
No

In case of missing configuration, it would be better to log the error in the syslog and exit rather than reboot the system. The system goes for continuous reboots in such cases.

Starting OpenSAF Services: Jun 6 14:46:45 OEL-64BIT-SLOT4 osafdtmd[2199]: Started
Jun 6 14:46:45 OEL-64BIT-SLOT4 osafdtmd[2199]: ER DTM: Could not open file node_name
Jun 6 14:46:45 OEL-64BIT-SLOT4 osafdtmd[2199]: ER DTM:Error reading /etc/opensaf/dtmd.conf. errno : 2
Jun 6 14:46:45 OEL-64BIT-SLOT4 opensafd[2190]: ER Failed #012 DESC:TRANSPORT
Jun 6 14:46:45 OEL-64BIT-SLOT4 opensafd[2190]: ER Going for recovery
Jun 6 14:46:45 OEL-64BIT-SLOT4 opensafd[2190]: ER Trying To RESPAWN /usr/lib64/opensaf/clc-cli/osaf-transport attempt #1
Jun 6 14:46:45 OEL-64BIT-SLOT4 opensafd[2190]: ER Sending SIGKILL to TRANSPORT, pid=2191
Jun 6 14:46:45 OEL-64BIT-SLOT4 opensafd[2203]: ER Failed to exec while forking script, err=No such file or directory
Jun 6 14:47:00 OEL-64BIT-SLOT4 osafdtmd[2214]: Started
Jun 6 14:47:00 OEL-64BIT-SLOT4 osafdtmd[2214]: ER DTM: Could not open file node_name
Jun 6 14:47:00 OEL-64BIT-SLOT4 osafdtmd[2214]: ER DTM:Error reading /etc/opensaf/dtmd.conf. errno : 2
Jun 6 14:47:00 OEL-64BIT-SLOT4 opensafd[2190]: ER Could Not RESPAWN TRANSPORT
Jun 6 14:47:00 OEL-64BIT-SLOT4 opensafd[2190]: ER Failed #012 DESC:TRANSPORT
Jun 6 14:47:00 OEL-64BIT-SLOT4 opensafd[2190]: ER Trying To RESPAWN /usr/lib64/opensaf/clc-cli/osaf-transport attempt #2
Jun 6 14:47:00 OEL-64BIT-SLOT4 opensafd[2190]: ER Sending SIGKILL to TRANSPORT, pid=2206
Jun 6 14:47:00 OEL-64BIT-SLOT4 opensafd[2217]: ER Failed to exec while forking script, err=No such file or directory
Jun 6 14:47:15 OEL-64BIT-SLOT4 osafdtmd[2229]: Started
Jun 6 14:47:15 OEL-64BIT-SLOT4 osafdtmd[2229]: ER DTM: Could not open file node_name
Jun 6 14:47:15 OEL-64BIT-SLOT4 osafdtmd[2229]: ER DTM:Error reading /etc/opensaf/dtmd.conf. errno : 2
Jun 6 14:47:15 OEL-64BIT-SLOT4 opensafd[2190]: ER Could Not RESPAWN TRANSPORT
Jun 6 14:47:15 OEL-64BIT-SLOT4 opensafd[2190]: ER Failed #012 DESC:TRANSPORT
Jun 6 14:47:15 OEL-64BIT-SLOT4 opensafd[2190]: ER FAILED TO RESPAWN
Jun 6 14:47:15 OEL-64BIT-SLOT4 osafdtmd: osafdtmd Process down, Rebooting the node
Jun 6 14:47:15 OEL-64BIT-SLOT4 opensaf_reboot: Rebooting local node

here node_name file is missing

Related

Wiki: ChangeLog-4.4.1

Discussion

  • Mathi Naickan

    Mathi Naickan - 2013-06-21
    • assigned_to: A V Mahesh (AVM)
    • Type: enhancement --> defect
    • Priority: minor --> major
    • Milestone: future --> 4.4.FC
     
  • Mathi Naickan

    Mathi Naickan - 2013-06-21

    A wrong IP address is a very basic mistake that one could make. The node should not reboot.

     
  • A V Mahesh (AVM)

    • status: unassigned --> assigned
     
  • Anders Widell

    Anders Widell - 2014-01-09
    • Milestone: 4.4.FC --> 4.4.RC1
     
  • A V Mahesh (AVM)

    • status: assigned --> duplicate
     
  • A V Mahesh (AVM)

    Not reproducible might be fixed as pat of Ticket #232

     
  • A V Mahesh (AVM)

    • status: duplicate --> accepted
     
  • A V Mahesh (AVM)

    Reproducible , Patch will be published soon .

     
  • Anders Widell

    Anders Widell - 2015-11-02
    • Milestone: 4.4.RC1 --> 4.6.2
     
  • Mathi Naickan

    Mathi Naickan - 2016-05-04
    • Milestone: 4.6.2 --> 4.7.2
     
  • Anders Widell

    Anders Widell - 2016-09-20
    • Milestone: 4.7.2 --> 5.0.2
     
  • Anders Widell

    Anders Widell - 2017-04-03
    • Milestone: 5.0.2 --> next
     
  • A V Mahesh (AVM)

    • assigned_to: A V Mahesh (AVM) --> nobody
    • Blocker: --> False
    • Milestone: 5.17.08 --> future
     

Log in to post a comment.