Re: how to get info about completing deploying charms

2014-10-13 Thread Kapil Thangavelu
On Mon, Oct 13, 2014 at 10:49 PM, Vasiliy Tolstov 
wrote:

> 2014-10-13 19:19 GMT+04:00 Marco Ceppi :
> > So there's no current way to determine when an environment is idle in
> Juju,
> > there's work being done to allow services to illuminate more than just
> the
> > current states of PENDING, INSTALLED, STARTED, ERROR in Juju which will
> help
> > illuminate where a service is in it's lifecycle. However, all of that
> would
> > be gathered from the juju status output. Currently only YAML and JSON are
> > supported but in 1.21 new options such as summary, oneline (comparable to
> > git log --oneline), and tabular will be available for parsing.
>
>
> Ok, so if i need to check that for example mysql and wordpress
> completed and running i need to grep juju status for agent state and
> check that it started three times (machine started and wordpress and
> mysql), right?
>
>
My current best practice on this is to include a health check in the charm
and manually invoke via juju run ie.

 juju run --service=wordpress "./health"

and have the health hook return some structured data  (json) to stdout.

cheers,

Kapil
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: how to get info about completing deploying charms

2014-10-13 Thread Vasiliy Tolstov
2014-10-13 19:19 GMT+04:00 Marco Ceppi :
> So there's no current way to determine when an environment is idle in Juju,
> there's work being done to allow services to illuminate more than just the
> current states of PENDING, INSTALLED, STARTED, ERROR in Juju which will help
> illuminate where a service is in it's lifecycle. However, all of that would
> be gathered from the juju status output. Currently only YAML and JSON are
> supported but in 1.21 new options such as summary, oneline (comparable to
> git log --oneline), and tabular will be available for parsing.


Ok, so if i need to check that for example mysql and wordpress
completed and running i need to grep juju status for agent state and
check that it started three times (machine started and wordpress and
mysql), right?

-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru
jabber: v...@selfip.ru

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Charmers Application

2014-10-13 Thread José Antonio Rey
Tim,

All my interactions with you have been productive, you are always
contributing to the Ecosystem and I believe that you have been doing are
doing an awesome work until now.

Solid +1 here.

--
José Antonio Rey
On Oct 10, 2014 5:28 AM, "Tim Van Steenburgh" <
tim.van.steenbu...@canonical.com> wrote:

> Hi everyone,
>
> Please consider this my application to join the Charmers team!
>
> I've been working in the Juju ecosystem for about 7 months, writing and
> reviewing charms, contributing to charm-related tools and libraries, and
> establishing automated-testing for charms and bundles. Here's a
> non-exhaustive list of my contributions, in no particular order:
>
> * Author and maintainer of the Meteor charm [1]
> * Numerous charm patches and reviews [2]
> * Contributions to the Amulet testing tool [3]
> * Author of the plugin system for `charm create` in the charm-tools
> project [4]
> * Author of the charmguardian testing tool [5]
> * Extensive work on automated charm testing [6]
> * Created documentation for the charm-helpers library [7]
> * Miscellaneous other contributions to charmworldlib, charm-tools,
> charm-helpers, bundletester, juju-deployer
>
> I've thoroughly enjoyed being a part of the Juju community and I'm excited
> about the future of Juju! I hope I can further contribute to Juju by
> becoming a Charmer and helping to maintain the Juju ecosystem in an
> official capacity. Thanks for your consideration!
>
> Tim Van Steenburgh
>
> [1] https://jujucharms.com/precise/meteor-2/?text=meteor#readme
> [2] http://review.juju.solutions/user/tvansteenburgh
> [3] https://github.com/marcoceppi/amulet/commits?author=tvansteenburgh
> [4] https://launchpad.net/charm-tools
> [5] https://github.com/juju-solutions/charmguardian
> [6] http://blog.juju.solutions/cloud/juju/2014/10/02/charm-testing.html
> [7] http://pythonhosted.org/charmhelpers/
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Charmers Application

2014-10-13 Thread Matt Bruzek
A big +1 from me!

I know Tim to be an excellent python programmer!  His work on the
charmguardian testing tool has helped out the quality of Juju.

Welcome aboard Tim!

   - Matt Bruzek 

On Fri, Oct 10, 2014 at 5:28 AM, Tim Van Steenburgh <
tim.van.steenbu...@canonical.com> wrote:

> Hi everyone,
>
> Please consider this my application to join the Charmers team!
>
> I've been working in the Juju ecosystem for about 7 months, writing and
> reviewing charms, contributing to charm-related tools and libraries, and
> establishing automated-testing for charms and bundles. Here's a
> non-exhaustive list of my contributions, in no particular order:
>
> * Author and maintainer of the Meteor charm [1]
> * Numerous charm patches and reviews [2]
> * Contributions to the Amulet testing tool [3]
> * Author of the plugin system for `charm create` in the charm-tools
> project [4]
> * Author of the charmguardian testing tool [5]
> * Extensive work on automated charm testing [6]
> * Created documentation for the charm-helpers library [7]
> * Miscellaneous other contributions to charmworldlib, charm-tools,
> charm-helpers, bundletester, juju-deployer
>
> I've thoroughly enjoyed being a part of the Juju community and I'm excited
> about the future of Juju! I hope I can further contribute to Juju by
> becoming a Charmer and helping to maintain the Juju ecosystem in an
> official capacity. Thanks for your consideration!
>
> Tim Van Steenburgh
>
> [1] https://jujucharms.com/precise/meteor-2/?text=meteor#readme
> [2] http://review.juju.solutions/user/tvansteenburgh
> [3] https://github.com/marcoceppi/amulet/commits?author=tvansteenburgh
> [4] https://launchpad.net/charm-tools
> [5] https://github.com/juju-solutions/charmguardian
> [6] http://blog.juju.solutions/cloud/juju/2014/10/02/charm-testing.html
> [7] http://pythonhosted.org/charmhelpers/
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Charmers Application

2014-10-13 Thread Marco Ceppi
This application speaks for itself, +1

On Fri, Oct 10, 2014 at 6:28 AM, Tim Van Steenburgh <
tim.van.steenbu...@canonical.com> wrote:

> Hi everyone,
>
> Please consider this my application to join the Charmers team!
>
> I've been working in the Juju ecosystem for about 7 months, writing and
> reviewing charms, contributing to charm-related tools and libraries, and
> establishing automated-testing for charms and bundles. Here's a
> non-exhaustive list of my contributions, in no particular order:
>
> * Author and maintainer of the Meteor charm [1]
> * Numerous charm patches and reviews [2]
> * Contributions to the Amulet testing tool [3]
> * Author of the plugin system for `charm create` in the charm-tools
> project [4]
> * Author of the charmguardian testing tool [5]
> * Extensive work on automated charm testing [6]
> * Created documentation for the charm-helpers library [7]
> * Miscellaneous other contributions to charmworldlib, charm-tools,
> charm-helpers, bundletester, juju-deployer
>
> I've thoroughly enjoyed being a part of the Juju community and I'm excited
> about the future of Juju! I hope I can further contribute to Juju by
> becoming a Charmer and helping to maintain the Juju ecosystem in an
> official capacity. Thanks for your consideration!
>
> Tim Van Steenburgh
>
> [1] https://jujucharms.com/precise/meteor-2/?text=meteor#readme
> [2] http://review.juju.solutions/user/tvansteenburgh
> [3] https://github.com/marcoceppi/amulet/commits?author=tvansteenburgh
> [4] https://launchpad.net/charm-tools
> [5] https://github.com/juju-solutions/charmguardian
> [6] http://blog.juju.solutions/cloud/juju/2014/10/02/charm-testing.html
> [7] http://pythonhosted.org/charmhelpers/
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: how to get info about completing deploying charms

2014-10-13 Thread Marco Ceppi
So there's no current way to determine when an environment is idle in Juju,
there's work being done to allow services to illuminate more than just the
current states of PENDING, INSTALLED, STARTED, ERROR in Juju which will
help illuminate where a service is in it's lifecycle. However, all of that
would be gathered from the juju status output. Currently only YAML and JSON
are supported but in 1.21 new options such as summary, oneline (comparable
to git log --oneline), and tabular will be available for parsing.

Marco

On Sun, Oct 12, 2014 at 5:25 PM, Vasiliy Tolstov 
wrote:

> 2014-10-13 0:38 GMT+04:00 Vasiliy Tolstov :
> > How can i know that all services are deployed and works fine and ready
> to work?
>
>
> Or i need to parse juju status output?
>
> --
> Vasiliy Tolstov,
> e-mail: v.tols...@selfip.ru
> jabber: v...@selfip.ru
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju