[Bug 810044] Re: cloud-init will have race conditions for cloud-config with multiple network adapters

2011-10-27 Thread Scott Moser
** Changed in: cloud-init
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/810044

Title:
  cloud-init will have race conditions for cloud-config with multiple
  network adapters

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/810044/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 810044] Re: cloud-init will have race conditions for cloud-config with multiple network adapters

2011-09-16 Thread Launchpad Bug Tracker
** Branch linked: lp:~serge-hallyn/ubuntu/natty/ifupdown/static-net-up

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/810044

Title:
  cloud-init will have race conditions for cloud-config with multiple
  network adapters

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/810044/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 810044] Re: cloud-init will have race conditions for cloud-config with multiple network adapters

2011-08-01 Thread Scott Moser
** Changed in: cloud-init
   Importance: Undecided => Medium

** Changed in: cloud-init
   Status: Triaged => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/810044

Title:
  cloud-init will have race conditions for cloud-config with multiple
  network adapters

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/810044/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 810044] Re: cloud-init will have race conditions for cloud-config with multiple network adapters

2011-08-01 Thread Scott Moser
Just for reference, the code added here for ifupdown is expected to be
used to fix bug 580319 .

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/810044

Title:
  cloud-init will have race conditions for cloud-config with multiple
  network adapters

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/810044/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 810044] Re: cloud-init will have race conditions for cloud-config with multiple network adapters

2011-08-01 Thread Launchpad Bug Tracker
This bug was fixed in the package cloud-init - 0.6.1-0ubuntu13

---
cloud-init (0.6.1-0ubuntu13) oneiric; urgency=low

  * do not install 92-uec-upgrade-available as a motd hook.  This file was
installed but did not do anything since updates-check was removed.
  * support multiple staticly configured network devices, as long as
all of them come up early (LP: #810044)

  [Marc Cluet]
  * add support for passing mcollective keys via cloud-config
  * add support for 'include-once' type.  include-once urls are only
retrieved once-per-instance rather than on every boot.
 -- Scott MoserMon, 01 Aug 2011 16:45:40 -0400

** Branch linked: lp:ubuntu/cloud-init

** Changed in: cloud-init (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/810044

Title:
  cloud-init will have race conditions for cloud-config with multiple
  network adapters

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/810044/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 810044] Re: cloud-init will have race conditions for cloud-config with multiple network adapters

2011-08-01 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/ifupdown

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/810044

Title:
  cloud-init will have race conditions for cloud-config with multiple
  network adapters

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/810044/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 810044] Re: cloud-init will have race conditions for cloud-config with multiple network adapters

2011-08-01 Thread Launchpad Bug Tracker
This bug was fixed in the package ifupdown - 0.6.10ubuntu5

---
ifupdown (0.6.10ubuntu5) oneiric; urgency=low

  [Scott Moser]
  * debian/ifupdown.upstart.if-up: emit static-network-up when all auto
network interfaces are up. (LP: #810044)

  [ Clint Byrum ]
  * debian/rules: dh_installinit has changed and exposes that the
network-interface-security job should also have --noscripts
 -- Clint ByrumMon, 01 Aug 2011 12:40:37 -0700

** Changed in: ifupdown (Ubuntu)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/810044

Title:
  cloud-init will have race conditions for cloud-config with multiple
  network adapters

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/810044/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 810044] Re: cloud-init will have race conditions for cloud-config with multiple network adapters

2011-08-01 Thread Launchpad Bug Tracker
** Branch linked: lp:cloud-init

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/810044

Title:
  cloud-init will have race conditions for cloud-config with multiple
  network adapters

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/810044/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 810044] Re: cloud-init will have race conditions for cloud-config with multiple network adapters

2011-08-01 Thread Scott Moser
My branch (linked above) has a fix for the 'ifquery --list' issue
(manually parsing /etc/interfaces).  I realize that is less than ideal.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/810044

Title:
  cloud-init will have race conditions for cloud-config with multiple
  network adapters

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/810044/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 810044] Re: cloud-init will have race conditions for cloud-config with multiple network adapters

2011-08-01 Thread Scott Moser
@clint,
  I think there is an issue with the branch you've been working on when 
mappings are used.
  I've fixed my branch to use the first token of /var/run/network/ifstate 
rather than the second.  Experimentation showed that the first field will be 
the physical interface and the second would be the virtual.  'auto' lines in 
interfaces reference virtual.

  That would seem to be fine, but my issue right now is that 'ifquery
