Menu

#477 AMF should honour admin commands on middleware SU only when originated from SMF

future
unassigned
None
enhancement
amf
-
4.3
major
2016-01-13
2013-06-26
No

AMF should allow admin commands on middleware SU only if these commands are originated from SMF.

Commands like lock, lock-in and unlock, unlock-in of middleware 2N su should succeed only when SMF trigerrs them through the campaign.

If we dont bring in this restriction then there are problem areas (that are still not concretely defined but can be potential problems) as described in the migrated ticket #443.

Once this is fixed, the patch distributed by anders is acknowledged.

Related

Tickets: #477

Discussion

  • Nagendra Kumar

    Nagendra Kumar - 2013-08-22
    • Version: --> 4.3
     
  • Nagendra Kumar

    Nagendra Kumar - 2013-08-30

    Discussion related to this ticket in https://sourceforge.net/p/opensaf/tickets/436/

     
  • Nagendra Kumar

    Nagendra Kumar - 2013-09-06
    • status: unassigned --> assigned
    • assigned_to: Nagendra Kumar
     
  • Nagendra Kumar

    Nagendra Kumar - 2013-09-09
    • status: assigned --> accepted
    • assigned_to: Nagendra Kumar --> nobody
     
  • Nagendra Kumar

    Nagendra Kumar - 2013-09-09
    • assigned_to: Nagendra Kumar
     
  • Nagendra Kumar

    Nagendra Kumar - 2013-09-09
    • status: accepted --> review
     
  • Nagendra Kumar

    Nagendra Kumar - 2013-10-04
    • status: review --> fixed
     
  • Nagendra Kumar

    Nagendra Kumar - 2013-10-04

    changeset: 4530:c567a8243dcc
    tag: tip
    user: Nagendra Kumarnagendra.k@oracle.com
    date: Fri Oct 04 12:05:16 2013 +0530
    summary: amfd: Allow admin operation on middleware only when originated from SMF [#477]

    [staging:c567a8]

     

    Related

    Commit: [c567a8]
    Tickets: #477


    Last edit: Nagendra Kumar 2013-10-04
  • Bertil Engelholm

    Today SMF is setting maintenance state after locking e.g. SU's (according to SMF spec) so I wonder if this
    change will work ? What is the purpose with this change ?

    /Bertil

    From: Nagendra Kumar [mailto:nagendra-k@users.sf.net]
    Sent: den 4 oktober 2013 08:35
    To: [opensaf:tickets]
    Subject: [tickets] [opensaf:tickets] #477 AMF should honour admin commands on middleware SU only when originated from SMF

    changeset: 4530:c567a8243dcc
    tag: tip
    user: Nagendra Kumarnagendra.k@oracle.comnagendra.k@oracle.com
    date: Fri Oct 04 12:05:16 2013 +0530
    summary: amfd: Allow admin operation on middleware only when originated from SMF [#477]http://sourceforge.net/p/opensaf/tickets/477/

    [staging:c567a8]


    [tickets:#477]http://sourceforge.net/p/opensaf/tickets/477/ AMF should honour admin commands on middleware SU only when originated from SMF

    Status: fixed
    Created: Wed Jun 26, 2013 09:36 AM UTC by Mathi Naickan
    Last Updated: Mon Sep 09, 2013 11:54 AM UTC
    Owner: Nagendra Kumar

    AMF should allow admin commands on middleware SU only if these commands are originated from SMF.

    Commands like lock, lock-in and unlock, unlock-in of middleware 2N su should succeed only when SMF trigerrs them through the campaign.

    If we dont bring in this restriction then there are problem areas (that are still not concretely defined but can be potential problems) as described in the migrated ticket #443.

    Once this is fixed, the patch distributed by anders is acknowledged.


    Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.netopensaf-tickets@lists.sourceforge.net is subscribed to https://sourceforge.net/p/opensaf/tickets/

    To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

     

    Related

    Commit: [c567a8]
    Tickets: #477
    Tickets: tickets

  • Nagendra Kumar

    Nagendra Kumar - 2013-10-04

    Hi Bertil,

                                Is the below snaps getting referred by SMF ?:
    

    4.2.1.3 Detection of Asynchronous Failures of AMF Entities

    For AMF entities, this means that if a service unit is upgraded by an

    upgrade step, its saAmfSUMaintenanceCampaign attribute must be set by the

    Software Management Framework before the activation unit is activated.

    Thanks

    -Nagu

    From: Bertil Engelholm [mailto:ebereng@users.sf.net]
    Sent: 04 October 2013 12:21
    To: [opensaf:tickets]
    Subject: [tickets] [opensaf:tickets] Re: #477 AMF should honour admin commands on middleware SU only when originated from SMF

    Today SMF is setting maintenance state after locking e.g. SU's (according to SMF spec) so I wonder if this
    change will work ? What is the purpose with this change ?

    /Bertil

    From: Nagendra Kumar [mailto:nagendra-k@users.sf.net]
    Sent: den 4 oktober 2013 08:35
    To: [opensaf:tickets]
    Subject: HYPERLINK "http://sourceforge.net/p/opensaf/tickets/_discuss/"[tickets] [opensaf:tickets] #477 AMF should honour admin commands on middleware SU only when originated from SMF

    changeset: 4530:c567a8243dcc
    tag: tip
    user: Nagendra Kumarnagendra.k@oracle.comHYPERLINK "mailto:nagendra.k@oracle.com"nagendra.k@oracle.com
    date: Fri Oct 04 12:05:16 2013 +0530
    summary: amfd: Allow admin operation on middleware only when originated from SMF HYPERLINK "http://sourceforge.net/p/opensaf/tickets/477/"[#477]http://sourceforge.net/p/opensaf/tickets/477/

    HYPERLINK "http://sourceforge.net/p/opensaf/staging/ci/c567a8243dcc988855273e3218015afffae8694b/"[staging:c567a8]


    HYPERLINK "http://sourceforge.net/p/opensaf/tickets/477/"[tickets:#477]http://sourceforge.net/p/opensaf/tickets/477/ AMF should honour admin commands on middleware SU only when originated from SMF

    Status: fixed
    Created: Wed Jun 26, 2013 09:36 AM UTC by Mathi Naickan
    Last Updated: Mon Sep 09, 2013 11:54 AM UTC
    Owner: Nagendra Kumar

    AMF should allow admin commands on middleware SU only if these commands are originated from SMF.

    Commands like lock, lock-in and unlock, unlock-in of middleware 2N su should succeed only when SMF trigerrs them through the campaign.

    If we dont bring in this restriction then there are problem areas (that are still not concretely defined but can be potential problems) as described in the migrated ticket #443.

    Once this is fixed, the patch distributed by anders is acknowledged.


    Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.netHYPERLINK "mailto:opensaf-tickets@lists.sourceforge.net"opensaf-tickets@lists.sourceforge.net is subscribed to https://sourceforge.net/p/opensaf/tickets/

    To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.


    HYPERLINK "http://sourceforge.net/p/opensaf/tickets/477/"[tickets:#477] AMF should honour admin commands on middleware SU only when originated from SMF

    Status: fixed
    Created: Wed Jun 26, 2013 09:36 AM UTC by Mathi Naickan
    Last Updated: Fri Oct 04, 2013 06:35 AM UTC
    Owner: Nagendra Kumar

    AMF should allow admin commands on middleware SU only if these commands are originated from SMF.

    Commands like lock, lock-in and unlock, unlock-in of middleware 2N su should succeed only when SMF trigerrs them through the campaign.

    If we dont bring in this restriction then there are problem areas (that are still not concretely defined but can be potential problems) as described in the migrated ticket #443.

    Once this is fixed, the patch distributed by anders is acknowledged.


    Sent from sourceforge.net because HYPERLINK "mailto:opensaf-tickets@lists.sourceforge.net"opensaf-tickets@lists.sourceforge.net is subscribed to http://sourceforge.net/p/opensaf/tickets/

    To unsubscribe from further messages, a project admin can change settings at http://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

     

    Related

    Commit: [c567a8]
    Tickets: #477
    Tickets: tickets

  • Bertil Engelholm

    Yes, and our interpretation is that the maintenance state is set before the SU is ACTIVATED (unlocked), not DEACTIVATED (locked).
    Also see :
    3.3.2.3 Actions of the Upgrade Step

    1. Online installation of new software
    2. Lock deactivation unit
    3. Terminate deactivation unit
    4. Offline uninstallation of old software
    5. Modify information model and set maintenance status
    6. Offline installation of new software
    7. Instantiate activation unit
    8. Unlock activation unit
    9. Online uninstallation of old software

    /Bertil

    From: Nagendra Kumar [mailto:nagendra-k@users.sf.net]
    Sent: den 4 oktober 2013 08:59
    To: [opensaf:tickets]
    Subject: [opensaf:tickets] Re: #477 AMF should honour admin commands on middleware SU only when originated from SMF

    Hi Bertil,

                            Is the below snaps getting referred by SMF ?:
    

    4.2.1.3 Detection of Asynchronous Failures of AMF Entities

    For AMF entities, this means that if a service unit is upgraded by an

    upgrade step, its saAmfSUMaintenanceCampaign attribute must be set by the

    Software Management Framework before the activation unit is activated.

    Thanks

    -Nagu

    From: Bertil Engelholm [mailto:ebereng@users.sf.net]
    Sent: 04 October 2013 12:21
    To: [opensaf:tickets]
    Subject: [tickets]http://sourceforge.net/p/opensaf/tickets/_discuss/ [opensaf:tickets] Re: #477 AMF should honour admin commands on middleware SU only when originated from SMF

    Today SMF is setting maintenance state after locking e.g. SU's (according to SMF spec) so I wonder if this
    change will work ? What is the purpose with this change ?

    /Bertil

    From: Nagendra Kumar [mailto:nagendra-k@users.sf.net]
    Sent: den 4 oktober 2013 08:35
    To: [opensaf:tickets]
    Subject: HYPERLINK "http://sourceforge.net/p/opensaf/tickets/_discuss/"[tickets]http://sourceforge.net/p/opensaf/tickets/_discuss/ [opensaf:tickets] #477 AMF should honour admin commands on middleware SU only when originated from SMF

    changeset: 4530:c567a8243dcc
    tag: tip
    user: Nagendra Kumarnagendra.k@oracle.comHYPERLINKKumarnagendra.k@oracle.comHYPERLINK "mailto:nagendra.k@oracle.com"nagendra.k@oracle.com
    date: Fri Oct 04 12:05:16 2013 +0530
    summary: amfd: Allow admin operation on middleware only when originated from SMF HYPERLINK nagendra.k@oracle.com%0bdate:%20Fri%20Oct%2004%2012:05:16%202013%20+0530%0bsummary:%20amfd:%20Allow%20admin%20operation%20on%20middleware%20only%20when%20originated%20from%20SMF%20HYPERLINK%20 "http://sourceforge.net/p/opensaf/tickets/477/"[#477]http://sourceforge.net/p/opensaf/tickets/477/http://sourceforge.net/p/opensaf/tickets/477/

    HYPERLINK "http://sourceforge.net/p/opensaf/staging/ci/c567a8243dcc988855273e3218015afffae8694b/"[staging:c567a8]http://sourceforge.net/p/opensaf/staging/ci/c567a8243dcc988855273e3218015afffae8694b/


    HYPERLINK "http://sourceforge.net/p/opensaf/tickets/477/"[tickets:#477]http://sourceforge.net/p/opensaf/tickets/477/http://sourceforge.net/p/opensaf/tickets/477/ AMF should honour admin commands on middleware SU only when originated from SMF

    Status: fixed
    Created: Wed Jun 26, 2013 09:36 AM UTC by Mathi Naickan
    Last Updated: Mon Sep 09, 2013 11:54 AM UTC
    Owner: Nagendra Kumar

    AMF should allow admin commands on middleware SU only if these commands are originated from SMF.

    Commands like lock, lock-in and unlock, unlock-in of middleware 2N su should succeed only when SMF trigerrs them through the campaign.

    If we dont bring in this restriction then there are problem areas (that are still not concretely defined but can be potential problems) as described in the migrated ticket #443.

    Once this is fixed, the patch distributed by anders is acknowledged.


    Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.netHYPERLINKopensaf-tickets@lists.sourceforge.netHYPERLINK "mailto:opensaf-tickets@lists.sourceforge.net"opensaf-tickets@lists.sourceforge.net is subscribed to https://sourceforge.net/p/opensaf/tickets/

    To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.


    HYPERLINK "http://sourceforge.net/p/opensaf/tickets/477/"[tickets:#477]http://sourceforge.net/p/opensaf/tickets/477/ AMF should honour admin commands on middleware SU only when originated from SMF

    Status: fixed
    Created: Wed Jun 26, 2013 09:36 AM UTC by Mathi Naickan
    Last Updated: Fri Oct 04, 2013 06:35 AM UTC
    Owner: Nagendra Kumar

    AMF should allow admin commands on middleware SU only if these commands are originated from SMF.

    Commands like lock, lock-in and unlock, unlock-in of middleware 2N su should succeed only when SMF trigerrs them through the campaign.

    If we dont bring in this restriction then there are problem areas (that are still not concretely defined but can be potential problems) as described in the migrated ticket #443.

    Once this is fixed, the patch distributed by anders is acknowledged.


    Sent from sourceforge.net because HYPERLINK "mailto:opensaf-tickets@lists.sourceforge.net"opensaf-tickets@lists.sourceforge.net is subscribed to http://sourceforge.net/p/opensaf/tickets/

    To unsubscribe from further messages, a project admin can change settings at http://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.


    [tickets:#477]http://sourceforge.net/p/opensaf/tickets/477/ AMF should honour admin commands on middleware SU only when originated from SMF

    Status: fixed
    Created: Wed Jun 26, 2013 09:36 AM UTC by Mathi Naickan
    Last Updated: Fri Oct 04, 2013 06:35 AM UTC
    Owner: Nagendra Kumar

    AMF should allow admin commands on middleware SU only if these commands are originated from SMF.

    Commands like lock, lock-in and unlock, unlock-in of middleware 2N su should succeed only when SMF trigerrs them through the campaign.

    If we dont bring in this restriction then there are problem areas (that are still not concretely defined but can be potential problems) as described in the migrated ticket #443.

    Once this is fixed, the patch distributed by anders is acknowledged.


    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/opensaf/tickets/477/

    To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

     

    Related

    Commit: [c567a8]
    Tickets: #477
    Tickets: tickets

  • Nagendra Kumar

    Nagendra Kumar - 2013-10-04

    I guess, SMF should change its implementation to set SUMaintenance flag before locking. SMF doesn't say clearly but then locking is part of upgrade and if locking fails, AMF is not supposed to take any action on failures.

    Thanks
    -Nagu
    -----Original Message-----
    From: Bertil Engelholm [mailto:ebereng@users.sf.net]
    Sent: 04 October 2013 12:21
    To: [opensaf:tickets]
    Subject: [opensaf:tickets] Re: #477 AMF should honour admin commands on middleware SU only when originated from SMF

    Today SMF is setting maintenance state after locking e.g. SU's (according to SMF spec) so I wonder if this change will work ? What is the purpose with this change ?

    /Bertil

    From: Nagendra Kumar [mailto:nagendra-k@users.sf.net]
    Sent: den 4 oktober 2013 08:35
    To: [opensaf:tickets]
    Subject: [tickets] [opensaf:tickets] #477 AMF should honour admin commands on middleware SU only when originated from SMF

    changeset: 4530:c567a8243dcc
    tag: tip
    user: Nagendra Kumarnagendra.k@oracle.comnagendra.k@oracle.com
    date: Fri Oct 04 12:05:16 2013 +0530
    summary: amfd: Allow admin operation on middleware only when originated from SMF [#477]http://sourceforge.net/p/opensaf/tickets/477/

    [staging:c567a8]


    [tickets:#477]http://sourceforge.net/p/opensaf/tickets/477/ AMF should honour admin commands on middleware SU only when originated from SMF

    Status: fixed
    Created: Wed Jun 26, 2013 09:36 AM UTC by Mathi Naickan Last Updated: Mon Sep 09, 2013 11:54 AM UTC
    Owner: Nagendra Kumar

    AMF should allow admin commands on middleware SU only if these commands are originated from SMF.

    Commands like lock, lock-in and unlock, unlock-in of middleware 2N su should succeed only when SMF trigerrs them through the campaign.

    If we dont bring in this restriction then there are problem areas (that are still not concretely defined but can be potential problems) as described in the migrated ticket #443.

    Once this is fixed, the patch distributed by anders is acknowledged.


    Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.netopensaf-tickets@lists.sourceforge.net is subscribed to https://sourceforge.net/p/opensaf/tickets/

    To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.


    ** [tickets:#477] AMF should honour admin commands on middleware SU only when originated from SMF**

    Status: fixed
    Created: Wed Jun 26, 2013 09:36 AM UTC by Mathi Naickan Last Updated: Fri Oct 04, 2013 06:35 AM UTC
    Owner: Nagendra Kumar

    AMF should allow admin commands on middleware SU only if these commands are originated from SMF.

    Commands like lock, lock-in and unlock, unlock-in of middleware 2N su should succeed only when SMF trigerrs them through the campaign.

    If we dont bring in this restriction then there are problem areas (that are still not concretely defined but can be potential problems) as described in the migrated ticket #443.

    Once this is fixed, the patch distributed by anders is acknowledged.


    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/opensaf/tickets/477/

    To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

     

    Related

    Commit: [c567a8]
    Tickets: #477
    Tickets: tickets

  • Nagendra Kumar

    Nagendra Kumar - 2013-10-09
    • status: fixed --> assigned
    • assigned_to: Nagendra Kumar --> Mathi Naickan
     
  • Nagendra Kumar

    Nagendra Kumar - 2013-10-09

    changeset: 4541:4e5fabb7417a
    tag: tip
    user: Nagendra Kumarnagendra.k@oracle.com
    date: Wed Oct 09 16:13:22 2013 +0530
    summary: amfd: Revert of changeset 4530:c567a8243dcc for ticket #477

     
  • Anders Widell

    Anders Widell - 2013-11-11
    • Milestone: 4.4.FC --> 4.5.FC
     
  • Mathi Naickan

    Mathi Naickan - 2014-08-08
    • Milestone: 4.5.FC --> 4.6.FC
     
  • Mathi Naickan

    Mathi Naickan - 2014-08-08

    Needs followup.

     
  • Nagendra Kumar

    Nagendra Kumar - 2015-01-20
    • Milestone: 4.6.FC --> 5.0
     
  • Nagendra Kumar

    Nagendra Kumar - 2016-01-13
    • Milestone: 5.0.FC --> future
     
  • Nagendra Kumar

    Nagendra Kumar - 2016-01-13
    • status: assigned --> unassigned
     

Log in to post a comment.