[Bug 1618463] Re: udev race condition with qeth device and bridge_role

2018-02-15 Thread Dimitri John Ledkov
** Changed in: s390-tools (Ubuntu)
   Status: Fix Released => Invalid

** Changed in: s390-tools (Ubuntu Xenial)
   Status: Incomplete => Invalid

** Changed in: s390-tools (Ubuntu Yakkety)
   Status: Incomplete => Invalid

** Changed in: s390-tools (Ubuntu Zesty)
   Status: Confirmed => Invalid

** Changed in: ubuntu-z-systems
   Status: Fix Committed => Invalid

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

Title:
  udev race condition with qeth device and bridge_role

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1618463/+subscriptions

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

[Bug 1618463] Re: udev race condition with qeth device and bridge_role

2017-12-18 Thread Frank Heimes
** Changed in: ubuntu-z-systems
   Importance: Undecided => Medium

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

Title:
  udev race condition with qeth device and bridge_role

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1618463/+subscriptions

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

[Bug 1618463] Re: udev race condition with qeth device and bridge_role

2017-12-16 Thread Mathew Hodson
** Changed in: s390-tools (Ubuntu Zesty)
Milestone: ubuntu-17.03 => zesty-updates

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

Title:
  udev race condition with qeth device and bridge_role

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1618463/+subscriptions

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

[Bug 1618463] Re: udev race condition with qeth device and bridge_role

2017-10-21 Thread Mathew Hodson
** Changed in: s390-tools (Ubuntu)
   Importance: Undecided => Medium

** Changed in: s390-tools (Ubuntu Xenial)
   Importance: Undecided => Medium

** Changed in: s390-tools (Ubuntu Yakkety)
   Importance: Undecided => Medium

** Changed in: s390-tools (Ubuntu Zesty)
   Importance: Undecided => Medium

** Changed in: s390-tools (Ubuntu)
Milestone: ubuntu-17.03 => None

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

Title:
  udev race condition with qeth device and bridge_role

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1618463/+subscriptions

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

[Bug 1618463] Re: udev race condition with qeth device and bridge_role

2017-05-24 Thread Launchpad Bug Tracker
This bug was fixed in the package s390-tools - 1.37.0-0ubuntu5

---
s390-tools (1.37.0-0ubuntu5) artful; urgency=medium

  * Revert 1.37.0-0ubuntu2 "chzdev/qeth: set bridge_role after the device
is online", as one must specify layer2 parameter when specifying layer
specific parameters. LP: #1618463.

 -- Dimitri John Ledkov   Wed, 24 May 2017 17:03:44
+0100

** Changed in: s390-tools (Ubuntu)
   Status: Confirmed => Fix Released

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

Title:
  udev race condition with qeth device and bridge_role

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1618463/+subscriptions

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


[Bug 1618463] Re: udev race condition with qeth device and bridge_role

2017-05-22 Thread Dimitri John Ledkov
artful & zesty will need a revert.

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

Title:
  udev race condition with qeth device and bridge_role

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1618463/+subscriptions

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


[Bug 1618463] Re: udev race condition with qeth device and bridge_role

2017-05-22 Thread Dimitri John Ledkov
@admcleod

Based on feedback from IBM i'm going to withdraw this update. The
ordering of the flags is correct, as long as one activates the flag
needed to have bridge_role attribute available before onlining the
device.

Specifically one should use:

in-target chzdev --no-root-update -pVe c003 layer2=1
bridge_role=primary;

meaning... enable layer2 networking, which creates a bunch of attributes
specific to layer2 mode, including the bridge_role. Then set
bridge_role. Then online the device.

Testing this out here locally results in race free boots, without any
changes to the code.

Could you please try out above command in your preseeds without using
packages from proposed?

Regards,

Dimitri.

** Tags removed: verification-needed
** Tags added: verification-failed

** Changed in: s390-tools (Ubuntu Xenial)
   Status: Fix Committed => Incomplete

** Changed in: s390-tools (Ubuntu Yakkety)
   Status: Fix Committed => Incomplete

** Changed in: s390-tools (Ubuntu)
   Status: Fix Released => Confirmed

** Changed in: s390-tools (Ubuntu Zesty)
   Status: Fix Released => Confirmed

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

