open-iscsi / target-isns

Target-isns is an iSNS client for the Linux LIO iSCSI target
GNU General Public License v2.0
16 stars 19 forks source link

Problem after the "source attribute" target is deregistered #10

Closed cvubrugier closed 10 years ago

cvubrugier commented 10 years ago

Consider the following sequence of operations:

  1. a target A exists
  2. target-isns is started and registers target A to the iSNS server
  3. a new target B is created and registered by target-isns
  4. The target A is removed and deregistered by target-isns
  5. A new target C is created but it is not correctly registered by target-isns

The problem at step 5 happens because target-isns does not use the right source attribute: it uses target A which does not longer exist.