Re: Thank you!

2017-04-20 Thread Mark Shuttleworth
On 20/04/17 13:27, Merlijn Sebrechts wrote:
> What about speed an velocity? Does a more focused Canonical mean more
> resources for Juju?

With good reason the team is unlikely to be comfortable answering your
question, but I am happy to do so.

Juju is essential to  our success with large customers every day. It
makes it possible for us to support complex OpenStack and Kubernetes
deployments that are regularly extended and upgraded and updated,
something that nobody else can in practice deliver. And those customers
are increasingly wanting to use it for a broader array of software. So
Juju has its place in our plan and I am very happy with the way the team
is now organised, with team leads who really care about quality,
performance, features and customers. I hope you've noticed a big step up
in the quality and focus of Juju releases since 2.x and I would credit
the teams and their leads with that.

I asked every single team at Canonical, with a few specific exceptions
for example LXD and the security team, to participate in the cut, on the
basis that I wanted every manager to have to exercise this kind of
judgment. It's tough, but it's also important for a company to be
confident that it is constantly improving and assessing itself.

In the case of Juju Core and JAAS, I had already driven some changes in
this regard, and I felt the team was already substantially more focused
and doing well, so there was a gentler approach, although it is always
an emotional and difficult process even if it touches relatively few
colleagues. We will miss those colleagues but I think you can count on
steady and exciting progress in Juju and JAAS.

In the teams who work on charms, we are concentrating more folks around
the key pillars of OpenStack and Kubernetes, which are manifestations of
the "os-at-scale" so we (Canonical) are the natural vendor. We are also
asking the folks who lead charm-tech to use the K8s charms as their
proving ground, to ensure those tools really work for complex charm
development. We will also continue to anchor the Hadoop ecosystem but I
am delighted with the growth in third-party interest in charms in that
ecosystem and I am happily counting on you, Merlijn, and the other
members of the Hadoop charm ecosystem, to drive forward the broader
suite of charms there and elsewhere at the application level.

Mark


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


Re: Can we do bundle within a bundle?

2017-04-20 Thread fengxia

Thank you for the pointer. I'll take a look. Can it package local charms?


On 04/20/2017 03:58 PM, Junaid Ali wrote:

Fengxia,
juju-deployer 
 could be 
helpful here to incorporate multiple bundles. Charm-testing repo 
 
can help you in using juju-deployer supported bundles e.g check this 
bundle 
.



--
Junaid

On Fri, Apr 21, 2017 at 12:38 AM, Tom Barber > wrote:


Currently bundles are pretty dumb and nested bundles don't exist.

Tom

On 20 Apr 2017 20:29, "fengxia" > wrote:

We have a design that calls for tree structure of entities,
each will be mapped to a charm/bundle. So how to bundle a list
of bundles?

-- 
Feng xia

Engineer
Lenovo USA

Phone: 5088011794 
fx...@lenovo.com 

Lenovo.com
Twitter | Facebook | Instagram | Blogs | Forums


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





--
Feng xia
Engineer
Lenovo USA

Phone: 5088011794
fx...@lenovo.com

Lenovo.com
Twitter | Facebook | Instagram | Blogs | Forums

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


Re: Can we do bundle within a bundle?

2017-04-20 Thread Junaid Ali
Fengxia,
juju-deployer 
could be helpful here to incorporate multiple bundles. Charm-testing repo

can help you in using juju-deployer supported bundles e.g check this bundle

.


--
Junaid

On Fri, Apr 21, 2017 at 12:38 AM, Tom Barber  wrote:

> Currently bundles are pretty dumb and nested bundles don't exist.
>
> Tom
>
> On 20 Apr 2017 20:29, "fengxia"  wrote:
>
>> We have a design that calls for tree structure of entities, each will be
>> mapped to a charm/bundle. So how to bundle a list of bundles?
>>
>> --
>> Feng xia
>> Engineer
>> Lenovo USA
>>
>> Phone: 5088011794
>> fx...@lenovo.com
>>
>> Lenovo.com
>> Twitter | Facebook | Instagram | Blogs | Forums
>>
>>
>> --
>> Juju mailing list
>> Juju@lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
>> an/listinfo/juju
>>
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
> an/listinfo/juju
>
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Can we do bundle within a bundle?

2017-04-20 Thread fengxia
If we have a tree hierarchy, three levels, 1,2,3 where lvl 1 is the 
root. We are thinking to make entity at each level a charm. I can see at 
level 2 I can create bundles to include level 3 charms, how about level 
1 then? What artifact should I use to include bundles in lvl2?


On 04/20/2017 03:38 PM, Tom Barber wrote:

Currently bundles are pretty dumb and nested bundles don't exist.

Tom

On 20 Apr 2017 20:29, "fengxia" > wrote:


We have a design that calls for tree structure of entities, each
will be mapped to a charm/bundle. So how to bundle a list of bundles?

-- 
Feng xia

Engineer
Lenovo USA

Phone: 5088011794 
fx...@lenovo.com 

Lenovo.com
Twitter | Facebook | Instagram | Blogs | Forums


-- 
Juju mailing list

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




--
Feng xia
Engineer
Lenovo USA

Phone: 5088011794
fx...@lenovo.com

Lenovo.com
Twitter | Facebook | Instagram | Blogs | Forums

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


Re: Can we do bundle within a bundle?

2017-04-20 Thread Tom Barber
Currently bundles are pretty dumb and nested bundles don't exist.

Tom

On 20 Apr 2017 20:29, "fengxia"  wrote:

> We have a design that calls for tree structure of entities, each will be
> mapped to a charm/bundle. So how to bundle a list of bundles?
>
> --
> Feng xia
> Engineer
> Lenovo USA
>
> Phone: 5088011794
> fx...@lenovo.com
>
> Lenovo.com
> Twitter | Facebook | Instagram | Blogs | Forums
>
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
> an/listinfo/juju
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Can we do bundle within a bundle?

2017-04-20 Thread fengxia
We have a design that calls for tree structure of entities, each will be 
mapped to a charm/bundle. So how to bundle a list of bundles?


--
Feng xia
Engineer
Lenovo USA

Phone: 5088011794
fx...@lenovo.com

Lenovo.com
Twitter | Facebook | Instagram | Blogs | Forums


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


[Review Queue]: elasticsearch (v5!) and general cleanup

2017-04-20 Thread Kevin Monroe
Hey Juju, I spent some time in the review queue today:


   -

   Cleanup
   -

  Moved reviews that were awaiting author feedback into “Needs Fixing”
  -

   Elasticsearch
   -

  https://review.jujucharms.com/reviews/103?revision=270
  -

  Minor README suggestions
  -

 http://paste.ubuntu.com/24420775/
 -

  Created new lp team to house this and other ELKy things:
  -

 https://launchpad.net/~elastic-ops
 -

  Recommended moving this charm to the above team.
  -

  Though this deployed and ES5 looks fine, I’m giving this a -1 for now
  while we work out the details for a new home.


Questions/comments?  Fire away in #juju on Freenode.

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


A+ HTTPS with the SSL termination proxy

2017-04-20 Thread Merlijn Sebrechts
Hi all


Want to have A+ HTTPS for your juju-managed webservice? Want to secure a
webservice with a password? The SSL termination proxy charm
 to your rescue!

It's a reverse proxy that encrypts traffic using a Let's Encrypt
certificate with optional Basic Authentication. Deploy the charm, set fqdn,
connect to your webservice, and go! The deployed proxy gets an A+ ssl
rating on the Qualis SSL Server Test.

It's not ready yet to be promulgated but it should work fine for demo
deployment so give it a test drive if you're interested.

If anyone wants to work together on this charm to expand its scope, let me
know! I'm thinking about stuff like pluggable authentication backends,
pluggable DNS backends, support for more protocols such as websockets, ...



