cannot deploy bundle: cs:prometheus2-30 resource "core": bad metadata: resource missing filename
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Prometheus2 charm |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
since this morning, I'm not able to deploy my juju bundle.
juju deploy ./openstack-
Located charm "barbican" in charm-store, channel stable
Located charm "mysql-router" in charm-store, channel stable
Located charm "barbican-vault" in charm-store, channel stable
Located charm "ceph-dashboard" in charm-store, channel stable
Located charm "ceph-mon" in charm-store, channel stable
Located charm "ceph-osd" in charm-store, channel stable
Located charm "ceph-radosgw" in charm-store, channel stable
Located charm "hacluster" in charm-store, channel stable
Located charm "cinder" in charm-store, channel stable
Located charm "cinder-ceph" in charm-store, channel stable
Located charm "hacluster" in charm-store, channel stable
Located charm "mysql-router" in charm-store, channel stable
Located charm "easyrsa" in charm-store, channel stable
Located charm "etcd" in charm-store, channel stable
Located charm "glance" in charm-store, channel stable
Located charm "hacluster" in charm-store, channel stable
Located charm "mysql-router" in charm-store, channel stable
Located charm "glance-
Located charm "grafana" in charm-store, channel stable
Located charm "keystone" in charm-store, channel stable
Located charm "hacluster" in charm-store, channel stable
Located charm "mysql-router" in charm-store, channel stable
Located charm "memcached" in charm-store, channel stable
Located charm "mysql-
Located charm "neutron-api" in charm-store, channel stable
Located charm "hacluster" in charm-store, channel stable
Located charm "neutron-
Located charm "mysql-router" in charm-store, channel stable
Located charm "nova-cloud-
Located charm "hacluster" in charm-store, channel stable
Located charm "nova-compute" in charm-store, channel stable
Located charm "mysql-router" in charm-store, channel stable
Located charm "ntp" in charm-store, channel stable
Located charm "octavia" in charm-store, channel stable
Located charm "octavia-dashboard" in charm-store, channel stable
Located charm "octavia-
Located charm "mysql-router" in charm-store, channel stable
Located charm "ovn-chassis" in charm-store, channel stable
Located charm "openstack-
Located charm "hacluster" in charm-store, channel stable
Located charm "mysql-router" in charm-store, channel stable
Located charm "openstack-
Located charm "hacluster" in charm-store, channel stable
Located charm "ovn-central" in charm-store, channel stable
Located charm "ovn-chassis" in charm-store, channel stable
Located charm "placement" in charm-store, channel stable
Located charm "hacluster" in charm-store, channel stable
Located charm "mysql-router" in charm-store, channel stable
Located charm "prometheus-
Located charm "prometheus2" in charm-store, channel stable
Located charm "rabbitmq-server" in charm-store, channel stable
Located charm "telegraf" in charm-store, channel stable
Located charm "vault" in charm-store, channel stable
Located charm "hacluster" in charm-store, channel stable
Located charm "mysql-router" in charm-store, channel stable
Executing changes:
- upload charm prometheus2 from charm-store for series focal with architecture=amd64
- upgrade prometheus2 from charm-store using charm prometheus2 for series focal
ERROR cannot deploy bundle: cs:prometheus2-30 resource "core": bad metadata: resource missing filename
Any idea ?
Regards,
Raphael
It looks like it might be an issue with the cs-to-ch shim API, very similar to [0].
Deploying from charmhub should work fine:
$ cat bundle.yaml
series: focal
applications:
prometheus:
charm: ch:prometheus2
num_units: 1
$ juju deploy ./bundle.yaml 130
Located charm "prometheus2" in charm-hub, channel stable
Executing changes:
- upload charm prometheus2 from charm-hub for series focal with architecture=amd64
- deploy application prometheus from charm-hub on focal using prometheus2
added resource core
added resource prometheus
- add unit prometheus/1 to new machine 2
Deploy of bundle completed.
[0] https:/ /bugs.launchpad .net/snapstore- server/ +bug/1951475