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

Merlijn Sebrechts merlijn.sebrechts at gmail.com
Tue Jan 3 14:11:55 UTC 2017


This is it:

https://jujucharms.com/u/tengu-team/jupiter-notebook-spark/0

Strangely, only the jup*i*ter-notebook-spark charm is visible, the
jup*y*ter-notebook
charm isn't even though it has the right permissions.

perm:
  Read:
  - tengu-team
  - everyone
  Write:
  - tengu-team


2017-01-03 15:03 GMT+01:00 Marco Ceppi <marco.ceppi at canonical.com>:

> Is this charm or bundle somewhere we can look at?
>
> On Tue, Jan 3, 2017 at 8:06 AM Merlijn Sebrechts <
> merlijn.sebrechts at gmail.com> wrote:
>
>> 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
>> >
>>
>>
>> --
>> 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/f48629ae/attachment.html>


More information about the Juju mailing list