Title:
  udev race condition with qeth device and bridge_role

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1618463/+subscriptions

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


[Bug 1618463] Re: udev race condition with qeth device and bridge_role

2017-03-20 Thread Frank Heimes
** Also affects: ubuntu-z-systems
   Importance: Undecided
   Status: New

** Changed in: ubuntu-z-systems
   Status: New => Fix Committed

** Changed in: ubuntu-z-systems
 Assignee: (unassigned) => Dimitri John Ledkov (xnox)

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

Title:
  udev race condition with qeth device and bridge_role

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1618463/+subscriptions

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


[Bug 1618463] Re: udev race condition with qeth device and bridge_role

2017-03-20 Thread Andrew McLeod
Hi Brian,

I have tested "s390-tools 1.34.0-0ubuntu8.3" in Xenial and can confirm
it fixes the bug in Xenial. I am not currently able to test in Yakkety
or Zesty


Thanks!

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

Title:
  udev race condition with qeth device and bridge_role

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1618463/+subscriptions

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


[Bug 1618463] Re: udev race condition with qeth device and bridge_role

2017-03-16 Thread Brian Murray
Hello Andrew, or anyone else affected,

Accepted s390-tools into yakkety-proposed. The package will build now
and be available at
https://launchpad.net/ubuntu/+source/s390-tools/1.36.1-0ubuntu2.1 in a
few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: s390-tools (Ubuntu Yakkety)
   Status: In Progress => Fix Committed

** Tags added: verification-needed

** Changed in: s390-tools (Ubuntu Xenial)
   Status: In Progress => Fix Committed

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

Title:
  udev race condition with qeth device and bridge_role

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/s390-tools/+bug/1618463/+subscriptions

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


[Bug 1618463] Re: udev race condition with qeth device and bridge_role

2017-03-14 Thread Launchpad Bug Tracker
This bug was fixed in the package s390-tools - 1.37.0-0ubuntu2

---
s390-tools (1.37.0-0ubuntu2) zesty; urgency=medium

  * chzdev/qeth: set bridge_role after the device is online to avoid a
race condition when setting qeth attributes on boot. LP: #1618463.

 -- Dimitri John Ledkov   Tue, 14 Mar 2017 09:26:12
+

** Changed in: s390-tools (Ubuntu Zesty)
   Status: Fix Committed => Fix Released

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

Title:
  udev race condition with qeth device and bridge_role

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/s390-tools/+bug/1618463/+subscriptions

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


[Bug 1618463] Re: udev race condition with qeth device and bridge_role

2017-03-14 Thread Dimitri John Ledkov
** Changed in: s390-tools (Ubuntu Yakkety)
   Status: New => In Progress

** Changed in: s390-tools (Ubuntu Xenial)
   Status: New => In Progress

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

Title:
  udev race condition with qeth device and bridge_role

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/s390-tools/+bug/1618463/+subscriptions

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


[Bug 1618463] Re: udev race condition with qeth device and bridge_role

2017-03-14 Thread Dimitri John Ledkov
** Description changed:

+ [Impact]
+ 
+  * bridge_role property setting is racy on boot
+ 
+  * This results in incorrect bridge mode set on the devices, sometimes,
+ which leads to lack of desired connectivity (e.g. bridging internet to
+ containers)
+ 
+  * The fix for this issue is to set bridge_role, only after the device
+ is online
+ 
+  * Unfortunately the udev rules are not regenerated, therefore affected
+ systemd must manually remove and recreate chzdev rules
+ 
+ [Test Case]
+ 
+  * Remove qeth udev rules from /etc/udev/rules.d/
+  * Enable qeth device using chzdev with a non-default bridge_role setting, 
e.g.:
+chzdev --no-root-update -pVe c003 bridge_role=primary;
+  * Reboot and check that bridge_role setting is correctly set in the sysfs, 
e.g.:
+/sys/devices/qeth/0.0.c003/bridge_role
+ 
+ [Regression Potential]
+ 
+  * Minimal, the generated udev rules remain the same; the only
+ difference in the generated udev rules is the ordering in setting the
+ bridge_role attribute
+ 
+ [Other Info]
+  
+  * Original bug report:
+ 
  Attempting to set bridge_role = primary with the following command in
  preseed:
  
  in-target chzdev --no-root-update -pVe c003 bridge_role=primary;
  
  ...works, and generates the following udev rule for this device:
  
  https://pastebin.canonical.com/164271/
  
  However, after reboot:
  
  systemd-udevd[2634]: error opening
  ATTR{/sys/devices/qeth/0.0.c003/bridge_role} for writing: Permission
  denied
  
  More logging:
  
  https://pastebin.canonical.com/164272/
  
  after the system has booted, we are able to write to the file and set
  bridge_role to primary:
  
