Workload stuck in maintenance status

Perhaps try changing the syntax? Yours looks correct though, so I’m a little confused too:

series:
 - focal

I’ve made that but the issue is the same:

name: nginx-lab
summary: Riccardo MAgrini
maintainer: Riccardo Magrini <Riccardo.Magrini@maas>
description: |
 This is my first JUJU charm
 series:
  - focal

then

$:charm proof nginx-lab/
I: `display-name` not provided, add for custom naming in the UI
E: missing series: must be a list of series names
I: all charms should provide at least one thing

in the Ubuntu 18.04, as reported in my first post of this discussion, I’ve used the same syntax. So it’s my first time I try to create a charm.

Remove any spaces before “series”:

name: nginx-lab
summary: Riccardo MAgrini
maintainer: Riccardo Magrini <Riccardo.Magrini@maas>
description: |
  This is my first JUJU charm
series:
  - focal
1 Like

@timClicks thanks a lot, now it’s work :wink:

someone can explain me these lines:

$:charm build nginx-lab
build: Please add a `repo` key to your layer.yaml, with a url from which your layer can be cloned.
... 
... 
proof: I: `display-name` not provided, add for custom naming in the UI

thanks a lot :wink:

Those are informative items letting you know that good quality charms adds this information to the charm.

the first one as reports the informative is on layer.yaml but the second one where I’ve to add it

thanks

1 Like