Bug 1037602 - F20: iscsiadm: Error while adding record: no available memory
Summary: F20: iscsiadm: Error while adding record: no available memory
Alias: None
Product: Fedora
Classification: Fedora
Component: iscsi-initiator-utils
Version: 20
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Chris Leech
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2013-12-03 13:05 UTC by Douglas Schilling Landgraf
Modified: 2021-08-19 03:34 UTC (History)
8 users (show)

Fixed In Version: iscsi-initiator-utils-
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-01-03 14:58:30 UTC
Type: Bug

Attachments (Terms of Use)

Description Douglas Schilling Landgraf 2013-12-03 13:05:14 UTC
Description of problem:

when vdsm attempts to add a new record to the iscsi database it fails with the following error:

00:33:29,199::hsm::2369::Storage.HSM::(connectStorageServer) Could
not connect to storageServer
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/hsm.py", line 2366, in connectStorageServer
  File "/usr/share/vdsm/storage/storageServer.py", line 359, in connect
    iscsi.addIscsiNode(self._iface, self._target, self._cred)
  File "/usr/share/vdsm/storage/iscsi.py", line 150, in addIscsiNode
    iscsiadm.node_new(iface.name, portalStr, targetName)
  File "/usr/share/vdsm/storage/iscsiadm.py", line 239, in node_new
    raise IscsiNodeError(rc, out, err)
IscsiNodeError: (3, [], ['iscsiadm: Error while adding record: no
available memory'])

The commands that were run:
/usr/bin/sudo -n /sbin/iscsiadm -m discoverydb -t sendtargets -I default -p <server> --discover (succeeds)

/usr/bin/sudo -n /sbin/iscsiadm -m node -T <target> -I default -p <server> --op=new (fails)

Version-Release number of selected component (if applicable):

# cat /etc/fedora-release 
Fedora release 20 (Heisenbug)


Example from shell (without vdsm):
#  /sbin/iscsiadm -m discoverydb -t sendtargets -I default -p --discover,1 iqn.1992-04.com.emc:storage.storage.iscsisuper

# /sbin/iscsiadm -m node -T iscsisuper -I default -p --op=new 
iscsiadm: Error while adding record: no available memory

# free -m
             total       used       free     shared    buffers     cached
Mem:          7986       1113       6873          1         71        591
-/+ buffers/cache:        450       7536
Swap:         8079          0       8079

Additional info:

Looks like:
Failure when adding new record: "Error while adding record: no available memory"

Comment 1 Nir Soffer 2013-12-03 18:06:08 UTC
This error happen also on RHEV 6.4 when installing iscsi-initiator-utils- Version 872 does not have this error.

Comment 2 Douglas Schilling Landgraf 2013-12-03 19:06:17 UTC
From my tests I see that iscsi-initiator-utils- (or higher) introduces this error.

I was able to create and run a virtual machine with the last build before the above one (iscsi-initiator-utils-

Also did manual tests with below versions and it worked as well:

Comment 3 Douglas Schilling Landgraf 2013-12-16 15:11:51 UTC
Hello Chris,

Fedora 20 is knocking the door, do you need anything that I can help to provide a new build?


Comment 4 Fedora Update System 2013-12-17 04:27:45 UTC
iscsi-initiator-utils- has been submitted as an update for Fedora 20.

Comment 5 Fedora Update System 2013-12-19 07:18:56 UTC
Package iscsi-initiator-utils-
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing iscsi-initiator-utils-'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-01-03 14:58:30 UTC
iscsi-initiator-utils- has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.