Charm release fails with "cannot update base entity for..."

Merlijn Sebrechts merlijn.sebrechts at gmail.com
Tue Jan 3 13:05:53 UTC 2017


I have the same issue in the staging charm store.


charm release  cs:~tengu-team/jupyter-notebook-spark-0
ERROR cannot release charm or bundle: cannot publish charm or bundle:
cannot update base entity for "cs:~tengu-team/jupyter-notebook-spark-0":
Field name duplication not allowed with modifiers


Maybe this has something to do with it; the first time I pushed this charm
I pushed to a wrong name (jupIter instead of jupYter):

charm push jup*y*ter-notebook-spark/ ~tengu-team/jup*i*ter-notebook-spark

Although I did it right the first time in the staging charm store, and it
still doesn't work.

Also, I'm user `merlijn-sebrechts` and I'm pushing to `tengu-team`. This
has worked before.

2017-01-03 13:45 GMT+01:00 roger peppe <roger.peppe at canonical.com>:

> Interesting. Thanks for the report.
>
> That's an error I don't think we've seen before, and I can't reproduce
> the problem immediately
> on one of my own charms.
>
> Do you see the same issue if you try and publish and release the same
> charm in the
> staging charmstore (set
> JUJU_CHARMSTORE=https://api.staging.jujucharms.com/charmstore
> before running the charm command) ?
>
>   cheers
>     rog.
>
> On 3 January 2017 at 12:17, Merlijn Sebrechts
> <merlijn.sebrechts at gmail.com> wrote:
> > Hi all
> >
> >
> > When releasing my charm I get the following error:
> >
> > charm release cs:~tengu-team/jupiter-notebook-spark-0
> > ERROR cannot release charm or bundle: cannot publish charm or bundle:
> cannot
> > update base entity for "cs:~tengu-team/jupiter-notebook-spark-0": Field
> name
> > duplication not allowed with modifiers
> >
> > A quick google shows that this is a MongoDB error. Is something wrong
> with
> > the cs backend?
> >
> >
> >
> > Kind regards
> > Merlijn
> >
> > --
> > Juju mailing list
> > Juju at lists.ubuntu.com
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/juju
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170103/eebc74f8/attachment.html>


More information about the Juju mailing list