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

2017-01-05 Thread Merlijn Sebrechts
Filed a bug here: https://github.com/juju/charm-tools/issues/297 2017-01-04 19:59 GMT+01:00 Merlijn Sebrechts : > Ok, thanks! > > > This might be a bug in `charm build`. It merges the "series" array of > multiple layers' metadata.yaml. > > 2017-01-04 18:18 GMT+01:00 roger peppe : > >> OK, I've fo

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

2017-01-04 Thread Merlijn Sebrechts
Ok, thanks! This might be a bug in `charm build`. It merges the "series" array of multiple layers' metadata.yaml. 2017-01-04 18:18 GMT+01:00 roger peppe : > OK, I've found the issue. Your metadata.yaml specifies "trusty" twice > in the "series" attribute. > Specifying it only once should allow

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

2017-01-04 Thread roger peppe
OK, I've found the issue. Your metadata.yaml specifies "trusty" twice in the "series" attribute. Specifying it only once should allow you to release. We should produce a better error message for this case (or just de-duplicate series). cheers, rog. On 3 January 2017 at 12:17, Merlijn Sebre

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

2017-01-04 Thread roger peppe
Ah, sorry, I misread above - I thought that "jupyter" was the incorrect spelling. Will look again. On 4 January 2017 at 10:49, Merlijn Sebrechts wrote: > Correct. In the staging charm store I only used the (correct) name > jupyter-notebook-spark. It's in the normal charm store that I used the > i

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

2017-01-04 Thread Merlijn Sebrechts
Correct. In the staging charm store I only used the (correct) name jupyter-notebook-spark. It's in the normal charm store that I used the incorrect jupiter-notebook-spark. 2017-01-04 11:04 GMT+01:00 roger peppe : > On 3 January 2017 at 13:05, Merlijn Sebrechts > wrote: > > I have the same issue

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

2017-01-04 Thread roger peppe
On 3 January 2017 at 13:05, Merlijn Sebrechts 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-note

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

2017-01-03 Thread Merlijn Sebrechts
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:0

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

2017-01-03 Thread Marco Ceppi
Is this charm or bundle somewhere we can look at? On Tue, Jan 3, 2017 at 8:06 AM Merlijn Sebrechts < merlijn.sebrec...@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

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

2017-01-03 Thread Merlijn Sebrechts
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

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

2017-01-03 Thread roger peppe
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.stagin

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

2017-01-03 Thread Merlijn Sebrechts
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 m