Description of problem: when vdsm attempts to add a new record to the iscsi database it fails with the following error: Thread-498::ERROR::2013-12-03 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 conObj.connect() 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) RPMs: iscsi-initiator-utils-6.2.0.873-12.fc20.x86_64 vdsm-4.13.0-12.fc20.x86_64 Example from shell (without vdsm): # /sbin/iscsiadm -m discoverydb -t sendtargets -I default -p 192.168.1.103 --discover 192.168.1.103:3260,1 iqn.1992-04.com.emc:storage.storage.iscsisuper # /sbin/iscsiadm -m node -T iscsisuper -I default -p 192.168.1.103 --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" https://bugzilla.redhat.com/show_bug.cgi?id=1001705
This error happen also on RHEV 6.4 when installing iscsi-initiator-utils-6.2.0.873. Version 872 does not have this error.
From my tests I see that iscsi-initiator-utils-6.2.0.873-11.fc20.x86_64 (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-6.2.0.873-9.fc20.x86_64). Also did manual tests with below versions and it worked as well: iscsi-initiator-utils-6.2.0.873-5.fc20.x86_64 iscsi-initiator-utils-6.2.0.873-7.fc20.x86_64 iscsi-initiator-utils-6.2.0.873-9.fc20.x86_64
Hello Chris, Fedora 20 is knocking the door, do you need anything that I can help to provide a new build? Thanks! Douglas
iscsi-initiator-utils-6.2.0.873-17.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/iscsi-initiator-utils-6.2.0.873-17.fc20
Package iscsi-initiator-utils-6.2.0.873-17.fc20: * 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-6.2.0.873-17.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-23572/iscsi-initiator-utils-6.2.0.873-17.fc20 then log in and leave karma (feedback).
iscsi-initiator-utils-6.2.0.873-17.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.