Re: [Bug 513722] [NEW] Publication jobs should not start if authorized_keys is missing

2010-01-28 Thread Mathias Gug
On Thu, Jan 28, 2010 at 11:26:16AM -, Thierry Carrez wrote:
> Public bug reported:
> 
> On package installs, authorized_keys must be manually set on components.
> There is no point in starting publication jobs if the the component is not 
> ready to be autoregistered.
> 
> Two options:
> - Fail the publication job is authorized_keys is missing (requires the user 
> to manually start the publication job after keys are setup)
> - Poll for authorized_keys presence in the upstart script (slightly heavier 
> on resource usage)
>

Another option:

 * fire off an upstart event when the authorized_keys file is installed on the
system (inotify?). The eucalytpus-nc job would also have to check for the
authorized_keys file and fire off the same upstart event to handle an
environment where authorized_keys has already been installed.

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

-- 
Publication jobs should not start if authorized_keys is missing
https://bugs.launchpad.net/bugs/513722
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 513722] [NEW] Publication jobs should not start if authorized_keys is missing

2010-01-28 Thread Thierry Carrez
Public bug reported:

Splitted from bug 504326

On package installs, authorized_keys must be manually set on components.
There is no point in starting publication jobs if the the component is not 
ready to be autoregistered.

Two options:
- Fail the publication job is authorized_keys is missing (requires the user to 
manually start the publication job after keys are setup)
- Poll for authorized_keys presence in the upstart script (slightly heavier on 
resource usage)

** Affects: eucalyptus (Ubuntu)
 Importance: Medium
 Status: Triaged

** Changed in: eucalyptus (Ubuntu)
   Importance: Undecided => Medium

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

-- 
Publication jobs should not start if authorized_keys is missing
https://bugs.launchpad.net/bugs/513722
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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