J
Josegar
Guest
Hi;
I have this scenario:
Centos 6.3 fresh install, configured has iscsi target.
Proxmox 2.2
Whent try to conect one iscsi target from the webIU, the log/messages from centos make a recursive error every 9-10 sg.
teststorage tgtd: conn_close(101) connection closed, 0xb7e258 1
But, if added the iscsi iniciator for de cmd, no problem happends.
I thing are some bug in the system to make the iscsi conections in the webIU, somebody have ant solution ?
I see that function in the ISCSIPlugin.pm :
sub iscsi_session_rescan {
my $session_list = shift;
check_iscsi_support();
my $rstat = stat($rescan_filename);
if (!$rstat) {
if (my $fh = IO::File->new($rescan_filename, "a")) {
utime undef, undef, $fh;
close($fh);
}
} else {
my $atime = $rstat->atime;
my $tdiff = time() - $atime;
# avoid frequent rescans
return if !($tdiff < 0 || $tdiff > 10);
utime undef, undef, $rescan_filename;
}
The time condition is similar to the fault i experience. Can be the problem ?.
I have this scenario:
Centos 6.3 fresh install, configured has iscsi target.
Proxmox 2.2
Whent try to conect one iscsi target from the webIU, the log/messages from centos make a recursive error every 9-10 sg.
teststorage tgtd: conn_close(101) connection closed, 0xb7e258 1
But, if added the iscsi iniciator for de cmd, no problem happends.
I thing are some bug in the system to make the iscsi conections in the webIU, somebody have ant solution ?
I see that function in the ISCSIPlugin.pm :
sub iscsi_session_rescan {
my $session_list = shift;
check_iscsi_support();
my $rstat = stat($rescan_filename);
if (!$rstat) {
if (my $fh = IO::File->new($rescan_filename, "a")) {
utime undef, undef, $fh;
close($fh);
}
} else {
my $atime = $rstat->atime;
my $tdiff = time() - $atime;
# avoid frequent rescans
return if !($tdiff < 0 || $tdiff > 10);
utime undef, undef, $rescan_filename;
}
The time condition is similar to the fault i experience. Can be the problem ?.
Last edited by a moderator: