← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1261644] [NEW] baremetal deploys can leak iscsi sessions

 

Public bug reported:

There is a hole in the error handling somewhere - failed deploys /
daemon restarts can leak sessions:

iscsiadm -m node
10.10.16.173:3260,1 iqn-b37386b2-fa29-4836-9ee7-f638dfca1ac9
10.10.16.177:3260,1 iqn-7b9e5f09-7134-4e7f-92b8-31347456dd9f
10.10.16.178:3260,1 iqn-5aa23554-913b-448d-be97-caae79b75a1b
10.10.16.181:3260,1 iqn-a79e34e8-bca6-46e7-8f3c-ae0e6306a13e
10.10.16.175:3260,1 iqn-627b7f63-8018-46c0-92fc-55b5abf6a1ae
10.10.16.171:3260,1 iqn-ec3364d0-231a-4ed3-a611-de85223effc4
10.10.16.179:3260,1 iqn-8abac231-d77d-47b9-ab37-b80da35d4410
10.10.16.176:3260,1 iqn-87a5e9a0-6b0f-4c18-a82d-5373bd8bfad3
10.10.16.172:3260,1 iqn-300cf804-aa47-4322-8ec0-a49c3ca121a3
10.10.16.174:3260,1 iqn-2ad0f967-c952-4d56-b386-e05f4376fdd2
10.10.16.171:3260,1 iqn-c4f1c80f-1a22-42b3-b984-0dee772dd44d
10.10.16.180:3260,1 iqn-4811f3f7-0aac-4fd5-a887-4763862efc88

and 
sdb      8:16   0   1.8T  0 disk 
├─sdb1   8:17   0  1000G  0 part 
├─sdb2   8:18   0   7.9M  0 part 
└─sdb3   8:19   0   500G  0 part 
sdc      8:32   0   1.8T  0 disk 
├─sdc1   8:33   0  1000G  0 part 
├─sdc2   8:34   0   7.9M  0 part 
└─sdc3   8:35   0   500G  0 part 

were leaked on our undercloud node.

Fixing should involve straight forward auditing of all codepaths to
ensure appropriate cleanup.

** Affects: ironic
     Importance: Undecided
         Status: New

** Affects: nova
     Importance: High
         Status: Triaged


** Tags: baremetal ironic

** Also affects: ironic
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1261644

Title:
  baremetal deploys can leak iscsi sessions

Status in Ironic (Bare Metal Provisioning):
  New
Status in OpenStack Compute (Nova):
  Triaged

Bug description:
  There is a hole in the error handling somewhere - failed deploys /
  daemon restarts can leak sessions:

  iscsiadm -m node
  10.10.16.173:3260,1 iqn-b37386b2-fa29-4836-9ee7-f638dfca1ac9
  10.10.16.177:3260,1 iqn-7b9e5f09-7134-4e7f-92b8-31347456dd9f
  10.10.16.178:3260,1 iqn-5aa23554-913b-448d-be97-caae79b75a1b
  10.10.16.181:3260,1 iqn-a79e34e8-bca6-46e7-8f3c-ae0e6306a13e
  10.10.16.175:3260,1 iqn-627b7f63-8018-46c0-92fc-55b5abf6a1ae
  10.10.16.171:3260,1 iqn-ec3364d0-231a-4ed3-a611-de85223effc4
  10.10.16.179:3260,1 iqn-8abac231-d77d-47b9-ab37-b80da35d4410
  10.10.16.176:3260,1 iqn-87a5e9a0-6b0f-4c18-a82d-5373bd8bfad3
  10.10.16.172:3260,1 iqn-300cf804-aa47-4322-8ec0-a49c3ca121a3
  10.10.16.174:3260,1 iqn-2ad0f967-c952-4d56-b386-e05f4376fdd2
  10.10.16.171:3260,1 iqn-c4f1c80f-1a22-42b3-b984-0dee772dd44d
  10.10.16.180:3260,1 iqn-4811f3f7-0aac-4fd5-a887-4763862efc88

  and 
  sdb      8:16   0   1.8T  0 disk 
  ├─sdb1   8:17   0  1000G  0 part 
  ├─sdb2   8:18   0   7.9M  0 part 
  └─sdb3   8:19   0   500G  0 part 
  sdc      8:32   0   1.8T  0 disk 
  ├─sdc1   8:33   0  1000G  0 part 
  ├─sdc2   8:34   0   7.9M  0 part 
  └─sdc3   8:35   0   500G  0 part 

  were leaked on our undercloud node.

  Fixing should involve straight forward auditing of all codepaths to
  ensure appropriate cleanup.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ironic/+bug/1261644/+subscriptions


Follow ups

References