Upgrading charms to 16.01

Pshem Kowalczyk pshem.k at gmail.com
Thu Jan 28 21:49:21 UTC 2016


This is what I get:

ubuntu at maascontroller:~$ juju upgrade-charm --force keystone
2016/01/29 10:43:02 warning: discarding cookies in invalid format (error:
json: cannot unmarshal object into Go value of type []cookiejar.entry)
2016/01/29 10:43:04 warning: discarding cookies in invalid format (error:
json: cannot unmarshal object into Go value of type []cookiejar.entry)
ERROR already running latest charm "cs:trusty/keystone-33"

This is a staging environment, but I'd prefer not to wipe it away if
possible.

Should I force-downgrade it first and then try again?

kind regards
Pshem


On Fri, 29 Jan 2016 at 10:46 James Page <james.page at canonical.com> wrote:

> Hi Pshem
>
> On Thu, 28 Jan 2016 at 22:39 Pshem Kowalczyk <pshem.k at gmail.com> wrote:
>
>> I've tried to upgrade keystone to the new charm version (from liberty).
>> I've updated the source:
>>
>> juju set keystone openstack-origin=cloud:trusty-mitaka
>>
>> and scheduled an upgrade:
>>
>>  juju upgrade charm keystone
>>
>> but the charm upgrade fails:
>>
>> 2016-01-28 21:36:13 ERROR juju-log FATAL ERROR: Could not derive
>> OpenStack version for codename: mitaka
>>
>> What am I doing wrong?
>>
>
> You need to upgrade the charm first, and then set the configuration option
> as the old version of the charm does not know about mitaka.
>
> You can resolve this by doing:
>
> juju upgrade-charm --force keystone
> juju resolved --retry keystone/0 (or whatever the unit name is that failed)
>
> Hopefully that should fix you up.
>
> Cheers
>
> James
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20160128/b4d4452f/attachment.html>


More information about the Juju mailing list