*PS: The charm currently doesn't work on JaaS due to a bug with charms with
terms , but that should
change soon as the bug has high priority.*


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


A tutorial introduction to juju charm dev

2017-04-20 Thread Erik Lönroth
Hello!

Let me introduce myself to the email list. My name is Erik Lönroth and I
work as technical lead on high performance computing at Scania. Scania it a
truck manufacturer in europe and part of the Volkswagen group.

I'm a strong advocator of the open source culture and my background is in
software development, system linux administration. Juju makes alot of sense
to me so, thanx for bringing this software to the community!

After some reading, experimenting and failing - I found it a bit daunting
to get started with developing juju charms. It took me some time to get
through even if the documentation is not that bad. I haven't found many
good intro-level tutorials that gets me quickly up to speed on developing.
I'd love to help change that.

My coworkers at Scania need this kind of education too, so I have tried to
create a tutorial to get a very simple "hello world" example up and
running. I'd like to share it with you and hopefully with your feedback add
more advanced tutorials later. Hopefully anyone like me, new to charm
development, finds it useful.

Here is my "hello-world" charm tutorial.

https://github.com/erik78se/juju/wiki/The-hello-world-charm

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


Re: Juju deploy same application twice, failed "application already exist"

2017-04-20 Thread Adam Collard
On Thu, 20 Apr 2017 at 13:39 fengxia  wrote:

> I c. So I should have used add-unit command instead of "deploy". Is that
> right?
>

Pretty much, but it really depends on your charm.

See https://jujucharms.com/docs/stable/charms-scaling and
https://jujucharms.com/docs/stable/charms-ha for more details.
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Juju deploy same application twice, failed "application already exist"

2017-04-20 Thread Tom Barber
Sorry, yeah didn't hit reply all! :)

Yeah, deploy a service once, add unit for more capacity or HA generally.

On Thu, Apr 20, 2017 at 1:36 PM, fengxia  wrote:

> I c. So I should have used add-unit command instead of "deploy". Is that
> right?
>
> On 04/20/2017 08:34 AM, Tom Barber wrote:
>
> You add new "units" so you can run n units of a charm which then can use
> the internal peer relation to deal with inter-app communications.
>
> Tom
>
> On Thu, Apr 20, 2017 at 1:32 PM, fengxia  wrote:
>
>> Hi,
>>
>> I have developed a charm called "test". Using command line to deploy from
>> local repo:
>>
>> $ juju deploy $JUJU_REPOSITORY/trusty/test
>>
>> First one went well. Issuing this command again will give error:
>>
>> 08:28:49 ERROR cmd supercommand.go:460 cannot add application "test":
>> application already exists
>>
>> Must be missing something. How do you achieve HA then if one cant install
>> multiple instances of a charm?
>>
>> --
>> Feng xia
>> Engineer
>> Lenovo USA
>>
>> Phone: 5088011794
>> fx...@lenovo.com
>>
>> Lenovo.com
>> Twitter | Facebook | Instagram | Blogs | Forums
>>
>>
>> --
>> Juju mailing list
>> Juju@lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
>> an/listinfo/juju
>>
>
>
>
> --
> Tom Barber
> CTO Spicule LTD
> t...@spicule.co.uk
>
> http://spicule.co.uk
>
> @spiculeim 
>
> Schedule a meeting with me 
>
> GB: +44(0)5603641316 <+44%2056%200364%201316>
> US: +18448141689 <(844)%20814-1689>
>
> 
>
>
> --
> Feng xia
> Engineer
> Lenovo USA
>
> Phone: 5088011794 <(508)%20801-1794>fx...@lenovo.com
>   
> Lenovo.com
> Twitter | Facebook | Instagram | Blogs | Forums
>
>


-- 
Tom Barber
CTO Spicule LTD
t...@spicule.co.uk

http://spicule.co.uk

@spiculeim 

Schedule a meeting with me 

GB: +44(0)5603641316
US: +18448141689


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


Re: Juju deploy same application twice, failed "application already exist"

