They are (at least, in theory) pre-seedable, allowing us to set the
machine_id, zookeeper addresses, etc, before installing the package
(or as part of a reconfiguration step), and then the upstart jobs are
managed just like usual upstart services. ensemble-provision-agent
starts on started ensemble-machine-agent, which starts on runlevel 2345
(basically "when the system is ready to do network stuff").
I'll do more to split this into a branch to fix this bug next week.
Excerpts from Kapil Thangavelu's message of Sat Jul 09 00:19:24 UTC 2011:
> ** Changed in: ensemble
> Assignee: Kapil Thangavelu (hazmat) => (unassigned)
>
> --
> You received this bug notification because you are a member of Ensemble
> Team, which is the registrant for Ensemble.
> https://bugs.launchpad.net/bugs/770482
>
> Title:
> Upstart scripts for agents
>
> Status in Ensemble:
> New
>
> Bug description:
> Use upstart for all agents in the system. Upstart can manage any
> needed respawns. actually probably removes most of our benefits of
> twistd daemon support integration.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ensemble/+bug/770482/+subscriptions
I did some work on this when playing with Orchestra.
lp:~clint-fewbar/ensemble/orchestra-provider/debian has some changes which
build two packages:
ensemble- machine- agent
and
ensemble- provision- agent
They are (at least, in theory) pre-seedable, allowing us to set the provision- agent machine- agent, which starts on runlevel 2345
machine_id, zookeeper addresses, etc, before installing the package
(or as part of a reconfiguration step), and then the upstart jobs are
managed just like usual upstart services. ensemble-
starts on started ensemble-
(basically "when the system is ready to do network stuff").
I'll do more to split this into a branch to fix this bug next week.
Excerpts from Kapil Thangavelu's message of Sat Jul 09 00:19:24 UTC 2011: /bugs.launchpad .net/bugs/ 770482 /bugs.launchpad .net/ensemble/ +bug/770482/ +subscriptions
> ** Changed in: ensemble
> Assignee: Kapil Thangavelu (hazmat) => (unassigned)
>
> --
> You received this bug notification because you are a member of Ensemble
> Team, which is the registrant for Ensemble.
> https:/
>
> Title:
> Upstart scripts for agents
>
> Status in Ensemble:
> New
>
> Bug description:
> Use upstart for all agents in the system. Upstart can manage any
> needed respawns. actually probably removes most of our benefits of
> twistd daemon support integration.
>
> To manage notifications about this bug go to:
> https:/