[Bug 503850] Re: Upstart publication scripts no longer run

2010-01-06 Thread Thierry Carrez
** Changed in: eucalyptus (Ubuntu)
   Importance: Undecided = High

** Changed in: eucalyptus (Ubuntu)
   Status: New = Triaged

** Changed in: eucalyptus (Ubuntu)
 Assignee: (unassigned) = Thierry Carrez (ttx)

** Also affects: eucalyptus (Ubuntu Lucid)
   Importance: High
 Assignee: Thierry Carrez (ttx)
   Status: Triaged

** Changed in: eucalyptus (Ubuntu Lucid)
Milestone: None = lucid-alpha-2

-- 
Upstart publication scripts no longer run
https://bugs.launchpad.net/bugs/503850
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.

-- 
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 503850] Re: Upstart publication scripts no longer run

2010-01-06 Thread Thierry Carrez
slangasek ttx: because of The Upstart Bug
ttx slangasek: the TUB ?
slangasek ttx: you would have to also restart avahi-daemon in order for 
upstart to see again that the second half of the condition is satisfied

Let's workaround it by not stopping, and respawning the publication job.

** Changed in: eucalyptus (Ubuntu Lucid)
   Status: Triaged = In Progress

** Changed in: eucalyptus (Ubuntu Lucid)
Milestone: lucid-alpha-2 = None

-- 
Upstart publication scripts no longer run
https://bugs.launchpad.net/bugs/503850
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.

-- 
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 503850] Re: Upstart publication scripts no longer run

2010-01-06 Thread Thierry Carrez
** Changed in: eucalyptus (Ubuntu Lucid)
   Status: In Progress = Fix Committed

-- 
Upstart publication scripts no longer run
https://bugs.launchpad.net/bugs/503850
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.

-- 
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 503850] Re: Upstart publication scripts no longer run

2010-01-06 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/eucalyptus/ubuntu

-- 
Upstart publication scripts no longer run
https://bugs.launchpad.net/bugs/503850
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.

-- 
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 503850] Re: Upstart publication scripts no longer run

2010-01-06 Thread Thierry Carrez
Working around The Upstart Bug, the publication upstart jobs now
switched to:

start on started ssh and started avahi-daemon and net-device-up
IFACE=eth0

That results in:
lo is up
ssh and avahi-daemon start on lo
eth0 comes up
ssh and avahi-daemon restart
publication job starts

It will still fail if avahi-daemon is stopped (the publication job will
be stopped and not restarted), but tha's already the case in 9.10.

-- 
Upstart publication scripts no longer run
https://bugs.launchpad.net/bugs/503850
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.

-- 
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


Re: [Bug 503850] Re: Upstart publication scripts no longer run

2010-01-06 Thread Mathias Gug
On Wed, Jan 06, 2010 at 04:33:33PM -, Thierry Carrez wrote:
 It will still fail if avahi-daemon is stopped (the publication job will
 be stopped and not restarted), but tha's already the case in 9.10.


I think you need to have avahi-daemon running no matter what in order to have
avahi-publish working correctly. If avahi-daemon is stopped, the avahi-publish
job would be failing all the time.

-- 
Mathias Gug
Ubuntu Developer  http://www.ubuntu.com

-- 
Upstart publication scripts no longer run
https://bugs.launchpad.net/bugs/503850
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.

-- 
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 503850] Re: Upstart publication scripts no longer run

2010-01-06 Thread Mathias Gug
In the same area, none of the -publication jobs are run after a package
install. Only the eucalyptus-cloud-publication works as expected - it
starts on started eucalyptus-cloud and doesn't depend on neither ssh nor
avahi-daemon.

So I'm not sure that start on started ssh and started avahi-daemon and
net-device-up IFACE=eth0 fixes that problem. Why not start the
-publication jobs once their service counterparts are started (like in
eucalyptus-cloud)?

-- 
Upstart publication scripts no longer run
https://bugs.launchpad.net/bugs/503850
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.

-- 
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 503850] Re: Upstart publication scripts no longer run

2010-01-06 Thread Mathias Gug
Another solution could be to drop the --noscripts option from
dh_installinit in debian/rules so that relevant upstart jobs are
actually started on package installation.

-- 
Upstart publication scripts no longer run
https://bugs.launchpad.net/bugs/503850
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.

-- 
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 503850] Re: Upstart publication scripts no longer run

2010-01-06 Thread Launchpad Bug Tracker
This bug was fixed in the package eucalyptus - 1.6.2~bzr1120-0ubuntu4

---
eucalyptus (1.6.2~bzr1120-0ubuntu4) lucid; urgency=low

  [ Thierry Carrez ]
  * debian/*publication.upstart: Start publication jobs when eth0 is up, and
never stop them to work around The Upstart Bug (LP: #503850)

  [ Dustin Kirkland ]
  * debian/control, debian/eucalyptus-nc.upstart: (LP: #446036, #452572)
- add a versioned depends for eucalyptus-nc on a new version
  of libvirt-bin that starts using upstart
- start eucalyptus-nc on started libvirt-bin
 -- Dustin Kirkland kirkl...@ubuntu.com   Wed, 06 Jan 2010 19:16:01 -0600

** Changed in: eucalyptus (Ubuntu Lucid)
   Status: Fix Committed = Fix Released

-- 
Upstart publication scripts no longer run
https://bugs.launchpad.net/bugs/503850
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.

-- 
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 503850] Re: Upstart publication scripts no longer run

2010-01-06 Thread Thierry Carrez
@Mathias:
For SC/CC/Walrus/NC, the publication has to be done when the package is 
installed and ssh is started (see autoregistration spec). An SC, for example, 
will not fully start until credentials have been synced. On installs where SC 
is separated from CLC, this won't happen until registration. And registration 
won't happen until publication :)

Comment #5 is probably a good idea, could you open a new bug to track
the publication won't happen on package install issue ? I'm not 100%
sure we /need/ to fix that given that autoregistration will then fail
(missing parent key in downstream authorized_keys). The autoregistration
spec for alpha2 targets the UEC installer, then we need to see what can
be done to improve install-from-packages.

-- 
Upstart publication scripts no longer run
https://bugs.launchpad.net/bugs/503850
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.

-- 
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