- root@10-13-3-10:/var/log# cat /sys/devices/qeth/0.0.c003/bridge_role 
+ root@10-13-3-10:/var/log# cat /sys/devices/qeth/0.0.c003/bridge_role
  none
  root@10-13-3-10:/var/log# echo primary > 
/sys/devices/qeth/0.0.c003/bridge_role
- root@10-13-3-10:/var/log# cat /sys/devices/qeth/0.0.c003/bridge_role 
+ root@10-13-3-10:/var/log# cat /sys/devices/qeth/0.0.c003/bridge_role
  primary

** Also affects: s390-tools (Ubuntu Yakkety)
   Importance: Undecided
   Status: New

** Also affects: s390-tools (Ubuntu Zesty)
   Importance: Undecided
 Assignee: Dimitri John Ledkov (xnox)
   Status: Fix Committed

** Also affects: s390-tools (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Changed in: s390-tools (Ubuntu Yakkety)
 Assignee: (unassigned) => Dimitri John Ledkov (xnox)

** Changed in: s390-tools (Ubuntu Xenial)
 Assignee: (unassigned) => Dimitri John Ledkov (xnox)

** Changed in: s390-tools (Ubuntu Zesty)
Milestone: None => ubuntu-17.03

** Changed in: s390-tools (Ubuntu Yakkety)
Milestone: None => yakkety-updates

** Changed in: s390-tools (Ubuntu Xenial)
Milestone: None => xenial-updates

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

Title:
  udev race condition with qeth device and bridge_role

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/s390-tools/+bug/1618463/+subscriptions

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


[Bug 1618463] Re: udev race condition with qeth device and bridge_role

2016-10-03 Thread Dimitri John Ledkov
sudo add-apt-repository ppa:ci-train-ppa-service/2038
sudo apt update
sudo apt dist-upgrade

After that please regenerate persistent configuration for your qeth
device, e.g.:

$ sudo chzdev -p -d 600
$ sudo chzdev -p -e 600 bridge_role=primary
$ sudo update-initramfs -u

undo any other manual changes to set bridge_role to primary, and finally
reboot to test the packages with a proposed fix for your issue.

Please note packages are pending publication, however should be
available shortly.

** Changed in: s390-tools (Ubuntu)
   Status: In Progress => Fix Committed

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

Title:
  udev race condition with qeth device and bridge_role

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/s390-tools/+bug/1618463/+subscriptions

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


[Bug 1618463] Re: udev race condition with qeth device and bridge_role

2016-10-03 Thread Dimitri John Ledkov
** Changed in: s390-tools (Ubuntu)
   Status: New => In Progress

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

Title:
  udev race condition with qeth device and bridge_role

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/s390-tools/+bug/1618463/+subscriptions

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


[Bug 1618463] Re: udev race condition with qeth device and bridge_role

2016-09-09 Thread Dimitri John Ledkov
** Changed in: s390-tools (Ubuntu)
 Assignee: (unassigned) => Dimitri John Ledkov (xnox)

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

Title:
  udev race condition with qeth device and bridge_role

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/s390-tools/+bug/1618463/+subscriptions

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


[Bug 1618463] Re: udev race condition with qeth device and bridge_role

2016-09-09 Thread Andrew McLeod
** Tags added: uosci

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

Title:
  udev race condition with qeth device and bridge_role

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/s390-tools/+bug/1618463/+subscriptions

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


[Bug 1618463] Re: udev race condition with qeth device and bridge_role

2016-08-30 Thread Dimitri John Ledkov
** Tags added: s390x

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

Title:
  udev race condition with qeth device and bridge_role

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/s390-tools/+bug/1618463/+subscriptions

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