2017-04-20 Thread fengxia
I c. So I should have used add-unit command instead of "deploy". Is that 
right?



On 04/20/2017 08:34 AM, Tom Barber wrote:
You add new "units" so you can run n units of a charm which then can 
use the internal peer relation to deal with inter-app communications.


Tom

On Thu, Apr 20, 2017 at 1:32 PM, fengxia > wrote:


Hi,

I have developed a charm called "test". Using command line to
deploy from local repo:

$ juju deploy $JUJU_REPOSITORY/trusty/test

First one went well. Issuing this command again will give error:

08:28:49 ERROR cmd supercommand.go:460 cannot add application
"test": application already exists

Must be missing something. How do you achieve HA then if one cant
install multiple instances of a charm?

-- 
Feng xia

Engineer
Lenovo USA

Phone: 5088011794 
fx...@lenovo.com 

Lenovo.com
Twitter | Facebook | Instagram | Blogs | Forums


-- 
Juju mailing list

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





--
Tom Barber
CTO Spicule LTD
t...@spicule.co.uk 

http://spicule.co.uk

@spiculeim 

Schedule a meeting with me 

GB: +44(0)5603641316
US: +18448141689




--
Feng xia
Engineer
Lenovo USA

Phone: 5088011794
fx...@lenovo.com

Lenovo.com
Twitter | Facebook | Instagram | Blogs | Forums

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


Juju deploy same application twice, failed "application already exist"

2017-04-20 Thread fengxia

Hi,

I have developed a charm called "test". Using command line to deploy 
from local repo:


$ juju deploy $JUJU_REPOSITORY/trusty/test

First one went well. Issuing this command again will give error:

08:28:49 ERROR cmd supercommand.go:460 cannot add application "test": 
application already exists


Must be missing something. How do you achieve HA then if one cant 
install multiple instances of a charm?


--
Feng xia
Engineer
Lenovo USA

Phone: 5088011794
fx...@lenovo.com

Lenovo.com
Twitter | Facebook | Instagram | Blogs | Forums


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


Re: Thank you!

2017-04-20 Thread Merlijn Sebrechts
What about speed an velocity? Does a more focused Canonical mean more
resources for Juju?
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Thank you!

2017-04-20 Thread Rick Harding
On Thu, Apr 20, 2017 at 7:08 AM Merlijn Sebrechts <
merlijn.sebrec...@gmail.com> wrote:

>
>
> Any official word on what this will mean for Juju?
>

The changes you hear about don't change the direction of Juju. We're still
focused on building a great platform for modeling and solving the software
problems we see out there.

Thanks for the <3, the teams appreciate it when folks find value in their
hard work.

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


Re: Thank you!

2017-04-20 Thread Merlijn Sebrechts
A very big +1

Any official word on what this will mean for Juju?

2017-04-20 12:43 GMT+02:00 Tom Barber :

> I'll probably get whipped for doing this as its been playing on my mind
> and I feel it needs doing.
>
> Hopefully those who have left the company in the last few weeks haven't
> completely left this list, I'd just like to send out a heartfelt thank you
> on behalf of the community and juju users, to the people with whom I've
> worked with over the past 18 months and to anyone I haven't, who have put
> in blood sweat and tears at Canonical to create Juju it is a fantastic
> platform and I hope wherever you all end up next our paths cross again
> because you are all a great bunch of people.
>
> Cheers,
> Tom
>
> --
> 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


Thank you!

2017-04-20 Thread Tom Barber
I'll probably get whipped for doing this as its been playing on my mind and
I feel it needs doing.

Hopefully those who have left the company in the last few weeks haven't
completely left this list, I'd just like to send out a heartfelt thank you
on behalf of the community and juju users, to the people with whom I've
worked with over the past 18 months and to anyone I haven't, who have put
in blood sweat and tears at Canonical to create Juju it is a fantastic
platform and I hope wherever you all end up next our paths cross again
because you are all a great bunch of people.

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