--list' does not show any interfaces that have had mappings done.
Sadly:

$ cat /etc/network/interfaces
auto eth0
mapping eth0
  script /usr/local/bin/print-last
  map AUTO xdhcp
  map MANUAL xmanual
iface xdhcp inet dhcp
iface xmanual inet static
  address 192.168.42.1
  netmask 255.255.255.0

$ cat /usr/local/bin/print-last
#!/bin/sh
while read name val; do last=$val; done
echo $last

$ sudo ifquery --list
lo
Ignoring unknown interface eth0=eth0.

$ sudo ifup eth0
$ cat /var/run/network/ifstate 
lo=lo
eth0=xmanual

$ sudo ifquery --list
lo
Ignoring unknown interface eth0=eth0.

The 'Ignoring' message goes to stderr.

The issue, is that with the current implementation, the 'static-network-
up' would fire as soon as 'lo' was up. Because the 'ifquery --list' is
not providing a complete list to stdout as expected.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/810044

Title:
  cloud-init will have race conditions for cloud-config with multiple
  network adapters

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/810044/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 810044] Re: cloud-init will have race conditions for cloud-config with multiple network adapters

2011-08-01 Thread Scott Moser
Clint pointed me at lp:~clint-fewbar/ubuntu/oneiric/ifupdown/static-network-up/ 
a few weeks ago.
I made some changes to that to avoid the temp file needs and pushed those to
  lp:~smoser/ubuntu/oneiric/ifupdown/static-network-up/

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/810044

Title:
  cloud-init will have race conditions for cloud-config with multiple
  network adapters

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/810044/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 810044] Re: cloud-init will have race conditions for cloud-config with multiple network adapters

2011-08-01 Thread Launchpad Bug Tracker
** Branch linked: lp:~smoser/ubuntu/oneiric/ifupdown/static-network-up

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/810044

Title:
  cloud-init will have race conditions for cloud-config with multiple
  network adapters

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/810044/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 810044] Re: cloud-init will have race conditions for cloud-config with multiple network adapters

2011-07-22 Thread Scott Moser
** Also affects: ifupdown (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/810044

Title:
  cloud-init will have race conditions for cloud-config with multiple
  network adapters

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/810044/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 810044] Re: cloud-init will have race conditions for cloud-config with multiple network adapters

2011-07-19 Thread Scott Moser
** Changed in: cloud-init
   Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/810044

Title:
  cloud-init will have race conditions for cloud-config with multiple
  network adapters

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/810044/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 810044] Re: cloud-init will have race conditions for cloud-config with multiple network adapters

2011-07-19 Thread Scott Moser
The belief is that Clint is going to add some event in upstart that will be 
fired when all 'auto' network interfaces in /etc/network/interfaces are up.  
Given that event named 'NEW_NETWORK_DEVICES_ARE_UP_EVENT', the patch for this 
bug looks something (I think) like this:

--- upstart/cloud-init-nonet.conf   2011-06-28 10:41:05 +
+++ upstart/cloud-init-nonet.conf   2011-07-19 17:15:51 +
@@ -3,7 +3,7 @@
 #  * to block running of cloud-init until a non 'lo' interface is up
 #  * timeout if one doens't come up in a reasonable amount of time
 start on mounted MOUNTPOINT=/ and stopped cloud-init-local
-stop on net-device-up IFACE!=lo
+stop on NEW_NETWORK_DEVICES_ARE_UP_EVENT
 task
 
 console output

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/810044

Title:
  cloud-init will have race conditions for cloud-config with multiple
  network adapters

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/810044/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 810044] Re: cloud-init will have race conditions for cloud-config with multiple network adapters

2011-07-15 Thread Dave Walker
** Changed in: cloud-init (Ubuntu)
   Importance: Undecided => Medium

** Changed in: cloud-init (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/810044

Title:
  cloud-init will have race conditions for cloud-config with multiple
  network adapters

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/810044/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 810044] Re: cloud-init will have race conditions for cloud-config with multiple network adapters

2011-07-13 Thread Scott Moser
** Also affects: cloud-init
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/810044

Title:
  cloud-init will have race conditions for cloud-config with multiple
  network adapters

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/810044/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 810044] Re: cloud-init will have race conditions for cloud-config with multiple network adapters

2011-07-13 Thread Scott Moser
-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/810044

Title:
  cloud-init will have race conditions for cloud-config with multiple
  network adapters

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/810044/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs