**Core issue:**

1.      By using  install_campaign.xml we have installed software on 2 SC’s
2.      Later by using upgrade_campaign.xml we tried to remove the same 
software on 2 SC’s and Install the same on 2 PL’s. 
For this we have added one swAdd with PL’s and swRemove with SC’s.

**Issue:** In current code under one procedure If we add and remove same 
software we will only remove the software (but not add).  Instead of comparing 
the AMF nodes in both the tags the current code is validating only BundleDN. 

**Code Fix:** We are comparing the AmfNodes inside the swAdd and swRemove tags 
and make decision to remove or add software wisely.



---

** [tickets:#2675] smf: SMF cannot distinguish swAdd and swRemove in same 
procedure.**

**Status:** assigned
**Milestone:** 5.18.01
**Created:** Fri Nov 10, 2017 06:35 AM UTC by Vijay Roy
**Last Updated:** Fri Nov 10, 2017 06:35 AM UTC
**Owner:** Vijay Roy


**Problem Summary:**
If software installed on all the nodes (where not required) 
So, inorder to fix the accidental installation of software on nodes that are 
not required by using an upgrade campaign that remove software from SCs and 
upgrade software on PLs.

The problem is that SMF ignores both swAdd and swRemove when it is same 
procedure and for same software bundle.As consequence, software is removed from 
all nodes.

**Log Message**
Oct 23 20:33:26.809021 osafsmfd 
[4440:5908:../../opensaf/src/smf/smfd/SmfUpgradeMethod.cc:0183] TR 
SmfUpgradeScope::removeSwAddRemoveDuplicates(): 
Bundle=safSmfBundle=campaign_install.xml found in <swAdd> and <swRemove> within 
a procedure, remove from both lists


---

Sent from sourceforge.net because [email protected] 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.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to