Experiencing this issue on 2.9 and 3.0 edge on two different machines. I can deploy graylog fine on its own, but once in a bundle it does not work and will throw the above error. See stacktrace: Located charm "telegraf" in charm-store, channel stable Located charm "thruk-agent" in charm-store, channel stable Executing changes: - add new machine 0 - add new machine 1 - add new machine 2 - add new machine 3 - add new machine 4 - add new machine 5 - add new machine 6 - add new machine 7 - add new machine 8 - add new machine 9 - add new machine 10 - add new machine 11 - add new machine 12 - add new machine 13 - add new machine 14 - add new machine 15 (bundle machine 18) - add new machine 16 (bundle machine 19) - upload charm landscape-server from charm-store for series bionic with architecture=amd64 - upload charm rabbitmq-server from charm-store for series focal with architecture=amd64 - upload charm mongodb from charm-store for series focal with architecture=amd64 - add new machine 17 (bundle machine 20) - upload charm graylog from charm-store for series focal with architecture=amd64 - upload charm elasticsearch from charm-store for series focal with architecture=amd64 - deploy application landscape-server from charm-store on bionic - deploy application landscape-rabbitmq-server from charm-store on focal using rabbitmq-server - upload charm postgresql from charm-store for series bionic with architecture=amd64 - deploy application graylog-mongodb from charm-store on focal using mongodb - add lxd container 10/lxd/0 on new machine 10 - deploy application graylog from charm-store on focal ERROR cannot deploy bundle: cs:graylog-55 resource "core": bad metadata: resource missing filename ➜ ~ juju deploy ./lma.yaml ➜ ~ JUJU juju ➜ ~ juju deploy graylog Located charm "graylog" in charm-hub, revision 55 Deploying "graylog" from charm-hub charm "graylog", revision 55 in channel stable on focal Issue bundle: series: focal variables: # This is Management network, unrelated to OpenStack and other applications # OAM - Operations, Administration and Maintenance oam-space: &oam-space oam-space # nagios-context should be bootstack-customerA-locationB-cloudname nagios-context: &nagios-context TODO # NTP configuration ntp-source: &ntp-source "ntp.ubuntu.com" machines: # KVMs "0": constraints: tags=nagios series: bionic "1": constraints: tags=grafana "2": constraints: tags=landscapeha "3": constraints: tags=landscapesql series: bionic "4": constraints: tags=landscapeamqp "5": constraints: tags=elastic "6": constraints: tags=landscape series: bionic "7": constraints: tags=landscapeamqp "8": constraints: tags=landscapesql series: bionic "9": constraints: tags=prometheus "10": constraints: tags=graylog "11": constraints: tags=landscape series: bionic "12": constraints: tags=landscapeamqp "13": constraints: tags=elastic "14": constraints: tags=landscape series: bionic "18": constraints: tags=elastic "19": constraints: tags=graylog "20": constraints: tags=graylog applications: canonical-livepatch: charm: cs:canonical-livepatch options: livepatch_key: "" # TODO include-file:///home/ubuntu/solutions-qa-ci/credencials/livepatch-key landscape-server: charm: cs:landscape-server series: bionic # bindings: # "": *oam-space options: ssl-cert: "" #TODO ssl-key: "" #TODO install_sources: | - 'deb http://ppa.launchpad.net/landscape/19.10/ubuntu bionic main' install_keys: |- - | -----BEGIN PGP PUBLIC KEY BLOCK----- Version: SKS 1.1.6 Comment: Hostname: keyserver.ubuntu.com mI0ESXN/egEEAOgRYISU9dnQm4BB5ZEEwKT+NKUDNd/DhMYdtBMw9Yk7S5cyoqpbtwoPJVzK AXxq+ng5e3yYypSv98pLMr5UF09FGaeyGlD4s1uaVFWkFCO4jsTg7pWIY6qzO/jMxB5+Yu/G 0GjWQMNKxFk0oHMa0PhNBZtdPacVz65mOVmCsh/lABEBAAG0G0xhdW5jaHBhZCBQUEEgZm9y IExhbmRzY2FwZYi2BBMBAgAgBQJJc396AhsDBgsJCAcDAgQVAggDBBYCAwECHgECF4AACgkQ boWobkZStOb+rwP+ONKUWeX+MTIPqGWkknBPV7jm8nyyIUojC4IhS+9YR6GYnn0hMABSkEHm IV73feKmrT2GESYI1UdYeKiOkWsPN/JyBk+eTvKet0qsw5TluqiHSW+LEi/+zUyrS3dDMX3o yaLgYa+UkjIyxnaKLkQuCiS+D+fYwnJulIkhaKObtdE= =UwRd -----END PGP PUBLIC KEY BLOCK----- num_units: 3 to: - 6 - 11 - 14 landscape-rabbitmq-server: charm: cs:rabbitmq-server #bindings: # "": *oam-space # cluster: *oam-space # amqp: *oam-space options: min-cluster-size: 3 num_units: 3 to: - 4 - 7 - 12 landscape-postgresql: charm: cs:postgresql series: bionic #bindings: # "": *oam-space options: extra_packages: python-apt postgresql-contrib postgresql-.*-debversion postgresql-plpython-.* max_connections: 500 max_prepared_transactions: 500 num_units: 2 to: - 3 - 8 landscape-haproxy: charm: cs:haproxy #bindings: # "": *oam-space options: default_timeouts: "queue 60000, connect 5000, client 120000, server 120000" services: "" source: backports ssl_cert: "" # TODO ssl_key: "" # TODO global_default_bind_options: "no-tlsv10" num_units: 1 to: - 2 logrotate: charm: cs:~logrotate-charmers/logrotate-charm num_units: 0 options: logrotate-retention: 60 ntp: charm: cs:ntp num_units: 0 options: source: *ntp-source graylog: charm: cs:graylog #bindings: # "": *oam-space num_units: 3 options: channel: 3/stable jvm_heap_size: 8G to: - 10 - 19 - 20 graylog-mongodb: charm: cs:mongodb #bindings: # "": *oam-space num_units: 3 options: nagios_context: *nagios-context to: - lxd:10 - lxd:19 - lxd:20 elasticsearch: charm: cs:elasticsearch #bindings: # "": *oam-space num_units: 3 options: firewall_enabled: False # If behind a firewall, specify the key/path to key here. # apt-key-url: FCE_TEMPLATE es-heap-size: 16 gpg-key: | -----BEGIN PGP PUBLIC KEY BLOCK----- Version: SKS 1.1.6 Comment: Hostname: keyserver.ubuntu.com mQENBFI3HsoBCADXDtbNJnxbPqB1vDNtCsqhe49vFYsZN9IOZsZXgp7aHjh6CJBDA+bGFOwy hbd7at35jQjWAw1O3cfYsKAmFy+Ar3LHCMkV3oZspJACTIgCrwnkic/9CUliQe324qvObU2Q RtP4Fl0zWcfb/S8UYzWXWIFuJqMvE9MaRY1bwUBvzoqavLGZj3SF1SPO+TB5QrHkrQHBsmX+ Jda6d4Ylt8/t6CvMwgQNlrlzIO9WT+YN6zS+sqHd1YK/aY5qhoLNhp9G/HxhcSVCkLq8SStj 1ZZ1S9juBPoXV1ZWNbxFNGwOh/NYGldD2kmBf3YgCqeLzHahsAEpvAm8TBa7Q9W21C8vABEB AAG0RUVsYXN0aWNzZWFyY2ggKEVsYXN0aWNzZWFyY2ggU2lnbmluZyBLZXkpIDxkZXZfb3Bz QGVsYXN0aWNzZWFyY2gub3JnPokB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7U2r+a210W6vnUxU4oN0PmMcursYPyeV0NX/KQeUeNMwGTFB6QHS/anRaGQewijkrYYoTNt fllxIu9XYmiBERQ/qPDlGRlOgVTd9xUfHFkzB52c70E= =92oX -----END PGP PUBLIC KEY BLOCK----- to: - 5 - 13 - 18 filebeat: charm: cs:~filebeat-charmers/filebeat options: logpath: "/var/log/*.log /var/log/*/*.log /var/log/syslog" install_keys: |- - | -----BEGIN PGP PUBLIC KEY BLOCK----- Version: SKS 1.1.6 Comment: Hostname: keyserver.ubuntu.com mQENBFI3HsoBCADXDtbNJnxbPqB1vDNtCsqhe49vFYsZN9IOZsZXgp7aHjh6CJBDA+bGFOwy hbd7at35jQjWAw1O3cfYsKAmFy+Ar3LHCMkV3oZspJACTIgCrwnkic/9CUliQe324qvObU2Q RtP4Fl0zWcfb/S8UYzWXWIFuJqMvE9MaRY1bwUBvzoqavLGZj3SF1SPO+TB5QrHkrQHBsmX+ Jda6d4Ylt8/t6CvMwgQNlrlzIO9WT+YN6zS+sqHd1YK/aY5qhoLNhp9G/HxhcSVCkLq8SStj 1ZZ1S9juBPoXV1ZWNbxFNGwOh/NYGldD2kmBf3YgCqeLzHahsAEpvAm8TBa7Q9W21C8vABEB AAG0RUVsYXN0aWNzZWFyY2ggKEVsYXN0aWNzZWFyY2ggU2lnbmluZyBLZXkpIDxkZXZfb3Bz QGVsYXN0aWNzZWFyY2gub3JnPokBOAQTAQIAIgUCUjceygIbAwYLCQgHAwIGFQgCCQoLBBYC AwECHgECF4AACgkQ0n1mbNiOQrRzjAgAlTUQ1mgo3nK6BGXbj4XAJvuZDG0HILiUt+pPnz75 nsf0NWhqR4yGFlmpuctgCmTD+HzYtV9fp9qW/bwVuJCNtKXk3sdzYABY+Yl0Cez/7C2GuGCO lbn0luCNT9BxJnh4mC9h/cKI3y5jvZ7wavwe41teqG14V+EoFSn3NPKmTxcDTFrV7SmVPxCB cQze00cJhprKxkuZMPPVqpBS+JfDQtzUQD/LSFfhHj9eD+Xe8d7sw+XvxB2aN4gnTlRzjL1n TRp0h2/IOGkqYfIG9rWmSLNlxhB2t+c0RsjdGM4/eRlPWylFbVMc5pmDpItrkWSnzBfkmXL3 vO2X3WvwmSFiQbkBDQRSNx7KAQgA5JUlzcMW5/cuyZR8alSacKqhSbvoSqqbzHKcUQZmlzNM KGTABFG1yRx9r+wa/fvqP6OTRzRDvVS/cycws8YX7Ddum7x8uI95b9ye1/Xy5noPEm8cD+hp lnpU+PBQZJ5XJ2I+1l9Nixx47wPGXeClLqcdn0ayd+v+Rwf3/XUJrvccG2YZUiQ4jWZkoxsA 07xx7Bj+Lt8/FKG7sHRFvePFU0ZS6JFx9GJqjSBbHRRkam+4emW3uWgVfZxuwcUCn1ayNgRt KiFv9jQrg2TIWEvzYx9tywTCxc+FFMWAlbCzi+m4WD+QUWWfDQ009U/WM0ks0KwwEwSk/UDu ToxGnKU2dQARAQABiQEfBBgBAgAJBQJSNx7KAhsMAAoJENJ9ZmzYjkK0c3MIAIE9hAR20mqJ WLcsxLtrRs6uNF1VrpB+4n/55QU7oxA1iVBO6IFu4qgsF12JTavnJ5MLaETlggXY+zDef9sy TPXoQctpzcaNVDmedwo1SiL03uMoblOvWpMR/Y0j6rm7IgrMWUDXDPvoPGjMl2q1iTeyHkMZ EyUJ8SKsaHh4jV9wp9KmC8C+9CwMukL7vM5w8cgvJoAwsp3Fn59AxWthN3XJYcnMfStkIuWg R7U2r+a210W6vnUxU4oN0PmMcursYPyeV0NX/KQeUeNMwGTFB6QHS/anRaGQewijkrYYoTNt fllxIu9XYmiBERQ/qPDlGRlOgVTd9xUfHFkzB52c70E= =92oX -----END PGP PUBLIC KEY BLOCK----- install_sources: | - 'deb https://artifacts.elastic.co/packages/5.x/apt stable main' nagios: charm: cs:nagios series: bionic #bindings: # "": *oam-space num_units: 1 options: # enable_livestatus: true XXX: bug 1819537 nagios_host_context: *nagios-context to: - 0 nrpe-container: charm: cs:nrpe #bindings: # monitors: *oam-space options: nagios_hostname_type: unit nagios_host_context: *nagios-context disk_root: '' load: '' swap: '' swap_activity: '' mem: '' nrpe-host: charm: cs:nrpe #bindings: # monitors: *oam-space options: nagios_hostname_type: "host" nagios_host_context: *nagios-context xfs_errors: "30" landscape-client: charm: cs:landscape-client options: disable-unattended-upgrades: True account-name: "standalone" # registration-key must much the landscape application's # registration_key option set in master.yaml registration-key: "" # TODO FCE_TEMPLATE url: https://landscapeha.maas/message-system # FCE_TEMPLATE: note, if the domain has been changed, the # host 'landscapeha.maas' in the ping-url option below # will need to be changed to match. ping-url: https://landscapeha.maas/ping ssl-public-key: "" # TODO prometheus: charm: cs:prometheus2 #bindings: # "": *oam-space num_units: 1 to: - 9 grafana: charm: cs:grafana bindings: "": *oam-space options: port: "3000" # XXX: bug 1752960 install_method: snap num_units: 1 to: - 1 telegraf: charm: cs:telegraf bindings: # overrides private-address exposed to prometheus prometheus-client: *oam-space thruk-agent: charm: cs:thruk-agent series: bionic options: source: 'deb http://ppa.launchpad.net/canonical-bootstack/thruk/ubuntu bionic main' key: | -----BEGIN PGP PUBLIC KEY BLOCK----- Version: SKS 1.1.6 Comment: Hostname: keyserver.ubuntu.com mQINBFQSRaQBEADDAtFnmi0w6ddIoR5olNu2778ACItGLtLPmlKTHJUjbs26nLZQcp5OY2DR cE03k55eXy7mn1aSxQaIqbC6lSPzpy+d1RTXMJmIJcEuyJKmJ2XfS9TgdhS3hrYmmNuFnBqp xc8FAqDnD/BnlF1suhgLf0mxiEZaTev5/ps3f/Ma8RK5ev5rM3ou/8iLewXlXBH83lf2OnzV BuYeAc/ikAnSg7dxyI26RMqdPi60NC67AVYqEddg8XoJ7zppUkvH4F+SlbgeadwEj6tjsOO3 S/CII9AuSyUbkxm10HHKh3WiKgd8sUWmOvMwTow7NkThlydzDiyIS+WBCfoMWdogqTER+7wX tfpR4Bo84ZJAx9ksi8YBidx1gCn6jgebkB4xeel7BTwoIAZL+ShWyYRCSo++DQneE4LkhPr8 8V2+/VQbkXWIcyNagEA8mTJtkXgk3Pjalumt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KEY BLOCK----- relations: # LMA services - [ "graylog:beats", "filebeat:logstash" ] - [ graylog, elasticsearch ] - [ graylog, graylog-mongodb ] - [ "prometheus:grafana-source", "grafana:grafana-source" ] - [ "prometheus:target", "telegraf:prometheus-client" ] - [ "thruk-agent:general-info", "nagios:juju-info" ] # LMA ntp - [ elasticsearch, ntp ] - [ grafana, ntp ] - [ graylog, ntp ] - [ prometheus, ntp ] # LMA monitors - [ "elasticsearch:juju-info", "filebeat:beats-host" ] - [ elasticsearch, nrpe-host ] - [ "elasticsearch:juju-info", "telegraf:juju-info" ] - [ elasticsearch, landscape-client ] - [ elasticsearch, canonical-livepatch ] - [ "nagios:juju-info", "filebeat:beats-host" ] - [ "nagios:juju-info", "telegraf:juju-info" ] - [ "nagios:juju-info", "landscape-client:container" ] - [ "nagios:juju-info", canonical-livepatch ] - [ grafana, filebeat ] - [ grafana, logrotate ] - [ prometheus, canonical-livepatch ] - [ prometheus, filebeat ] - [ prometheus, landscape-client ] - [ prometheus, logrotate ] - [ "prometheus:juju-info", "telegraf:juju-info" ] - [ grafana, nrpe-host ] - [ "grafana:juju-info", "telegraf:juju-info" ] - [ "grafana:dashboards", "telegraf:dashboards" ] - [ grafana, landscape-client ] - [ grafana, canonical-livepatch ] - [ nagios, nrpe-container ] - [ nagios, nrpe-host ] - [ "graylog:juju-info", "telegraf:juju-info" ] - [ graylog, landscape-client ] - [ graylog, canonical-livepatch ] - [ graylog-mongodb, "telegraf:juju-info" ] - [ graylog-mongodb, landscape-client ] - [ graylog-mongodb, "filebeat:beats-host" ] - [ filebeat, "elasticsearch:juju-info" ] - [ "ntp:juju-info", "nagios:juju-info" ] - [ "elasticsearch:nrpe-external-master", "nrpe-host:nrpe-external-master" ] - [ "grafana:nrpe-external-master", "nrpe-host:nrpe-external-master" ] - [ "graylog-mongodb:nrpe-external-master", "nrpe-container:nrpe-external-master" ] - [ "graylog:nrpe-external-master", "nrpe-host:nrpe-external-master" ] - [ "prometheus:nrpe-external-master", "nrpe-host:nrpe-external-master" ] # Landscape server - [ landscape-haproxy, ntp ] - [ landscape-haproxy, logrotate ] - [ "landscape-haproxy:juju-info", "nrpe-host:general-info" ] - [ "landscape-haproxy:local-monitors", "nrpe-host:local-monitors" ] - [ "landscape-haproxy:juju-info", "telegraf:juju-info" ] - [ landscape-haproxy, landscape-client ] - [ landscape-server, ntp ] - [ landscape-server, logrotate ] - [ landscape-server, nrpe-host ] - [ "landscape-server:juju-info", "telegraf:juju-info" ] - [ landscape-server, landscape-client ] - [ landscape-rabbitmq-server, ntp ] - [ landscape-rabbitmq-server, logrotate ] - [ landscape-rabbitmq-server, nrpe-host ] - [ "landscape-rabbitmq-server:juju-info", "telegraf:juju-info" ] - [ landscape-rabbitmq-server, landscape-client ] - [ landscape-rabbitmq-server, landscape-server ] - [ "landscape-rabbitmq-server:nrpe-external-master", "nrpe-host:nrpe-external-master" ] - [ landscape-server, landscape-haproxy ] - [ landscape-postgresql, ntp ] - [ landscape-postgresql, logrotate ] - [ "landscape-postgresql:local-monitors", "nrpe-host:local-monitors" ] - [ "landscape-postgresql:juju-info", "nrpe-host:general-info" ] - [ "landscape-postgresql:juju-info", "telegraf:juju-info" ] - [ landscape-postgresql, landscape-client ] - [ "landscape-postgresql:db-admin", "landscape-server:db" ] - [ canonical-livepatch, landscape-haproxy ] - [ canonical-livepatch, landscape-server ] - [ canonical-livepatch, landscape-postgresql ] - [ canonical-livepatch, landscape-rabbitmq-server ] - [ filebeat, landscape-server ] - [ filebeat, landscape-rabbitmq-server ] - [ filebeat, landscape-postgresql ] - [ filebeat, landscape-haproxy ]