Open arif-ali opened 6 months ago
I have now also encountered the same issue with the prometheus2
charm, here it has the following in the metadata.yaml
storage:
metrics-filesystem:
type: filesystem
description: Storage for prometheus data
location: /var/snap
multiple:
range: 0-1
The error below (the actual charm is prometheus2
)
╷
│ Error: Client Error
│
│ with juju_application.prometheus,
│ on 25-prometheus.tf line 7, in resource "juju_application" "prometheus":
│ 7: resource "juju_application" "prometheus" {
│
│ Unable to create application, got error: legacy deploy method: cannot add application "prometheus": cannot deploy to machine 0/lxd/1: adding storage to lxd container not supported
╵
It would be cool to get this covered, especially if the bundle allows us to deploy these without any problems
Duplicate of #198
This issue is hitting an error message from juju itself, it's not a duplicate of #198.
Description
When deploying etcd or cinder, it is expecting to add storage. However, when deploying these 2 applications in LXD or KVM, this is not possible in juju, and doesn't allow it to go through.
Deploying the same 2 application via the
bundle.yaml
we don't face the same issues at all. We should be able to mimic the old wayUrgency
Blocker for our release
Terraform Juju Provider version
0.12.0
Terraform version
1.8.2
Juju version
2.9.49
Terraform Configuration(s)
Reproduce / Test
Now using the following bundle, we are able to deploy the etcd application
Debug/Panic Output
No response
Notes & References
Further analysis shows that, when deploying the above bundle, the following excerpt is from the export-bundle, and shows that we have
storage data=loop,1024M
.Now,i if we run the following command, we get the same error.
Ultimately, it would be good to be able to deploy the terraform plan above so, that it can mimic the bundle behaviour