[Bug 669142] Re: if-up.d/if-down.d scripts restart iSCSI inappropriately

2013-12-09 Thread Egor Andreev
It breaked my complex network initialisation at boot time (br+vlan+bond) until 
I removed the symlink /etc/network/if-up.d/open-iscsi
I use ubuntu 12.04.3

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/669142

Title:
  if-up.d/if-down.d scripts restart iSCSI inappropriately

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/669142/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 669142] Re: if-up.d/if-down.d scripts restart iSCSI inappropriately

2013-04-11 Thread SW
I am not sure if my iscsi config is general for all ubuntus, but at
least I replaced

if [ $IFACE = lo ]; then
exit 0
fi


with

if iscsiadm -m iface --op=show | grep -q ,$(ip link show $IFACE
2/dev/null | awk '$1==link/ether {print $2}'), ; then

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/669142

Title:
  if-up.d/if-down.d scripts restart iSCSI inappropriately

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/669142/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 669142] Re: if-up.d/if-down.d scripts restart iSCSI inappropriately

2012-11-12 Thread jmedina
This affected me,

Today I was adding a new interface and when I ifdown it it stop iscsi
service which caused multipath to fail, and then LVM and a few KVM
guests, I think you should remove this script from if-down.d and if-up.d
because it causes more damages than it helps.

It happend in ubuntu server 12.04.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/669142

Title:
  if-up.d/if-down.d scripts restart iSCSI inappropriately

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/669142/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 669142] Re: if-up.d/if-down.d scripts restart iSCSI inappropriately

2012-10-17 Thread James Troup
** Tags added: canonistack

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/669142

Title:
  if-up.d/if-down.d scripts restart iSCSI inappropriately

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/669142/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 669142] Re: if-up.d/if-down.d scripts restart iSCSI inappropriately

2012-09-19 Thread Eli Heady
Yes, still present in 12.04. This is a totally ridiculous mis-feature.
I'm having a hard time coming up with real scenarios in which you'd want
iscsid state to be changed when any single interface is brought down/up
(that is, outside of system init or shutdown).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/669142

Title:
  if-up.d/if-down.d scripts restart iSCSI inappropriately

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/669142/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 669142] Re: if-up.d/if-down.d scripts restart iSCSI inappropriately

2012-03-30 Thread Nathan Bird
Still present in 12.04. Glad I found it before putting very much on
there.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/669142

Title:
  if-up.d/if-down.d scripts restart iSCSI inappropriately

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/669142/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 669142] Re: if-up.d/if-down.d scripts restart iSCSI inappropriately

2011-11-22 Thread Sander Smeenk
Seeing the same in Maverick and Oneiric. Killed our VM-platform.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/669142

Title:
  if-up.d/if-down.d scripts restart iSCSI inappropriately

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/669142/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 669142] Re: if-up.d/if-down.d scripts restart iSCSI inappropriately

2011-07-08 Thread Razique Mahroua
I experienced the same issue.
I've modified the beginning of the script this way : 


PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/sbin/iscsid
ADM=/sbin/iscsiadm
PIDFILE=/var/run/iscsid.pid
NAMEFILE=/etc/iscsi/initiatorname.iscsi
ISCSI_INTERFACE=br1:0


[ -x $DAEMON ] || exit 0

# Support for ifupdown script.
# Don't bother to restart when lo is configured.
if [ $IFACE != $ISCSI_INTERFACE ]; then
exit 0
fi


So now, appart from the explicitely interface specified, the open-iscsi daemon 
doesn't restart :)
Pay attention if you use some aliased interfaces though, you coud physically 
loose the connectivity.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/669142

Title:
  if-up.d/if-down.d scripts restart iSCSI inappropriately

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/669142/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 669142] Re: if-up.d/if-down.d scripts restart iSCSI inappropriately

2011-07-08 Thread Razique Mahroua
Actually, I've slighly updated it :

# Support for ifupdown script.
# Don't bother to restart when lo is configured.
if [ $IFACE != $ISCSI_INTERFACE ]  [ -n $IFACE ]; then
echo Not restarting ISCSI daemon... (check the value of 
ISCSI_INTERFACE)
exit 0
fi

Which means that I restart iscsi when the explicitely interface is set,
but you are still able to restart the iscsi daemon while you invoke the
script.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/669142

Title:
  if-up.d/if-down.d scripts restart iSCSI inappropriately

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/669142/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 669142] Re: if-up.d/if-down.d scripts restart iSCSI inappropriately

2011-07-07 Thread Razique Mahroua
** Changed in: open-iscsi (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/669142

Title:
  if-up.d/if-down.d scripts restart iSCSI inappropriately

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/669142/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 669142] Re: if-up.d/if-down.d scripts restart iSCSI inappropriately

2011-01-14 Thread Wido
I would recommend even fully skipping these scripts.

We have various machines running with KVM and multiple network
interfaces. For example, when we want to bring down a bridge, Open-iSCSI
stops, which causes all our Virtual Machines to crash:

ifdown vlanbr103

That will cause Open-iSCSI to stop, while there is no iSCSI traffic over
that interface (it's bridge!).

I'd like to see this scripts removed from Open-iSCSI since they do more
harm then good.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/669142

Title:
  if-up.d/if-down.d scripts restart iSCSI inappropriately

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs