If this *is* the case, then keystone-override.zip when added as a resource is removing the compute/attribute-override.yaml. This may be intentional on your part, but I just wanted to clarify the operation.
Also, please could you edit the bug to clarify the operations on the charm so that it does reflect your usage. Thanks.
Okay, revisiting this. Based on the instructions, edited to only use the dashboard charm, I think this is what you are saying:
== STEPS TO REPRODUCE ==
On a fresh deployment, on the openstack-dashboard charm ONLY.
1. mkdir compute && echo '"os_compute_ api:os- extended- server- attributes" : "rule:admin_ or_owner" ' > compute/ attribute- override. yaml override= nova-override. zip override= true
2. zip -r nova-override.zip compute
3. juju attach-resource openstack-dashboard policyd-
4. juju config openstack-dashboard use-policyd-
# Policies applied as expected, then adding another policy:
5. mkdir identity && echo '"admin_required": "role:Admin or role:cloudadmin"' > identity/ admin-override. yaml override. zip identity override= keystone- override. zip
6. zip -r keystone-
7. juju attach-resource openstack-dashboard policyd-
i.e. at the end the local directories are:
/compute/ override. yaml override. yaml
attribute-
identity/
admin-
and the two zip files contain a *single* .yaml each:
- nova-override.zip (which contains compute/*) == compute/ attribute- override. yaml override. zip (which contains identity/*) == identity/ keystone- override. yaml
- keystone-
If this *is* the case, then keystone- override. zip when added as a resource is removing the compute/ attribute- override. yaml. This may be intentional on your part, but I just wanted to clarify the operation.
Also, please could you edit the bug to clarify the operations on the charm so that it does reflect your usage. Thanks.