Deploying a charm with t's & c's

Matthew Williams matthew.williams at canonical.com
Mon Dec 4 16:11:22 UTC 2017


Hi Tom,

This appears to be a problem with the 2.2.2 controller which has been fixed
in later versions. If you try a different aws region you should get a more
up to date controller and it should work as expected.

e.g. $ juju add-model mymodel aws/eu-west-1

Hope this helps

Matty

On Mon, Dec 4, 2017 at 2:22 PM, Tom Barber <tom at spicule.co.uk> wrote:

> mymodel  jaas        aws/us-east-1  2.2.2    unsupported
>
> Tom
>
>
> On 04/12/17 14:08, Matthew Williams wrote:
>
> Hi Tom,
>
> What version of the controller are you using (show in juju status). Is
> this your own controller or are you using jimm?
>
> Thanks
>
> Matty
>
> On Mon, Dec 4, 2017 at 10:33 AM, Tom Barber <tom at spicule.co.uk> wrote:
>
>> Hi Casey
>>
>> https://asciinema.org/a/qXUZqY5WhCYFUA44l9OILeZWB As you'll see here.
>> #45 works for me also but #47 fails. I don't think we changed anything
>> massively but clearly something in there is sad, the problem is that, the
>> error thrown gives me no indication of where we've messed up.
>>
>> On a side note I wanted to grab the zip archive of #45 and #47 and do a
>> diff to see if it was obvious but both give me a 404 from the charm store.
>>
>> juju list-agreements
>> Term                                             Agreed on
>> isrg-lets-encrypt/2          2017-04-26 09:43:38 +0000 UTC
>> canonical/sla-terms/3        2017-08-31 21:19:16 +0000 UTC
>> spiculecharms/pdi-terms/1    2017-11-27 23:24:11 +0000 UTC
>>
>> Tom
>>
>>
>> On 04/12/17 02:54, Casey Marshall wrote:
>>
>> Tom,
>> With 2.2.6, I cannot reproduce any problems with deploying your charm.
>> See https://paste.ubuntu.com/26109617/
>>
>> Please send me more information about your installation:
>>
>> - How you installed Juju (snap, deb from PPA, compiled from source, etc.)
>> - Platform information on the machine you're running the Juju client on,
>> OS, etc. Is it on a physical host, in a VM, in a container?
>> - What cloud you're trying to deploy into
>>
>> If you type `juju list-agreements`, does that show terms you've agreed to?
>>
>> -Casey
>>
>> On Sat, Dec 2, 2017 at 4:55 PM, Tom Barber <tom at spicule.co.uk> wrote:
>>
>>> 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
>>>
>>> On Tue, Nov 28, 2017 at 6:30 PM, Casey Marshall <
>>> casey.marshall at canonical.com> wrote:
>>>
>>>> On Tue, Nov 28, 2017 at 12:09 PM, Tom Barber <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>
>>>>> wrote:
>>>>>
>>>>> On Tue, Nov 28, 2017 at 10:50 AM, Stephen Downie <
>>>>> 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)? 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 <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>
>>>>>>> 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/ch
>>>>>>>> armstore/v5/~spiculecharms/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>
>>>>>>>> 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>
>>>>>>>> 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
>>>>>>>> <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
>>>>>>>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
>>>>>>>> an/listinfo/juju
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Juju mailing list
>>>>>>>> Juju at lists.ubuntu.com
>>>>>>>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
>>>>>>>> an/listinfo/juju
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Juju mailing list
>>>>>>>> Juju at 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
>>>>>>> <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
>>>>>>> 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
>>>>>> <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
>>>>>> 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
>>>>> <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
>>> <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.
>>
>> --
>> Juju mailing list
>> Juju at 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
> <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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20171204/9b747b0e/attachment.html>


More information about the Juju mailing list