Juju 2.3-rc2 is here!

2017-11-28 Thread Nicholas Skaggs
A new release of Juju is here, 2.3-rc2. This is primarily a bug fix release
which addresses issues carried over from rc1.

## New and Improved

* juju list-models is significantly faster, especially on controllers with
large numbers of models

* juju no longer records the execution of the update-status hook. This
means that you will no longer see 'idle' units move to 'executing' showing
'running update-status hook'. This also means that it isn't recorded in the
show-status-log for the unit. As a related item, the squashing of the
status-log, which was buggy, has been removed.

## Fixes

For a list of all bugs fixed in this release, see

https://launchpad.net/juju/+milestone/2.3-rc2


## How can I get it?

The best way to get your hands on this release of Juju is to install it as
a snap package (see https://snapcraft.io/ for more info on snaps).

snap install juju --classic --candidate

Other packages are available for a variety of platforms. Please see the
online documentation at https://jujucharms.com/docs/stable/reference-install.
Those subscribed to a snap channel should be automatically upgraded. If
you’re using the ppa/homebrew, you should see an upgrade available.

## Feedback Appreciated!

We encourage everyone to let us know how you're using Juju. Send us a

message on Twitter using #jujucharms, join us at #juju on freenode, and

subscribe to the mailing list at juju@lists.ubuntu.com.

## More information
To learn more about juju please visit https://jujucharms.com.
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Juju 2.3-rc2 is here!

2017-11-28 Thread Nicholas Skaggs
A new release of Juju is here, 2.3-rc2. This is primarily a bug fix release
which addresses issues carried over from rc1.

## New and Improved

* juju list-models is significantly faster, especially on controllers with
large numbers of models

* juju no longer records the execution of the update-status hook. This
means that you will no longer see 'idle' units move to 'executing' showing
'running update-status hook'. This also means that it isn't recorded in the
show-status-log for the unit. As a related item, the squashing of the
status-log, which was buggy, has been removed.

## Fixes

For a list of all bugs fixed in this release, see

https://launchpad.net/juju/+milestone/2.3-rc2


## How can I get it?

The best way to get your hands on this release of Juju is to install it as
a snap package (see https://snapcraft.io/ for more info on snaps).

snap install juju --classic --candidate

Other packages are available for a variety of platforms. Please see the
online documentation at https://jujucharms.com/docs/stable/reference-install.
Those subscribed to a snap channel should be automatically upgraded. If
you’re using the ppa/homebrew, you should see an upgrade available.

## Feedback Appreciated!

We encourage everyone to let us know how you're using Juju. Send us a

message on Twitter using #jujucharms, join us at #juju on freenode, and

subscribe to the mailing list at j...@lists.ubuntu.com.

## More information
To learn more about juju please visit https://jujucharms.com.
-- 
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev


Re: Deploying a charm with t's & c's

2017-11-28 Thread Stephen Downie
Thanks for looking into this Casey. The version of Juju I'm running is
2.2.6-xenial-amd64


Spicule Ltd

Tel: 01603 327762



www.spicule.co.uk

On Tue, Nov 28, 2017 at 6:30 PM, Casey Marshall <
casey.marsh...@canonical.com> wrote:

> On Tue, Nov 28, 2017 at 12:09 PM, Tom Barber  wrote:
>
>> hey Casey
>>
>> if you have no models and try and deploy a bundle with terms it shows you
>> the deploy screen them hangs. if you go back you see the model with 0 units
>> deployed.
>>
>> this is a local bundle we were testing, just exported from the gui, Ste
>> can provide it if you need it.
>>
>
> Thanks for clarifying. One last question, what version of Juju was used on
> the command line when trying to deploy the exported bundle?
>
>
>>
>> Tom
>>
>>
>> On 28 Nov 2017 6:00 pm, "Casey Marshall" 
>> wrote:
>>
>> On Tue, Nov 28, 2017 at 10:50 AM, Stephen Downie 
>> wrote:
>>
>>> Thanks. I have tried running juju agree spiculecharms/pdi-terms/1 and it
>>> states terms already agreed?
>>>
>>> When trying to deploy in the GUI it returns the error message cannot
>>> create bundle: already exists. It appears that it creates the model but
>>> does't actually deploy anything? I know I'm a bit new to this but something
>>> seems a bit broken.
>>>
>>
>> Is it possible that the model name in the GUI (the drop down in the
>> upper-left of the canvas) matched an already-created model name? You might
>> need to type in a new model name there.
>>
>> Or does this happen for new models with this bundle no matter what?
>>
>> Was this in the GUI in JAAS (jujucharms.com)? Did you try deploying a
>> bundle from the charmstore, or did you try importing a bundle.yaml file?
>>
>>
>>>
>>> Thanks all for your help.
>>>
>>> Spicule Ltd
>>>
>>> Tel: 01603 327762
>>>
>>>
>>>
>>> www.spicule.co.uk
>>>
>>> On Tue, Nov 28, 2017 at 12:33 PM, Tom Barber  wrote:
>>>
 stupid question, but I assume the bundles should handle t's better?

 On 28 Nov 2017 12:29, "Ales Stimec"  wrote:

> Hi,
>
> Could you please try
>juju agree spiculecharms/pdi-terms/1
>
> This is these are the terms that require agreement in order to deploy
> cs:~spiculecharms/pentaho-data-integration-45.
> To get a list of terms i used:
>curl "https://api.jujucharms.com/charmstore/v5/~spiculecharms/pen
> taho-data-integration-45/meta/any?include=id=terms"
>
> Best regards,
> Ales Stimec
>
> PS: fyi: the terms service issues short-lived macaroons (auth tokens)
> that are valid for 5 minutes…
>
>
>
> On 28 Nov 2017, at 12:59, John Meinel  wrote:
>
> Do you know what terms you need to accept? You should be able to 'juju
> accept termname'.
> The other thing to check is if your local clock time is fairly
> accurate.
> I believe we filed a bug recently that the term server gives out
> temporary auth tokens that are only valid for 1 minute. (and we end up
> evaluating the time both locally and remotely and should really only
> evaluate it remotely).
>
>
> John
> =:->
>
> On Nov 28, 2017 15:49, "Stephen Downie"  wrote:
>
> Hi
>
> I am trying to deploy a bundle that has a charm that contains terms
> and conditions. I am getting the following error message
> https://gist.github.com/gizmo693/5a4fc5235da987a4f64e378e1850dd62
>
> Any help would be appreciated.
>
> Thanks
>
> Steve
>
> Spicule Ltd
> Tel: 01603 327762
>
>
> www.spicule.co.uk
>
> Spicule Limited is registered in England & Wales. Company Number:
> 09954122. Registered office: First Floor, Telecom House, 125-135
> Preston Road, Brighton, England, BN1 6AF
> .
> VAT No. 251478891.
>
>
> All engagements are subject to Spicule Terms and Conditions of
> Business. This email and its contents are intended solely for the
> individual to whom it is addressed and may contain information that is
> confidential, privileged or otherwise protected from disclosure,
> distributing or copying. Any views or opinions presented in this email are
> solely those of the author and do not necessarily represent those of
> Spicule Limited. The company accepts no liability for any damage caused by
> any virus transmitted by this email. If you have received this message in
> error, please notify us immediately by reply email before deleting it from
> your system. Service of legal notice cannot be effected on Spicule Limited
> by email.
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
> an/listinfo/juju
>
>

Re: Deploying a charm with t's & c's

2017-11-28 Thread Casey Marshall
On Tue, Nov 28, 2017 at 12:09 PM, Tom Barber  wrote:

> hey Casey
>
> if you have no models and try and deploy a bundle with terms it shows you
> the deploy screen them hangs. if you go back you see the model with 0 units
> deployed.
>
> this is a local bundle we were testing, just exported from the gui, Ste
> can provide it if you need it.
>

Thanks for clarifying. One last question, what version of Juju was used on
the command line when trying to deploy the exported bundle?


>
> Tom
>
>
> On 28 Nov 2017 6:00 pm, "Casey Marshall" 
> wrote:
>
> On Tue, Nov 28, 2017 at 10:50 AM, Stephen Downie 
> wrote:
>
>> Thanks. I have tried running juju agree spiculecharms/pdi-terms/1 and it
>> states terms already agreed?
>>
>> When trying to deploy in the GUI it returns the error message cannot
>> create bundle: already exists. It appears that it creates the model but
>> does't actually deploy anything? I know I'm a bit new to this but something
>> seems a bit broken.
>>
>
> Is it possible that the model name in the GUI (the drop down in the
> upper-left of the canvas) matched an already-created model name? You might
> need to type in a new model name there.
>
> Or does this happen for new models with this bundle no matter what?
>
> Was this in the GUI in JAAS (jujucharms.com)? Did you try deploying a
> bundle from the charmstore, or did you try importing a bundle.yaml file?
>
>
>>
>> Thanks all for your help.
>>
>> Spicule Ltd
>>
>> Tel: 01603 327762
>>
>>
>>
>> www.spicule.co.uk
>>
>> On Tue, Nov 28, 2017 at 12:33 PM, Tom Barber  wrote:
>>
>>> stupid question, but I assume the bundles should handle t's better?
>>>
>>> On 28 Nov 2017 12:29, "Ales Stimec"  wrote:
>>>
 Hi,

 Could you please try
juju agree spiculecharms/pdi-terms/1

 This is these are the terms that require agreement in order to deploy
 cs:~spiculecharms/pentaho-data-integration-45.
 To get a list of terms i used:
curl "https://api.jujucharms.com/charmstore/v5/~spiculecharms/pen
 taho-data-integration-45/meta/any?include=id=terms"

 Best regards,
 Ales Stimec

 PS: fyi: the terms service issues short-lived macaroons (auth tokens)
 that are valid for 5 minutes…



 On 28 Nov 2017, at 12:59, John Meinel  wrote:

 Do you know what terms you need to accept? You should be able to 'juju
 accept termname'.
 The other thing to check is if your local clock time is fairly accurate.
 I believe we filed a bug recently that the term server gives out
 temporary auth tokens that are only valid for 1 minute. (and we end up
 evaluating the time both locally and remotely and should really only
 evaluate it remotely).


 John
 =:->

 On Nov 28, 2017 15:49, "Stephen Downie"  wrote:

 Hi

 I am trying to deploy a bundle that has a charm that contains terms and
 conditions. I am getting the following error message
 https://gist.github.com/gizmo693/5a4fc5235da987a4f64e378e1850dd62

 Any help would be appreciated.

 Thanks

 Steve

 Spicule Ltd
 Tel: 01603 327762


 www.spicule.co.uk

 Spicule Limited is registered in England & Wales. Company Number:
 09954122. Registered office: First Floor, Telecom House, 125-135
 Preston Road, Brighton, England, BN1 6AF
 .
 VAT No. 251478891.


 All engagements are subject to Spicule Terms and Conditions of
 Business. This email and its contents are intended solely for the
 individual to whom it is addressed and may contain information that is
 confidential, privileged or otherwise protected from disclosure,
 distributing or copying. Any views or opinions presented in this email are
 solely those of the author and do not necessarily represent those of
 Spicule Limited. The company accepts no liability for any damage caused by
 any virus transmitted by this email. If you have received this message in
 error, please notify us immediately by reply email before deleting it from
 your system. Service of legal notice cannot be effected on Spicule Limited
 by email.

 --
 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/mailm
 an/listinfo/juju


>>> Spicule Limited is registered in England & Wales. 

Re: Deploying a charm with t's & c's

2017-11-28 Thread Tom Barber
hey Casey

if you have no models and try and deploy a bundle with terms it shows you
the deploy screen them hangs. if you go back you see the model with 0 units
deployed.

this is a local bundle we were testing, just exported from the gui, Ste can
provide it if you need it.

Tom

On 28 Nov 2017 6:00 pm, "Casey Marshall" 
wrote:

On Tue, Nov 28, 2017 at 10:50 AM, Stephen Downie 
wrote:

> Thanks. I have tried running juju agree spiculecharms/pdi-terms/1 and it
> states terms already agreed?
>
> When trying to deploy in the GUI it returns the error message cannot
> create bundle: already exists. It appears that it creates the model but
> does't actually deploy anything? I know I'm a bit new to this but something
> seems a bit broken.
>

Is it possible that the model name in the GUI (the drop down in the
upper-left of the canvas) matched an already-created model name? You might
need to type in a new model name there.

Or does this happen for new models with this bundle no matter what?

Was this in the GUI in JAAS (jujucharms.com)? Did you try deploying a
bundle from the charmstore, or did you try importing a bundle.yaml file?


>
> Thanks all for your help.
>
> Spicule Ltd
>
> Tel: 01603 327762
>
>
>
> www.spicule.co.uk
>
> On Tue, Nov 28, 2017 at 12:33 PM, Tom Barber  wrote:
>
>> stupid question, but I assume the bundles should handle t's better?
>>
>> On 28 Nov 2017 12:29, "Ales Stimec"  wrote:
>>
>>> Hi,
>>>
>>> Could you please try
>>>juju agree spiculecharms/pdi-terms/1
>>>
>>> This is these are the terms that require agreement in order to deploy
>>> cs:~spiculecharms/pentaho-data-integration-45.
>>> To get a list of terms i used:
>>>curl "https://api.jujucharms.com/charmstore/v5/~spiculecharms/pen
>>> taho-data-integration-45/meta/any?include=id=terms"
>>>
>>> Best regards,
>>> Ales Stimec
>>>
>>> PS: fyi: the terms service issues short-lived macaroons (auth tokens)
>>> that are valid for 5 minutes…
>>>
>>>
>>>
>>> On 28 Nov 2017, at 12:59, John Meinel  wrote:
>>>
>>> Do you know what terms you need to accept? You should be able to 'juju
>>> accept termname'.
>>> The other thing to check is if your local clock time is fairly accurate.
>>> I believe we filed a bug recently that the term server gives out
>>> temporary auth tokens that are only valid for 1 minute. (and we end up
>>> evaluating the time both locally and remotely and should really only
>>> evaluate it remotely).
>>>
>>>
>>> John
>>> =:->
>>>
>>> On Nov 28, 2017 15:49, "Stephen Downie"  wrote:
>>>
>>> Hi
>>>
>>> I am trying to deploy a bundle that has a charm that contains terms and
>>> conditions. I am getting the following error message
>>> https://gist.github.com/gizmo693/5a4fc5235da987a4f64e378e1850dd62
>>>
>>> Any help would be appreciated.
>>>
>>> Thanks
>>>
>>> Steve
>>>
>>> Spicule Ltd
>>> Tel: 01603 327762
>>>
>>>
>>> www.spicule.co.uk
>>>
>>> Spicule Limited is registered in England & Wales. Company Number:
>>> 09954122. Registered office: First Floor, Telecom House, 125-135
>>> Preston Road, Brighton, England, BN1 6AF
>>> .
>>> VAT No. 251478891.
>>>
>>>
>>> All engagements are subject to Spicule Terms and Conditions of Business.
>>> This email and its contents are intended solely for the individual to whom
>>> it is addressed and may contain information that is confidential,
>>> privileged or otherwise protected from disclosure, distributing or copying.
>>> Any views or opinions presented in this email are solely those of the
>>> author and do not necessarily represent those of Spicule Limited. The
>>> company accepts no liability for any damage caused by any virus transmitted
>>> by this email. If you have received this message in error, please notify us
>>> immediately by reply email before deleting it from your system. Service of
>>> legal notice cannot be effected on Spicule Limited by email.
>>>
>>> --
>>> 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/mailm
>>> an/listinfo/juju
>>>
>>>
>> Spicule Limited is registered in England & Wales. Company Number:
>> 09954122. Registered office: First Floor, Telecom House, 125-135 Preston
>> Road, Brighton, England, BN1 6AF
>> .
>> VAT No. 251478891.
>>
>>
>> All engagements are subject to Spicule Terms and Conditions of Business.
>> This email and its contents are intended solely for the 

Re: Deploying a charm with t's & c's

2017-11-28 Thread Casey Marshall
On Tue, Nov 28, 2017 at 10:50 AM, Stephen Downie 
wrote:

> Thanks. I have tried running juju agree spiculecharms/pdi-terms/1 and it
> states terms already agreed?
>
> When trying to deploy in the GUI it returns the error message cannot
> create bundle: already exists. It appears that it creates the model but
> does't actually deploy anything? I know I'm a bit new to this but something
> seems a bit broken.
>

Is it possible that the model name in the GUI (the drop down in the
upper-left of the canvas) matched an already-created model name? You might
need to type in a new model name there.

Or does this happen for new models with this bundle no matter what?

Was this in the GUI in JAAS (jujucharms.com)? Did you try deploying a
bundle from the charmstore, or did you try importing a bundle.yaml file?


>
> Thanks all for your help.
>
> Spicule Ltd
>
> Tel: 01603 327762
>
>
>
> www.spicule.co.uk
>
> On Tue, Nov 28, 2017 at 12:33 PM, Tom Barber  wrote:
>
>> stupid question, but I assume the bundles should handle t's better?
>>
>> On 28 Nov 2017 12:29, "Ales Stimec"  wrote:
>>
>>> Hi,
>>>
>>> Could you please try
>>>juju agree spiculecharms/pdi-terms/1
>>>
>>> This is these are the terms that require agreement in order to deploy
>>> cs:~spiculecharms/pentaho-data-integration-45.
>>> To get a list of terms i used:
>>>curl "https://api.jujucharms.com/charmstore/v5/~spiculecharms/pen
>>> taho-data-integration-45/meta/any?include=id=terms"
>>>
>>> Best regards,
>>> Ales Stimec
>>>
>>> PS: fyi: the terms service issues short-lived macaroons (auth tokens)
>>> that are valid for 5 minutes…
>>>
>>>
>>>
>>> On 28 Nov 2017, at 12:59, John Meinel  wrote:
>>>
>>> Do you know what terms you need to accept? You should be able to 'juju
>>> accept termname'.
>>> The other thing to check is if your local clock time is fairly accurate.
>>> I believe we filed a bug recently that the term server gives out
>>> temporary auth tokens that are only valid for 1 minute. (and we end up
>>> evaluating the time both locally and remotely and should really only
>>> evaluate it remotely).
>>>
>>>
>>> John
>>> =:->
>>>
>>> On Nov 28, 2017 15:49, "Stephen Downie"  wrote:
>>>
>>> Hi
>>>
>>> I am trying to deploy a bundle that has a charm that contains terms and
>>> conditions. I am getting the following error message
>>> https://gist.github.com/gizmo693/5a4fc5235da987a4f64e378e1850dd62
>>>
>>> Any help would be appreciated.
>>>
>>> Thanks
>>>
>>> Steve
>>>
>>> Spicule Ltd
>>> Tel: 01603 327762
>>>
>>>
>>> www.spicule.co.uk
>>>
>>> Spicule Limited is registered in England & Wales. Company Number:
>>> 09954122. Registered office: First Floor, Telecom House, 125-135 Preston
>>> Road, Brighton, England, BN1 6AF. VAT No. 251478891.
>>>
>>>
>>> All engagements are subject to Spicule Terms and Conditions of Business.
>>> This email and its contents are intended solely for the individual to whom
>>> it is addressed and may contain information that is confidential,
>>> privileged or otherwise protected from disclosure, distributing or copying.
>>> Any views or opinions presented in this email are solely those of the
>>> author and do not necessarily represent those of Spicule Limited. The
>>> company accepts no liability for any damage caused by any virus transmitted
>>> by this email. If you have received this message in error, please notify us
>>> immediately by reply email before deleting it from your system. Service of
>>> legal notice cannot be effected on Spicule Limited by email.
>>>
>>> --
>>> 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/mailm
>>> an/listinfo/juju
>>>
>>>
>> Spicule Limited is registered in England & Wales. Company Number:
>> 09954122. Registered office: First Floor, Telecom House, 125-135 Preston
>> Road, Brighton, England, BN1 6AF. VAT No. 251478891.
>>
>>
>> All engagements are subject to Spicule Terms and Conditions of Business.
>> This email and its contents are intended solely for the individual to whom
>> it is addressed and may contain information that is confidential,
>> privileged or otherwise protected from disclosure, distributing or copying.
>> Any views or opinions presented in this email are solely those of the
>> author and do not necessarily represent those of Spicule Limited. The
>> company accepts no liability for any damage caused by any virus transmitted
>> by this email. If you have received this message in error, please notify us
>> immediately by reply email before deleting it from your system. Service of
>> 

Re: Deploying a charm with t's & c's

2017-11-28 Thread Casey Marshall
On Tue, Nov 28, 2017 at 5:59 AM, John Meinel  wrote:

> Do you know what terms you need to accept? You should be able to 'juju
> accept termname'.
> The other thing to check is if your local clock time is fairly accurate.
> I believe we filed a bug recently that the term server gives out temporary
> auth tokens that are only valid for 1 minute. (and we end up evaluating the
> time both locally and remotely and should really only evaluate it remotely).
>

Do you have a link to this bug? I've not encountered it. I'd need to work
out which request is being made to JAAS, and then whether it's an
expiration in the terms service macaroon, or the identity third-party
discharge macaroon, in order to resolve it. If you're able to reproduce,
--debug output would help.


>
>
> John
> =:->
>
> On Nov 28, 2017 15:49, "Stephen Downie"  wrote:
>
> Hi
>
> I am trying to deploy a bundle that has a charm that contains terms and
> conditions. I am getting the following error message
> https://gist.github.com/gizmo693/5a4fc5235da987a4f64e378e1850dd62
>
> Any help would be appreciated.
>
> Thanks
>
> Steve
>
> Spicule Ltd
>
> Tel: 01603 327762
>
>
>
> www.spicule.co.uk
>
> Spicule Limited is registered in England & Wales. Company Number:
> 09954122. Registered office: First Floor, Telecom House, 125-135 Preston
> Road, Brighton, England, BN1 6AF. VAT No. 251478891.
>
>
> All engagements are subject to Spicule Terms and Conditions of Business.
> This email and its contents are intended solely for the individual to whom
> it is addressed and may contain information that is confidential,
> privileged or otherwise protected from disclosure, distributing or copying.
> Any views or opinions presented in this email are solely those of the
> author and do not necessarily represent those of Spicule Limited. The
> company accepts no liability for any damage caused by any virus transmitted
> by this email. If you have received this message in error, please notify us
> immediately by reply email before deleting it from your system. Service of
> legal notice cannot be effected on Spicule Limited by email.
>
> --
> 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
>
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Deploying a charm with t's & c's

2017-11-28 Thread Stephen Downie
Thanks. I have tried running juju agree spiculecharms/pdi-terms/1 and it
states terms already agreed?

When trying to deploy in the GUI it returns the error message cannot create
bundle: already exists. It appears that it creates the model but does't
actually deploy anything? I know I'm a bit new to this but something seems
a bit broken.

Thanks all for your help.

Spicule Ltd

Tel: 01603 327762



www.spicule.co.uk

On Tue, Nov 28, 2017 at 12:33 PM, Tom Barber  wrote:

> stupid question, but I assume the bundles should handle t's better?
>
> On 28 Nov 2017 12:29, "Ales Stimec"  wrote:
>
>> Hi,
>>
>> Could you please try
>>juju agree spiculecharms/pdi-terms/1
>>
>> This is these are the terms that require agreement in order to deploy
>> cs:~spiculecharms/pentaho-data-integration-45.
>> To get a list of terms i used:
>>curl "https://api.jujucharms.com/charmstore/v5/~spiculecharms/pen
>> taho-data-integration-45/meta/any?include=id=terms"
>>
>> Best regards,
>> Ales Stimec
>>
>> PS: fyi: the terms service issues short-lived macaroons (auth tokens)
>> that are valid for 5 minutes…
>>
>>
>>
>> On 28 Nov 2017, at 12:59, John Meinel  wrote:
>>
>> Do you know what terms you need to accept? You should be able to 'juju
>> accept termname'.
>> The other thing to check is if your local clock time is fairly accurate.
>> I believe we filed a bug recently that the term server gives out
>> temporary auth tokens that are only valid for 1 minute. (and we end up
>> evaluating the time both locally and remotely and should really only
>> evaluate it remotely).
>>
>>
>> John
>> =:->
>>
>> On Nov 28, 2017 15:49, "Stephen Downie"  wrote:
>>
>> Hi
>>
>> I am trying to deploy a bundle that has a charm that contains terms and
>> conditions. I am getting the following error message
>> https://gist.github.com/gizmo693/5a4fc5235da987a4f64e378e1850dd62
>>
>> Any help would be appreciated.
>>
>> Thanks
>>
>> Steve
>>
>> Spicule Ltd
>> Tel: 01603 327762
>>
>>
>> www.spicule.co.uk
>>
>> Spicule Limited is registered in England & Wales. Company Number:
>> 09954122. Registered office: First Floor, Telecom House, 125-135 Preston
>> Road, Brighton, England, BN1 6AF. VAT No. 251478891.
>>
>>
>> All engagements are subject to Spicule Terms and Conditions of Business.
>> This email and its contents are intended solely for the individual to whom
>> it is addressed and may contain information that is confidential,
>> privileged or otherwise protected from disclosure, distributing or copying.
>> Any views or opinions presented in this email are solely those of the
>> author and do not necessarily represent those of Spicule Limited. The
>> company accepts no liability for any damage caused by any virus transmitted
>> by this email. If you have received this message in error, please notify us
>> immediately by reply email before deleting it from your system. Service of
>> legal notice cannot be effected on Spicule Limited by email.
>>
>> --
>> 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/mailm
>> an/listinfo/juju
>>
>>
> Spicule Limited is registered in England & Wales. Company Number:
> 09954122. Registered office: First Floor, Telecom House, 125-135 Preston
> Road, Brighton, England, BN1 6AF. VAT No. 251478891.
>
>
> All engagements are subject to Spicule Terms and Conditions of Business.
> This email and its contents are intended solely for the individual to whom
> it is addressed and may contain information that is confidential,
> privileged or otherwise protected from disclosure, distributing or copying.
> Any views or opinions presented in this email are solely those of the
> author and do not necessarily represent those of Spicule Limited. The
> company accepts no liability for any damage caused by any virus transmitted
> by this email. If you have received this message in error, please notify us
> immediately by reply email before deleting it from your system. Service of
> legal notice cannot be effected on Spicule Limited by email.
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/juju
>
>

-- 


Spicule Limited is registered in England & Wales. Company Number: 09954122. 
Registered office: First Floor, Telecom House, 125-135 Preston Road, 
Brighton, England, BN1 6AF. VAT No. 251478891.


All engagements are subject to Spicule Terms and Conditions of Business. 
This email and its contents are intended solely for the individual to whom 
it is addressed and may contain information that is confidential, 

Re: Deploying a charm with t's & c's

2017-11-28 Thread Tom Barber
stupid question, but I assume the bundles should handle t's better?

On 28 Nov 2017 12:29, "Ales Stimec"  wrote:

> Hi,
>
> Could you please try
>juju agree spiculecharms/pdi-terms/1
>
> This is these are the terms that require agreement in order to deploy
> cs:~spiculecharms/pentaho-data-integration-45.
> To get a list of terms i used:
>curl "https://api.jujucharms.com/charmstore/v5/~spiculecharms/
> pentaho-data-integration-45/meta/any?include=id=terms"
>
> Best regards,
> Ales Stimec
>
> PS: fyi: the terms service issues short-lived macaroons (auth tokens) that
> are valid for 5 minutes…
>
>
>
> On 28 Nov 2017, at 12:59, John Meinel  wrote:
>
> Do you know what terms you need to accept? You should be able to 'juju
> accept termname'.
> The other thing to check is if your local clock time is fairly accurate.
> I believe we filed a bug recently that the term server gives out temporary
> auth tokens that are only valid for 1 minute. (and we end up evaluating the
> time both locally and remotely and should really only evaluate it remotely).
>
>
> John
> =:->
>
> On Nov 28, 2017 15:49, "Stephen Downie"  wrote:
>
> Hi
>
> I am trying to deploy a bundle that has a charm that contains terms and
> conditions. I am getting the following error message
> https://gist.github.com/gizmo693/5a4fc5235da987a4f64e378e1850dd62
>
> Any help would be appreciated.
>
> Thanks
>
> Steve
>
> Spicule Ltd
> Tel: 01603 327762
>
>
> www.spicule.co.uk
>
> Spicule Limited is registered in England & Wales. Company Number:
> 09954122. Registered office: First Floor, Telecom House, 125-135 Preston
> Road, Brighton, England, BN1 6AF. VAT No. 251478891.
>
>
> All engagements are subject to Spicule Terms and Conditions of Business.
> This email and its contents are intended solely for the individual to whom
> it is addressed and may contain information that is confidential,
> privileged or otherwise protected from disclosure, distributing or copying.
> Any views or opinions presented in this email are solely those of the
> author and do not necessarily represent those of Spicule Limited. The
> company accepts no liability for any damage caused by any virus transmitted
> by this email. If you have received this message in error, please notify us
> immediately by reply email before deleting it from your system. Service of
> legal notice cannot be effected on Spicule Limited by email.
>
> --
> 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
>
>
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/juju
>
>

-- 


Spicule Limited is registered in England & Wales. Company Number: 09954122. 
Registered office: First Floor, Telecom House, 125-135 Preston Road, 
Brighton, England, BN1 6AF. VAT No. 251478891.


All engagements are subject to Spicule Terms and Conditions of Business. 
This email and its contents are intended solely for the individual to whom 
it is addressed and may contain information that is confidential, 
privileged or otherwise protected from disclosure, distributing or copying. 
Any views or opinions presented in this email are solely those of the 
author and do not necessarily represent those of Spicule Limited. The 
company accepts no liability for any damage caused by any virus transmitted 
by this email. If you have received this message in error, please notify us 
immediately by reply email before deleting it from your system. Service of 
legal notice cannot be effected on Spicule Limited by email.
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Deploying a charm with t's & c's

2017-11-28 Thread Ales Stimec
Hi,

Could you please try
   juju agree spiculecharms/pdi-terms/1

This is these are the terms that require agreement in order to deploy 
cs:~spiculecharms/pentaho-data-integration-45.
To get a list of terms i used:
   curl 
"https://api.jujucharms.com/charmstore/v5/~spiculecharms/pentaho-data-integration-45/meta/any?include=id=terms;

Best regards,
Ales Stimec

PS: fyi: the terms service issues short-lived macaroons (auth tokens) that are 
valid for 5 minutes…



> On 28 Nov 2017, at 12:59, John Meinel  wrote:
> 
> Do you know what terms you need to accept? You should be able to 'juju accept 
> termname'.
> The other thing to check is if your local clock time is fairly accurate.
> I believe we filed a bug recently that the term server gives out temporary 
> auth tokens that are only valid for 1 minute. (and we end up evaluating the 
> time both locally and remotely and should really only evaluate it remotely).
> 
> 
> John
> =:->
> 
> On Nov 28, 2017 15:49, "Stephen Downie"  > wrote:
> Hi
> 
> I am trying to deploy a bundle that has a charm that contains terms and 
> conditions. I am getting the following error message 
> https://gist.github.com/gizmo693/5a4fc5235da987a4f64e378e1850dd62 
> 
> 
> Any help would be appreciated.
> 
> Thanks
> 
> Steve
> 
> Spicule Ltd
> Tel: 01603 327762
> 
> 
> www.spicule.co.uk 
> 
> Spicule Limited is registered in England & Wales. Company Number: 09954122. 
> Registered office: First Floor, Telecom House, 125-135 Preston Road, 
> Brighton, England, BN1 6AF. VAT No. 251478891.
> 
> 
> 
> All engagements are subject to Spicule Terms and Conditions of Business. This 
> email and its contents are intended solely for the individual to whom it is 
> addressed and may contain information that is confidential, privileged or 
> otherwise protected from disclosure, distributing or copying. Any views or 
> opinions presented in this email are solely those of the author and do not 
> necessarily represent those of Spicule Limited. The company accepts no 
> liability for any damage caused by any virus transmitted by this email. If 
> you have received this message in error, please notify us immediately by 
> reply email before deleting it from your system. Service of legal notice 
> cannot be effected on Spicule Limited by email.
> 
> 
> --
> 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



signature.asc
Description: Message signed with OpenPGP
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Deploying a charm with t's & c's

2017-11-28 Thread John Meinel
Do you know what terms you need to accept? You should be able to 'juju
accept termname'.
The other thing to check is if your local clock time is fairly accurate.
I believe we filed a bug recently that the term server gives out temporary
auth tokens that are only valid for 1 minute. (and we end up evaluating the
time both locally and remotely and should really only evaluate it remotely).


John
=:->

On Nov 28, 2017 15:49, "Stephen Downie"  wrote:

Hi

I am trying to deploy a bundle that has a charm that contains terms and
conditions. I am getting the following error message https://gist.github.
com/gizmo693/5a4fc5235da987a4f64e378e1850dd62

Any help would be appreciated.

Thanks

Steve

Spicule Ltd

Tel: 01603 327762



www.spicule.co.uk

Spicule Limited is registered in England & Wales. Company Number: 09954122.
Registered office: First Floor, Telecom House, 125-135 Preston Road,
Brighton, England, BN1 6AF. VAT No. 251478891.


All engagements are subject to Spicule Terms and Conditions of Business.
This email and its contents are intended solely for the individual to whom
it is addressed and may contain information that is confidential,
privileged or otherwise protected from disclosure, distributing or copying.
Any views or opinions presented in this email are solely those of the
author and do not necessarily represent those of Spicule Limited. The
company accepts no liability for any damage caused by any virus transmitted
by this email. If you have received this message in error, please notify us
immediately by reply email before deleting it from your system. Service of
legal notice cannot be effected on Spicule Limited by email.

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


Deploying a charm with t's & c's

2017-11-28 Thread Stephen Downie
Hi

I am trying to deploy a bundle that has a charm that contains terms and
conditions. I am getting the following error message
https://gist.github.com/gizmo693/5a4fc5235da987a4f64e378e1850dd62

Any help would be appreciated.

Thanks

Steve

Spicule Ltd

Tel: 01603 327762



www.spicule.co.uk

-- 


Spicule Limited is registered in England & Wales. Company Number: 09954122. 
Registered office: First Floor, Telecom House, 125-135 Preston Road, 
Brighton, England, BN1 6AF. VAT No. 251478891.


All engagements are subject to Spicule Terms and Conditions of Business. 
This email and its contents are intended solely for the individual to whom 
it is addressed and may contain information that is confidential, 
privileged or otherwise protected from disclosure, distributing or copying. 
Any views or opinions presented in this email are solely those of the 
author and do not necessarily represent those of Spicule Limited. The 
company accepts no liability for any damage caused by any virus transmitted 
by this email. If you have received this message in error, please notify us 
immediately by reply email before deleting it from your system. Service of 
legal notice cannot be effected on Spicule Limited by email.
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Is there a universal interface I can use?

2017-11-28 Thread Tilman Baumann
On 28.11.2017 00:38, Stuart Bishop wrote:
> On 23 November 2017 at 21:37, Tilman Baumann
>  wrote:
>> I didn't want to talk about it before it's usable. I think I might be
>> working on something similar.
>>
>> https://github.com/tbaumann/jujucharm-layer-cassandra-backup
>>
>> It seems to only use "nodetool snapshot"
>> I'm integrating this for a 3rd party so I don't quite know what is going
>> on there. But looks like the intent is pretty much the same.
> 
> I think this charm needs to remain a subordinate, because 'nodetool
> snapshot' requires a JMX connection and that should be blocked
> (because it is not secured).
> 
> I'd be happy to have actions on the main Cassandra charm to manage
> snapshots, and cronned snapshots would also be a feature suitable for
> the main charm. But you would still need some way to ship the
> snapshots to your backup host which should be a subordinate.


That would be quite nice actually. Backup and snapshot could be two
different actions even.
Snapshot is a little low-level as it is per-node. But it makes for fast
recovery if a node hickups.
Full backup like Haw Leoeung implemented in
https://jujucharms.com/u/hloeung/cassandra-backup/ is probably even more
useful for many scenarios.

I'm quite stumped right now with the odd combination of needing to be a
subordinate and needing to connect to the database relation.
I just can't get it to work. And I'm out of ideas.
I would love to just finish it "to get it to work" but I don't know what
else I could try at this point.

Generally I like the idea of just plonking on subordinates to extend
features.
But backup is a quite central one. Makes sense in the main charm.

The percona charm has for example a backup action too. I just checked.
It also just places a file in the file-system.
(No cron scheduled one. But that would be useful there too)

Very nice would be a unified backup plugin thing that lives in
charmhelpers and could interact with some backup server. Wishful
thinking... :D
Might eve be a nice use of the not yet supported shared storage thing
https://jujucharms.com/docs/stable/charms-storage


I'm not very familiar with the coding style used in the cassandra charm.
But I think I could help you with adding those functionalities even.
I will have a lot of distractions the next two weeks. But I can see what
I can do...


Thanks
 Tilman

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