Deploying a charm with t's & c's

Tom Barber tom at spicule.co.uk
Sat Dec 2 22:55:33 UTC 2017


Just as a quick update, I get the same if I deploy the charm directly 
and from the charm store ie not in a bundle.

But removing the terms in the metadata.yaml removes the error.

Tom

On 28/11/17 18:36, Stephen Downie wrote:
> 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 <http://www.spicule.co.uk>
>
>
> On Tue, Nov 28, 2017 at 6:30 PM, Casey Marshall 
> <casey.marshall at canonical.com <mailto:casey.marshall at canonical.com>> 
> wrote:
>
>     On Tue, Nov 28, 2017 at 12:09 PM, Tom Barber <tom at spicule.co.uk
>     <mailto:tom at spicule.co.uk>> 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"
>         <casey.marshall at canonical.com
>         <mailto:casey.marshall at canonical.com>> wrote:
>
>             On Tue, Nov 28, 2017 at 10:50 AM, Stephen Downie
>             <stephen at spicule.co.uk <mailto:stephen at spicule.co.uk>> 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
>             <http://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 <http://www.spicule.co.uk>
>
>
>                 On Tue, Nov 28, 2017 at 12:33 PM, Tom Barber
>                 <tom at spicule.co.uk <mailto:tom at spicule.co.uk>> wrote:
>
>                     stupid question, but I assume the bundles should
>                     handle t&c's better?
>
>                     On 28 Nov 2017 12:29, "Ales Stimec"
>                     <ales.stimec at canonical.com
>                     <mailto:ales.stimec at canonical.com>> 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&include=terms
>                         <https://api.jujucharms.com/charmstore/v5/%7Espiculecharms/pentaho-data-integration-45/meta/any?include=id&include=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
>>                         <john at arbash-meinel.com
>>                         <mailto:john at arbash-meinel.com>> 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"
>>                         <stephen at spicule.co.uk
>>                         <mailto:stephen at spicule.co.uk>> 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
>>                             <https://gist.github.com/gizmo693/5a4fc5235da987a4f64e378e1850dd62>
>>
>>                             Any help would be appreciated.
>>
>>                             Thanks
>>
>>                             Steve
>>
>>                             Spicule Ltd
>>                             Tel: 01603 327762
>>
>>
>>                             www.spicule.co.uk <http://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
>>                             <https://maps.google.com/?q=125-135+Preston+Road,+Brighton,+England,+BN1+6AF&entry=gmail&source=g>.
>>                             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 at lists.ubuntu.com
>>                             <mailto:Juju at lists.ubuntu.com>
>>                             Modify settings or unsubscribe at:
>>                             https://lists.ubuntu.com/mailman/listinfo/juju
>>                             <https://lists.ubuntu.com/mailman/listinfo/juju>
>>
>>
>>                         -- 
>>                         Juju mailing list
>>                         Juju at lists.ubuntu.com
>>                         <mailto:Juju at lists.ubuntu.com>
>>                         Modify settings or unsubscribe at:
>>                         https://lists.ubuntu.com/mailman/listinfo/juju
>>                         <https://lists.ubuntu.com/mailman/listinfo/juju>
>
>
>                         --
>                         Juju mailing list
>                         Juju at lists.ubuntu.com
>                         <mailto:Juju at lists.ubuntu.com>
>                         Modify settings or unsubscribe at:
>                         https://lists.ubuntu.com/mailman/listinfo/juju
>                         <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
>                     <https://maps.google.com/?q=125-135+Preston+Road,+Brighton,+England,+BN1+6AF&entry=gmail&source=g>.
>                     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 at lists.ubuntu.com <mailto:Juju at lists.ubuntu.com>
>                     Modify settings or unsubscribe at:
>                     https://lists.ubuntu.com/mailman/listinfo/juju
>                     <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
>                 <https://maps.google.com/?q=125-135+Preston+Road,+Brighton,+England,+BN1+6AF&entry=gmail&source=g>.
>                 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 at lists.ubuntu.com <mailto:Juju at lists.ubuntu.com>
>                 Modify settings or unsubscribe at:
>                 https://lists.ubuntu.com/mailman/listinfo/juju
>                 <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
>         <https://maps.google.com/?q=125-135+Preston+Road,+Brighton,+England,+BN1+6AF&entry=gmail&source=g>.
>         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.
>
>
>


-- 


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20171202/f1dba2bd/attachment.html>


More information about the Juju mailing list